• 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: misses very first MIDI-in packet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: misses very first MIDI-in packet?


  • Subject: Re: misses very first MIDI-in packet?
  • From: Hidetomo Katsura <email@hidden>
  • Date: Sat, 28 Feb 2004 17:41:31 -0800

thanks for confirming the problem.

but adding a short (or long) sleep (in the main thread if that matters) doesn't seem to cure the problem in my app. :(

katsura

I can confirm that happens and that a short sleep (1 second) seems to cure the problem. I wasn't sure whether to report it as a bug or not...

CoreMIDI question:

my app sends a DEVICE INQUIRY REQUEST sysex and waits for a DEVICE INQUIRY REPLY sysex.

for some reason, my MIDI-in proc sometimes gets called with the reply sysex, and sometimes doesn't even though the MIDI-in status LED on the MIDI I/F (btw, it's a midiman 2x2) always blinks which i assume the reply sysex is actually received by the MIDI I/F.

fyi, my MIDI-in proc does get called for all the following MIDI-in's, it only misses the very first packet "DEVICE INQUIRY REPLY" sometimes, not always.

any ideas? suggestions? what am i doing wrong? am i supposed to wait for certain period of time after the app launch or the MIDIPortConnectSource() call?

thanks in advance,
katsura
_______________________________________________
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: 
 >AU: Vector Size? (From: email@hidden)
 >Re: AU: Vector Size? (From: email@hidden)
 >misses very first MIDI-in packet? (From: Hidetomo Katsura <email@hidden>)
 >Re: misses very first MIDI-in packet? (From: Herbie Robinson <email@hidden>)

  • Prev by Date: Re: misses very first MIDI-in packet?
  • Next by Date: Removing all event timers?
  • Previous by thread: Re: misses very first MIDI-in packet?
  • Next by thread: Passthru AudioUnit that saves its input to file?
  • Index(es):
    • Date
    • Thread