|
Bhati Latte
Registered User
Join date: 28 Nov 2007
Posts: 29
|
02-03-2008 20:37
Hello all,
I'm useing Psyke's Music Script and it wors fine except volume it plays the music is very low, even if I increase volume on my pc all the way up. Is there a way to increase volume by adding a line to the script. Since i don't know much about scripting I may need exactly how and where to insert this. If anyone need to see the entire script I'm using please let me know so I can paste it on a post or give the forum link.
Thanks in advance for your time.
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
02-03-2008 21:03
You can increase sound volume in your Second Life viewer preferences. The functions that play sound (llPlaySound(), llLoopSound(), llTriggerSound()) also take a volume parameter. The maximum volume for these functions is 1.0; if it is already there, you're at the limit. llAdjustSoundVolume() changes the volume too, but merely acts as if you had passed the parameter value to the function used to start the sound or sound loop, so you could add that line without messing with the rest of a script (for llPlaySound() and llLoopSound()), but it's not going to accomplish anything extra really.
The other thing that might affect the perceived sound volume is to move your SL camera closer to the sound source, if possible.
Just in case this is about a parcel media stream, there's really nothing to do about that; make sure the SL sound preference is as high as it gets is all there is. Remember that there are volume levels for several different types of sound: voice, sound effects, the media stream, wind, etc. Go into Edit -> Preferences and check all of your settings.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
02-03-2008 21:06
all sound functions include the word sound, and trigger using a combo of the sound name followed by a float value between 0 and 1 (1 is max volume)...
additionally there is llAdjustSoundVolume() which takes a single float as input same as above...
in the script I'd assume these are set in a variable, so all that should need to change is the the variables value.
if that value's maxed then you'll need to edit the sound outside of SL (if it's yours or you have access to it) to increase the volume
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Bhati Latte
Registered User
Join date: 28 Nov 2007
Posts: 29
|
02-04-2008 10:07
Thanks guys! I will go back and try out some of the suggestions.
|