Something I have been struggling to achieve in SuperCollider lately is a trigger burst generator. What I mean by this is:
- Something that receives a trigger
- When trigged, it will immediately emit X number of triggers
- These triggers are spaced at a time interval of Y
- When done triggering, resets itself and frees itself/waits for next input trigger.
I have been making weird hacks using Drate UGens and Impulse, but the problem with using eg Impulse as the internal clock for this is that if used in NodeProxy land it may be out of phase from when the synth receives the trigger and I want this trigger burst generator to emit triggers immediately when receiving a trigger and not be at risk of the clock/Impulse being halfway through it’s phase.
Does anyone have ideas on this subject?