sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: "Måns Rullgård" <mans@mansr.com>
To: Chris Percol <chris.percol@gmail.com>
Cc: sox-users@lists.sourceforge.net
Subject: Re: pipe to snd-aloop
Date: Sun, 10 Dec 2017 13:10:20 +0000	[thread overview]
Message-ID: <yw1xbmj6vidf.fsf@mansr.com> (raw)
In-Reply-To: <CAGwLQT0Y7w2kyiuZnWV9vDoFQ3nM4mdLOeUVXhomN7mn85og=A@mail.gmail.com> (Chris Percol's message of "Sat, 9 Dec 2017 21:43:49 +0000")

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

      reply	other threads:[~2017-12-10 13:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-09 21:43 pipe to snd-aloop Chris Percol
2017-12-10 13:10 ` Måns Rullgård [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yw1xbmj6vidf.fsf@mansr.com \
    --to=sox-users@lists.sourceforge.net \
    --cc=chris.percol@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).