I’ve run into a challenge trying to come up with a utility script for adding a bit of swing to Teletype timing.
In my design, I thought about throwing a DEL (delay) onto the stack. The delay would execute a TR.PULSE which would be 60% (or variable) longer than the metronome. It appears the DEL command can’t be placed on the stack.
Wondering how others may accomplish this? Basically what I was attempting to do:
-
Each pass of the metronome would execute the stack and pulse a trigger.
-
The OUT jack (pulse controlled by metronome) would be plugged in an input jack, ex: #8. The # 8 script added 60% of the metronome value to X and the DEL would wait metronome + X ms to pulse the trigger again.
-
So the first pulse would happen on the beat and the second pulse would happen delayed by 60%.
Any ideas? Here is my idea in TT:
SWING TIMING
1) Use PARAM to set metro rate
2) defauts to a swing rate of 160% of metro rate (classic shuffle)
3) Patch TR A to IN 8 to include swing
#M
M SUB 320 RSH PARAM 6 // set metro from PARAM knob
S.ALL // execute whatever is in stack
TR.PULSE A // place pulse on stack for run in metro
#8
X DIV M 6 //find 60% of M
S : DEL ADD M X : TR.PULSE A // delay the next pulse by 60% of M