Hi
I'm still new to Pd so please bear with me... I'm using the timecode abstraction from here http://puredata.hurleur.com/sujet-3402-timecode-generator to generate some rate of timecode, like a PPQN tick in a sequencer. At the moment I'm doing something like this with a resolution of 96:
[timecode]
|
[sel 0 48 96 192 288 384]
| \ \ \ etc
So the note is triggered on some timecode value. What I'd like to be able to do is reload the select. I'm stuck here. Can it be in a table or some other place? So, I'm basically trying to say: if note_on[ppqn] = true then bang.
Secondly, I'd like to extend that so the bang is a value which represents 0-127 as velocity, e.g
[timecode]
|
[sel 0 48 96...]
|
[100(
|
[ s to-some-drum-synth]
i.e. (I'm a more traditional programmer...)
if notes[ppqn].note_on == true then send note_on[ppqn].velocity
and likewise:
if notes[ppqn].note_off == true then send 0
Is that makes sense... Any help greatly appreciated!
Edit: err sorry the subject head is wrong... - what I also wanted to do was add swing to the timecode abstraction.