hylst wrote:Maybe you'll know one thing about NoBrain's MP2 player rout : does it require specific or recommended data rate and frequency of Mpeg layer 2 audi files to work fine on original Falcon 030 ?
The mp2 player will play at the closest available frequency. Legal frequencies for an mp2 file are 11025, 22050, 32000, 44100 and 48000 Hz. Needless to say none of the Falcon sample rates fit. If you play a 44100 Hz mp2 file it will play quite a lot too fast (49170 Hz) and if you play a 32000 Hz file it will be 32780 Hz on the Falcon, not a great difference but still bad.
The solution is to make a 49170 Hz wave-file, and encode it as if it was a 44100 (or 48000) file. The mp2 result will then play great on the Falcon but bad on a PC/Mac, but who cares, it's for the Falcon demo/game anyways. I recommend the "toolame" mp2 encoder. The max bit rate than an unaccelerated DSP can handle is 192 kbit/s with joint stereo. To encode a 44100 Hz wav file with toolame would be something like:
toolame -m j -b 192 file.wav file.mp2
Toolame will tell you that 49170 Hz is not a good value and use 44100 as default. -m j means joint stereo, replace with -m m for mono. -b 192 is the kbit/s bit rate, the higher, the better quality, but also larger file so adjust as it fits for your prod.
As for acquiring toolame I have an OS X binary if you need, for Windows you got to search for a compiled version.