Re: Debian Stretch Am Confused about /dev/dsp
- Date: Thu, 30 Aug 2018 18:00:54 -0400
- From: Dan Ritter <dsr@xxxxxxxxxxxxxxxx>
- Subject: Re: Debian Stretch Am Confused about /dev/dsp
On Thu, Aug 30, 2018 at 03:10:24PM -0500, Martin McCormick wrote:
> The software I wrote doesn't predate oss but some
> documentation I red years ago that probably does predate oss was
> what I used to wrige some C routines that send and receive sound
> plus use ioctl to set, say, /dev/dsp or /dev/dsp1 for stereo at
> 32000 samples per second.
> I used that to make a stereo sound card record 2
> independent 8-K 8-bit audio channels from two radio scanners
> Music stinks when recorded that way but scanner audio has
> such a limited pass band that it sounds pretty decent.
> Many thanks.
> > It also pointed me to <http://wiki.debian.org/ReleaseGoals/NoLinuxDevDsp>,
> > if that's of any help.
> I will save this message and also learn the correct way
> to send and receive audio these days.
I think that 'sox' which can also be called as 'play' or 'rec'
is what you want.
Use rec to record from sound-input, and sox to split it by
channel into two files.