--------------------------------------------------------------------------
--
Format of Instrument Data:
Byte description
--------------------------------------------------------------------------
- 0 Sound number (0-127 represents 1-128 )
1 Sound Bank (0: bank A, 1: bank B )
2 Midi Channel (0-16, 0: Base, )
3 Source (0: Off, 1: Keys, 2: Midi, 3: Mix)
4 Volume (0-127)
5 Pan (0-127, represents -64...+63 )
6 Pan Mode (0: off, 1: on, 2: inverse )
7 Aux Volume (0-127)
8 unused
9 Transpose offset (4-124, represents -60...+60)
10 Detune (14-114, represents -50...+50)
11 MIDI Output Port (0: off,1: A, 2: B,3: A+B)
12 Audio Routing (1-4, 1: Aux only, 2: main, 3: sub 1, 4: sub 2)
13 Status (0: On/Solo, 1:Mute)
14 Edit Enable (0: off, 1:on)
15 Voice Allocation Mode (0-22, 0: dynamic,1-16: poly1-16, 17: last
retr,
18: low retr, 19: high retr, 20: last single,
21: low single, 22: high single trigger )
16 Audio Input (0-4, 0: off, 1-4: Input 1-4)
17 Key Limit Low (0-127, represents C-2...G9 )
18 Key Limit High (0-127, represents C-2...G9 )
19 Velocity Limit Low (1-127)
20 Velocity Limit High (1-127)
21 Velocity Table (0-11, 0: global, 1: lin+, 2: lin-, 3: exp+, 4:
exp-,
5: xfade+, 6: xfade-, 7: full, 8-11: user1-user4 )
22 Temperment (0-11, 0: global, 1: lin+, 2: hmt, 3: lin-,
4-7: rand1-rand4, 8-11: user1-user4 )
23 unused
24 Midi Filters Bitvector ( bit set = on, bit cleared = off )
Bit Switch
-------------------------- 0 Prog. Change on/off
1 Pitch Wheel on/off
2 Modwheel on/off
3 After Touch on/off
4 Volume Ctrl on/off
5 Sustain Pedal on/off
6 Panning Ctrl on/off
7 Always cleared
-------------------------- 25-31 unused
--------------------------------------------------------------------------
--
Format of External Data:
Byte description
--------------------------------------------------------------------------
- 0 Program number (0-127)
1 Bank (0: bank A, 1: bank B )