[linux-audio-dev] jack_process and pitch-shifting
Steve Harris
S.W.Harris at ecs.soton.ac.uk
Fri Apr 22 15:48:32 UTC 2005
On Fri, Apr 22, 2005 at 05:13:47PM +0200, Olivier Guilyardi wrote:
> Hi,
>
> In Jackbeat, I want to include support for realtime pitch shifting. One
> of the option is to use a quality resampler as libsamplerate's
> SRC_SINC_BEST_QUALITY converter. In the future, I may add support for
> libsoundtouch1 (http://sky.prohosting.com/oparviai/soundtouch/index.html).
>
> Can I do that in the jack process callback ? Or should I span a new
> thread and do the heavy job in there, ringbuffer'ing the result to the
> RT thread ?
Doing heavy jobs in the process() callback is fine, as long as the CPU
load is deterministic. I this case I think it should be.
- Steve
More information about the Linux-audio-dev
mailing list