From: Joe E. <jo...@em...> - 2005-05-13 20:13:47
|
Rib Rdb wrote: >That could be a possibility. I think what we really need though is a >way for drivers to start receiving messages as they come in. For >example, some synths (including the motif for some things) use a 2-way >communication protocol to transfer data. I don't think this type of >thing is currently supported by JSynthLib. > > I looked at this closer last night and what I discovered confirms your suspicion. Interestingly, if the messages were left in the sysexInputQueue for that driver's inport, then the driver *would* be able to get to them. However, the SysexGetDialog class regularly polls the queue and, apparently, steals the messages out of the queue to put in its *own* queue. This other queue, in SysexGetDialog doesn't appear to be accessible to the Driver subclasses. The reason for this *seems* to be so that the SysexGetDialog can show a running count of the bytes received. However, there's no reason it can't do this while leaving the messages in the original queue. Perhaps the messages should just be left in the original queue? - Joe |