sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / 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 --]

[-- 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, other threads:[~2017-12-10 13:10 UTC | newest]

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

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).