• 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: Questions about receiving SysEx, compared to old OMS way
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions about receiving SysEx, compared to old OMS way


  • Subject: Re: Questions about receiving SysEx, compared to old OMS way
  • From: Stephen Kay <email@hidden>
  • Date: Sun, 23 Apr 2006 23:16:19 -0400

on 4/23/06 2:42 PM, Kurt Revis at email@hidden wrote:

> But, assuming that all works, all you have to do to receive sysex is
> 1) When you see a packet that starts with 0xF0, start accumulating
> sysex data.
> 2) Look at the first byte of each subsequent packet.
> == 0xF7: You're done with the sysex message.
>> = 0x80: It's a MIDI message, ignore the whole packet.
> Otherwise, you've got more sysex data, keep accumulating it (and
> look for an 0xF7 to end).

That's what I arrived at, it seems to be working.

> The code is here: http://www.snoize.com/MIDIMonitor/Source/
> Specifically, take a look at the SnoizeMIDI project,
> SMMessageParser.* and SMInputStream.*.  -[SMMessageParser
> messagesForPacket:] is where all the parsing happens.

Thanks, Kurt! I'll check it out.

Regards
- Stephen

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma Lab - developers of KARMA
http://www.karma-lab.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


 _______________________________________________
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: Questions about receiving SysEx, compared to old OMS way (From: Kurt Revis <email@hidden>)

  • Prev by Date: Re: Threading/timer issues on Mach-O vs. OS 9
  • Next by Date: Re: Threading/timer issues on Mach-O vs. OS 9
  • Previous by thread: Re: Questions about receiving SysEx, compared to old OMS way
  • Next by thread: Capturing audio from a running program
  • Index(es):
    • Date
    • Thread