hi devs & coders,
i wasn't sure if this object exists, so i didn't post it in pd-dev...
i don't know EXACTLY (means so good that i would code it my self (if i could even code:)) what "midiclock" is, but the possibilty to get start, stop, tempo... from external hw/sw sequencers to pd would be very usefull to me (hope for others too).
i got quasimidi polymorph (step-seq-synth), boss dr-770 (drummachine), emagic logic (software sequencer) and i can sync them with each others trough midi with ease... so i think(hope) it wouldnt be so hard to implement it in/to PD.
midisync.gif is what (midi-ox said as raw mididata) i got in my PCs midi in from my polymorph... [meesee] the flow became faster when i increased the bpm in polymorph... so it seems it sends a "bang" with a "metro X" and X is calculated from BPM... (could be: timingclock[F8]=bang, start[FA]=1, stop[FC]=3...)
thnx -andre ps. if this object allready exist, spank me hard for my lazyness...
the flow became faster when i increased the bpm in polymorph... so it seems it sends a "bang" with a "metro X" and X is calculated from BPM... (could be: timingclock[F8]=bang, start[FA]=1, stop[FC]=3...)
I can't make a patch doing this as I haven't even managed to get PD installed properly at all yet, let alone experiment making patches, but here's the basics of syncing to midi
from the moment you receive the start (FA), count the F8's (clock ticks) which occur 24 times every quarter note.
The laziest way is just progressing 1/24th of a quarter note each time an F8 is received. (if you have control over playback head) if you want the 'current bpm' value measure the time difference between the last 2 ( or the average of more for smoothness ) received F8's
hope this helps a bit, wish i could explain it in a pd patch
regards Jilt van Moorst www.robotfunk.com