[PD] Rounding counter idiom? Sample and hold?
saintidle at yahoo.com
Sun Jun 24 13:37:04 CEST 2012
I'm trying to run a metro based counter that will drive a sequencer with live quantise abilities. But I'm stuck because I can't seem to create a counter that will count not only up in ones but if I change the quantise value I need it to count up in 12.5s, 25s, 50s etc. etc. (The sequencer runs at 100 pulses per quarter note when in 'Free Time' mode so the 12.5, 25 & 50 refers to 32nd, 16th & 8th notes respectively.)
I've tried changing the increment value in the counter but there's the problem of extra counts carrying over into the mode change knocking things out of sync.
I think I'm looking for a sample and hold idiom?
I'm probably missing something very silly...
Thanks in advance,
More information about the Pd-list