• 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: MIDIPacketList numPackets Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDIPacketList numPackets Question


  • Subject: Re: MIDIPacketList numPackets Question
  • From: Thomas Strathmann <email@hidden>
  • Date: Wed, 19 May 2010 14:06:48 +0200

Am 5/19/10 05:12 , schrieb Justin Phillips:
In my callback function (MIDIReadProc used in a call to
MIDIInputPortCreate) I print out how many packets long the list is (the
numPackets field). It is never greater than 1 packet long. Is this a
problem with my controller? I have no idea how to handle chords
otherwise... Any help is greatly appreciated.

Usually in MIDI applications you have to maintain a buffer of incoming notes which have not yet received a corresponding Note off event (some note number with velocity 0). The contents of this buffer being your chord in this particular instance.


	Thomas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >MIDIPacketList numPackets Question (From: Justin Phillips <email@hidden>)

  • Prev by Date: Re: Does OS X limit USB audio devices to 16 bits of resolution?
  • Next by Date: Re: Does OS X limit USB audio devices to 16 bits of resolution?
  • Previous by thread: MIDIPacketList numPackets Question
  • Next by thread: Deploying an AU on ppc
  • Index(es):
    • Date
    • Thread