Forums > Max For Live

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

July 26, 2013 | 12:36 am

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


July 26, 2013 | 12:49 am

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.


July 26, 2013 | 4:32 am

Here’s on way of doing it:

<code>

– Pasted Max Patch, click to expand. –

</code>

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


July 26, 2013 | 6:50 am

Thanks guys, investigating now!

Paul


July 26, 2013 | 6:58 am

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


July 26, 2013 | 7:40 pm

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


July 27, 2013 | 3:01 am

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


July 27, 2013 | 8:30 am

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

-A


July 29, 2013 | 7:10 am

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


Viewing 9 posts - 1 through 9 (of 9 total)