Hi Alex,

> Today I finally heard the event sound server play something. Only problem is, I
> had to increment the sound position myself (which made it sound terrible due to
> no pauses!). I just can't get the song pos to increment.

This is strange; I'd have to have a look at your code to be able to 
comment on this.

> The MIDI commands
> coming in from the data are often 0, and the sound position never gets
> incremented in this case. Is this normal and when is it supposed to?

This is perfectly normal- for example, the MIDI stream might want to start
playing on two channels simultaeously, or change the instrument and then
resume playing. I assume that the sound code has not been altered in this
respect after your changes, so the function "process_midi()" returning the
number of ticks or microseconds to sleep (or the next wake-up date, or
whatever) would have to be called in a loop in this case.

Alternatively, the function could just handle this by itself.


llap,
 Christoph


Reply via email to