Record & loop fixed-length audio clip after a pre-set time?

badkop's icon

Hi there

I'm trying to do something I think is quite simple but unfortunately I am also quite simple with M4L 8O :

I want to make a device that will record a clip of a pre-determined length and then start looping it indefinitely. I want this to happen at a pre-set time after the whole set starts to play.

It's for a live theatre show and I won't be near the computer when I want to start the recording, so it would be wonderful if the process could be triggered automatically.

Does anyone have any pointers, or better yet has anyone already done this?

All help greatly appreciated!

Best

Paul

chapelier fou's icon

observe transport. At the desired time, just trigger a 'call fire' on your clip (be sure the track is armed). You can specify a record_length on L9. Or simply put a delay and retrigger the call message.

laonikoss's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Here's on way of doing it:

You can also observe transport, or use a [metro], and so on and so on.

badkop's icon

Thanks guys, investigating now!

Paul

chapelier fou's icon

Loanikoss, i think the OP refers to a M4L context.

badkop's icon

I'm about halfway there, I have the clip slot firing on command from a bang or a metro, but struggling to trigger it at 'X' time after the transport starts?
I've added an ObserveTransport but not sure what to do with it?

I'll keep fiddling but just in case you guys can speed me up!

Paul

laonikoss's icon

@chapelier: oh, my bad! didn't read the post properly..

Andrew Pask's icon

you can use the timepoint object to get a bang at a certain time

-A

badkop's icon

Thanks A, I figured it out just before I logged back in to check this! Good to know I'm on the right track:)