any port use /dev/dsp directly?
freebsd at edvax.de
Thu Jan 14 23:01:16 UTC 2010
On Thu, 14 Jan 2010 14:31:05 -0800, Gary Kline <kline at thought.org> wrote:
> I'm wondering of theses is some sox translation that
> would do say
> %sox -w WAV -r [rawoutfile]
That's possible, but you have to tell sox how the raw file
should be parameterized, e. g. sampling frequency, channels,
bit width. There are command line parameters that can be
used for that, e. g.
% sox mysound.wav -r 44100 -c 2 -w -s mysound.raw
The type "raw" means that there's no header in the file,
it's just the plain data, for example as the hardware CD
player uses it (which is the CDR file format - CD audio).
In this case, you have to specify how to build those raw
data elements from the original waveform file (WAV does
have a header that describes its content).
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions