12.07.2015 Views

AdrenaLinn II MIDI Implementation - Roger Linn Design

AdrenaLinn II MIDI Implementation - Roger Linn Design

AdrenaLinn II MIDI Implementation - Roger Linn Design

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7-Bit Data PackingThe general data packing scheme for preset and drumbeat data dumps groups 7 bytes of data, stripping offthe MS bit of each, and packing these MS bits into an additional byte. 7 bytes of internal memory yields 8bytes of <strong>MIDI</strong> data.Assuming 7 bytes of memory data are:0: AAAAaaaa Memory byte 01: BBBBbbbb Memory byte 12: CCCCcccc Memory byte 23: DDDDdddd Memory byte 34: EEEEeeee Memory byte 45: FFFFffff Memory byte 56: GGGGgggg Memory byte 6Then it is sent over <strong>MIDI</strong> with the MS bits first as follows:0: 0GFEDCBA Packed MS bits1: 0AAAaaaa <strong>MIDI</strong> Data Bytes2: 0BBBbbbb3: 0CCCcccc4: 0DDDdddd5: 0EEEeeee6: 0FFFffff7: 0GGGggggNote that fewer than 7 bytes can be sent, and the unused MS bits will be set to zero. For example, if twobytes are sent:Assuming 2 bytes of memory data are:0: AAAAaaaa Memory byte 01: BBBBbbbb Memory byte 1Then it is sent over <strong>MIDI</strong> as a three byte sequence, with the MS bits first as follows:0: 000000BA Packed MS bits1: 0AAAaaaa <strong>MIDI</strong> Data Bytes2: 0BBBbbbb<strong>Adrena<strong>Linn</strong></strong> <strong>II</strong> <strong>MIDI</strong> <strong>Implementation</strong> v2.1 software <strong>Roger</strong> <strong>Linn</strong> <strong>Design</strong> Monday, August 30, 2004 Page13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!