Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello Pete,

 

I have a lua I wrote some time ago that plays various sounds (lua driven) either by switches or programming in EPIC. It has worked flawlessly for several weeks.

 

Yesterday,I added a new wav file that I assigned in FSUIPC (like many others) to play when a toggle is tripped. No matter what I do the wav file will not play. Just to make sure I was adding it correctly, I went into my lua file and addressed it to play a different wav file which it did successfully.

 

So I am at a lost why this one particular wav file refuses to play. The file is a vary long wav file as it is intended to play muzak (boarding music) for our home cockpit. The wav file is in the neighborhood of being 15 minutes long. I did check and it was saved in the same format as the other wav's (16 bit stereo etc. etc.). Is there limitations as to what type of wav files can be played?

 

Any help appreciated,

 

Michael

Posted

Yesterday,I added a new wav file that I assigned in FSUIPC (like many others) to play when a toggle is tripped. No matter what I do the wav file will not play. Just to make sure I was adding it correctly, I went into my lua file and addressed it to play a different wav file which it did successfully.

 

So I am at a lost why this one particular wav file refuses to play. The file is a vary long wav file as it is intended to play muzak (boarding music) for our home cockpit. The wav file is in the neighborhood of being 15 minutes long. I did check and it was saved in the same format as the other wav's (16 bit stereo etc. etc.). Is there limitations as to what type of wav files can be played?

 

No. I don't really know anything about sound and wave files. The code simply passes it all on to the DirectSound facilities in Windows. Have you tried comparing it to the ones which work using one of the sound editing programs like Sound Forge? These show you the actual channels and waveforms.

 

Pete

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.