Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #199644

Re: Debian Stretch Am Confused about /dev/dsp

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: Debian Stretch Am Confused about /dev/dsp
Date 2018-08-31 00:10 +0200
Message-ID <wsDiy-1kA-9@gated-at.bofh.it> (permalink)
References <wsyLT-75z-3@gated-at.bofh.it> <wsyLT-75z-1@gated-at.bofh.it> <wsBA5-hF-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Debian Stretch Am Confused about /dev/dsp Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-30 19:20 +0200
  Re: Debian Stretch Am Confused about /dev/dsp "Martin McCormick" <martin.m@suddenlink.net> - 2018-08-30 22:20 +0200
    Re: Debian Stretch Am Confused about /dev/dsp Dan Ritter <dsr@randomstring.org> - 2018-08-31 00:10 +0200
    Re: Debian Stretch Am Confused about /dev/dsp didier gaumet <didier.gaumet@gmail.com> - 2018-08-31 10:00 +0200
      Re: Debian Stretch Am Confused about /dev/dsp Ric Moore <wayward4now@gmail.com> - 2018-08-31 10:20 +0200

csiph-web