[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Traverso-devel] external processing
From: |
Remon Sijrier |
Subject: |
[Traverso-devel] external processing |
Date: |
Thu, 14 Sep 2006 13:35:27 +0200 |
User-agent: |
KMail/1.9.4 |
Hi,
Jonatan mentioned sox to do external processing on a audio sources.
I've looked up the documentation of sox, but there only seems to be the man
page.
Sox has a library which can be used so using sox as an external
processing 'lib' isn't difficult, and I think sox is in all distro's?
There is however a little overlap in functionality in for example sox and
libsndfile and libsamplerate.
And there are more of these libraries for audio processing?
It would be great if one of you could search for information on those libs,
and which one is preferable/has better performance/quality and so on.
I'd like to keep things clean and easy, so certain processing 'features'
should have a native interface in traverso.
So, converting a ReadSources samplerate should be just as simple as:
ReadSource::convert_sample_rate_too(int rate);
or
ReadSource::set_timestretch_factor(float factor);
Just some examples.
(Those examples would likely create a new audiosource since it's a destructive
action, just a side note ;-) )
Currently for audio file reading/writing libsnfile is used.
By using a 'Plugin' Interface, we should be able to use multiple libs to do
certain audioprocessing, even the ability to prefer one lib over another for
the same processing feature..
Greetings,
Remon