KrzysiekK (2) [Avatar] Offline

I would like to put events in Sync process every x clock. I compute x value in SetTempo method in following way:
x = uSPerBeat/(32*1000*lpSync->wTimerPeriod); (32 is quantization value of my sequencer). But this solution is very inexact - this is because default timerperiod is 20ms so in this way I am not able to get exact timing for any tempo value.

Could someone suggest better solution (besides lowering timerperiod value)?

Best regards
KrzysiekK (2) [Avatar] Offline
Re: Tempo problem
already solved using nticks