Re: state in streams (was Re: [Bug 115] libmidi does not support "running status")
Georg Seidel <[email protected]> Mon, 28 Mar 2005 11:47:24 +0200
| Newsgroups | gmane.comp.video.gephex.devel |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > I propose that the input modules must convert the byte streams from the > hardware interface to event streams. The event sets must be usable > without keeping a parser state in all stream handling modules. > > -> no running status > -> no splitting of midi messages I agree for gephex-0.5. For 0.4, I think the current behaviour works well enough. In most cases (alsa sequencer driver, wavein driver, and probably also raw alsa and OSS), there will not be partial midi messages. And the missing support for running status did not cause noticable problems for me so far, so I guess it is a minor issue. For gephex 0.5 we could use OSC with special restrictions as the internal event type. Georg P.S.: Could somebody with midi hardware please test the running status feature in libmidi? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Darwin) iD8DBQFCR9Kx/rP0cdKF/ToRAq4nAKD2L5TmXBvM8Hs8JSbtoURO/TjRvgCfXx5O kIEPhFv9j5ktECVhC4KyLYw= =kT91 -----END PGP SIGNATURE-----