Roland GW-8 Implementation Manual page 10

Midi implimentation
Hide thumbs Also See for GW-8:
Table of Contents

Advertisement

MIDI Implementation
■Example of an Exclusive Message and
Calculating a Checksum
Roland Exclusive messages are transmitted with a checksum at the end (before F7) to make
sure that the message was correctly received. The value of the checksum is determined by
the address and data (or size) of the transmitted Exclusive message.
●How to calculate the checksum
(hexadecimal numbers are indicated by "H")
The checksum is a value derived by adding the address, size, and checksum itself and
inverting the lower 7 bits.
Here's an example of how the checksum is calculated. We will assume that in the Exclusive
message we are transmitting, the address is aa bb cc ddH and the data or size is ee ffH.
aa + bb + cc + dd + ee + ff = sum
sum ÷ 128 = quotient ... remainder
128 - remainder = checksum
■ The Scale Tune Feature (address: 40 1x 40)
The scale Tune feature allows you to finely adjust the individual pitch of the notes from C
through B. Though the settings are made while working with one octave, the fine
adjustments will affect all octaves. By making the appropriate Scale Tune settings, you can
obtain a complete variety of tuning methods other than equal temperament. As examples,
three possible types of scale setting are explained below.
❍Equal Temperament
This method of tuning divides the octave into 12 equal parts. It is currently the most widely
used form of tuning, especially in occidental music. On the GW-8, the default settings for
the Scale Tune feature produce equal temperament.
❍Just Temperament (Tonic of C)
The principal triads resound much more beautifully than with equal temperament, but this
benefit can only be obtained in one key. If transposed, the chords tend to become
ambiguous. The example given involves settings for a key in which C is the keynote.
❍Arabian Scale
By altering the setting for Scale Tune, you can obtain a variety of other tunings suited for
ethnic music. For example, the settings introduced below will set the unit to use the Arabian
Scale.
Example Settings
Note name
Equal
Just Temperament
Temperament(Key-tone C)
C
0
0
C#
0
-8
D
0
+4
Eb
0
+16
E
0
-14
F
0
-2
F#
0
-10
G
0
+2
G#
0
+14
A
0
-16
Bb
0
+14
B
0
-12
The values in the table are given in cents. Convert these values to hexadecimal, and transmit
them as Exclusive data.
For example, to set the tune (C-B) of the Part 1 Arabian Scale, send the following data:
F0 41 10 42 12 40 11 40 3A 6D 3E 34 0D 38 6B 3C 6F 40 36 0F 76 F7
10
Arabian Scale
-6
+45
-2
-12
-51
-8
+43
-4
+47
0
-10
-49

Advertisement

Table of Contents
loading

Table of Contents