Playing an input signal in different speed

R_Gol's icon

Hi,
I would like to get an input signal from an instrument via the adc~ an play it back immediately at a different speed.
I guess I will be must record~ the incoming signal into a buffer and then read the recorded signal (that will constantly record) at different rate using groove~ ?
Is there any other method you can think of? what the minimum buffer size I could use for doing so to have the minimum delay time between the original input signal and the different rate playback of that input signal ?

Thanks

Source Audio's icon

Paradox of Achilles and the Tortoise

R_Gol's icon

What do you mean by that?

I understand that from technical perspective is not possible, meaning - in order to make any kind of manipulation to the rate of playing the incoming audio should be recoded into a buffer~

Roman Thilenius's icon


it won´t work with buffer~, you have to do that with tapout~

the lenght? well, if it should work for 1 second and you play to chage the speed for a factor x10, you need at least 20 seconds buffer.

R_Gol's icon

connection the input mic(adc~) to tapin~ then to tapout~ ? what it is for?

a buffer of 1 sec won't work ?

Max Patch
Copy patch and select New From Clipboard in Max.

Roman Thilenius's icon


the turtle is always faster. or is that an illusion?

Source Audio's icon

that is why it is a paradox, a theory which in reality never happens, but in theory is right.
Same as to try to play audio input at different speeds without any delay

mizu's icon

maybe in your mind it's just a pitch effect ?
https://cycling74.com/forums/tapin~-tapout~equivelant-in-gen~

R_Gol's icon

Hi Mizu, your patch you shared is great! just what I needed. How come in that patch the original audio can be outputted and another copy in a different rate is output at the same time and in sync with it?

mizu's icon

thanks..:-) i learned something in gen~ with the proposition of Z34N1X. The patch makes sound, but you can explore the pitch world of Max: pitchshift~ retune~ etc. Here are two taps reading + or- fast in the buffer of a delay, driven by a phasor from one to the other. Fatally the output is then delayed a bit, like a continuous Doppler effect. Nicely simple, certainly some side effects...