Hi, I have been busy at work trying to make a phasor~ sync up with midi real time clock info (24 ticks per beat). I've gotten a pretty decent patch that continually checks the value of the phasor and either speeds it up or slows it down based on where it should be. Ok. cool.
But, in the course of doing all of that, I have noticed that something is very wrong...what that something is? Hopefully someone out there can help me.
Basically, I have noticed that my MSP is not right. For example, I set a phasor~ to 2 Hz and have it play a sample. At the same time, I use a metro set at 500ms to trigger another sample. I start them at the same time so they are perfectlly sync'd. However, after only 20 beats or so, they are completely out of phase. Now, I cannot believe that the timing is so bad that it would do this in normal operations. The patch that I wrote is "holding" the phasor to a frequency of around 1.9Hz when it should be at 2hz, now that is definately wrong.
Furthermore, I've also noticed other things are wrong. Unfortunately, I can't find the patch that did this, but awhile back I noticed that when i did certain operations on signals, ie. attempt to multiply them, i was getting wrong answers.
Can anyone tell me why my computer might be doing this? Do i have some setting wrong? My i/o vector and signal vector sizes are 512, i've tried it in overdrive and with interrupt both on and off. I don't know what else it could be, any ideas? Please help, this is really frusterating! thanks and hope to hear from all of you