Sign in to follow this  
Guest Patrick_Waugh

Sound Control

Recommended Posts

In sound config you can have:[GYRO_SOUND]filename=GyroHowever, this seems to trigger the sound when you turn the battery on, no matter what gyro settings you have in aircraft.cfg (even if you turn all the gyros off!).I'm trying to be able to tie this sound to a switch for the gyro, but seem unable to control it at all.Anyone know if there is a way to do it? (Hoping to find a non-model solution, I know that one might be able to turn it into an .fx and tied it to the model to trigger it)

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi,I know you don't work with xml, but it is quite easy to control hunderds of sounds, single and loops, with Doug Dawson's xmlsound gauge.Jan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites

Jan,It is quiet easy for me to do sounds from C++, that is not the problem. I do so through DirectSound.Also, this type of sound is not a simple one-shot (play) or loop sound, but a spin-up, loop, spin-down sound that the engine plays.Rather than write my own extension to DirectSound to control it using complex circular buffers, I would much prefer to just use the game engine if I can control the engine's sound system.

Share this post


Link to post
Share on other sites

Never mind, I programmed my own sound engine to handle it.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this