[linux-audio-user] Digital audio files for hardware verification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2005-10-24 at 11:22 -0700, Mark Knecht wrote:
> Hi,
>    I'm being really lazy here and looking for some ideas on how to do
> a couple of things easily. I really don't want to spend much time on
> there. Thanks in advance.
> 
> 1) Assume I have an existing wave file (mono or stereo) and want to
> convert it to text. I'd like each sample written in 8/16/24-bit hex to
> its own line in the file. Any easy way to do it?

sox will do this, if you use the .dat output file type.

	sox something.wav something.dat

not sure how to extract just 1 channel from a stereo file, i would
probably run the output through perl or something afterwards.

can't think of an easy way to do #2.


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux