List of metro

Forking Paths's icon

Hello,

I am trying to use a list of different speeds in ms to insert in the right inlet of the metro object. I would like to ask if is possible to use it as a loop, and also I would like to know if it can be stopped with a toggle and meantime use the metro indicated speed.

Thanks in advance.

Peter Ostry's icon

Check the help file and the reference of [metro], it's all in there and easily understandable.

1. Yes, you can set different speed values, by default in ms, via the right inlet. But not as a list. You have to send a new integer value for each new speed.

2. Yes, the metronome starts and stops with 1 and 0 in the left inlet. This is what toggle switches do.

3. I do not understand the last question. "Stopped ... and meantime use the indicated speed"? Stopped means no data output and which meantime and what is an indicated speed? If you mean the milliseconds you wrote as argument direct into the object, then no, [metro] cannot fall back to this speed. Once you start to feed other values, the initial value is forgotten and you have to control the speed.

Forking Paths's icon

Thanks for reply Peter.

I explained wrong the third point. I mean attach a list of different speeds. For example play 300 ms and then 100 ms.

Peter Ostry's icon

Not as a list.
You can send 300 and afterwards 100.
You have to develop a mechanism to send the values you need. See the attached patch with examples.

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

Forking Paths's icon

Thank you so much Peter. That was what I needed.