Sound
Play, loop, and control sounds on objects and links.
Feature: Sound
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
llAdjustSoundVolume(float volume)functionAdjusts the volume of the currently playing attached sound (has no effect on sounds started with
llTriggerSound).llCollisionSound(string impact_sound, float impact_volume)functionSuppresses 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.
llLinkAdjustSoundVolume(integer link, float volume)functionAdjusts the volume of the currently playing sound attached to the linked prim link (has no effect on sounds started with
llTriggerSound).llLinkPlaySound(integer link, string sound, float volume, integer flags)functionPlays 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 calling
llStopSoundstops previous playback. Controlled by flags.llLinkSetSoundQueueing(integer link, integer queue)functionEnables or disables sound queuing on the linked prim link. When set to
TRUE, sounds will queue and play in sequence.llLinkSetSoundRadius(integer link, float radius)functionLimits the audibility radius of attached and triggered scripted sounds to distance radius (in meters) around the linked prim link.
llLinkStopSound(integer link)functionStops the playback of any currently playing attached sound on the linked prim link.
llLoopSound(string sound, float volume)functionPlays 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.
llLoopSoundMaster(string sound, float volume)functionPlays the attached sound looping indefinitely at the specified volume and declares it a Sync Master, forcing slave sounds to synchronize with it.
llLoopSoundSlave(string sound, float volume)functionPlays the attached sound looping indefinitely at the specified volume, synchronized to the most audible active Sync Master in range.
llPlaySound(string sound, float volume)functionPlays 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
llStopSoundstops previous playback. A second call with the same sound adjusts the volume without restarting it.llPlaySoundSlave(string sound, float volume)functionPlays the attached sound once at volume, synchronized to the next loop point of the most audible active Sync Master.
llPreloadSound(string sound)functionCauses nearby viewers in range to preload the specified sound from the object's inventory to prevent playback delays.
llSetSoundQueueing(integer queue)functionSets whether attached sounds wait for the current sound to end before playing (enables queuing if queue is
TRUE, disables ifFALSE). The queue is one level deep.llSetSoundRadius(float radius)functionLimits the audibility radius of attached and triggered scripted sounds to distance radius.
llStopSound()functionStops playback of the currently playing attached sound.
llTriggerSound(string sound, float volume)functionPlays 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.
llTriggerSoundLimited(string sound, float volume, vector top_north_east, vector bottom_south_west)functionPlays 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.
No matching entries. Try a different term or filter.