sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Brandon Lincoln Snyder <branlsnyder@gmail.com>
To: sox-users@lists.sourceforge.net
Subject: Multiple Pipes in series - possible?
Date: Tue, 29 Jun 2021 13:46:30 +0200	[thread overview]
Message-ID: <CACF5TUnW_xvMJ5J0Z1D2pvHDQ5V3gNQFAFOspE7ztkz1SSc62g@mail.gmail.com> (raw)


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

Hello everyone! New sox user here. Is it possible to run multiple pipe
operations in series?


For example, instead of:

"sox"  "|'sox'   'input-audio.wav' -p  gain 0.0" "output-audio.wav"


and then


"sox"  "|'sox'   'output-audio.wav' -p  gain 0.0" "output-audio-2.wav"


is it possible to have the pipe in the first command to be in the input for
the pipe in the second command? Something like:


"sox"  "|'sox'   '"|'sox'   'input-audio.wav' -p  gain 0.0"' -p  gain 0.0"
"output-audio2.wav"


^this command as it is here does not work, but perhaps it is a trivial
problem in my syntax.


The goal is to run many pipe operations without needing to write
intermediate files.


Thanks.

best,

Brandon

-- 
Brandon Lincoln Snyder
Composer <https://www.brandonlincolnsnyder.com/works> | Musician
<https://www.brandonlincolnsnyder.com/give-sound-receive-sound> | Writer
<https://www.brandonlincolnsnyder.com/writings> - Stuttgart, Germany
Bachelor of Arts in Music - Harvard University 2018
brandonlincolnsnyder.com

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

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



[-- 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

             reply	other threads:[~2021-06-29 11:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-29 11:46 Brandon Lincoln Snyder [this message]
2021-06-29 12:28 ` Multiple Pipes in series - possible? Stuart Naylor
2021-06-29 14:39 ` Jan Stary
2021-06-29 14:42 ` Måns Rullgård
2021-06-30  9:59   ` Brandon Lincoln Snyder
2021-06-30 10:21     ` Jeremy Nicoll - ml sox users
2021-07-01 16:50     ` Jan Stary

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=CACF5TUnW_xvMJ5J0Z1D2pvHDQ5V3gNQFAFOspE7ztkz1SSc62g@mail.gmail.com \
    --to=sox-users@lists.sourceforge.net \
    /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).