Re: [LAD] Tutorial for programming with JACK

From: Robin Gareus <robin@email-addr-hidden>
Date: Fri Feb 24 2012 - 19:05:52 EET

On 02/24/2012 05:52 PM, Harry van Haaren wrote:
> On Fri, Feb 24, 2012 at 10:12 AM, Joan Quintana <joan_quintana@email-addr-hiddenwrote:
>
>> This is more interesting and not simple like the previous. A part of
>> playing back the file, it permits frequency shifting and frequency sweeping
>> in a range between .5 and 2.
>
>
> I presume by "frequency shifting & frequency sweeping" you mean resampling
> the signal & playing it back, not true "pitch shift" with time remaining
> constant..?

Jplay-sndfile-1.0.0 does zero-order hold. No up/downsampling, no
interpolation.

It'd actually be easier to just use librubberband for frequency shifting
and time-stretching.

> I'd like to see a simple example of eg: phase vocoder doing variable rate
> pitch shifting / time stretching...

_simple_? well maybe example code that comes with
http://breakfastquay.com/rubberband/

http://www.teuton.org/~gabriel/stretchplayer/ (C++) uses librubberband.
Samplecat's jack_player.c (C) uses LADSPA rubberband and libsamplerate.

The code is not complicated; but probably does not qualify as simple.

> Perhaps you've just provided that...? :) -Harry
>
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Feb 24 20:15:02 2012

This archive was generated by hypermail 2.1.8 : Fri Feb 24 2012 - 20:15:02 EET