• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: finding out the MIDI channel when reading MIDI data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • TC PowerCore Plug-ins broken in GarageBand
      • From: "Dr. Frederick J. Bashour" <email@hidden>
References: 
 >finding out the MIDI channel when reading MIDI data (From: Ingo Gruell <email@hidden>)
 >Re: finding out the MIDI channel when reading MIDI data (From: Luke Bellandi <email@hidden>)

  • Prev by Date: Re: MIDIPacketList behaviour problem
  • Next by Date: Streaming OS X audio over network
  • Previous by thread: Re: finding out the MIDI channel when reading MIDI data
  • Next by thread: TC PowerCore Plug-ins broken in GarageBand
  • Index(es):
    • Date
    • Thread