hi Ted,
thanks for adding this.
Like Greg said, it's used by (midi-position) returning a vector
#(bar,beat,pulse)
which a pulse is a 1/24 of a beat.
i don't know much about this, but is it ok to make an assumption like
this? i mean we hardcode magic numbers that 24 pulses are 1 beat and 4
beats are 1 bar.
it seems that you forgot to register the vector with the garbage
collector that (midi-position) returns. check
SchemeHelper::FloatsToScheme to see how it should be done, otherwise it
leaks memory.
best,
gabor