I'm working on a MIDI step sequencer. I'm using the timer device and a usual Wait() loop. But sometimes the delay is too long and the playback has a small glitch even if I'll set the task priority to 2-10. Currently I'm using the UNIT_MICROHZ because it gave me the best result. I was trying to adjust the delay value depending on how long it took between IO calls but that didn't help good enough eventually.
Can I use interrupts somehow ? And if so then how ?
I tried to use realtime library also but didn't get it to do anything.
So what's the best way doing this kind of looping on AmigaOS ?
Fri, 2015-11-20 17:04
#1
How to do timing of MIDI step sequencer looping on AmigaOS correctly ?