alaxus Posted November 10, 2013 Report Posted November 10, 2013 Hi Pete, Just an inquiry if you know if the engine sound volume can be altered in flight. The reason I ask this is that in most rear engined aircraft the engine volume becomes almost non existent once you pass a certain airspeed. As I fly a Learjet in FS it would be nice to reduce the engine sound as I increase in speed. As it is at the moment the engine sounds are just as loud if I am doing 160kts or 320kts. Could this be done in LUA? Thanks Jeff
Pete Dowson Posted November 10, 2013 Report Posted November 10, 2013 Just an inquiry if you know if the engine sound volume can be altered in flight. The reason I ask this is that in most rear engined aircraft the engine volume becomes almost non existent once you pass a certain airspeed. As I fly a Learjet in FS it would be nice to reduce the engine sound as I increase in speed. As it is at the moment the engine sounds are just as loud if I am doing 160kts or 320kts. Could this be done in LUA? FSUIPC / Lua doesn't hook into FS's sound. That would be a tricky job involving hooking Windows DirectX calls and such. But there are probably three possibilities, I think. First is probably the "correct" way: edit your sound.cfg file to play the right wave files in the right circumstances. Take a look ast it, see all the "Jet Whine" and "Combustion" sections? I#m pretty sure they are designed to control the sounds in different circumstances. Unfortunately, though, that's all I can tell you as it isn't an area I've ever delved into. Maybe there is sufficient documentation in the FS SDK -- after all makers of add-on aircraft do create their own. Second method would be to create your own sound control, using the FS sound files (or your own), using Lua to play the right ones on the right speakers at the right time. That could be quite a big job though. Maybe you could just remove the relevant FS ones and only play your own above a certain airspeed. finally, and maybe the easiest. Just find out which of the FS WAV files which is playing at that time and reduce its volume by using a wave file editor (like Sound Forge). Regards Pete
alaxus Posted November 10, 2013 Author Report Posted November 10, 2013 Thanks Pete, I did a bit of reading of the FS sound SDK and there is no facility to include an airspeed variable. I might look into the vparams in the sound.cfg and see what I can come up with. At the moment I am using a after market sound set by TSS which is certainly better than the default sounds. Second method would be to create your own sound control, using the FS sound files (or your own), using Lua to play the right ones on the right speakers at the right time. That could be quite a big job though. Maybe you could just remove the relevant FS ones and only play your own above a certain airspeed. I might have a look into that. Also Project magenta has added some engine sound ability to pmsounds, could be worth exploring as well. Cheers Jeff
Pete Dowson Posted November 10, 2013 Report Posted November 10, 2013 Project magenta has added some engine sound ability to pmsounds, could be worth exploring as well. Ah, yes. The recent pmSounds versions have their own engine sound replacement options. You could remove or severely lower the FS ones in favour of those. Regards Pete
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