sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
* pipe to snd-aloop
@ 2017-12-09 21:43 Chris Percol
  2017-12-10 13:10 ` Måns Rullgård
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Percol @ 2017-12-09 21:43 UTC (permalink / raw)
  To: sox-users

[-- Attachment #1.1: Type: text/plain, Size: 645 bytes --]

Hi,

I'm trying to pipe audio output on my raspberry pi3 to a snd-aloop device
(hw:0,0,0).

I have had no success so far and was hoping someone could point out how I
could update the following command to send the output to my loop device?

rtl_fm -f 132.076M -M usb -r 24k -l 0 -p 55 -E deemp -g 20 | play -r 24k -t
raw -e s -b 16 -c 1 -V1 -

I experimented with setting AUDIODEV=hw:0,0,0 but the command still seems
to output to the pi's default audio device.

My end goal is to receive the audio into my ham radio software, wsjt-x.
There are graphical ways to achieve this, like using gqrx, but it kills the
cpu on my pi.

Many thanks,

Chris

[-- Attachment #1.2: Type: text/html, Size: 884 bytes --]

<div dir="ltr">Hi,<div><br></div><div>I&#39;m trying to pipe audio output on my raspberry pi3 to a snd-aloop device (hw:0,0,0).</div><div><br></div><div>I have had no success so far and was hoping someone could point out how I could update the following command to send the output to my loop device?</div><div><br></div><div><div>rtl_fm -f 132.076M -M usb -r 24k -l 0 -p 55 -E deemp -g 20 | play -r 24k -t raw -e s -b 16 -c 1 -V1 -</div></div><div><br></div><div>I experimented with setting AUDIODEV=hw:0,0,0 but the command still seems to output to the pi&#39;s default audio device.</div><div><br></div><div>My end goal is to receive the audio into my ham radio software, wsjt-x. There are graphical ways to achieve this, like using gqrx, but it kills the cpu on my pi.</div><div><br></div><div>Many thanks,</div><div><br></div><div>Chris</div><div><br></div><div><br></div></div>

[-- Attachment #2: Type: text/plain, Size: 202 bytes --]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: pipe to snd-aloop
  2017-12-09 21:43 pipe to snd-aloop Chris Percol
@ 2017-12-10 13:10 ` Måns Rullgård
  0 siblings, 0 replies; 2+ messages in thread
From: Måns Rullgård @ 2017-12-10 13:10 UTC (permalink / raw)
  To: Chris Percol; +Cc: sox-users

Chris Percol <chris.percol@gmail.com> writes:

> Hi,
>
> I'm trying to pipe audio output on my raspberry pi3 to a snd-aloop device
> (hw:0,0,0).
>
> I have had no success so far and was hoping someone could point out how I
> could update the following command to send the output to my loop device?
>
> rtl_fm -f 132.076M -M usb -r 24k -l 0 -p 55 -E deemp -g 20 | play -r 24k -t
> raw -e s -b 16 -c 1 -V1 -
>
> I experimented with setting AUDIODEV=hw:0,0,0 but the command still seems
> to output to the pi's default audio device.

Replace "play ..." with "sox ... -t alsa hw:0,0,0"

-- 
Måns Rullgård

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-09 21:43 pipe to snd-aloop Chris Percol
2017-12-10 13:10 ` Måns Rullgård

sox-users@lists.sourceforge.net unofficial mirror

Archives are clonable: git clone --mirror https://public-inbox.org/sox-users

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.org/gmane.comp.audio.sox

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox