2015年5月26日 星期二

Task 1 Scene Preparation (Cao Cao)

Music Box

Music Boxes
















One of the most famous poems of Cao Cao is “A Short Song Ballad”. This poem is written by Cao Cao to describe his desperate feeling of seeking people with ability to help rebuilding China. I found this poem best described the scenario of our Romance so I decided to put it inside the music box. The content of the poem is the following.

Reference for the translation of the poem "A Short Song Ballad" is adapted from Baidu

A Short Song Ballad
 I lift my drink and sing a song,
for who knows if life is short or long?
Man's life is but the morning dew,
past days many, future ones few.
The melancholy my heart begets,
comes from cares I cannot forget.;
What can unravel these woes of mine?
I know but one drink – Du Kang Wine.
Disciples dress in blue,
my heart worries for you.
You are the cause,
of this song without pause.
Across the bank a deer bleats,
in the wild where it eats.
Honored my guests I salute,
strike the harp! Play the flute!
Bright is the moon's spark,
when can I pick it apart?
Thoughts of you from deep inside,
cannot settle, cannot subside.
Friends drop by via a country road,
the respect they pay really show.
A long due reunion we fest,
sharing past stories we possessed.
Stars around the moons are few,
southward the crows flew.
Flying with no rest,
where shall they nest?
No mountain too steep,
no ocean too deep
Sage pauses [from meals] when guests call,
so at his feet the empire does fall!
Moreover, to make the recording of the poem more of oriental style. I used the software Audacity to combine the recordings with the play of traditional Chinese instrument- guzheng (古箏). The aim of the music box is to let the poem play as background music. However, the Second Life system restricts the upload music to 10 seconds per file so I had to cut the whole poem recording into 12 pieces of individual music recording. After uploading the music I entered the code which is the following
string sound =  "1f7df9d9-1f6e-dcb8-443f-77d603a15f19";
string sound2 = "9654893e-a00d-0b7a-3e7a-fd77a8ac1e6d";
string sound3 = "0075048e-89a9-e4d3-92ce-42c654fc5fc4";
string sound4 = "792e5b93-6ed5-8dc8-cd34-ddb96c0859d1";
string sound5 = "4d1bfa2a-69b2-d70a-98fb-f0dd48bc572f";
string sound6 = "53352b05-c9b5-f743-7d4e-29d85a064342";
string sound7 = "924337af-f8e1-8d3e-79fc-645e6c54a8ea";
string sound8 = "48bd3ea8-ac19-94db-df6e-e53118df6120";
string sound9 = "9509ec16-12a6-85c7-67ff-95efabd93b83";
string sound10 = "f47b0797-3ea5-f8e9-4a76-131371a6a0c2";
string sound11 = "8b3f9217-2f27-79ba-c087-4a873e3c6256";
string sound12 = "5cde62f7-10c7-8c88-1e02-d132563f43b6";

default {
    state_entry() {
     // run this code when entering the default state
     // displays red "OFF" as floating text above the prim
        llSetText("Music OFF!", <1,0,0>, 1.0);
        llPreloadSound(sound);
        llPreloadSound(sound2);
llPreloadSound(sound3);
llPreloadSound(sound4);
llPreloadSound(sound5);
llPreloadSound(sound6);
llPreloadSound(sound7);
llPreloadSound(sound8);
llPreloadSound(sound9);
llPreloadSound(sound10);
llPreloadSound(sound11);
llPreloadSound(sound12);
    }
    touch_start(integer num_detected) {
        // when touched, switch to state named 'on'
        state on;
    }
}
state on {
    state_entry() {
     // run this code when entering state 'on'
    // displays green "ON" as floating text above the prim
        llSetText("Music ON", <0,1,0>, 1.0);
        llSetSoundQueueing(TRUE);
        llPlaySound(sound, 1.0); 
        llPlaySound(sound2, 1.0);
llPlaySound(sound3, 1.0);
llPlaySound(sound4, 1.0);
llPlaySound(sound5, 1.0);
llPlaySound(sound6, 1.0);
llPlaySound(sound7, 1.0);
llPlaySound(sound8, 1.0);
llPlaySound(sound9, 1.0);
llPlaySound(sound10, 1.0);
llPlaySound(sound11, 1.0);
llPlaySound(sound12, 1.0);
    }
    touch_start(integer num_detected) {
    // when touched, stop sound & switch back to the default state
        llStopSound();
        state default;
    }
}

Residence & Decoration


Chinese Style Desk with Chinese mascots on both sides 
The house is of traditional Chinese style which best represent the Oriental. Inside the house I have put a Chinese style desk designed to let my avatar sit. In the old times the leader usually sits above everyone else and interrogates the people. Moreover, on both sides of the table are the two decorations of Chinese mascots. These two placements of the mascots enhance the status and prestige of the owner. Most importantly, I have put a fireplace inside the house because during the old times people usually put fire place to demonstrate their prestige and power over others. 




Traditional Fireplace




沒有留言:

張貼留言