--- linuxsampler/trunk/Documentation/lscp.xml 2005/07/20 21:43:23 705 +++ linuxsampler/trunk/Documentation/lscp.xml 2005/07/21 09:36:52 709 @@ -31,7 +31,7 @@ schoenebeck at software minus engineering dot org - + LinuxSampler Developers LSCP @@ -2556,6 +2556,21 @@ 1.0 means amplification) + MUTE - + + Determines whether the channel is muted, "true" if the + channel is muted, "false" if the channel is not muted, and + "MUTED_BY_SOLO" if the channel is muted because of the + presence of a solo channel and will be unmuted when + there are no solo channels left + + + SOLO - + + Determines whether this is a solo channel, "true" if + the channel is a solo channel; "false" otherwise + + @@ -3041,6 +3056,94 @@ +
+ The front-end can mute/unmute a specific sampler + channel by sending the following command: + + + SET CHANNEL MUTE <sampler-channel> <mute> + + + Where <sampler-channel> is the respective sampler channel + number as returned by the "ADD CHANNEL" + or "LIST CHANNELS" command and + <mute> should be replaced either by "1" to mute the channel or "0" + to unmute the channel. + + Possible Answers: + + + "OK" - + + on success + + + "WRN:<warning-code>:<warning-message>" - + + if the channel was muted/unmuted, but there are noteworthy + issue(s) related, providing an appropriate warning code and + warning message + + + "ERR:<error-code>:<error-message>" - + + in case it failed, providing an appropriate error code and error message + + + + + Examples: + + + + + +
+ +
+ The front-end can solo/unsolo a specific sampler channel + by sending the following command: + + + SET CHANNEL SOLO <sampler-channel> <solo> + + + Where <sampler-channel> is the respective sampler channel + number as returned by the "ADD CHANNEL" + or "LIST CHANNELS" command and + <solo> should be replaced either by "1" to solo the channel or "0" + to unsolo the channel. + + Possible Answers: + + + "OK" - + + on success + + + "WRN:<warning-code>:<warning-message>" - + + if the channel was soloed/unsoloed, but there are noteworthy + issue(s) related, providing an appropriate warning code and + warning message + + + "ERR:<error-code>:<error-message>" - + + in case it failed, providing an appropriate error code and error message + + + + + Examples: + + + + + +
+
The front-end can reset a particular sampler channel by sending the following command: @@ -3319,13 +3422,13 @@ line = - /* epsilon (empty line ignored) */ + /* epsilon (empty line ignored) */ - / comment + / comment - / command + / command - / error + / error @@ -3345,233 +3448,233 @@ command = - ADD SP CHANNEL + ADD SP CHANNEL - / GET SP get_instruction + / GET SP get_instruction - / CREATE SP create_instruction + / CREATE SP create_instruction - / DESTROY SP destroy_instruction + / DESTROY SP destroy_instruction - / LIST SP list_instruction + / LIST SP list_instruction - / LOAD SP load_instruction + / LOAD SP load_instruction - / REMOVE SP CHANNEL SP sampler_channel + / REMOVE SP CHANNEL SP sampler_channel - / SET SP set_instruction + / SET SP set_instruction - / SUBSCRIBE SP subscribe_event + / SUBSCRIBE SP subscribe_event - / UNSUBSCRIBE SP unsubscribe_event + / UNSUBSCRIBE SP unsubscribe_event - / SELECT SP text + / SELECT SP text - / RESET SP CHANNEL SP sampler_channel + / RESET SP CHANNEL SP sampler_channel - / RESET + / RESET - / QUIT + / QUIT subscribe_event = - CHANNEL_COUNT + CHANNEL_COUNT - / VOICE_COUNT + / VOICE_COUNT - / STREAM_COUNT + / STREAM_COUNT - / BUFFER_FILL + / BUFFER_FILL - / CHANNEL_INFO + / CHANNEL_INFO - / MISCELLANEOUS + / MISCELLANEOUS unsubscribe_event = - CHANNEL_COUNT + CHANNEL_COUNT - / VOICE_COUNT + / VOICE_COUNT - / STREAM_COUNT + / STREAM_COUNT - / BUFFER_FILL + / BUFFER_FILL - / CHANNEL_INFO + / CHANNEL_INFO - / MISCELLANEOUS + / MISCELLANEOUS get_instruction = - AVAILABLE_ENGINES + AVAILABLE_ENGINES - / AVAILABLE_MIDI_INPUT_DRIVERS + / AVAILABLE_MIDI_INPUT_DRIVERS - / MIDI_INPUT_DRIVER SP INFO SP string + / MIDI_INPUT_DRIVER SP INFO SP string - / MIDI_INPUT_DRIVER_PARAMETER SP INFO SP string SP string + / MIDI_INPUT_DRIVER_PARAMETER SP INFO SP string SP string - / MIDI_INPUT_DRIVER_PARAMETER SP INFO SP string SP string SP key_val_list + / MIDI_INPUT_DRIVER_PARAMETER SP INFO SP string SP string SP key_val_list - / AVAILABLE_AUDIO_OUTPUT_DRIVERS + / AVAILABLE_AUDIO_OUTPUT_DRIVERS - / AUDIO_OUTPUT_DRIVER SP INFO SP string + / AUDIO_OUTPUT_DRIVER SP INFO SP string - / AUDIO_OUTPUT_DRIVER_PARAMETER SP INFO SP string SP string + / AUDIO_OUTPUT_DRIVER_PARAMETER SP INFO SP string SP string - / AUDIO_OUTPUT_DRIVER_PARAMETER SP INFO SP string SP string SP key_val_list + / AUDIO_OUTPUT_DRIVER_PARAMETER SP INFO SP string SP string SP key_val_list - / AUDIO_OUTPUT_DEVICES + / AUDIO_OUTPUT_DEVICES - / MIDI_INPUT_DEVICES + / MIDI_INPUT_DEVICES - / AUDIO_OUTPUT_DEVICE SP INFO SP number + / AUDIO_OUTPUT_DEVICE SP INFO SP number - / MIDI_INPUT_DEVICE SP INFO SP number + / MIDI_INPUT_DEVICE SP INFO SP number - / MIDI_INPUT_PORT SP INFO SP number SP number + / MIDI_INPUT_PORT SP INFO SP number SP number - / MIDI_INPUT_PORT_PARAMETER SP INFO SP number SP number SP string + / MIDI_INPUT_PORT_PARAMETER SP INFO SP number SP number SP string - / AUDIO_OUTPUT_CHANNEL SP INFO SP number SP number + / AUDIO_OUTPUT_CHANNEL SP INFO SP number SP number - / AUDIO_OUTPUT_CHANNEL_PARAMETER SP INFO SP number SP number SP string + / AUDIO_OUTPUT_CHANNEL_PARAMETER SP INFO SP number SP number SP string - / CHANNELS + / CHANNELS - / CHANNEL SP INFO SP sampler_channel + / CHANNEL SP INFO SP sampler_channel - / CHANNEL SP BUFFER_FILL SP buffer_size_type SP sampler_channel + / CHANNEL SP BUFFER_FILL SP buffer_size_type SP sampler_channel - / CHANNEL SP STREAM_COUNT SP sampler_channel + / CHANNEL SP STREAM_COUNT SP sampler_channel - / CHANNEL SP VOICE_COUNT SP sampler_channel + / CHANNEL SP VOICE_COUNT SP sampler_channel - / ENGINE SP INFO SP engine_name + / ENGINE SP INFO SP engine_name - / SERVER SP INFO + / SERVER SP INFO set_instruction = - AUDIO_OUTPUT_DEVICE_PARAMETER SP number SP string '=' param_val_list + AUDIO_OUTPUT_DEVICE_PARAMETER SP number SP string '=' param_val_list - / AUDIO_OUTPUT_CHANNEL_PARAMETER SP number SP number SP string '=' param_val_list + / AUDIO_OUTPUT_CHANNEL_PARAMETER SP number SP number SP string '=' param_val_list - / MIDI_INPUT_DEVICE_PARAMETER SP number SP string '=' param_val_list + / MIDI_INPUT_DEVICE_PARAMETER SP number SP string '=' param_val_list - / MIDI_INPUT_PORT_PARAMETER SP number SP number SP string '=' param_val_list + / MIDI_INPUT_PORT_PARAMETER SP number SP number SP string '=' param_val_list - / CHANNEL SP set_chan_instruction + / CHANNEL SP set_chan_instruction - / ECHO SP boolean + / ECHO SP boolean create_instruction = - AUDIO_OUTPUT_DEVICE SP string SP key_val_list + AUDIO_OUTPUT_DEVICE SP string SP key_val_list - / AUDIO_OUTPUT_DEVICE SP string + / AUDIO_OUTPUT_DEVICE SP string - / MIDI_INPUT_DEVICE SP string SP key_val_list + / MIDI_INPUT_DEVICE SP string SP key_val_list - / MIDI_INPUT_DEVICE SP string + / MIDI_INPUT_DEVICE SP string destroy_instruction = - AUDIO_OUTPUT_DEVICE SP number + AUDIO_OUTPUT_DEVICE SP number - / MIDI_INPUT_DEVICE SP number + / MIDI_INPUT_DEVICE SP number load_instruction = - INSTRUMENT SP load_instr_args + INSTRUMENT SP load_instr_args - / ENGINE SP load_engine_args + / ENGINE SP load_engine_args set_chan_instruction = - AUDIO_OUTPUT_DEVICE SP sampler_channel SP device_index + AUDIO_OUTPUT_DEVICE SP sampler_channel SP device_index - / AUDIO_OUTPUT_CHANNEL SP sampler_channel SP audio_channel_index SP audio_channel_index + / AUDIO_OUTPUT_CHANNEL SP sampler_channel SP audio_channel_index SP audio_channel_index - / AUDIO_OUTPUT_TYPE SP sampler_channel SP audio_output_type_name + / AUDIO_OUTPUT_TYPE SP sampler_channel SP audio_output_type_name - / MIDI_INPUT SP sampler_channel SP device_index SP midi_input_port_index SP midi_input_channel_index + / MIDI_INPUT SP sampler_channel SP device_index SP midi_input_port_index SP midi_input_channel_index - / MIDI_INPUT_DEVICE SP sampler_channel SP device_index + / MIDI_INPUT_DEVICE SP sampler_channel SP device_index - / MIDI_INPUT_PORT SP sampler_channel SP midi_input_port_index + / MIDI_INPUT_PORT SP sampler_channel SP midi_input_port_index - / MIDI_INPUT_CHANNEL SP sampler_channel SP midi_input_channel_index + / MIDI_INPUT_CHANNEL SP sampler_channel SP midi_input_channel_index - / MIDI_INPUT_TYPE SP sampler_channel SP midi_input_type_name + / MIDI_INPUT_TYPE SP sampler_channel SP midi_input_type_name - / VOLUME SP sampler_channel SP volume_value + / VOLUME SP sampler_channel SP volume_value - / MUTE SP sampler_channel SP boolean + / MUTE SP sampler_channel SP boolean - / SOLO SP sampler_channel SP boolean + / SOLO SP sampler_channel SP boolean key_val_list = - string '=' param_val_list + string '=' param_val_list - / key_val_list SP string '=' param_val_list + / key_val_list SP string '=' param_val_list buffer_size_type = - BYTES + BYTES - / PERCENTAGE + / PERCENTAGE list_instruction = - AUDIO_OUTPUT_DEVICES + AUDIO_OUTPUT_DEVICES - / MIDI_INPUT_DEVICES + / MIDI_INPUT_DEVICES - / CHANNELS + / CHANNELS - / AVAILABLE_ENGINES + / AVAILABLE_ENGINES - / AVAILABLE_MIDI_INPUT_DRIVERS + / AVAILABLE_MIDI_INPUT_DRIVERS - / AVAILABLE_AUDIO_OUTPUT_DRIVERS + / AVAILABLE_AUDIO_OUTPUT_DRIVERS load_instr_args = - filename SP instrument_index SP sampler_channel + filename SP instrument_index SP sampler_channel - / NON_MODAL SP filename SP instrument_index SP sampler_channel + / NON_MODAL SP filename SP instrument_index SP sampler_channel load_engine_args = - engine_name SP sampler_channel + engine_name SP sampler_channel @@ -3603,7 +3706,7 @@ number - / ALL + / ALL @@ -3617,7 +3720,7 @@ dotnum - / number + / number @@ -3649,7 +3752,7 @@ param_val - / param_val_list','param_val + / param_val_list','param_val @@ -3657,13 +3760,13 @@ string - / '\'' string '\'' + / '\'' string '\'' - / '\"' string '\"' + / '\"' string '\"' - / number + / number - / dotnum + / dotnum