[lively-kernel] Lively Audio

Jay Hardesty jay.hardesty at gmail.com
Fri Apr 23 03:16:58 CEST 2010


>Second byte contains pitch and velocity
CORRECTION: meant second and third bytes contain pitch and velocity


>The real question is :  Do you know if midi players allow a note to
>be started in one file and ended in another?  This would allow
>key-down and key-up events to come in real time from the keyboard.  I
>would make this work if the answer is yes.
>
>Thanks
>       - Dan


As far as I know a MIDI player does not care where (or from which
file) a MIDI ON, or subsequent MIDI OFF message comes from.
Each is just a pair of bytes arriving from wherever.

(That is, the first byte MIDI ON event  is 144 for channel 1, 145 for
channel 2. etc. up to 159 for channel 16. Second byte contains pitch
and velocity. MIDI OFF events have first byte set to 128 for channel 1
up to 143 for channel 16 etc)


More information about the lively-kernel mailing list