Orit
Israel
Asked
Hello, I'm trying to play an audio (I'm coding in C# SDK)
I converted .mp3 to raw by audio conversion software, and when i play the .raw on audacity is sounds pretty fine
I tried to use _ezb.SoundV4.PlayData function like this:
byte[] bytes = File.ReadAllBytes("../path");
_ezb.SoundV4.PlayData(bytes,100);
but the audio sounds really bad
when i try to play the .mp3 in ARC it sounds better.
any ideas? thank you!
Must save PCM as MONO 8 BIT and 14700 hz
I recommend loading and playing the file in real-time like this... Here's how the soundboard loads and plays the file. I compress the file so it can be stored in a much smaller memory footprint
Playback like this...
It worked! Thank you very much!