Hello James,
I just saw your video on YouTube about MIDISyncClock and I think problem is coming from my hardware. I have a old dsi evolver and apparently MIDISyncClock is not compatible with it cause it work fine with other sources. But Bitwig for example is taking evolver clock with no issues…
The error happened when I lunch this simple test patern after having followed you instructions:
Pbind(\dur,1).play(MIDISyncClock, quant: -1);
log is :
ERROR: binary operator '-' failed.
RECEIVER:
nil
ARGS:
Float 171.795471 8008E8A1 40657974
nil
PROTECTED CALL STACK:
Meta_MethodError:new 0x11938c100
arg this = BinaryOpFailureError
arg what = nil
arg receiver = nil
Meta_DoesNotUnderstandError:new 0x11938e0c0
arg this = BinaryOpFailureError
arg receiver = nil
arg selector = -
arg args = [ 171.795471208, nil ]
Object:performBinaryOpOnSomething 0x1180dbf40
arg this = nil
arg aSelector = -
arg thing = 171.795471208
arg adverb = nil
Meta_MIDISyncClock:seconds 0x119a3c3c0
arg this = MIDISyncClock
a FunctionDef 0x119a36a80
sourceCode = "<an open Function>"
Function:prTry 0x119d75c80
arg this = a Function
var result = nil
var thread = a Thread
var next = nil
var wasInProtectedFunc = false
CALL STACK:
DoesNotUnderstandError:reportError
arg this = <instance of BinaryOpFailureError>
Nil:handleError
arg this = nil
arg error = <instance of BinaryOpFailureError>
Thread:handleError
arg this = <instance of Thread>
arg error = <instance of BinaryOpFailureError>
Object:throw
arg this = <instance of BinaryOpFailureError>
Function:protect
arg this = <instance of Function>
arg handler = <instance of Function>
var result = <instance of BinaryOpFailureError>
< FunctionDef in Method Meta_MIDISyncClock:initClass >
arg data = nil
var lastTickDelta = 0.019698707000003
var lastQueueTime = 288.0
var nextTime = 171.795006719
var task = <instance of Function>
var tickIndex = nil
var saveClock = <instance of Meta_SystemClock>
Meta_MIDISyncClock:tick
arg this = <instance of Meta_MIDISyncClock>
arg index = 8
arg data = nil
Meta_MIDIIn:doSysrtAction
arg this = <instance of Meta_MIDIIn>
arg src = 1499883921
arg index = 8
arg val = nil
^^ The preceding error dump is for ERROR: binary operator '-' failed.
RECEIVER: nil
MIDISyncClock.tempo is working normally tho