• 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
MIDI Sysex and more
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MIDI Sysex and more


  • Subject: MIDI Sysex and more
  • From: Jakob Cederlund <email@hidden>
  • Date: Fri, 15 Feb 2002 12:09:00 +0100

Hi all

I'm sorry if this has already been on the list. (Is there a nice app for reading archives? The webinterface is bit raw...)

I've been porting a Classic app to CoreMIDI, which uses Sysex heavily. I've tested it with the Midiman 2x2. Everything works OK, but I've had to go round the following problems:

- MIDISendSysex can't handle more than 3 bytes at a time. You can use a completion proc to send larger packets. You have to make sure that you end on a sysex-end, however. If not, CoreMIDI hangs the system for a couple of seconds, and nothing is delivered to your MIDI device.

- MIDIPortDispose hangs forever if you call it before MIDISendSysex has finished (which is only notified through the completion proc, AFAIK).

- Occasionally, MIDIGetNumberOfSources etc. hangs, and you must kill the MIDIServer process (e.g. by using "kill" from the terminal).

Are these problems in the driver, or in CoreMIDI itself? Will they be corrected? Wouldn't it be easier if the API handled these issues for you? (I thought that was part of the point of providing a hi-level MIDI API.)

Also it seems that sending MIDI slows down my app quite a bit. (Checked it out using Sampler, great tool!)

Thanks

Jakob Cederlund
Clavia DMI AB, Sweden (developers of the wonderful Nord synthesizers)
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: MIDI Sysex and more
      • From: Kurt Revis <email@hidden>
  • Prev by Date: Re: Questions on data in MIDIPackets
  • Next by Date: Re: MIDI Sysex and more
  • Previous by thread: (no subject)
  • Next by thread: Re: MIDI Sysex and more
  • Index(es):
    • Date
    • Thread