Desblat Posted January 26, 2017 Share Posted January 26, 2017 I added new sound by mod using FMOD Designer. So I can use if for my detector. The sound plays correctly, but the problem is - sound is very loud and isn't affected by volume configuration and I can't not make it lower with script, I used this: In lureplant script I found this: inst.SoundEmitter:SetParameter("loop", "size", vol) And tried to use it to tune volume, as well as other parameters: Here is the code: local assets= { Asset("SOUNDPACKAGE", "sound/rad_detector.fev"), Asset("SOUND", "sound/rad_noise.fsb"), } inst.SoundEmitter:PlaySound("rad_detector/creature/rad_noise", "rad_ping") inst.SoundEmitter:SetParameter("rad_ping", "intensity", 0.01) inst.SoundEmitter:SetParameter("rad_ping", "size", 0.01) inst.SoundEmitter:SetParameter("rad_ping", "volume", 0.01) Also I tried to use other parameter names "intensity" from divining rod and "volume" (because well volume), but sound is still super loud. What am I doing wrong? P.S. I wanted to make it so loudness of sound changes if player is near certain items (like divining rod ping.) Link to comment https://forums.kleientertainment.com/forums/topic/73629-sound-volume-tuning-fixing-loud-sound/ Share on other sites More sharing options...
CarlZalph Posted January 26, 2017 Share Posted January 26, 2017 If I recall FMod parameters are done inside FMod's creator itself for use with some DSP routines. Link to comment https://forums.kleientertainment.com/forums/topic/73629-sound-volume-tuning-fixing-loud-sound/#findComment-861415 Share on other sites More sharing options...
Mobbstar Posted January 26, 2017 Share Posted January 26, 2017 Make sure to use the right "mix". You can see a list of all mixes the game uses in mixes.lua in the scripts folder. All green categories in the following screenshot are valid mixes. Does the sound tutorial not mention this at all? Link to comment https://forums.kleientertainment.com/forums/topic/73629-sound-volume-tuning-fixing-loud-sound/#findComment-861426 Share on other sites More sharing options...
Desblat Posted January 26, 2017 Author Share Posted January 26, 2017 1 hour ago, Mobbstar said: Make sure to use the right "mix". You can see a list of all mixes the game uses in mixes.lua in the scripts folder. All green categories in the following screenshot are valid mixes. Does the sound tutorial not mention this at all? this way? Link to comment https://forums.kleientertainment.com/forums/topic/73629-sound-volume-tuning-fixing-loud-sound/#findComment-861433 Share on other sites More sharing options...
Desblat Posted January 26, 2017 Author Share Posted January 26, 2017 4 hours ago, Mobbstar said: Does the sound tutorial not mention this at all? I looked up in those, but I don't really see anything about using "mix". Link to comment https://forums.kleientertainment.com/forums/topic/73629-sound-volume-tuning-fixing-loud-sound/#findComment-861450 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now