I am trying to setup Ableton and or Traktor to transmit a midi clock signal for BPM. Everything seems to be set up ok for the clock out of the programs - it is showing the correct bpm in Ableton. When I click on the use midi clock in Modul8 (version 2.5.4 on a Intel Mac Mini) the BPM number registers all kinds or weird numbers. I even tried setting a firewire network out of the Mac Mini to my Powerbook G4, and sending the midi clock over firewire, but the same thing happened in Modul8 with that set up too. I just can not get a steady BPM with the midi clock.
On my mac mini, I got this error:<b>
if pause == False:
if midiClock and type == 'MIDI' :
if param ['message'] == 'REAL_TIME_START' :
sharedDict['BMP_POSITION'] = 0.0
if param ['message'] == 'REAL_TIME_CLOCK' or param ['message'] == 'REAL_TIME_START' :
midiCount += 1
if midiCount == 1 :
midiTimeStart = param['timestamp']
elif midiCount > 24 :
timeDiff = ((param['timestamp'] -midiTimeStart)/1000000000.0)
if roundValue :
speedTest = round (60 * (1.0/ (timeDiff)))
if speedTest == speedBackup : speed = speedTest/60.0
module.setAttribute('midiBPM','caption','BPM : ' + str(int (speed*60)))
module.setValue('speedKnob',0,speed)
module.setValue('speedBar',0,speed)
module.setValue ('UIbpm',0,int (speed*60))
else :
speed = 1.0/ timeDiff
module.setValue('speedKnob',0,speed)
module.setValue('speedBar',0,speed)
module.setAttribute('midiBPM','caption','BPM : ' + str(speed*60))
module.setValue ('UIbpm',0, speed*60.0)
speedBackup = speedTest
midiCount = 0
midiTime = 0.0
elif param ['message'] == 'REAL_TIME_STOP' :
speed = 0
midiCount = 0
midiTime = 0.0
module.setAttribute('midiBPM','caption','BPM : 0')
module.setValue('speedKnob',0,0)
module.setValue('speedBar',0,0)
module.setValue ('UIbpm',0,0)
elif pause== True:
speed = 0
<b>
maybe that will help diagnose the problem.