Difference between revisions of "Environment Sounds"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "==Environmental Sounds== There's a handful of ways to generate sound without an avatar in Second Life. * Sound clips * a parcel's music stream * a web page displ…")
 
Line 34: Line 34:
=== Random sounds ===
=== Random sounds ===


frogs, underbrush rustles and cracks
Short ambient sounds played randomly can make a space feel more alive.
 
Some good choices for this would be frogs, underbrush rustles and snaps, a distant car horn or squealing brakes.
 
Try this [[Script:Random_Sounds|random sounds script]].


=== Day/Night detection ===
=== Day/Night detection ===

Revision as of 10:34, 11 July 2012

Environmental Sounds

There's a handful of ways to generate sound without an avatar in Second Life.

  • Sound clips
  • a parcel's music stream
  • a web page displayed on a prim

You can change all of them using scripting. The latter two depend on the viewer being set properly to allow them to play.

Soundtrack

If your build has a soundtrack or theme music that you want heard clearly across the parcel, consider using streaming music.

You can play a series of sound clips in order, but there's no guarantee that the "song" will be heard as seamless.

Looping sounds

Looping a sound clip can add ambience. Consider it for nighttime bugs by a lake, a crowd murmuring, or the hum of electric signs.

<lsl> default {

   state_entry()
   {
       llLoopSound( llGetInventoryName( INVENTORY_SOUND, 0 ), 0.5 );
   }

} </lsl>

Rhythmic sounds

Ocean surf

Random sounds

Short ambient sounds played randomly can make a space feel more alive.

Some good choices for this would be frogs, underbrush rustles and snaps, a distant car horn or squealing brakes.

Try this random sounds script.

Day/Night detection

Owls + bats vs birds

Extremely Loud Sound

Clocktower bells