MIDIOutputPort.send(MIDIEndpoint dest, MIDIP acketList pktlist)
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.