Im using the rate attribute on a jit.qt.mov object to try and sync videos with audio of a set bpm.
Videos are loaded up with a default bpm of 120. A number box dictates the tempo of the music, and a message is sent into jit.qt.mov via (rate $1) like so:
tempo [num box] > [/120.0000] > (rate $1) > [jit.qt.movie]
This way I would expect the sync of the video to stay with the music – works perfectly at 120 bpm, but slowly drags out of sync at different bpms.
Im guessing the problem lies in the accuracy of the conversion between tempo and rate, namely the number of decimal places – is there a way to make the jit.qt.movie read the rate message as a more accurate float, or is there a much more sensible way of doing this?