Re: multitasking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2017-10-24 20:00, Glenn English wrote:
I'm writing a wrapper around SoX, and I've come to the point where a
number of it's capabilities are required at the same time (eq,
bandpassing, speech rate change, etc.) and I'm confused about the best
way to get these all done.

I can't answer the question, but I think whoever does will need to know
more.  Are these multiple capabilities needed on different pieces of
audio, but all being processed at the same time?

 - which to me would suggest one sox command per audio stream,
   and surely they'd be likely to run on different cores

Or do you mean that for one audio source a whole sequence of things
are to be done to it?

 - which seems to me to be one sox command with various effects
   coded one afetr another

Or something else?



There's talk of a 'chain' in the dox consisting of a number of args
with ':' between them, but I'm not sure what this means. Does just
asking for a number of actions enable some kind of threading, using
several cores in parallel? And if so, does it sort them so
normalization happens after eq after concatenation, etc.?


There two sorts of chain mentioned; one is the "chain of effects" which
is (I think) analogous to having a whole series of effects boxes wired
up so that sound after it is processed by the first box is cabled to
the next box which does something else, then that output is cabled to
the next one...   Anywhere you see a series of effects each with their
parameters specified, is that sort of chain.

Effects like normalisation, eq etc happen in the order you specify them,
except for the automatic processing implicit in various ways (say) of
combining input files.  (I think.)


The ones with ":" between them confuse me too.  Although I can sort of
see how the ones in the manual might work, I don't think I'm capable of
working out other ways to use ":".



--
Jeremy Nicoll - my opinions are my own

------------------------------------------------------------------------------
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@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users



[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux