Re:CoreMIDI sample code available?
Re:CoreMIDI sample code available?
- Subject: Re:CoreMIDI sample code available?
- From: Bruno Di Gleria <email@hidden>
- Date: Sat, 10 Nov 2001 11:20:14 +0100
>
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?
Hello John,
The MIDI driver must not be already loaded by the classic environment:
- Shutdown Classic
- Unplug your interface
- Reconnect it (the status LED should be off)
- run SampleTools
It is OK to restart Classic while SampleTool is running. If no OSX MIDI
client is running while restarting, Classic will load the driver again!
Bruno
--
MIXAGE di Di Gleria Bruno
Service & Recording Studio
Via Basaldella 10 - 33100 UDINE - ITALY
Part.IVA 01802460301
Tel. 0432/231982
mailto:email@hidden
http://www.geocities.com/mixage