At Fri, 8 Oct 2004 11:26:39 -0400 (EDT), Patrick Dumais wrote: > > I noticed that some drivers tend to send "batch" note-on commands. I mean: > instead of sending 90h,01h,7Fh everytime, it sends a first 90,01,7f then > just 02,7f etc... It sends the noteon command only once and assumes that > your application will set itself in a "noteon receive" mode. This is very > annoying because my application expects to receive a command byte each > time. the emu10k1 driver doesn't do that, but snd-virmidi does. Yes, virmidi reduces the command byte when the identical running-status is kept. Note that this is the correct MIDI implementation. Many devices output in this way (although many don't). > I'm using virmidi because I want 2 apps to read my sbLive midi port. I > aconnect this port to 2 virmidi ports then my apps read from those ports. > > Is there any way that I can configure virmidi so that it sends commands > the conventional way, or any other way that I could have 2 applications > reading on the same midi port? (using the alsa sequencer interface is not > an alternative method that I want to consider for the scope of my > applications) The attached (untested) patch will add no_status option to snd-virmidi module. When this is set to 1, the running-status is always output as you like. But, again, reducing the identical running-status is the feature of MIDI byte stream. Your app should really handle it. Takashi