Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
CoreMIDI sample code available?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreMIDI sample code available?



Hello,

I'm having trouble getting the simplest MIDI messages on Mac OS X 10.1. I've built and run the example SampleTools program which demonstrates how to register a MIDI read proc, but it doesn't seem to work. My Midisport USB MIDI interface is connected with the new driver downloaded and installed. The USB-powered interface is lit up, so it's connected properly. It's connected through a Cinema Display.

I can see in the debugger while running SampleTools that the Midisport is recognized

"name=MIDISPORT, manuf=MIDIMAN, model=1x1"

and my synth lights up the interface fine when I play, but SampleTool's not seeing the bytes. I've modified the source to printf when bytes are received, but nothing. I also modified the source to transmit a simple note-on packet, but it never makes it to the interface, either.

Have any of you encountered a similar obstacle? If so, what was wrong?

Thanks,
John Blackburn




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.