Using Hammond XK2 drawbars with VB3(GSi)

florian

2016-04-29 15:20:00

Hi, a user wants to control the drawbars of the VB3 by GSi using the real drawbars on his Hammond XK2.

Using the MIDI OUT of the Hammond, and input to the computer using a MIDI-to-USB interface.

This is the series of messages coming from the Hammond:

Code: Select all

1: MIDI IN: B0 50 07
2: MIDI IN: B0 50 06
3: MIDI IN: B0 50 05
4: MIDI IN: B0 50 04
5: MIDI IN: B0 50 03
6: MIDI IN: B0 50 02
7: MIDI IN: B0 50 01
8: MIDI IN: B0 50 00

9: MIDI IN: B0 50 10
10: MIDI IN: B0 50 0F
11: MIDI IN: B0 50 0E
12: MIDI IN: B0 50 0D
13: MIDI IN: B0 50 0C
14: MIDI IN: B0 50 0B
15: MIDI IN: B0 50 0A
16: MIDI IN: B0 50 09

17: MIDI IN: B0 50 19
18: MIDI IN: B0 50 18
19: MIDI IN: B0 50 17
20: MIDI IN: B0 50 16
21: MIDI IN: B0 50 15
22: MIDI IN: B0 50 14
23: MIDI IN: B0 50 13
24: MIDI IN: B0 50 12

25: MIDI IN: B0 50 22
26: MIDI IN: B0 50 21
27: MIDI IN: B0 50 20
28: MIDI IN: B0 50 1F
29: MIDI IN: B0 50 1E
30: MIDI IN: B0 50 1D
31: MIDI IN: B0 50 1C
32: MIDI IN: B0 50 1B

33: MIDI IN: B0 50 2B
34: MIDI IN: B0 50 2A
35: MIDI IN: B0 50 29
36: MIDI IN: B0 50 28
37: MIDI IN: B0 50 27
38: MIDI IN: B0 50 26
39: MIDI IN: B0 50 25
40: MIDI IN: B0 50 24

41: MIDI IN: B0 50 34
42: MIDI IN: B0 50 33
43: MIDI IN: B0 50 32
44: MIDI IN: B0 50 31
45: MIDI IN: B0 50 30
46: MIDI IN: B0 50 2F
47: MIDI IN: B0 50 2E
48: MIDI IN: B0 50 2D

49: MIDI IN: B0 50 3D
50: MIDI IN: B0 50 3C
51: MIDI IN: B0 50 3B
52: MIDI IN: B0 50 3A
53: MIDI IN: B0 50 39
54: MIDI IN: B0 50 38
55: MIDI IN: B0 50 37
56: MIDI IN: B0 50 36

57: MIDI IN: B0 50 46
58: MIDI IN: B0 50 45
59: MIDI IN: B0 50 44
60: MIDI IN: B0 50 43
61: MIDI IN: B0 50 42
62: MIDI IN: B0 50 41
63: MIDI IN: B0 50 40
64: MIDI IN: B0 50 3F

65: MIDI IN: B0 50 4F
66: MIDI IN: B0 50 4E
67: MIDI IN: B0 50 4D
68: MIDI IN: B0 50 4C
69: MIDI IN: B0 50 4B
70: MIDI IN: B0 50 4A
71: MIDI IN: B0 50 49
72: MIDI IN: B0 50 48
How to convert to different control change messages for the VB3?

florian

2016-04-29 15:39:39

So there is a scheme in the MIDI data coming from the Hammond:

Values 00..07 are the first drawbar. Values 09...10 (=9-16 decimal) are the second drawbar, etc.

Here is the full list of the respective first value -- hexadecimal (decimal):

Drawbar 1: 00 (0)
Drawbar 2: 09 (9)
Drawbar 3: 12 (18)
Drawbar 4: 1B (27)
Drawbar 5: 24 (36)
Drawbar 6: 2D (45)
Drawbar 7: 36 (54)
Drawbar 8: 3F (63)
Drawbar 9: 48 (72)

It's the 9's series... With a little bit of math, I convert the value to a control change number from 0 to 8 for the draw bar, and the value to 0..7 for the value:

CC_Number = MIDI_Value / 9
CC_Value = MIDI_Value - (CC_Number * 9)

Now in MIDI Translator Pro, variable names are 2-letter names, so we choose pp for incoming MIDI_Value, uu for CC_Number and vv for CC_Value. The full translator in MT Pro looks like this:

Code: Select all

[x] Translator 0.0: Convert Drawbars to 8 different Controllers
Options: swallow
Incoming: Control Change on channel 1 with CC#:80 (0x50) set 'pp' to value
Rules:
  uu=pp/9
  vv=uu*9
  vv=pp-vv
Outgoing: Control Change on channel 1 with CC#:uu and value:vv
I don't know which control numbers and which values are expected by the VB3. This preset converts to controllers #0 to #8. If the VB3 expects the data on different controllers, or with different values, that can certainly be done with MT Pro, too.

You can try it with the trial version, below you can download the project file.

Florian
Attachments
Hammond XK2 Drawbars.bmtp
(1.15 KiB) Downloaded 154 times