• 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
Re: MIDI send & receive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDI send & receive


  • Subject: Re: MIDI send & receive
  • From: Herbie Robinson <email@hidden>
  • Date: Sat, 6 Apr 2002 02:31:14 -0500

At 12:00 AM +0200 4/6/02, Lubor Prikryl wrote:
Hi,

1) what could be wrong with the midi server, when it does not start or runs in two instances? I tried to delete prefs, but it does not help.


It's most likely that the driver has gotten into an infinite loop. That leaves the MIDIServer process stuck when the application terminates (it should always go away). If I remember correctly, a very old copy of the sample driver had such a bug and everybody who copied it got surprised. You can usually look at it with GDB and verify that the driver is stuck in a really tight loop.

The old version of MIDIMan's driver had this bug with SysEx. The newer version doesn't have an infinite loop (afik), but it has so much debug code in it that it gets all kinds of over-runs.


2) From time to time, sending sysex data freezes for few seconds, some devices handle it to be a timeout error - it seems there is a buffer which must be flushed or what.

I think that's OS X giving the high priority thread all the CPU time for a while until the OS figures out that something is amiss.

Thanks in advance for a hint

Lubor Prikryl, DSound

--
-*****************************************
** http://www.curbside-recording.com/ **
******************************************
_______________________________________________
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.

References: 
 >MIDI send & receive (From: Lubor Prikryl <email@hidden>)

  • Prev by Date: Re: Are there some native OS X MIDI monitoring app ???
  • Next by Date: Creating a MIDIClient inside of a MIDI driver?
  • Previous by thread: MIDI send & receive
  • Next by thread: Are there some native OS X MIDI monitoring app ???
  • Index(es):
    • Date
    • Thread