Date: Fri, 15 Jan 2010 00:01:13 +0100 From: Polytropon <freebsd@edvax.de> To: Gary Kline <kline@thought.org> Cc: freebsd-questions@freebsd.org Subject: Re: any port use /dev/dsp directly? Message-ID: <20100115000113.19fef26e.freebsd@edvax.de> In-Reply-To: <20100114223105.GA84284@thought.org> References: <20100114012059.GA3921@thought.org> <20100114013746.GB67999@orion.hsd1.pa.comcast.net> <20100114024242.GA9744@thought.org> <20100114165717.GA5651@dan.emsphone.com> <20100114201616.GA73961@thought.org> <20100114211947.GB5651@dan.emsphone.com> <20100114223105.GA84284@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Jan 2010 14:31:05 -0800, Gary Kline <kline@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). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100115000113.19fef26e.freebsd>