Recording to buffer, rewrite problem!

Dec 13, 2009 at 12:57am

Recording to buffer, rewrite problem!

I’m working on a patch which has 4 buffers, one of which is a drum loop, the other 3 deal with recorded audio from a microphone. I’m trying to synchronise the drum loop with the recording start and stop points, but i’m having problems with the drum loop re-triggering the recording start point and therefore rewriting what has already been recorded in the buffer. I need an object which will close a gate to stop this happening.

This is what I have so far:

– Pasted Max Patch, click to expand. –

Thanks

#47178
Dec 13, 2009 at 1:45am

have a look at count~ and poke~, much easier to coordinate.

let me know if you need an example

#169617
Dec 13, 2009 at 2:18am

an example would be great! this patch is doing my head in!

#169618
Dec 13, 2009 at 1:47pm
– Pasted Max Patch, click to expand. –

with count~ you don’t have the option of slowing things down like groove~ but it is very easy to keep things tight. an alternative could be to use count~ to write the audio and then use line~ with play~ to play it back at different speeds.

in the patch i’m using the jongly file’s length as a max sample number for count~. you’ll notice this keeps looping, just like groove~ would in loop mode. the output of this is then used as a sample index for poke~

the example just records the drum loop again, you should be able to see this in the waveform object below

#169619

You must be logged in to reply to this topic.