I guess the problem with the byte ptr is that I have to first find out where the source will at startup. I think I may have to go an entirely different route with the timing.... I can't wrap my mind around it just yet, but I'll try some things. It may be a silly problem altogether, but well...
It's a simple play routine for my synthiziser, enabling a time bar slipping over the waveform during play.
Repeating is always updating the sample before the next repeat, so that you can edit the sound during playback.
The timer has been causing me trouble right from the start, due to its aggressiveness over other events. Without the timer editing runs perfectly smooth, but as soon as a timer runs it can't get continuous eventqueues up to the point where slower systems almost freeze up completely.
Any clues would be very welcome, even if I almost find some in your feedback above already! It's very good and I'll keep exploring...
It's a simple play routine for my synthiziser, enabling a time bar slipping over the waveform during play.
Repeating is always updating the sample before the next repeat, so that you can edit the sound during playback.
The timer has been causing me trouble right from the start, due to its aggressiveness over other events. Without the timer editing runs perfectly smooth, but as soon as a timer runs it can't get continuous eventqueues up to the point where slower systems almost freeze up completely.
Any clues would be very welcome, even if I almost find some in your feedback above already! It's very good and I'll keep exploring...