Best way to have cycle~ output a signal at specific intervals

Timo's icon

Hey,

what would be the computationally most efficient way to have an oscillator output a signal for e.g. 10ms every 20ms?

How would you patch that?

Thank you very much
Timo

Floating Point's icon

put it in a poly~ and mute the poly~ when you don't need it to play

Timo's icon

Thank you. I will look into that.
Could you give me your opinion on my solution?

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


Floating Point's icon

this is the way I'd do it, more flexible and keeps things in the signal domain

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

Timo's icon

Thank you very much!

Roman Thilenius's icon

[gate~] or [*~ 0.] silence audio.

you would control them by a [phasor~] run through [>~ 0.5] in the given case.

Timo's icon

Thank you!