Program by ff123
June 8, 2001 -- version 1.01: added optional switches to specify samplerate and number of channels
I have written a small C program to convert the ASCII 24-bit output of FhG's l3dec to a 24-bit .wav file that Cool Edit Pro can read. The program can be compiled for use in any command-line environment. I have verified that the program produces the same output using gcc from the DOS command line (Win98) and using gcc within SunOS 4.1.4: in other words, it works in both a big-endian and little-endian system without modification.
Read the source:
Download the source plus Win32 command-line executable here:
conv2wav.zip (54 kB)