• 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
MIDIOutputPort.send(MIDIEndpoint dest, MIDIP acketList pktlist)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MIDIOutputPort.send(MIDIEndpoint dest, MIDIP acketList pktlist)


  • Subject: MIDIOutputPort.send(MIDIEndpoint dest, MIDIP acketList pktlist)
  • From: Craig Bakalian <email@hidden>
  • Date: Sun, 1 Sep 2002 18:48:25 -0400

Hi,
I have finally gleaned through the java core audio, figuring out how to set up a MIDIClient, give it a MIDIInputPort, iterate through a MIDISetup.getSource(i) to get a list of MIDIEndPoints, set up one of the MIDIEndPoints in a connectSource....
Now, that the MIDIInputPort is connected, and my app is absorbing midi data from the user pressing keys on a midi keyboard, how do I set the timeStamp of the midi event? Do I use an external timer? The example MIDIGraph in the Java CoreAudio doesn't get into this.
Also, I am a bit confused on how to set a midi sequence (that which contains tracks with midi events in them) to a MIDIOutputPort. In the docs I see that the MIDIOutputPort has a .send(MIDIEndPoint des, MIDIPacketList pklist), yet, do I need to get the data out of my apps arrays(containing the midi events), and then turn them into a MIDIPacket and then add them to a MIDIPacketList and send that to the MIDIOutpPort? Is a MIDIPacketList a midi sequence?

Craig Bakalian

still upset because javax.sound.midi does not get external midi hardware.
_______________________________________________
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:
    • Re: MIDIOutputPort.send(MIDIEndpoint dest, MID IPacketList pktlist)
      • From: Kurt Revis <email@hidden>
  • Prev by Date: Playing 96 kHz AIFF files with Quicktime player
  • Next by Date: Re: MIDIOutputPort.send(MIDIEndpoint dest, MID IPacketList pktlist)
  • Previous by thread: Re: Playing 96 kHz AIFF files with Quicktime player
  • Next by thread: Re: MIDIOutputPort.send(MIDIEndpoint dest, MID IPacketList pktlist)
  • Index(es):
    • Date
    • Thread