delta757232 Posted April 14, 2016 Report Posted April 14, 2016 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
Pete Dowson Posted April 14, 2016 Report Posted April 14, 2016 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
delta757232 Posted April 15, 2016 Author Report Posted April 15, 2016 Pete, Yes sir I did. It was saved in the exact format as the others. I'll keep trying. Thank you, Michael
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