Support Board
Date/Time: Sat, 01 Mar 2025 01:41:02 +0000
Post From: WAV file trouble, bitrates/encoding?
[2021-09-08 00:49:49] |
silvereagle - Posts: 23 |
Not trying to poke the bear here, but there does seem to be some sort of discrepancy / difference between the WAV files. Using the Windows Media Player on the box, I can play/hear the airplane.wav file [good] Using Sierra Charts wav testing tab, I can play/hear the airplane.wav file [good] Using Windows Media Player, I can play/hear one my other custom wav files (target filled) [good] Using Sierra Charts wav testing tab, I just get the default Microsoft "beep" sound, that indicates something went wrong trying to play that wav file [not good] Why does one WAV file play on the Sierra test tab, and not the other ---when both will play in Windows Media Player? So, that's regarding the testing tab ---but I think something similar happens in the code as well. As a corollary, it does seem that when I wire up the sounds included with sierra (airplane, applause, etc) sc.PlaySound(path/to/wavfile, 1) works fine playing those default sounds from the custom study. But when I wire those up to my other wav files, I will either get the "beep" which indicates a problem playing the wav file, or I might get a half played wav file. My imagination isn't rich enough to make any of this up. I gotta be missing something. I did find some documentation ---got excited for a second--- but it looks dead. https://www.sierrachart.com/SamplingSoundFiles But, this leads me to believe not all WAV files are created equal so to say, and back to how to create a wav file that Sierra is happy with. Thanks for not dismissing me out of hand. |