• 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 packet processing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDI packet processing


  • Subject: Re: MIDI packet processing
  • From: Kurt Revis <email@hidden>
  • Date: Tue, 14 Sep 2004 10:43:52 -0700

On Sep 14, 2004, at 8:53 AM, Scott Ruda wrote:

It seems a shame if it's true that realtime messages can be embedded within a single sysex packet. That means you would have to scan each packet's bytes and copy byte by byte instead of doing a block move.

Odds are that you're not going to get very much data in each packet anyway, so scanning through all the bytes won't kill you. Keep in mind that it's 2004, so compared to any computer you're going to be running on, the MIDI data rate is insanely slow and sysex messages aren't very big anymore. :)


When I wrote my MIDI parser, I wasn't aware that realtime messages were prohibited in the middle of other normal messages, so I made the parser handle that case as well. It's not really much more difficult.

I just open-sourced my MIDI Monitor application, so you are welcome to use the code:
http://www.snoize.com/MIDIMonitor/Source/


The parser is in Frameworks/SnoizeMIDI/SMMessageParser.m.

--
Kurt Revis
email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: MIDI packet processing (From: Scott Ruda <email@hidden>)

  • Prev by Date: Re: Beginner question
  • Next by Date: Reported Bug in MusicSequence
  • Previous by thread: Re: MIDI packet processing
  • Next by thread: Re: MIDI packet processing
  • Index(es):
    • Date
    • Thread