Heya,
Ive been poking around some midi implementation for a while. I want to make a midi clock that displays Bars:Beats from the midi clock.
It needs to respond to Song Position Pointer, Beat Clock, and the Time Signature packet (get get beats per bar).
Ive got the hardware side of it working. I can receive midi & process it, then display it on 7-seg displays.
The problem Im having is the Beat:Bar readout im generating is falling behind the Beat:Bar readout of my DAW (ie, clock source). Its like the pic isnt catching all the beatclock packets and drifting (about 1 bar in 28 bars at 200bpm).
Im using a 20x2, the rest is in the attached code. Its an adaptation of Hippy's Midi Parser (actually, pretty much his code!)
Running at 64MHz, a picaxe should be able to keep up with the beatclock, right?
Ive been poking around some midi implementation for a while. I want to make a midi clock that displays Bars:Beats from the midi clock.
It needs to respond to Song Position Pointer, Beat Clock, and the Time Signature packet (get get beats per bar).
Ive got the hardware side of it working. I can receive midi & process it, then display it on 7-seg displays.
The problem Im having is the Beat:Bar readout im generating is falling behind the Beat:Bar readout of my DAW (ie, clock source). Its like the pic isnt catching all the beatclock packets and drifting (about 1 bar in 28 bars at 200bpm).
Im using a 20x2, the rest is in the attached code. Its an adaptation of Hippy's Midi Parser (actually, pretty much his code!)
Running at 64MHz, a picaxe should be able to keep up with the beatclock, right?
Attachments
-
2.2 KB Views: 20
-
4.1 KB Views: 16