Subversion Repositories svn.mios

Rev

Rev 1183 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1057 tk 1
HEADER 3 MIDIbox KB
2
 
3
<H1>MIDIbox KB</H1>
1066 tk 4
<H2>Keyboard Controller with MIDI, USB-MIDI and Ethernet interface</H1>
1057 tk 5
 
6
<P CLASS=INFO>This page collects some preliminary informations about the MIDIbox KB project.</P>
7
 
1077 tk 8
<P CLASS=INFO>MIDIbox KB utilizes the new <A HREF="mbhp_core_lpc17.html">MBHP_CORE_LPC17</A> and <A HREF="mbhp_dio_matrix.html">MBHP_DIO_MATRIX</A> modules.</P>
9
 
10
<P CLASS=INFO>Currently following features are already implemented:
11
<UL CLASS=CL>
1113 tk 12
<LI> up to 2 keyboard matrices can be scanned separately at a very high scan rate (around 200 uS)</A>
1077 tk 13
<LI> optional support for velocity!</A>
1200 tk 14
<LI> 8 analog inputs of the core module can be used to connect pitchwheels, modulation wheel, sustain and expression pedal (or aftertouch).<BR>
15
     Alternatively a <A HREF="mbhp_ainser8.html">MBHP_AINSER8</A> module can be connected for higherer quality signal conversion without jitter.
1105 tk 16
<LI> analog inputs can be calibrated</A>
1077 tk 17
<LI> two MIDI IN and two MIDI OUT ports
18
<LI> USB MIDI port with much higher transfer rate (ca. 100x faster!) than common MIDI
1086 tk 19
<LI> Ethernet port to send/receive events via <A HREF="midibox_osc.html">OSC</A>
1077 tk 20
<LI> support for DHCP - connect the module to a wireless router without additional configuration
21
<LI> different OSC modes are prepared for popular PC/Mac/iPhone/iPad apps, extensions can be added on request
22
<LI> integrated MIDI router with 16 configurable nodes
23
<LI> can also be used as USB/MIDI interface, or even as OSC/MIDI interface
24
<LI> configuration done via the MIOS Terminal of <A HREF="mios_studio.html">MIOS Studio</A>
25
<LI> configuration is stored in on-board EEPROM of LPCXPRESSO module
26
</UL>
27
</P>
28
 
1113 tk 29
<P CLASS=DESC>Please note: the same keyboard driver is also available in <A HREF="midibox_ng.html">MIDIbox NG</A>. If you are searching for more capabilities (e.g. integrated controller with many pots, encoders, buttons, leds), consider to use the MBNG firmware instead of MBKB.</P>
1077 tk 30
 
1113 tk 31
<P CLASS=DESC>The main difference between the two applications is, that MIDIbox KB is optimized for high scan speeds! MIDIbox NG scans the keyboard 10 times slower to give the core more processing time for other tasks. However, with MBNG the latency to scan the whole keyboard is still lower than 3 mS (MBKB: 260 uS)!</P>
32
 
33
 
1066 tk 34
<H2> <IMG SRC="images/bullet.gif" ALT=""> Schematics </H2>
35
 
1057 tk 36
<P CLASS=INFO>All schematics are subject to change without notice!</P>
37
 
38
  <TABLE WIDTH="100%" BORDER=0 CELLSPACING=5 CELLPADDING=0>
39
    <TR>
40
      <TD COLSPAN=2 CLASS=TABCOLOR1><FONT SIZE=3>Supported Keyboard Types</FONT></TD>
41
    </TR>
42
    <TR>
43
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Schematic</STRONG></FONT></td>
44
      <TD NOWRAP CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Description</STRONG></FONT></TD>
45
    </TR>
46
    <TR>
47
      <TD CLASS=TABCOLOR2><A HREF="midibox_kb/midibox_kb_scanmatrix_type1.pdf">midibox_kb_scanmatrix_type1.pdf</A></TD>
48
      <TD CLASS=TABCOLOR2>Type #1 Keyboard without velocity</TD>
49
    </TR>
50
    <TR>
51
      <TD CLASS=TABCOLOR2><A HREF="midibox_kb/midibox_kb_scanmatrix_type2.pdf">midibox_kb_scanmatrix_type2.pdf</A></TD>
52
      <TD CLASS=TABCOLOR2>Type #2 Keyboard with Velocity (e.g. Fatar DR type)</TD>
53
    </TR>
54
    <TR>
55
      <TD CLASS=TABCOLOR2><A HREF="midibox_kb/midibox_kb_scanmatrix_type3.pdf">midibox_kb_scanmatrix_type3.pdf</A></TD>
56
      <TD CLASS=TABCOLOR2>Type #3 Keyboard with Velocity (alternating switch)</TD>
57
    </TR>
58
    <TR>
59
      <TD COLSPAN=2 CLASS=TABCOLOR1><FONT SIZE=3>Fatar DR Adapters to <A HREF="mbhp_dio_matrix.html">MBHP_DIO_MATRIX</A> module</FONT></TD>
60
    </TR>
61
    <TR>
62
      <TD CLASS=TABCOLOR2><A HREF="midibox_kb/midibox_kb_fatar_df_61_interconnections.pdf">midibox_kb_fatar_df_61_interconnections.pdf</A></TD>
63
      <TD CLASS=TABCOLOR2>Fatar DF Type with 61 keys</TD>
64
    </TR>
65
    <TR>
66
      <TD CLASS=TABCOLOR2><A HREF="midibox_kb/midibox_kb_fatar_df_76_interconnections.pdf">midibox_kb_fatar_df_76_interconnections.pdf</A></TD>
67
      <TD CLASS=TABCOLOR2>Fatar DF Type with 76 keys</TD>
68
    </TR>
69
    <TR>
70
      <TD CLASS=TABCOLOR2><A HREF="midibox_kb/midibox_kb_fatar_df_88_interconnections.pdf">midibox_kb_fatar_df_88_interconnections.pdf</A></TD>
71
      <TD CLASS=TABCOLOR2>Fatar DF Type with 88 keys</TD>
72
    </TR>
73
  </TABLE>
74
 
1066 tk 75
 
76
<H2> <IMG SRC="images/bullet.gif" ALT=""> Terminal Commands </H2>
77
 
78
<P CLASS=INFO>MIDIbox KB can be completely configured from the MIOS Terminal of <A HREF="mios_studio.html">MIOS Studio</A>.</P>
79
 
80
<P CLASS=DESC>Enter 'help' to get a list of available commands.<BR>
81
Here a more detailed description of most commands:</P>
82
 
83
<P CLASS=DESC>
84
<TABLE CLASS=BOX WIDTH=700 ALIGN=CENTER BORDER CELLSPACING=2 CELLPADDING=3 >
85
  <TR>
86
    <TD WIDTH=200> <SPAN CLASS=NORM><I>help</I></TD>
87
    <TD WIDTH=500> <SPAN CLASS=NORM>Lists all available commands (some of them are maybe not listed here)
88
    </SPAN></TD>
89
  </TR>
90
 
91
  <TR>
92
    <TD WIDTH=100> <SPAN CLASS=NORM><I>store</I></TD>
93
    <TD WIDTH=475> <SPAN CLASS=NORM>Stores the complete configuration (not only keyboard parameters, but also router, etc...) into the EEPROM of the LPCXPRESSO module, so that they will be restored during startup.<BR>
94
    Usually a firmware update doesn't overwrite the stored parameters if not noticed in the ChangeLog.<BR>
95
    Please enter the <I>store</I> command once you've adapted the parameters for your keyboard setup.
96
    </SPAN></TD>
97
  </TR>
98
 
99
  <TR>
100
    <TD WIDTH=100> <SPAN CLASS=NORM><I>restore</I></TD>
101
    <TD WIDTH=475> <SPAN CLASS=NORM>Restores the complete configuration from EEPROM. This command could become useful if you messed up the configuration, just type <I>restore</I> to undo the changes.
102
    </SPAN></TD>
103
  </TR>
104
 
105
  <TR>
106
    <TD WIDTH=100> <SPAN CLASS=NORM><I>system</I></TD>
107
    <TD WIDTH=475> <SPAN CLASS=NORM>Prints some system informations, such as the name and version number of the application.
108
    </SPAN></TD>
109
  </TR>
110
 
111
  <TR>
112
    <TD WIDTH=100> <SPAN CLASS=NORM><I>reset</I></TD>
113
    <TD WIDTH=475> <SPAN CLASS=NORM>Restarts the application remotely. Mainly intended for development.
114
    </SPAN></TD>
115
  </TR>
116
 
117
  <TR>
118
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set srio_num &lt;1..16&gt;</I></TD>
119
    <TD WIDTH=475> <SPAN CLASS=NORM>Selects the number of DIN/DOUT shift registers (resp. 74HC165 and 74HC595) which should be scanned.<BR>
120
      <SPAN CLASS=NORM><B>Examples:</B><BR>
121
         <I>set srio_num 2</I>: two DIN and two DOUTs should be scanned<BR>
122
         <I>set srio_num 4</I>: four DIN and four DOUTs should be scanned<BR>
123
         <I>set srio_num 6</I>: e.g. if six DIN and four DOUTs should be scanned - more DINs than DOUTs, therefore the number of DINs is relevant here!<BR>
124
      </SPAN>
125
      <SPAN CLASS=NORM>Than more shift registers are scanned, than higher the latency of your keyboards. Therefore the minimum value is desired.<BR>
126
      <I>2</I> is typically a good choice if only one keyboard should be scanned, and <I>4</I> if two keyboard should be scanned.
127
      </SPAN></TD>
128
  </TR>
129
 
130
  <TR>
131
    <TD WIDTH=100> <SPAN CLASS=NORM><I>kb &lt;1|2&gt;</I><BR><I>keyboard &lt;1|2&gt;</I></TD>
132
    <TD WIDTH=475> <SPAN CLASS=NORM>Prints a list of all keyboard parameters. MIDIbox KB can handle up to 2 keyboards in parallel, please specify the keyboard number with:<BR>
133
      <I>kb 1</I> or <I>kb 2</I>
134
      </SPAN></TD>
135
  </TR>
136
 
137
  <TR>
138
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; debug &lt;on|off&gt;</I></TD>
139
    <TD WIDTH=475> <SPAN CLASS=NORM>Enables some useful debugging messages for troubleshooting the hardware. This switch is not stored in EEPROM. Means: on each reset/power-on MIDIbox KB starts with debug mode disabled, and you have to enable it again.<BR>
140
      <SPAN CLASS=NORM><B>Examples:</B><BR>
141
         <I>set kb 1 debug on</I>: print some useful debugging messages for keyboard 1<BR>
142
      </SPAN></TD>
143
  </TR>
144
 
145
  <TR>
146
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; midi_ports &lt;ports&gt;</I></TD>
147
    <TD WIDTH=475> <SPAN CLASS=NORM>Each keyboard can send to one or multiple MIDI ports. They are currently (unfortunately) entered via a hexadecimal number, which is a nice short cut for techies, but probably difficult to understand for normal users. A more comfortable solution will be available once I found the time to improve the parser.<BR>
148
      Coding:</SPAN>
149
      <UL CLASS=CL>
150
        <LI><B>Bit 0:</B> USB1</LI>
151
        <LI><B>Bit 1:</B> USB2</LI>
152
        <LI><B>Bit 2:</B> USB3</LI>
153
        <LI><B>Bit 3:</B> USB4</LI>
154
        <LI><B>Bit 4:</B> MIDI OUT1</LI>
155
        <LI><B>Bit 5:</B> MIDI OUT2</LI>
156
        <LI><B>Bit 12:</B> OSC1</LI>
157
        <LI><B>Bit 13:</B> OSC2</LI>
158
        <LI><B>Bit 14:</B> OSC3</LI>
159
        <LI><B>Bit 15:</B> OSC4</LI>
160
      </UL>
161
      <SPAN CLASS=NORM><B>Examples:</B><BR>
162
         <I>set kb 1 midi_ports 0x1011</I>: keyboard 1 will send to USB1, OUT1 and OSC1<BR>
163
         <I>set kb 1 midi_ports 0x0020</I>: keyboard 1 will only send to OUT2<BR>
164
         <I>set kb 2 midi_ports 0x0030</I>: keyboard 2 will send to OUT1 and OUT2
165
      </SPAN></TD>
166
  </TR>
167
 
168
  <TR>
169
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; midi_chn &lt;channel&gt;</I></TD>
170
    <TD WIDTH=475> <SPAN CLASS=NORM>Each keyboard can send to a dedicated MIDI channel.<BR>
171
       Select 1..16 for MIDI Channel 1..16. 0 will disable MIDI (no events will be sent to any channel)<BR></SPAN>
172
      <SPAN CLASS=NORM><B>Examples:</B><BR>
173
         <I>set kb 1 midi_chn 1</I>: keyboard 1 will send MIDI Channel 1<BR>
174
         <I>set kb 2 midi_chn 5</I>: keyboard 2 will send MIDI Channel 5
175
      </SPAN></TD>
176
  </TR>
177
 
178
  <TR>
179
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; note_offset &lt;0-127&gt;</I></TD>
180
    <TD WIDTH=475> <SPAN CLASS=NORM>Sets the starting note of the leftmost key of your keyboard. The value is entered in decimal format.<BR>
181
      Most important values:</SPAN>
182
      <UL CLASS=CL>
1117 tk 183
        <LI><B>21:</B> a-1 for Fatar DF Type with 88 keys
184
        <LI><B>28:</B> E-0 for Fatar DF Type with 76 keys
185
        <LI><B>36:</B> C-1 for Fatar DF Type with 61 and 49 keys
186
        <LI><B>48:</B> C-2 for Fatar DF Type with 25 keys
1066 tk 187
      </UL>
1117 tk 188
      <SPAN CLASS=NORM><B>Example:</B><BR>
189
         <I>set kb 1 note_offset 36</I>: a Fatar 61 keys will start with C-1<BR>
1066 tk 190
      </SPAN></TD>
191
  </TR>
192
 
193
  <TR>
194
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; rows &lt;0-16&gt;</I></TD>
195
    <TD WIDTH=475> <SPAN CLASS=NORM>Specifies how many rows of the keyboard matrix have to be scanned.<BR>
196
       If rows &lt; 9, and a second DOUT is specified, the selection signal will be available on both DOUTs (perfect for 1:1 connection to a Fatar Keyboard with 61 keys)<BR>
197
      <SPAN CLASS=NORM><B>Examples:</B><BR>
198
         <I>set kb 1 rows 8</I>: keyboard 1 will scan 8 rows of the matrix -&gt; up to 128 inputs = 64 break/make contacts (keys)<BR>
199
         <I>set kb 1 rows 16</I>: for a different hardware: keyboard 1 will scan 16 rows of the matrix -&gt; up to 256 inputs = 128 break/make contacts (keys)<BR>
1117 tk 200
         <I>set kb 2 rows 12</I>: keyboard 2 will scan 12 rows of the matrix -&gt; up to 192 inputs = 96 break/make contacts (keys)<BR>
1066 tk 201
      </SPAN></TD>
202
  </TR>
203
 
204
  <TR>
205
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; velocity &lt;on|off&gt;</I></TD>
206
    <TD WIDTH=475> <SPAN CLASS=NORM><B>off:</B> each row will send a MIDI event with maximum velocity. Has to be used for keyboard with only one contact per key<BR>
207
      <B>on:</B> one row is connect to "make" contacts, the next row to "break" contacts; period. This allows to measure the delay between contact activation in order to generate a velocity between 1 and 127 (see Fatar keyboard configuration examples below)<BR>
208
      <SPAN CLASS=NORM><B>Examples:</B><BR>
209
         <I>set kb 1 velocity on</I>: keyboard 1 provides two contacts to measure velocity<BR>
210
         <I>set kb 1 velocity off</I>: keyboard 1 provides only one contact, resp. a common button matrix is used<BR>
211
      </SPAN></TD>
212
  </TR>
213
 
214
  <TR>
1117 tk 215
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; release_velocity &lt;on|off&gt;</I></TD>
216
    <TD WIDTH=475> <SPAN CLASS=NORM><B>off:</B> when a key is released, a "Note On" event with velocity 0 will be sent.<BR>
217
      <B>on:</B> when a key is released, a "Note Off" event with a velocity value which has been determined with the <I>delay_fastest_release</I>, <I>delay_fastest_release_black_keys</I> and <I>delay_slowest_release</I> parameters will be sent.<BR>
218
      Example configuration:
219
      <UL CLASS=CL>
220
       <LI><I>set kb 1 release_velocity on</I>
221
       <LI><I>set kb 1 delay_fastest_release 100</I>
222
       <LI><I>set kb 1 delay_fastest_release_black_keys 80</I>
223
       <LI><I>set kb 1 delay_slowest_release 1000</I>
224
      </UL>
225
      </TD>
226
  </TR>
227
 
228
  <TR>
1066 tk 229
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; optimized &lt;on|off&gt;</I></TD>
230
    <TD WIDTH=475> <SPAN CLASS=NORM>Only valid in velocity mode.<BR>
231
      <B>off:</B> break and make contacts are always scanned. This is the default configuration and should be used for debugging!<BR>
1113 tk 232
      -&gt; The resulting scan latency of a complete Fatar 63 keys keyboard is ca. <B>260 uS</B><BR>
233
      <B>on:</B> make contacts will only be scanned if break contacts are active. This reduces the scan latency in most cases (no or only some keys are played). Won't work with <A HREF="midibox_kb/midibox_kb_scanmatrix_type3.pdf">Keyboard Type #3!</A><BR>
1066 tk 234
      -&gt; The resulting scan latency of a complete Fatar 63 keys keyboard is ca. <B>130 uS</B><BR>
235
      <SPAN CLASS=NORM><B>Examples:</B><BR>
236
         <I>set kb 1 optimized off</I>: keyboard 1 should be debugged because it doesn't send notes (e.g. type <I>set kb 1 debug on</I> thereafter).<BR>
237
         <I>set kb 1 optimized on</I>: keyboard 1 should run in low-latency mode. Type <I>store</I> thereafter if the keyboard works as expected!<BR>
238
      </SPAN></TD>
239
  </TR>
240
 
241
  <TR>
242
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; dout_sr1 &lt;0-16&gt;</I></TD>
243
    <TD WIDTH=475> <SPAN CLASS=NORM>Selects the first DOUT shift register which is used to select the keyboard matrix rows.<BR>
244
      <SPAN CLASS=NORM><B>Examples:</B><BR>
245
         <I>set kb 1 dout_sr1 1</I>: row selection lines 1..8 of keyboard 1 are connected to first DOUT shift register.<BR>
246
         <I>set kb 2 dout_sr1 3</I>: row selection lines 1..8 of keyboard 2 are connected to third DOUT shift register.<BR>
247
         <I>set kb 1 dout_sr1 0</I>: disable this function for keyboard 1 (use DOUT for other purposes)<BR>
248
      </SPAN></TD>
249
  </TR>
250
 
251
  <TR>
252
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; dout_sr2 &lt;0-16&gt;</I></TD>
253
    <TD WIDTH=475> <SPAN CLASS=NORM>Selects the second DOUT shift register which is used to select the keyboard matrix rows.<BR>
254
      <SPAN CLASS=NORM><B>Examples:</B><BR>
255
         <I>set kb 1 dout_sr2 2</I>: row selection lines 9..16 of keyboard 1 are connected to the second DOUT shift register (if rows &lt; 9, this DOUT will output the same pattern as dout_sr1)<BR>
256
         <I>set kb 2 dout_sr2 4</I>: row selection lines 9..16 of keyboard 2 are connected to the fourth DOUT shift register (if rows &lt; 9, this DOUT will output the same pattern as dout_sr1)<BR>
257
         <I>set kb 1 dout_sr2 0</I>: disable this function for keyboard 1 (use DOUT for other purposes)<BR>
258
      </SPAN></TD>
259
  </TR>
260
 
261
  <TR>
262
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; din_sr1 &lt;0-16&gt;</I></TD>
263
    <TD WIDTH=475> <SPAN CLASS=NORM>Selects the first DIN shift register which is used to scan a keyboard matrix row.<BR>
264
      <SPAN CLASS=NORM><B>Examples:</B><BR>
265
         <I>set kb 1 din_sr1 1</I>: left side of keyboard 1 is connected to first DIN shift register.<BR>
266
         <I>set kb 2 din_sr1 3</I>: left side of keyboard 2 is connected to third DIN shift register.<BR>
267
         <I>set kb 1 din_sr1 0</I>: disable this function for keyboard 1 (use DIN for other purposes)<BR>
268
      </SPAN></TD>
269
  </TR>
270
 
271
  <TR>
272
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; din_sr2 &lt;0-16&gt;</I></TD>
273
    <TD WIDTH=475> <SPAN CLASS=NORM>Selects the second DIN shift register which is used to scan a keyboard matrix row.<BR>
274
      <SPAN CLASS=NORM><B>Examples:</B><BR>
275
         <I>set kb 1 din_sr2 2</I>: right side of keyboard 1 is connected to second DIN shift register.<BR>
276
         <I>set kb 2 din_sr2 4</I>: right side of keyboard 2 is connected to fourthDIN shift register.<BR>
277
         <I>set kb 1 din_sr1 0</I>: disable this function for keyboard 1 (use DIN for other purposes)<BR>
278
      </SPAN></TD>
279
  </TR>
280
 
281
  <TR>
282
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; din_key_offset &lt;0-127&gt;</I></TD>
283
    <TD WIDTH=475> <SPAN CLASS=NORM>Selects the offset which is added to the keys of the right half. Typically 32 for velocity keyboards (64 contacts), and 64 for non-velocity keyboards.<BR>
284
      <SPAN CLASS=NORM><B>Examples:</B><BR>
1117 tk 285
         <I>set kb 1 din_key_offset 32</I>: key number starts at 32 for the right side of keyboard 1 (velocity sensitive), e.g. suitable for Fatar 61 and 76 keys<BR>
286
         <I>set kb 1 din_key_offset 40</I>: key number starts at 40 for the right side of keyboard 1 (velocity sensitive), e.g. suitable for Fatar 88 keys<BR>
1066 tk 287
         <I>set kb 1 din_key_offset 64</I>: key number starts at 64 for the right side of keyboard 1 (no velocity)<BR>
288
      </SPAN></TD>
289
  </TR>
290
 
291
  <TR>
292
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; din_inverted &lt;on|off&gt;</I></TD>
293
    <TD WIDTH=475> <SPAN CLASS=NORM>This option should be enabled if diodes are used with the opposite polarity, and pull-downs are connected to DINs.<BR>
294
      <SPAN CLASS=NORM><B>Examples:</B><BR>
295
         <I>set kb 1 din_inverted off</I>: diodes with "normal" direction and pull-up resistors at 74HC165<BR>
296
         <I>set kb 1 din_inverted on</I>: diodes with opposite direction and pull-down resistors at 74HC165<BR>
297
      </SPAN></TD>
298
  </TR>
299
 
300
  <TR>
301
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; break_inverted &lt;on|off&gt;</I></TD>
302
    <TD WIDTH=475> <SPAN CLASS=NORM>This option should be enabled for velocity keyboards with single switches (instead of break/make swicthes).<BR>
303
      <SPAN CLASS=NORM><B>Examples:</B><BR>
304
         <I>set kb 1 break_inverted off</I>: we have a break and make switch per key -&gt; <A HREF="midibox_kb/midibox_kb_scanmatrix_type2.pdf">Type #2</A><BR>
305
         <I>set kb 1 break_inverted on</I>: we have only a single switch per key -&gt; <A HREF="midibox_kb/midibox_kb_scanmatrix_type3.pdf">Type #3</A><BR>
306
      </SPAN></TD>
307
  </TR>
308
 
309
  <TR>
1183 tk 310
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; break_is_make &lt;on|off&gt;</I></TD>
311
    <TD WIDTH=475> <SPAN CLASS=NORM>This option allows to trigger a note when the break contact is activated (nice for playing organ style)
312
      <SPAN CLASS=NORM><B>Examples:</B><BR>
313
         <I>set kb 1 break_is_make off</I>: normal behaviour: MIDI note will be played when make contact is activated.<BR>
314
         <I>set kb 1 break_is_make on</I>: MIDI note already send when the break contact is activated.<BR>
315
      </SPAN></TD>
316
  </TR>
317
 
318
  <TR>
1162 tk 319
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; make_debounced &lt;on|off&gt;</I></TD>
320
    <TD WIDTH=475> <SPAN CLASS=NORM>This option has to be enabled for certain keyboard architectures, such as Fatar TP400. Note Off will be played when the Break contact has been released, and not when the Make contact has been released.<BR>
321
      <SPAN CLASS=NORM><B>Examples:</B><BR>
322
         <I>set kb 1 make_debounced off</I>: for usual keyboard architectures<BR>
323
         <I>set kb 1 make_debounced on</I>: for unusual keyboard architectures such as Fatar TP400<BR>
324
      </SPAN></TD>
325
  </TR>
326
 
327
  <TR>
1066 tk 328
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; delay_fastest &lt;0-65535&gt;</I></TD>
329
    <TD WIDTH=475> <SPAN CLASS=NORM>Only relevant for velocity sensitive keyboards: selects the minimum delay value at which the maximum velocity (=127) should be sent. Use <I>debug</I> mode to display the minimum delay when keys are hit strongly!<BR>
330
      <SPAN CLASS=NORM><B>Examples:</B><BR>
331
         <I>set kb 1 delay_fastest 100</I>: send maximum velocity when delay is &lt;= 100<BR>
332
         <I>set kb 1 delay_fastest 200</I>: send maximum velocity when delay is &lt;= 200<BR>
333
      </SPAN></TD>
334
  </TR>
335
 
336
  <TR>
1117 tk 337
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; delay_fastest_release &lt;0-65535&gt;</I></TD>
338
    <TD WIDTH=475> <SPAN CLASS=NORM>The same for the <I>release_velocity</I> option.</TD>
339
  </TR>
340
 
341
  <TR>
342
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; delay_fastest_black_keys &lt;0-65535&gt;</I></TD>
343
    <TD WIDTH=475> <SPAN CLASS=NORM>Optionally it's possible to specify a different delay value for the black keys (if 0: the value of <I>delay_fastest</I> will also be used for black keys - default!).<BR>
344
    Background: it turned out, that black keys reach the make contact faster than white keys. By specifying a different delay value it's possible to compensate this.</TD>
345
  </TR>
346
 
347
  <TR>
348
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; delay_fastest_release_black_keys &lt;0-65535&gt;</I></TD>
349
    <TD WIDTH=475> <SPAN CLASS=NORM>The same for the <I>release_velocity</I> option.</TD>
350
  </TR>
351
 
352
  <TR>
1066 tk 353
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; delay_slowest &lt;0-65535&gt;</I></TD>
354
    <TD WIDTH=475> <SPAN CLASS=NORM>Only relevant for velocity sensitive keyboards: selects the maximum delay value at which the minimum velocity (=1) should be sent. Use <I>debug</I> mode to display the maximum delay when keys are hit softly!<BR>
355
      <SPAN CLASS=NORM><B>Examples:</B><BR>
1105 tk 356
         <I>set kb 1 delay_slowest 1000</I>: send maximum velocity when delay is &gt;= 1000<BR>
1066 tk 357
         <I>set kb 1 delay_slowest 2000</I>: send maximum velocity when delay is &gt;= 2000<BR>
358
      </SPAN></TD>
359
  </TR>
360
 
361
  <TR>
1117 tk 362
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; delay_slowest_release &lt;0-65535&gt;</I></TD>
363
    <TD WIDTH=475> <SPAN CLASS=NORM>The same for the <I>release_velocity</I> option.</TD>
364
  </TR>
365
 
366
  <TR>
1200 tk 367
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; ain_pitchwheel &lt;0-7, 128-135 or off&gt;</I></TD>
368
    <TD WIDTH=475> <SPAN CLASS=NORM>A number from 0..7 selects the J5.Ax input to which the PitchWheel pot is connected. A number of 128..135 selects the AINSER8 located Ax input. Use <I>off</I> if no PitchWheel is used to avoid that the unconnected analog input will send random MIDI events!<BR>
1066 tk 369
      <SPAN CLASS=NORM><B>Examples:</B><BR>
370
         <I>set kb 1 ain_pitchwheel 0</I>: PitchWheel of keyboard 1 connected to J5.A0 of the core module<BR>
1105 tk 371
         <I>set kb 2 ain_pitchwheel 3</I>: PitchWheel of keyboard 2 connected to J5.A3 of the core module<BR>
1200 tk 372
         <I>set kb 1 ain_pitchwheel 128</I>: PitchWheel of keyboard 1 connected to A0 of an AINSER8 module<BR>
373
         <I>set kb 2 ain_pitchwheel 131</I>: PitchWheel of keyboard 2 connected to A3 of an AINSER8 module<BR>
1066 tk 374
         <I>set kb 1 ain_pitchwheel off</I>: no PitchWheel connected<BR>
375
      </SPAN></TD>
376
  </TR>
377
 
378
  <TR>
1125 tk 379
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt;<BR>ain_pitchwheel_inverted<BR>&lt;on|off&gt;</I></TD>
380
    <TD WIDTH=475> <SPAN CLASS=NORM>Inverts the output of the PitchWheel.<BR>
381
      <SPAN CLASS=NORM><B>Examples:</B><BR>
382
         <I>set kb 1 ain_pitchwheel_inverted off</I>: (default) PitchWheel outputs -8192..8191<BR>
383
         <I>set kb 1 ain_pitchwheel_inverted on</I>: PitchWheel outputs 8191..-8192<BR>
384
      </SPAN></TD>
385
  </TR>
386
 
387
  <TR>
1066 tk 388
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; ctrl_pitchwheel &lt;0-129&gt;</I></TD>
389
    <TD WIDTH=475> <SPAN CLASS=NORM>What kind of MIDI events should be sent by the PitchWheel?
390
      <UL CLASS=CL>
391
        <LI><B>0..127:</B> CC#0 .. CC#127
392
        <LI><B>128:</B> PitchBend (default)
393
        <LI><B>129:</B> Aftertouch
394
      </UL>
395
      <SPAN CLASS=NORM><B>Examples:</B><BR>
396
         <I>set kb 1 ctrl_pitchwheel 128</I>: the PitchWheel of keyboard 1 sends PitchBend MIDI events<BR>
397
         <I>set kb 1 ctrl_pitchwheel 129</I>: the PitchWheel of keyboard 2 sends Aftertouch MIDI events<BR>
398
      </SPAN></TD>
399
  </TR>
400
 
401
  <TR>
1200 tk 402
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; ain_modwheel &lt;0-7, 128-135 or off&gt;</I></TD>
403
    <TD WIDTH=475> <SPAN CLASS=NORM>A number from 0..7 selects the J5.Ax input to which the ModWheel pot is connected. A number of 128..135 selects the AINSER8 located Ax input. Use <I>off</I> if no ModWheel is used to avoid that the unconnected analog input will send random MIDI events!<BR>
1066 tk 404
      <SPAN CLASS=NORM><B>Examples:</B><BR>
405
         <I>set kb 1 ain_modwheel 1</I>: ModWheel of keyboard 1 connected to J5.A1 of the core module<BR>
1105 tk 406
         <I>set kb 2 ain_modwheel 4</I>: ModWheel of keyboard 2 connected to J5.A4 of the core module<BR>
1200 tk 407
         <I>set kb 1 ain_modwheel 129</I>: ModWheel of keyboard 1 connected to A1 of an AINSER8 module<BR>
408
         <I>set kb 2 ain_modwheel 132</I>: ModWheel of keyboard 2 connected to A4 of an AINSER8 module<BR>
1066 tk 409
         <I>set kb 1 ain_modwheel off</I>: no ModWheel connected<BR>
410
      </SPAN></TD>
411
  </TR>
412
 
413
  <TR>
1125 tk 414
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt;<BR>ain_modwheel_inverted<BR>&lt;on|off&gt;</I></TD>
415
    <TD WIDTH=475> <SPAN CLASS=NORM>Inverts the output of the ModWheel.<BR>
416
      <SPAN CLASS=NORM><B>Examples:</B><BR>
417
         <I>set kb 1 ain_modwheel_inverted off</I>: (default) ModWheel outputs 0..127<BR>
418
         <I>set kb 1 ain_modwheel_inverted on</I>: ModWheel outputs 127..0<BR>
419
      </SPAN></TD>
420
  </TR>
421
 
422
  <TR>
1066 tk 423
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; ctrl_modwheel &lt;0-129&gt;</I></TD>
424
    <TD WIDTH=475> <SPAN CLASS=NORM>What kind of MIDI events should be sent by the ModWheel?
425
      <UL CLASS=CL>
426
        <LI><B>0..127:</B> CC#0 .. CC#127 (default: CC#1)
427
        <LI><B>128:</B> PitchBend
428
        <LI><B>129:</B> Aftertouch
429
      </UL>
430
      <SPAN CLASS=NORM><B>Examples:</B><BR>
431
         <I>set kb 1 ctrl_modwheel 1</I>: the ModWheel of keyboard 1 sends CC#1 (CC Modulation)<BR>
432
         <I>set kb 2 ctrl_modwheel 7</I>: the ModWheel of keyboard 2 sends CC#7 (CC Volume)<BR>
433
      </SPAN></TD>
434
  </TR>
435
 
1105 tk 436
  <TR>
1200 tk 437
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; ain_sustain &lt;0-7, 128-135 or off&gt;</I></TD>
438
    <TD WIDTH=475> <SPAN CLASS=NORM>A number from 0..7 selects the J5.Ax input to which a Sustain Pedal is connected. A number of 128..135 selects the AINSER8 located Ax input. Use <I>off</I> if no Pedal is used to avoid that the unconnected analog input will send random MIDI events!<BR>
1105 tk 439
      <SPAN CLASS=NORM><B>Examples:</B><BR>
440
         <I>set kb 1 ain_sustain 2</I>: Sustain Pedal of keyboard 1 connected to J5.A2 of the core module<BR>
441
         <I>set kb 2 ain_sustain 5</I>: Sustain Pedal of keyboard 2 connected to J5.A5 of the core module<BR>
1200 tk 442
         <I>set kb 1 ain_sustain 130</I>: Sustain Pedal of keyboard 1 connected to A2 of an AINSER8 module<BR>
443
         <I>set kb 2 ain_sustain 133</I>: Sustain Pedal of keyboard 2 connected to A5 of an AINSER8 module<BR>
1105 tk 444
         <I>set kb 1 ain_sustain off</I>: no Sustain Pedal connected<BR>
445
      </SPAN></TD>
446
  </TR>
447
 
448
  <TR>
1125 tk 449
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt;<BR>ain_sustain_inverted<BR>&lt;on|off&gt;</I></TD>
450
    <TD WIDTH=475> <SPAN CLASS=NORM>Inverts the output of the Sustain Pedal.<BR>
451
      <SPAN CLASS=NORM><B>Examples:</B><BR>
452
         <I>set kb 1 ain_sustain_inverted off</I>: (default) Pedal outputs 0..127<BR>
453
         <I>set kb 1 ain_sustain_inverted on</I>: Pedal outputs 127..0<BR>
454
      </SPAN></TD>
455
  </TR>
456
 
457
  <TR>
458
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt;<BR>ain_sustain_switch<BR>&lt;on|off&gt;</I></TD>
459
    <TD WIDTH=475> <SPAN CLASS=NORM>Changes the Sustain Pedal behaviour:<BR>
460
      <SPAN CLASS=NORM><B>Examples:</B><BR>
461
         <I>set kb 1 ain_sustain_switch off</I>: (default) the pedal will output continuous controllers like a pot.
462
         <I>set kb 1 ain_sustain_switch on</I>: the pedal will only send 0 or 127 like a switch.
463
      </SPAN></TD>
464
  </TR>
465
 
466
  <TR>
1105 tk 467
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; ctrl_sustain &lt;0-129&gt;</I></TD>
468
    <TD WIDTH=475> <SPAN CLASS=NORM>What kind of MIDI events should be sent by the Sustain Pedal?
469
      <UL CLASS=CL>
470
        <LI><B>0..127:</B> CC#0 .. CC#127 (default: CC#64)
471
        <LI><B>128:</B> PitchBend
472
        <LI><B>129:</B> Aftertouch
473
      </UL>
474
      <SPAN CLASS=NORM><B>Examples:</B><BR>
475
         <I>set kb 1 ctrl_sustain 64</I>: the Sustain Pedal of keyboard 1 sends CC#64 (CC Sustain)<BR>
476
         <I>set kb 2 ctrl_sustain 65</I>: the Sustain Pedal of keyboard 2 sends CC#65 (CC Portamento On)<BR>
477
      </SPAN></TD>
478
  </TR>
479
 
480
  <TR>
1200 tk 481
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; ain_expression &lt;0-7, 128-135 or off&gt;</I></TD>
482
    <TD WIDTH=475> <SPAN CLASS=NORM>A number from 0..7 selects the J5.Ax input to which the Expression pedal is connected. A number of 128..135 selects the AINSER8 located Ax input. Use <I>off</I> if no Expression pedal is used to avoid that the unconnected analog input will send random MIDI events!<BR>
483
      <SPAN CLASS=NORM><B>Examples:</B><BR>
484
         <I>set kb 1 ain_expression 6</I>: Expression pedal of keyboard 1 connected to J5.A6 of the core module<BR>
485
         <I>set kb 2 ain_expression 7</I>: Expression pedal of keyboard 2 connected to J5.A7 of the core module<BR>
486
         <I>set kb 1 ain_expression 134</I>: Expression pedal of keyboard 1 connected to A6 of an AINSER8 module<BR>
487
         <I>set kb 2 ain_expression 135</I>: Expression pedal of keyboard 2 connected to A7 of an AINSER8 module<BR>
488
         <I>set kb 1 ain_expression off</I>: no Expression connected<BR>
489
      </SPAN></TD>
490
  </TR>
491
 
492
  <TR>
493
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt;<BR>ain_expression_inverted<BR>&lt;on|off&gt;</I></TD>
494
    <TD WIDTH=475> <SPAN CLASS=NORM>Inverts the output of the Expression pedal.<BR>
495
      <SPAN CLASS=NORM><B>Examples:</B><BR>
496
         <I>set kb 1 ain_expression_inverted off</I>: (default) Expression outputs 0..127<BR>
497
         <I>set kb 1 ain_expression_inverted on</I>: Expression outputs 127..0<BR>
498
      </SPAN></TD>
499
  </TR>
500
 
501
  <TR>
502
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; ctrl_expression &lt;0-129&gt;</I></TD>
503
    <TD WIDTH=475> <SPAN CLASS=NORM>What kind of MIDI events should be sent by the Expression pedal?
504
      <UL CLASS=CL>
505
        <LI><B>0..127:</B> CC#0 .. CC#127 (default: CC#1)
506
        <LI><B>128:</B> PitchBend
507
        <LI><B>129:</B> Aftertouch
508
      </UL>
509
      <SPAN CLASS=NORM><B>Examples:</B><BR>
510
         <I>set kb 1 ctrl_expression 1</I>: the Expression pedal of keyboard 1 sends CC#1 (CC Modulation)<BR>
511
         <I>set kb 2 ctrl_expression 7</I>: the Expression pedal of keyboard 2 sends CC#7 (CC Volume)<BR>
512
      </SPAN></TD>
513
  </TR>
514
 
515
  <TR>
1125 tk 516
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt;<BR>ain_bandwidth_ms &lt;delay&gt;</I></TD>
517
    <TD WIDTH=475> <SPAN CLASS=NORM>Allows to reduce the bandwidth for analog events. With 0 the default (very high) bandwidth will be used, which can send multiple MIDI events per milliseconds over USB. If this stresses your DAW too much, use higher values. E.g. with <I>set kb 1 ain_bandwidth_ms 5</I> MIDI events will only be sent each 5 mS (on value changes).
518
      </SPAN></TD>
519
  </TR>
520
 
521
  <TR>
1200 tk 522
    <TD WIDTH=100> <SPAN CLASS=NORM><I>set kb &lt;1|2&gt; calibration &lt;off|pitchwheel|modwheel|expression|sustain&gt;</I></TD>
523
    <TD WIDTH=475> <SPAN CLASS=NORM>Starts the calibration of PitchWheel/ModWheel/Expression/Sustain potentiometers (or switches) to determine the minimum/maximum value.<BR>
1105 tk 524
       After the calibration, just enter 'set kb 1 calibration off' to stop the calibration (and to test the behaviour), thereafter type 'store' to save the new values.
525
  </TR>
526
 
1066 tk 527
</TABLE>
528
 
529
 
530
<H2> <IMG SRC="images/bullet.gif" ALT=""> Recommended Configurations </H2>
531
 
532
<P CLASS=INFO>Configuration examples for various keyboards - this list will be enhanced whenever new configurations have been tested:</P>
533
 
534
<P CLASS=DESC>
535
<TABLE CLASS=BOX WIDTH=700 ALIGN=CENTER BORDER CELLSPACING=2 CELLPADDING=3 >
536
  <TR>
537
    <TD WIDTH=300> <SPAN CLASS=NORM>Fatar DF Type with 61 keys (<A HREF="midibox_kb/midibox_kb_fatar_df_61_interconnections.pdf">schematic</A>)
538
    <TD WIDTH=400>
539
      <UL CLASS=CL>
1117 tk 540
        <LI><I>set kb 1 note_offset 36</I>
1066 tk 541
        <LI><I>set kb 1 rows 8</I>
542
        <LI><I>set kb 1 velocity on</I>
543
        <LI><I>set kb 1 optimized on</I>
544
        <LI><I>set kb 1 dout_sr1 1</I>
545
        <LI><I>set kb 1 dout_sr2 2</I>
546
        <LI><I>set kb 1 din_sr1 1</I>
547
        <LI><I>set kb 1 din_sr2 2</I>
548
        <LI><I>set kb 1 din_key_offset 32</I>
549
        <LI><I>set kb 1 din_inverted off</I>
550
        <LI><I>set kb 1 break_inverted off</I>
1105 tk 551
        <LI><I>set kb 1 delay_fastest 50</I>
552
        <LI><I>set kb 1 delay_slowest 1000</I>
1066 tk 553
        <LI><I>store</I>
554
      </UL>
555
    </SPAN></TD>
556
  </TR>
557
 
558
 
559
  <TR>
560
    <TD WIDTH=300> <SPAN CLASS=NORM>Fatar DF Type with 76 keys (<A HREF="midibox_kb/midibox_kb_fatar_df_76_interconnections.pdf">schematic</A>)
561
    <TD WIDTH=400>
562
      <UL CLASS=CL>
1084 tk 563
        <LI><I>set kb 1 note_offset 28</I>
564
        <LI><I>set kb 1 rows 12</I>
1066 tk 565
        <LI><I>set kb 1 velocity on</I>
566
        <LI><I>set kb 1 optimized on</I>
567
        <LI><I>set kb 1 dout_sr1 1</I>
568
        <LI><I>set kb 1 dout_sr2 2</I>
569
        <LI><I>set kb 1 din_sr1 1</I>
570
        <LI><I>set kb 1 din_sr2 2</I>
571
        <LI><I>set kb 1 din_key_offset 32</I>
572
        <LI><I>set kb 1 din_inverted off</I>
573
        <LI><I>set kb 1 break_inverted off</I>
1105 tk 574
        <LI><I>set kb 1 delay_fastest 50</I>
575
        <LI><I>set kb 1 delay_slowest 1000</I>
1066 tk 576
        <LI><I>store</I>
577
      </UL>
578
    </SPAN></TD>
579
  </TR>
580
 
581
 
582
  <TR>
583
    <TD WIDTH=300> <SPAN CLASS=NORM>Fatar DF Type with 88 keys (<A HREF="midibox_kb/midibox_kb_fatar_df_88_interconnections.pdf">schematic</A>)
584
    <TD WIDTH=400>
585
      <UL CLASS=CL>
1113 tk 586
        <LI><I>set kb 1 note_offset 21</I>
1066 tk 587
        <LI><I>set kb 1 rows 12</I>
588
        <LI><I>set kb 1 velocity on</I>
589
        <LI><I>set kb 1 optimized on</I>
590
        <LI><I>set kb 1 dout_sr1 1</I>
591
        <LI><I>set kb 1 dout_sr2 2</I>
592
        <LI><I>set kb 1 din_sr1 1</I>
593
        <LI><I>set kb 1 din_sr2 2</I>
594
        <LI><I>set kb 1 din_key_offset 40</I>
595
        <LI><I>set kb 1 din_inverted off</I>
596
        <LI><I>set kb 1 break_inverted off</I>
1105 tk 597
        <LI><I>set kb 1 delay_fastest 50</I>
598
        <LI><I>set kb 1 delay_slowest 1000</I>
1066 tk 599
        <LI><I>store</I>
600
      </UL>
601
    </SPAN></TD>
602
  </TR>
603
 
604
  <TR>
605
    <TD WIDTH=300> <SPAN CLASS=NORM>Two "Refurbished Organ" keyboards with 63 keys (<A HREF="midibox_kb/midibox_kb_scanmatrix_type3.pdf">schematic</A>)
606
    <TD WIDTH=400>
607
      <UL CLASS=CL>
608
        <LI><I>set srio_num 4</I>
609
        <LI><I>set kb 1 note_offset 36</I>
610
        <LI><I>set kb 1 rows 8</I>
611
        <LI><I>set kb 1 velocity on</I>
612
        <LI><I>set kb 1 optimized off</I>
613
        <LI><I>set kb 1 dout_sr1 1</I>
614
        <LI><I>set kb 1 dout_sr2 2</I>
615
        <LI><I>set kb 1 din_sr1 1</I>
616
        <LI><I>set kb 1 din_sr2 2</I>
617
        <LI><I>set kb 1 din_key_offset 32</I>
618
        <LI><I>set kb 1 din_inverted off</I>
619
        <LI><I>set kb 1 break_inverted on</I>
1105 tk 620
        <LI><I>set kb 1 delay_fastest 50</I>
621
        <LI><I>set kb 1 delay_slowest 1000</I>
1066 tk 622
        <LI><I>set kb 2 note_offset 36</I>
623
        <LI><I>set kb 2 rows 8</I>
624
        <LI><I>set kb 2 velocity on</I>
625
        <LI><I>set kb 2 optimized off</I>
626
        <LI><I>set kb 2 dout_sr1 3</I>
627
        <LI><I>set kb 2 dout_sr2 4</I>
628
        <LI><I>set kb 2 din_sr1 3</I>
629
        <LI><I>set kb 2 din_sr2 4</I>
630
        <LI><I>set kb 2 din_key_offset 32</I>
631
        <LI><I>set kb 2 din_inverted off</I>
632
        <LI><I>set kb 2 break_inverted on</I>
1105 tk 633
        <LI><I>set kb 2 delay_fastest 50</I>
634
        <LI><I>set kb 2 delay_slowest 1000</I>
1066 tk 635
        <LI><I>store</I>
636
      </UL>
637
    </SPAN></TD>
638
  </TR>
639
 
640
  <TR>
1105 tk 641
    <TD WIDTH=300> <SPAN CLASS=NORM>Adding a Pitch Wheel to J5.A0<BR>and a Modulation Wheel to J5.A1<BR>and a Sustain Pedal to J5.A2<BR>(no schematic yet)
1066 tk 642
    <TD WIDTH=400>
643
      <UL CLASS=CL>
644
        <LI><I>set kb 1 ain_pitchwheel 0</I>
645
        <LI><I>set kb 1 ctrl_pitchwheel 128</I>
646
        <LI><I>set kb 1 ain_modwheel 1</I>
647
        <LI><I>set kb 1 ctrl_modwheel 1</I>
1105 tk 648
        <LI><I>set kb 1 ain_sustain 2</I>
649
        <LI><I>set kb 1 ctrl_sustain 64</I>
1200 tk 650
        <LI><I>set kb 1 ain_expression 6</I>
651
        <LI><I>set kb 1 ctrl_expression 11</I>
1066 tk 652
        <LI><I>store</I>
653
      </UL>
1105 tk 654
      Use following commands to calibrate the potentiometers (resp. switches):
655
      <UL CLASS=CL>
656
        <LI><I>set kb 1 calibration pitchwheel</I><BR>-&gt; move the PitchWheel to min/max position
657
        <LI><I>set kb 1 calibration modwheel</I><BR>-&gt; move the PitchWheel to min/max position
1200 tk 658
        <LI><I>set kb 1 calibration expression</I><BR>-&gt; move the Expression Pedal to min/max position
1105 tk 659
        <LI><I>set kb 1 calibration sustain</I><BR>-&gt; turn on/off the Sustain Pedal
660
        <LI><I>set kb 1 calibration off</I>
661
        <LI><I>store</I>
662
      </UL>
1066 tk 663
    </SPAN></TD>
664
  </TR>
665
 
666
</TABLE>
667
 
668
 
1162 tk 669
<H2> <IMG SRC="images/bullet.gif" ALT=""> Wishlist </H2>
670
 
671
<P CLASS=INFO><UL CLASS=CL>
672
<LI>support for triple sensor keyboards (allow to measure the key release velocity) - needs somebody who owns such a keyboard and can help testing</LI>
673
</UL>
674
 
1066 tk 675
<H2> <IMG SRC="images/bullet.gif" ALT=""> Firmware Download </H2>
676
 
677
<P CLASS=INFO>The precompiled application can be downloaded from the <A HREF="mios32_download.html">MIOS32 Download</A> page.</P>
678
 
1057 tk 679
FOOTER