Re: MIDI In OK, No MIDI Out
Re: MIDI In OK, No MIDI Out
- Subject: Re: MIDI In OK, No MIDI Out
- From: Eric Kampman <email@hidden>
- Date: Sun, 19 Jun 2011 07:35:05 -0700
On Jun 19, 2011, at 1:15 AM, Charlie Roberts wrote:
> Hi Eric,
>
> If it's getting to your Uno it seems like most of the work should be done. Try sending 127 as the value for for the noteon instead of 128. The range of values should be 0 - 127, not 1 to 128. I'm not sure exactly what the extra bit would do to the packet list but would guess that it would screw it up... a one in the the most significant bit of any byte in a standard MIDI message is used to indicate the start of a new message (a status byte) instead of the continuation of a message (a data byte).
>
Thanks to everyone who responded (mostly not on the list). This was indeed the problem. Too used to thinking in unsigned bytes.
The info on the high bit's purpose was interesting. I assume this doesn't apply to SysEx messages but I'll look into that (my goal at this point is actually to send SysEx -- sending on and off was just preliminary. And I am aware there's a different CoreMIDI call to send SysEx -- perhaps it has something to do with this high bit's significance).
Eric
_______________________________________________
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