OS X MIDI Blog

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.

2 Replies to “OS X MIDI Blog”

  1. 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

    didi

Leave a Reply

Your email address will not be published. Required fields are marked *