[LAU] sample processing in python

Georg Holzmann grh at mur.at
Sat May 23 09:31:30 EDT 2009


Look at numpy and scipy (http://www.scipy.org/). Python is really well 
suited for all those kinds of operations - similar to matlab.

I do all my signal processing and machine learning simulations in python 
(instead of MATLAB/octave, as before).


> I'd like to process samples, mostly slice, splice, mix and fade, 
> preferably in python, and preferably without any 3rd part library 
> installed. I couldn't find such functionality inside standard python, 
> did I overlook something?
> I could (and have) write wrappers around sox, but since sox seems to 
> change it's "API" all the time that's not such a nice solution. I 
> guess/hope ecasound is more stable with regards to it's interface, would 
> that be a better option?
> Are there other languages, c++ or c for instance that have the 
> functionality I'm looking for build in? I might consider letting go of 
> my beloved python if other languages have something available as standard...

More information about the Linux-audio-user mailing list