W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2012

[Bug 18764] MIDI messages don't all have a channel, and status should be part of data.

From: <bugzilla@jessica.w3.org>
Date: Wed, 05 Sep 2012 17:55:23 +0000
Message-Id: <E1T9Jox-0001Tb-9k@jessica.w3.org>
To: public-audio@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18764

Chris Wilson <cwilso@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #4 from Chris Wilson <cwilso@gmail.com> 2012-09-05 17:55:23 UTC ---
Oh, wait - you only have 2 data bytes in sendMessage():
    void sendMessage(short data0, short? dataX)

It should still have a status byte:
    void sendMessage(short status, short? data0, short? data1)


(It may seem confusing, since we previously had status and channel separately,
but even the MIDI standard (http://www.midi.org/techspecs/midimessages.php)
refers to this byte (status + channel) as the status byte.  It also frequently
does not contain the channel, e.g. for any system or realtime common messages.)

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 5 September 2012 17:55:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 5 September 2012 17:55:28 GMT