Re: Create and play midi sequence
Re: Create and play midi sequence
- Subject: Re: Create and play midi sequence
- From: Doug Wyatt <email@hidden>
- Date: Thu, 17 Sep 2009 07:56:33 -0700
CoreMIDI is about real-time communication of MIDI events. For what you
want to do, MIDI sequencing, see AudioToolbox/MusicPlayer.h.
Doug
On Sep 17, 2009, at 7:41 , Ming-ching Chiu wrote:
Hi,
I'm definitely a newbie here. Right now I'm trying to construct a
midi sequence and play it back. in the CoreMIDI framework there
seems to be no struct or class for midi sequence or track or
anything. The only thing i found is MidiPacketList. Checked out the
sample code "playsoftmidi" and "playsequence" as well. However
Playsoftmidi use usleep() to control the timing of playing notes.
I've done similar things in Java before, but java havs nice APIs for
midi eventlist, track, sequence and even player. I wonder if there
is any other way to do it in Cocoa, or i have to build my track
class and sequence class and my own player by using usleep() ??
ming-ching
_______________________________________________
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