Jun 152004

Andrew Choi has an OS X Programming blog which contains a lot of useful and interesting observations and test code as he builds a auto-accompaniment application.

Potentially useful to my KCS remake idea (assuming I can use MusicPlayer and not have to write my own scheduler) are his experiments with the MusicSequence and MusicPlayer APIs that are part of Core Audio (and not, confusingly, really considered part of Core MIDI). Particularly useful is his MusicSequenceTest code that shows how to use it in a lot clearer way than the official example given in /Developer/Examples/CoreAudio/Services/PlaySequence.

Aside: just found this page on with data flow diagrams on MIDI Operations in Core Audio that seems kinda useful.

Question: since there is a one-to-one relationship between MusicSequence and MusicPlayer, and the MusicPlayer is what has the transport controls (stop,start,etc), can I instantiate many MusicPlayers (say 128 of them) and start/stop them all at various with impunity, with multiple MusicPlayers running concurrently? If so, the hard part of KCS is done.

 Posted by at 3:36 pm

  2 Responses to “OS X MIDI Blog”

  1. Hi all:

    Just launched my new website with forums devoted to MIDI, computer audio, and pro audio. Love folks to check it out and drop me some feedback.


    Cheers, Dave.

  2. I am trying to connect a Yamaha MD2 and a Roland Sound Module SC33 to my Yamaha 760 Keyboard so I can record on floppy on the keys and play disc at live event
    I cannot get this to work has anyone any ideas


 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>