Re: which is better / more effective
Glenn English <[email protected]>
| Newsgroups | gmane.comp.audio.sox |
|---|---|
| Message-ID | <CAKS_MTsVAkKtuwYM71XGgk4opQrdSMkih0do763nAM2YfUCZsg@mail.gmail.com> |
On Sun, Nov 26, 2017 at 12:36 PM, Måns Rullgård <[email protected]> wrote: > Sox has very limited support for multi-processing built-in, and it > doesn't work very well. For a long effects chain, you'll get better > throughput by piping multiple processes. > > If you have a single command like this: > > sox in.flac out.flac effect1 effect2 effect3 > > it can be split up like this: > > sox in.flac -p effect1 | sox -p -p effect2 | sox -p out.flac effect3 > > The end result should be exactly the same. > > It probably doesn't make sense to put light-weight effects in a separate > command as the extra inter-process copying could easily negate any > gains. Thank you. The pipes seemed the simplest way (the way my program is being written), but sox is pretty new to me... -- Glenn English ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/sox-users