• 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
Multiple MIDI packetlist sequences?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple MIDI packetlist sequences?


  • Subject: Multiple MIDI packetlist sequences?
  • From: Tom Jeffries <email@hidden>
  • Date: Thu, 15 Sep 2011 17:23:22 -0700

I'm getting some very strange results working with MIDI packetlists.
I want to use 8 different complete packetlists, each playing its own
series of packets.  The goal is to allow some time differences between
the 8 tracks.  Rather than putting them all in one sequence I want to
have 8 sets of MIDI packets being sent independently.  I am calling
MIDIPacketListInit 8 times with 8 different MIDIPacketList pointers,
and then calling MIDIPacketListAdd for each event in each of the 8
tracks.

That results in some complex code, and it's possible I've got a
pointer error going on.  But I've been tracing through everything, and
I don't see it.  CoreMIDI seems to be treating all 8 tracks as though
they were using the same data space, and unless I set the initial size
for each track to be large enough to handle all the tracks I get
crashes.

If it's known that CoreMIDI can handle multiple tracks at the same
time, each with a different set of packetlists, then it's a problem in
my code.  But- is that known?  I've never seen example code that uses
more than one track.  Has anybody done what I'm trying to do and
succeeded?

Thanks, Tom Jeffries
 _______________________________________________
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

  • Prev by Date: Re: Core audio book
  • Next by Date: Re: Limiting available sample rates
  • Previous by thread: lion roars? it doesn't appear so
  • Next by thread: Extract DSP info from audio queue input callback function
  • Index(es):
    • Date
    • Thread