EasyManua.ls Logo

TC Electronic M5000 - Convertvaluetomidi

TC Electronic M5000
203 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2: Individual Parameter-Access 6
2.6.4 convertValuetoMIDI
The following routine derives the two MIDI-bytes that identify the parameter-ID from a single short:
void convertValuetoMIDI(short value, char *byte1, char *byte2)
{
*byte1=(value >> 7) & 0x7f;
*byte2=value & 0x7f;
}

Table of Contents

Other manuals for TC Electronic M5000

Related product manuals