3722 |
<t>Where <sampler-chan> is the sampler channel number |
<t>Where <sampler-chan> is the sampler channel number |
3723 |
as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref> |
as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref> |
3724 |
or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command, |
or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command, |
3725 |
<arg1> and <arg2> arguments depend on the <midi-msg> argument, which |
<arg1> and <arg2> arguments depend on the <midi-msg> argument, which |
3726 |
specifies the MIDI message type. Currently, the following MIDI messages are supported:</t> |
specifies the MIDI message type. Currently, the following MIDI messages are supported:</t> |
3727 |
<t> |
<t> |
3728 |
<list> |
<list> |
3729 |
<t>"NOTE_ON" - |
<t>"NOTE_ON" - |
3730 |
<list> |
<list> |
3731 |
<t>For turning on MIDI notes, where <arg1> |
<t>For turning on MIDI notes, where <arg1> |
3732 |
specifies the key number and <arg2> the velocity |
specifies the key number and <arg2> the velocity |
3733 |
as described in the MIDI specification.</t> |
as described in the MIDI specification.</t> |
3734 |
</list> |
</list> |
3735 |
</t> |
</t> |
3736 |
<t>"NOTE_OFF" - |
<t>"NOTE_OFF" - |
3737 |
<list> |
<list> |
3738 |
<t>For turning a currently playing MIDI note off, where <arg1> |
<t>For turning a currently playing MIDI note off, where <arg1> |
3739 |
specifies the key number and <arg2> the velocity |
specifies the key number and <arg2> the velocity |
3740 |
as described in the MIDI specification.</t> |
as described in the MIDI specification.</t> |
3741 |
</list> |
</list> |
3742 |
</t> |
</t> |
3743 |
</list> |
</list> |
3744 |
</t> |
</t> |
3745 |
<t>CAUTION: This command is provided for implementations of virtual MIDI keyboards |
<t>CAUTION: This command is provided for implementations of virtual MIDI keyboards |
3746 |
and no realtime guarantee whatsoever will be made!</t> |
and no realtime guarantee whatsoever will be made!</t> |
3747 |
<t>Possible Answers:</t> |
<t>Possible Answers:</t> |
3748 |
<t> |
<t> |
5350 |
to the instruments database by sending the following command:</t> |
to the instruments database by sending the following command:</t> |
5351 |
<t> |
<t> |
5352 |
<list> |
<list> |
5353 |
<t>ADD DB_INSTRUMENTS [NON_MODAL] [<mode>] <db_dir> <file_path> [<instr_index>]</t> |
<t>ADD DB_INSTRUMENTS [NON_MODAL] [<mode>[ FILE_AS_DIR]] <db_dir> <file_path> [<instr_index>]</t> |
5354 |
</list> |
</list> |
5355 |
</t> |
</t> |
5356 |
<t>Where <db_dir> is the absolute path name of a directory |
<t>Where <db_dir> is the absolute path name of a directory |
5395 |
</list> |
</list> |
5396 |
</t> |
</t> |
5397 |
|
|
5398 |
|
<t> If FILE_AS_DIR argument is supplied, all instruments in an instrument |
5399 |
|
file will be added to a separate directory in the instruments database, which |
5400 |
|
name will be the name of the instrument file with the file extension stripped off. |
5401 |
|
</t> |
5402 |
<t>The difference between regular and NON_MODAL versions of the command |
<t>The difference between regular and NON_MODAL versions of the command |
5403 |
is that the regular command returns when the scanning is finished |
is that the regular command returns when the scanning is finished |
5404 |
while NON_MODAL version returns immediately and a background process is launched. |
while NON_MODAL version returns immediately and a background process is launched. |
6370 |
</t> |
</t> |
6371 |
<t>KEY_BINDINGS - |
<t>KEY_BINDINGS - |
6372 |
<list> |
<list> |
6373 |
<t>comma separated list of integer values representing |
<t>comma separated list of integer values representing |
6374 |
the instrument's key mapping in the range between 0 .. 127, |
the instrument's key mapping in the range between 0 .. 127, |
6375 |
reflecting the analog meaning of the MIDI specification.</t> |
reflecting the analog meaning of the MIDI specification.</t> |
6376 |
</list> |
</list> |
6377 |
</t> |
</t> |
6378 |
<t>KEYSWITCH_BINDINGS - |
<t>KEYSWITCH_BINDINGS - |
6379 |
<list> |
<list> |
6380 |
<t>comma separated list of integer values representing |
<t>comma separated list of integer values representing |
6381 |
the instrument's keyswitch mapping in the range between 0 .. 127, |
the instrument's keyswitch mapping in the range between 0 .. 127, |
6382 |
reflecting the analog meaning of the MIDI specification.</t> |
reflecting the analog meaning of the MIDI specification.</t> |
6383 |
</list> |
</list> |
6384 |
</t> |
</t> |
6488 |
</t> |
</t> |
6489 |
<t>/ EDIT SP edit_instruction |
<t>/ EDIT SP edit_instruction |
6490 |
</t> |
</t> |
6491 |
<t>/ FORMAT SP format_instruction |
<t>/ FORMAT SP format_instruction |
6492 |
</t> |
</t> |
6493 |
<t>SEND SP send_instruction |
<t>/ SEND SP send_instruction |
6494 |
</t> |
</t> |
6495 |
<t>/ RESET |
<t>/ RESET |
6496 |
</t> |
</t> |
6506 |
</t> |
</t> |
6507 |
<t>/ DB_INSTRUMENTS SP NON_MODAL SP scan_mode SP db_path SP filename |
<t>/ DB_INSTRUMENTS SP NON_MODAL SP scan_mode SP db_path SP filename |
6508 |
</t> |
</t> |
6509 |
|
<t>/ DB_INSTRUMENTS SP NON_MODAL SP scan_mode SP FILE_AS_DIR SP db_path SP filename |
6510 |
|
</t> |
6511 |
<t>/ DB_INSTRUMENTS SP scan_mode SP db_path SP filename |
<t>/ DB_INSTRUMENTS SP scan_mode SP db_path SP filename |
6512 |
</t> |
</t> |
6513 |
|
<t>/ DB_INSTRUMENTS SP scan_mode SP FILE_AS_DIR SP db_path SP filename |
6514 |
|
</t> |
6515 |
<t>/ DB_INSTRUMENTS SP NON_MODAL SP db_path SP filename |
<t>/ DB_INSTRUMENTS SP NON_MODAL SP db_path SP filename |
6516 |
</t> |
</t> |
6517 |
<t>/ DB_INSTRUMENTS SP NON_MODAL SP db_path SP filename SP instrument_index |
<t>/ DB_INSTRUMENTS SP NON_MODAL SP db_path SP filename SP instrument_index |