--- linuxsampler/trunk/Documentation/lscp.xml 2008/09/10 15:11:41 1772 +++ linuxsampler/trunk/Documentation/lscp.xml 2008/09/30 02:16:41 1782 @@ -3722,27 +3722,27 @@ Where <sampler-chan> is the sampler channel number as returned by the "ADD CHANNEL" or "LIST CHANNELS" command, - <arg1> and <arg2> arguments depend on the <midi-msg> argument, which - specifies the MIDI message type. Currently, the following MIDI messages are supported: + <arg1> and <arg2> arguments depend on the <midi-msg> argument, which + specifies the MIDI message type. Currently, the following MIDI messages are supported: - "NOTE_ON" - + "NOTE_ON" - - For turning on MIDI notes, where <arg1> - specifies the key number and <arg2> the velocity + For turning on MIDI notes, where <arg1> + specifies the key number and <arg2> the velocity as described in the MIDI specification. "NOTE_OFF" - - For turning a currently playing MIDI note off, where <arg1> - specifies the key number and <arg2> the velocity + For turning a currently playing MIDI note off, where <arg1> + specifies the key number and <arg2> the velocity as described in the MIDI specification. - CAUTION: This command is provided for implementations of virtual MIDI keyboards + CAUTION: This command is provided for implementations of virtual MIDI keyboards and no realtime guarantee whatsoever will be made! Possible Answers: @@ -5350,7 +5350,7 @@ to the instruments database by sending the following command: - ADD DB_INSTRUMENTS [NON_MODAL] [<mode>] <db_dir> <file_path> [<instr_index>] + ADD DB_INSTRUMENTS [NON_MODAL] [<mode>[ FILE_AS_DIR]] <db_dir> <file_path> [<instr_index>] Where <db_dir> is the absolute path name of a directory @@ -5395,6 +5395,10 @@ + If FILE_AS_DIR argument is supplied, all instruments in an instrument + file will be added to a separate directory in the instruments database, which + name will be the name of the instrument file with the file extension stripped off. + The difference between regular and NON_MODAL versions of the command is that the regular command returns when the scanning is finished while NON_MODAL version returns immediately and a background process is launched. @@ -6366,15 +6370,15 @@ KEY_BINDINGS - - comma separated list of integer values representing - the instrument's key mapping in the range between 0 .. 127, + comma separated list of integer values representing + the instrument's key mapping in the range between 0 .. 127, reflecting the analog meaning of the MIDI specification. KEYSWITCH_BINDINGS - - comma separated list of integer values representing - the instrument's keyswitch mapping in the range between 0 .. 127, + comma separated list of integer values representing + the instrument's keyswitch mapping in the range between 0 .. 127, reflecting the analog meaning of the MIDI specification. @@ -6484,9 +6488,9 @@ / EDIT SP edit_instruction - / FORMAT SP format_instruction - - SEND SP send_instruction + / FORMAT SP format_instruction + + / SEND SP send_instruction / RESET @@ -6502,8 +6506,12 @@ / DB_INSTRUMENTS SP NON_MODAL SP scan_mode SP db_path SP filename + / DB_INSTRUMENTS SP NON_MODAL SP scan_mode SP FILE_AS_DIR SP db_path SP filename + / DB_INSTRUMENTS SP scan_mode SP db_path SP filename + / DB_INSTRUMENTS SP scan_mode SP FILE_AS_DIR SP db_path SP filename + / DB_INSTRUMENTS SP NON_MODAL SP db_path SP filename / DB_INSTRUMENTS SP NON_MODAL SP db_path SP filename SP instrument_index