• 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: Create and play midi sequence
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Create and play midi sequence (From: Ming-ching Chiu <email@hidden>)

  • Prev by Date: Create and play midi sequence
  • Next by Date: Re: MIDINotifyProc and modal NSApplication sessions
  • Previous by thread: Create and play midi sequence
  • Next by thread: HAL Userland driver and preferences
  • Index(es):
    • Date
    • Thread