Master Key Shift (and sending SysEx messages in general)

Forum for Integra 7
Post Reply
to7m
Posts: 9
Joined: 23:06, 19 August 2019

Master Key Shift (and sending SysEx messages in general)

Post by to7m »

Hi all,

I'm trying to send my Integra 7 some system exclusive messages, but following the manual hasn't worked so far :/ The main one I'm aiming to do at the moment is SOUND: Master Key Shift. SYNC/TEMPO: System Tempo and SuperNatural organ drawbar control will be next up.


According to page 8 in the midi spec manual, I need a message of this format:

F0H: Exclusive
41H: Roland ID number
dev: device ID
00H: model ID #1
00H: model ID #2
64H: model ID #3
12H: DT1 command ID
aa bb cc dd: address parts 1, 2, 3, and 4
ee...ff: data bytes
sum: checksum
F7H: end of exclusive


This is my attempt to translate it to Master Key Shift on my unit:

F0H
41H
11H (from MIDI: Device ID 17)
00H
00H
64H
12H
02H 00H 00H 04H: 02 00 00 00 = System (02 00 00 00) + System Common (00 00 00) + Master Key Shift (00 04)
3CH = data byte (see below)
3EH or 3DH = checksum (see below)
F7H


The data byte I am not sure about, as the format listed is "00aa aaaa", indicating a 6-bit 0–63 integer, but also as (40 - 88), which obviously exceeds 64. so I'm just guessing for now that 3CH means "down by 4 semitones".

For the checksum, I followed page 29.
[aa + bb + cc + dd + ee...ff = sum] makes sense.
[sum ? 128 = quotient ... remainder]... I interpret this as [sum % 128 = remainder]
[128 - remainder = checksum] is easy enough, but contradicts a few lines earlier where the manual says this step should "invert[] the lower 7 bits". So I tested with both 128 and 127.
128 - ((2 + 0 + 0 + 4 + 60) % 128) = 62 = 3EH
127 - ((2 + 0 + 0 + 4 + 60) % 128) = 61 = 3DH


This didn't work.

This thread: viewtopic.php?f=54&t=45828
gives an example of a working transpose message:
F0 41 10 00 6B 12 01 00 00 01 55 20 02 07 F7
which differs from mine too much to be of use:
F0 41 11 00 00 64 12 02 00 00 04 3C 3E F7


I'm using System Version 1.21 if that helps. Hopefully someone here has already figured this out...


Any help much appreciated!

Tom
User avatar
Wonderer
Posts: 65
Joined: 21:47, 23 August 2018
Location: The Netherlands

Re: Master Key Shift (and sending SysEx messages in general)

Post by Wonderer »

Hi Tom,

The only problem in your solution is the Device ID.
ID 17 is coded as 10H instead of 11H.
The rest is perfectly fine.

Device ID:

Code: Select all

00H =   1
01H =   2
02H =   3
03H =   4
04H =   5
05H =   6
06H =   7
07H =   8
08H =   9
09H = 10
0AH = 11
0BH = 12
0CH = 13
0DH = 14
0EH = 15
0FH = 16
10H = 17
.
.
Master key shift examples

Code: Select all

F0 41 10 00 00 64 12 02 00 00 04 45 35 F7 = +5
F0 41 10 00 00 64 12 02 00 00 04 44 36 F7 = +4
F0 41 10 00 00 64 12 02 00 00 04 43 37 F7 = +3
F0 41 10 00 00 64 12 02 00 00 04 42 38 F7 = +2
F0 41 10 00 00 64 12 02 00 00 04 41 39 F7 = +1
F0 41 10 00 00 64 12 02 00 00 04 40 3A F7 =   0
F0 41 10 00 00 64 12 02 00 00 04 3F 3B F7  = -1
F0 41 10 00 00 64 12 02 00 00 04 3E 3C F7 = -2
F0 41 10 00 00 64 12 02 00 00 04 3D 3D F7 = -3
F0 41 10 00 00 64 12 02 00 00 04 3C 3E F7 = -4
F0 41 10 00 00 64 12 02 00 00 04 3B 3F F7  = -5
Hope this helps.
carpenzano
Posts: 26
Joined: 06:25, 9 May 2011

Re: Master Key Shift (and sending SysEx messages in general)

Post by carpenzano »

And attached are the sysex strings for the organ drawbars.
Attachments
Drawbars Sysex.JPG
Drawbars Sysex.JPG (120.28 KiB) Viewed 1444 times
to7m
Posts: 9
Joined: 23:06, 19 August 2019

Re: Master Key Shift (and sending SysEx messages in general)

Post by to7m »

Brilliant, that worked! I wouldn't've thought to take 1 away.
Post Reply