Re: finding out the MIDI channel when reading MIDI data
Re: finding out the MIDI channel when reading MIDI data
- Subject: Re: finding out the MIDI channel when reading MIDI data
- From: Doug Wyatt <email@hidden>
- Date: Wed, 21 Jan 2004 17:09:07 -0800
You need to know how to parse MIDI and if I try to explain it
exhaustively here I'll probably inadvertently leave out a critical
detail...
But in a nutshell, you are receiving all events on all channels (and
system messages which are not channelized) from an endpoint. The status
bytes 0x80-0xEF have the MIDI channel encoded in the lower 4 bits.
Doug
On Jan 15, 2004, at 5:11 AM, Ingo Gruell wrote:
Hi,
I want to learn about programming MIDI applications and programming
with CoreAudio. I am experimenting in Java with a class that acts as
MIDIReadProc and right now snatches up any MIDI data it can get. Is
there a way to get the MIDI channel certain MIDI data was sent over
from the MIDIData object that represents the data?
Or do I have to structure my program so that it listens on each
channel of a MIDI port separately? (If so, how do I do this?)
Thank you very much,
Ingo Gruell
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.