Week 2
18-24 Jan 2016
Moderators: Carol Rainbow, An Nowak and Wynshel Corrigan
Session 1 Thursday 18 January 2016
Building with sounds and scripts
Learn to create speaking poster boards, magnetic poetry, sound objects, touch items, touch to give notecard scripts.
Objectives for week 2:
- Learn to modify given scripts to chat information in text
- Learn to add sounds to items
- Learn how to record sounds for Second Life
Session 1
During this session we got a cat and a dog to chat something in text as well as playing a sound and also changed the colour of the object.
The script needed is:
default
{
touch_start(integer num_detected)
{
llPlaySound(llGetInventoryName(INVENTORY_SOUND, 0), 1);
llSay( 0," I am a cat");
}
collision_start(integer num_detected)
{
if (llDetectedType(0) & AGENT)
{
vector centrePos = llGetPos();
llPlaySound(llGetInventoryName(INVENTORY_SOUND, 0), 1);
}
}
}
The text in red is where you type what you want the object to say.
Secondly we made walk through spheres which say the days of the week
The script is:
default
{
collision_start(integer num_detected)
{
if (llDetectedType(0) & AGENT)
{
vector centrePos = llGetPos();
llPlaySound (llGetInventoryName(INVENTORY_SOUND, 0), 1);
state makePhantom;
}
}
}
state makePhantom
{
state_entry()
{
llSetStatus(STATUS_PHANTOM, TRUE);
llSleep(2.0);
llSetStatus(STATUS_PHANTOM, FALSE);
state default;
}
}
A very simple.but different way to present vocabulary.
Useful Information to make sound files for use in Second LifeR:
Recording with Audacity:
Using Audacity for recording sound files suitable for Second Life
Audacity is a powerful recording and editing tool which is freely available from http://audacity.sourceforge.net/ . There is an online training guide http://audacity.sourceforge.net/help/documentation and Torley's has made an Audacity tutorialhttps://support.secondlife.com/ics/support/default.asp?deptID=4417
Making a vocal recording
• Open Audacity and make sure that on the bottom left of the screen it says Project Rate: 44100. This is default so should already be right, if not click on the numbers to alter it.
• Plug in a microphone and click the red Record button. This automatically creates a track and starts the recording.
• If you want to pause while recording click the Pause button. To continue recording on the same track, click the Pause button again.
• When you have finished recording, click the Stop button
• You will now see a wav form, listen to it and note if there are sections that need to be taken out. Highlight an unwanted section and click on delete, note there is an undo in the edit menu of you get it wrong! Also delete the unrecorded space at the beginning and end of the sound. Make sure that the finished sound file is not more than 9.9 seconds, that is all that Second Life can deal with.
• Upload one sound to Second Life and try it in a poster to see if it is loud enough. If it is not you may need to amplify it. I usually test before making all of the sound files so that I can add the amplification process during the making, it is a pain to go back and add it later.
• I usually amplify the sound by about 5 Db so that it is loud enough once in Second LifeR. To do that highlight the whole track, select Effects / Amplify/ accept the recommended amplification. You will see the wav increase.
NB You can only upload sounds up to 9.5 seconds long to Second LifeR.
Experienced users created magnetic poetry boards. Simple building tools will be needed in this case.
Session 2 Sunday 24 January 2016
At the start of the second session participants will go to Shelwyn's Skybox and brainstorm what sorts of things can be made into games.
During this session we will compile a more advanced game called Giving Your Opinion game. All components are ready for users to build the simple parts and put the scripts, sounds and notecards in.
NB Experienced users can make a maze.
All resources are prepared ready for them.
Comments (0)
You don't have permission to comment on this page.