Jump to content
You are about to reply to a thread that has been inactive for 113 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I have been wanting to get into making Proximity cam loopers.. where the object plays music when someone zooms in on your avatar within a small radius, Ans the music softly plays a bit muffled. Does anyone know the scripts for that or how to even get this started? ♥

Link to comment
Share on other sites

9 hours ago, Mivux said:

plays a bit muffled.

SL won't do audio processing for you, you have to do it yourself before upload. A "low pass filter" is probably the effect you're looking for. Any half-decent audio processing tool will have one, including audacity.

Also, just to reiterate caveats discussed in the other threads on this: Must be 30 seconds or shorter, and there are no configurable parameters other than the sound, the distance it starts at and the volume (which cannot be made louder than 1.0, if 1.0 is too soft, the sound needs to be 'normalized' before upload.)

And to pull out other relevant things for people who find this thread before diving into the other one:

default
{   state_entry()
    {   llSetSoundRadius(1.5); // change distance to taste.
        llStopSound(); // if this is not present, a bug will make changes to the sound's volume on the next line not take effect.
        llLoopSound(llGetInventoryName(INVENTORY_SOUND,0),1.0); // assuming the first sound in the object's inventory is the looped sound.
    }
}

 

Edited by Quistess Alpha
  • Thanks 2
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 113 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...