Play, loop, and control sounds on objects and links.
What do you want to do?
llPlaySound(string sound, float volume)Plays the specified sound once at volume, attached to the object. Only one sound can be attached to a prim at a time; new sounds or calling llStopSound stops previous playback. A second call with the same sound adjusts the volume without restarting it.llLoopSound(string sound, float volume)Plays the attached sound looping indefinitely at the specified volume. Only one sound can be attached to a prim at a time; new loops adjust the volume of the currently playing sound without restarting it.llStopSound()Stops playback of the currently playing attached sound.Reference
18 topic entries
Badges
llAdjustSoundVolume(float volume)Adjusts the volume of the currently playing attached sound (has no effect on sounds started withllTriggerSound).functionS (Sleeps 0.1s)llCollisionSound(string impact_sound, float impact_volume)Suppresses default collision sounds and replaces default impact sounds with impact_sound at the volume level specified by impact_volume. Supply an empty string to only suppress collision sounds.functionllLinkAdjustSoundVolume(integer link, float volume)Adjusts the volume of the currently playing sound attached to the linked prim link (has no effect on sounds started withllTriggerSound).functionllLinkPlaySound(integer link, string sound, float volume, integer flags)Plays the specified sound on the linked prim link (once or looping) at volume. Only one sound can be attached to a prim at a time; new attachments or callingllStopSoundstops previous playback. Controlled by flags.functionllLinkSetSoundQueueing(integer link, integer queue)Enables or disables sound queuing on the linked prim link. When set toTRUE, sounds will queue and play in sequence.functionllLinkSetSoundRadius(integer link, float radius)Limits the audibility radius of attached and triggered scripted sounds to distance radius (in meters) around the linked prim link.functionllLinkStopSound(integer link)Stops the playback of any currently playing attached sound on the linked prim link.functionllLoopSound(string sound, float volume)Plays the attached sound looping indefinitely at the specified volume. Only one sound can be attached to a prim at a time; new loops adjust the volume of the currently playing sound without restarting it.functionllLoopSoundMaster(string sound, float volume)Plays the attached sound looping indefinitely at the specified volume and declares it a Sync Master, forcing slave sounds to synchronize with it.functionllLoopSoundSlave(string sound, float volume)Plays the attached sound looping indefinitely at the specified volume, synchronized to the most audible active Sync Master in range.functionllPlaySound(string sound, float volume)Plays the specified sound once at volume, attached to the object. Only one sound can be attached to a prim at a time; new sounds or callingllStopSoundstops previous playback. A second call with the same sound adjusts the volume without restarting it.functionllPlaySoundSlave(string sound, float volume)Plays the attached sound once at volume, synchronized to the next loop point of the most audible active Sync Master.functionllPreloadSound(string sound)Causes nearby viewers in range to preload the specified sound from the object's inventory to prevent playback delays.functionS (Sleeps 1s)llSetSoundQueueing(integer queue)Sets whether attached sounds wait for the current sound to end before playing (enables queuing if queue isTRUE, disables ifFALSE). The queue is one level deep.functionllSetSoundRadius(float radius)Limits the audibility radius of attached and triggered scripted sounds to distance radius.functionllStopSound()Stops playback of the currently playing attached sound.functionllTriggerSound(string sound, float volume)Plays specified sound once at volume, centered at the object's current position but not attached (does not move with the object and cannot be stopped or adjusted). Does not affect attached sounds.functionllTriggerSoundLimited(string sound, float volume, vector top_north_east, vector bottom_south_west)Plays the specified sound once at volume, centered at the object but not attached, restricted to the axis-aligned bounding box defined by the coordinates top_north_east and bottom_south_west.function
No matching entries. Try a different term or filter.