Instant Replay Of Audio Recording/Buffer Patch?

neonjung's icon

Hi there - I'm completely new to Max but learning slowly

I have an idea for a patch/project that would allow me to record a line level audio signal in and then, as instantly as possible, trigger that same recording but at a different pitch, via midi, to be played along side the original audio signal.

I'm not looking for a how-to step-by-step but a few pointers in the right direction would be hugely appreciated!
What kinds of objects will I be looking to implement? What kind of speeds can I expect to encounter with the retriggering of the recorded audio?

Any help much appreciated, and of course I'll share the patch with any helpers once it's made!

MIB's icon

Is there a reason you need to record it?? why not do it in real-time? have a look at the helpfiles for gizmo~, fbinshift~ and freqshift~... should get you started. If you have more questions, post a patch with what you tried...

neonjung's icon

thanks for quick reply!

I want to be able to record my mopho in realtime and play back duplicates of the inital singal, at different pitches by different MIDI notes, effectively giving me a pseudo-polysynth. But I'm not sure how possible it is. I can foresee problems with delays but maybe it'd work fine with sounds with slow attack times?

Regards,

Tom

MIB's icon

again, unless you need a specific sound later on, you can do it all in real-time with multiple instances of the above mentioned objects... I'd recommend to go and play with those helpfiles and see what they do, how they do it and how they sound like. You will have a better idea of what you want after that. And if you still want to record things look into sfrecord~ and record~ and buffer~....

neonjung's icon

cool - think we might be using slightly different terminology - the initial signal will surely need to be written/recorded once (realtime) in order to be played back at a different pitch? hence my need for recording! I'm not interested in actually keeping the recording for later use, only for instant use whilst playing the patch

but yeah, thanks a lot for the pointers. I'll get stuck in with those suggested objects!

brendan mccloskey's icon

...and you can alter the pitch of live audio *almost* in realtime using a variable delayline; look at the tapin~/tapout~ objects. Your good-buddy-Sam demonstrates:

But the same thing (with varying results) can be achieved as MIB suggets with [freqshift~] or [gizmo~]