Re: Multiple Pipes in series - possible?

Stuart Naylor <[email protected]> Tue, 29 Jun 2021 12:28:55 +0000
Newsgroups gmane.comp.audio.sox
Message-ID <DB7P191MB03329D1A594FF596B2C6FC0AA8029@DB7P191MB0332.EURP191.PROD.OUTLOOK.COM>
Just use /tmp as what is the difference?

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Brandon Lincoln Snyder<mailto:[email protected]>
Sent: 29 June 2021 12:47
To: [email protected]<mailto:[email protected]>
Subject: [SoX-users] Multiple Pipes in series - possible?


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<http://brandonlincolnsnyder.com>

_______________________________________________
Sox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-users