Format /dev/dsp expects?

Mike McCarty Mike.McCarty at sbcglobal.net
Mon Aug 25 22:16:57 UTC 2008


Michael Schwendt wrote:
> On Mon, 25 Aug 2008 16:32:20 -0500, Mike McCarty wrote:
> 
>>> There are several parameters that must match: bits per sample,
>>> signed/unsigned samples, number of channels (mono/stereo), frequency
>> Endianness?
> 
> Add that to the list. :)
>  
>> Aha. So, what do you recommend? I was using my computer to generate
>> some reference signals for testing some other equipment.
> 
> If you use sox already, use "play", sox's player.
> I don't see why you insist on copying data to raw device files.

I don't insist on anything, and I'm not a regular sox user.
I had a need for some reference signals, and had a computer
sitting nearby, but no other signal generating equipment.
A thought occurred to me that I could probably get something
out of the computer with a little work. I fiddled around until
I got the thing to work. That's all.

If you know better ways, I'm willing to hear them.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list