147 |
6.4.31. Altering effect send's audio routing . . . . . . . . 69 |
6.4.31. Altering effect send's audio routing . . . . . . . . 69 |
148 |
6.4.32. Assigning destination effect to an effect send . . . 70 |
6.4.32. Assigning destination effect to an effect send . . . 70 |
149 |
6.4.33. Removing destination effect from an effect send . . 71 |
6.4.33. Removing destination effect from an effect send . . 71 |
150 |
6.4.34. Altering effect send's MIDI controller . . . . . . . 71 |
6.4.34. Altering effect send's MIDI controller . . . . . . . 72 |
151 |
6.4.35. Altering effect send's send level . . . . . . . . . 72 |
6.4.35. Altering effect send's send level . . . . . . . . . 72 |
152 |
6.4.36. Sending MIDI messages to sampler channel . . . . . . 73 |
6.4.36. Sending MIDI messages to sampler channel . . . . . . 73 |
153 |
6.4.37. Resetting a sampler channel . . . . . . . . . . . . 74 |
6.4.37. Resetting a sampler channel . . . . . . . . . . . . 74 |
154 |
6.5. Controlling connection . . . . . . . . . . . . . . . . . 75 |
6.5. Controlling connection . . . . . . . . . . . . . . . . . 75 |
155 |
6.5.1. Register front-end for receiving event messages . . 75 |
6.5.1. Register front-end for receiving event messages . . 75 |
156 |
6.5.2. Unregister front-end for not receiving event |
6.5.2. Unregister front-end for not receiving event |
157 |
messages . . . . . . . . . . . . . . . . . . . . . . 75 |
messages . . . . . . . . . . . . . . . . . . . . . . 76 |
158 |
6.5.3. Enable or disable echo of commands . . . . . . . . . 76 |
6.5.3. Enable or disable echo of commands . . . . . . . . . 76 |
159 |
6.5.4. Close client connection . . . . . . . . . . . . . . 77 |
6.5.4. Close client connection . . . . . . . . . . . . . . 77 |
160 |
6.6. Global commands . . . . . . . . . . . . . . . . . . . . . 77 |
6.6. Global commands . . . . . . . . . . . . . . . . . . . . . 77 |
161 |
6.6.1. Current number of active voices . . . . . . . . . . 77 |
6.6.1. Current number of active voices . . . . . . . . . . 77 |
162 |
6.6.2. Maximum amount of active voices . . . . . . . . . . 77 |
6.6.2. Maximum amount of active voices . . . . . . . . . . 78 |
163 |
6.6.3. Current number of active disk streams . . . . . . . 77 |
6.6.3. Current number of active disk streams . . . . . . . 78 |
164 |
|
|
165 |
|
|
166 |
|
|
172 |
6.6.4. Reset sampler . . . . . . . . . . . . . . . . . . . 78 |
6.6.4. Reset sampler . . . . . . . . . . . . . . . . . . . 78 |
173 |
6.6.5. General sampler informations . . . . . . . . . . . . 78 |
6.6.5. General sampler informations . . . . . . . . . . . . 78 |
174 |
6.6.6. Getting global volume attenuation . . . . . . . . . 79 |
6.6.6. Getting global volume attenuation . . . . . . . . . 79 |
175 |
6.6.7. Setting global volume attenuation . . . . . . . . . 79 |
6.6.7. Setting global volume attenuation . . . . . . . . . 80 |
176 |
6.6.8. Getting global voice limit . . . . . . . . . . . . . 80 |
6.6.8. Getting global voice limit . . . . . . . . . . . . . 80 |
177 |
6.6.9. Setting global voice limit . . . . . . . . . . . . . 80 |
6.6.9. Setting global voice limit . . . . . . . . . . . . . 81 |
178 |
6.6.10. Getting global disk stream limit . . . . . . . . . . 81 |
6.6.10. Getting global disk stream limit . . . . . . . . . . 81 |
179 |
6.6.11. Setting global disk stream limit . . . . . . . . . . 81 |
6.6.11. Setting global disk stream limit . . . . . . . . . . 82 |
180 |
6.7. MIDI Instrument Mapping . . . . . . . . . . . . . . . . . 82 |
6.7. MIDI Instrument Mapping . . . . . . . . . . . . . . . . . 83 |
181 |
6.7.1. Create a new MIDI instrument map . . . . . . . . . . 83 |
6.7.1. Create a new MIDI instrument map . . . . . . . . . . 83 |
182 |
6.7.2. Delete one particular or all MIDI instrument maps . 84 |
6.7.2. Delete one particular or all MIDI instrument maps . 84 |
183 |
6.7.3. Get amount of existing MIDI instrument maps . . . . 84 |
6.7.3. Get amount of existing MIDI instrument maps . . . . 85 |
184 |
6.7.4. Getting all created MIDI instrument maps . . . . . . 85 |
6.7.4. Getting all created MIDI instrument maps . . . . . . 85 |
185 |
6.7.5. Getting MIDI instrument map information . . . . . . 85 |
6.7.5. Getting MIDI instrument map information . . . . . . 86 |
186 |
6.7.6. Renaming a MIDI instrument map . . . . . . . . . . . 86 |
6.7.6. Renaming a MIDI instrument map . . . . . . . . . . . 87 |
187 |
6.7.7. Create or replace a MIDI instrument map entry . . . 87 |
6.7.7. Create or replace a MIDI instrument map entry . . . 87 |
188 |
6.7.8. Getting ammount of MIDI instrument map entries . . . 89 |
6.7.8. Getting ammount of MIDI instrument map entries . . . 90 |
189 |
6.7.9. Getting indeces of all entries of a MIDI |
6.7.9. Getting indeces of all entries of a MIDI |
190 |
instrument map . . . . . . . . . . . . . . . . . . . 90 |
instrument map . . . . . . . . . . . . . . . . . . . 91 |
191 |
6.7.10. Remove an entry from the MIDI instrument map . . . . 91 |
6.7.10. Remove an entry from the MIDI instrument map . . . . 91 |
192 |
6.7.11. Get current settings of MIDI instrument map entry . 91 |
6.7.11. Get current settings of MIDI instrument map entry . 92 |
193 |
6.7.12. Clear MIDI instrument map . . . . . . . . . . . . . 93 |
6.7.12. Clear MIDI instrument map . . . . . . . . . . . . . 94 |
194 |
6.8. Managing Instruments Database . . . . . . . . . . . . . . 94 |
6.8. Managing Instruments Database . . . . . . . . . . . . . . 94 |
195 |
6.8.1. Creating a new instrument directory . . . . . . . . 94 |
6.8.1. Creating a new instrument directory . . . . . . . . 95 |
196 |
6.8.2. Deleting an instrument directory . . . . . . . . . . 95 |
6.8.2. Deleting an instrument directory . . . . . . . . . . 95 |
197 |
6.8.3. Getting amount of instrument directories . . . . . . 95 |
6.8.3. Getting amount of instrument directories . . . . . . 96 |
198 |
6.8.4. Listing all directories in specific directory . . . 96 |
6.8.4. Listing all directories in specific directory . . . 96 |
199 |
6.8.5. Getting instrument directory information . . . . . . 97 |
6.8.5. Getting instrument directory information . . . . . . 97 |
200 |
6.8.6. Renaming an instrument directory . . . . . . . . . . 98 |
6.8.6. Renaming an instrument directory . . . . . . . . . . 98 |
201 |
6.8.7. Moving an instrument directory . . . . . . . . . . . 98 |
6.8.7. Moving an instrument directory . . . . . . . . . . . 99 |
202 |
6.8.8. Copying instrument directories . . . . . . . . . . . 99 |
6.8.8. Copying instrument directories . . . . . . . . . . . 99 |
203 |
6.8.9. Changing the description of directory . . . . . . . 100 |
6.8.9. Changing the description of directory . . . . . . . 100 |
204 |
6.8.10. Finding directories . . . . . . . . . . . . . . . . 100 |
6.8.10. Finding directories . . . . . . . . . . . . . . . . 101 |
205 |
6.8.11. Adding instruments to the instruments database . . . 102 |
6.8.11. Adding instruments to the instruments database . . . 102 |
206 |
6.8.12. Removing an instrument . . . . . . . . . . . . . . . 103 |
6.8.12. Removing an instrument . . . . . . . . . . . . . . . 104 |
207 |
6.8.13. Getting amount of instruments . . . . . . . . . . . 104 |
6.8.13. Getting amount of instruments . . . . . . . . . . . 104 |
208 |
6.8.14. Listing all instruments in specific directory . . . 104 |
6.8.14. Listing all instruments in specific directory . . . 105 |
209 |
6.8.15. Getting instrument information . . . . . . . . . . . 105 |
6.8.15. Getting instrument information . . . . . . . . . . . 105 |
210 |
6.8.16. Renaming an instrument . . . . . . . . . . . . . . . 107 |
6.8.16. Renaming an instrument . . . . . . . . . . . . . . . 108 |
211 |
6.8.17. Moving an instrument . . . . . . . . . . . . . . . . 108 |
6.8.17. Moving an instrument . . . . . . . . . . . . . . . . 108 |
212 |
6.8.18. Copying instruments . . . . . . . . . . . . . . . . 109 |
6.8.18. Copying instruments . . . . . . . . . . . . . . . . 109 |
213 |
6.8.19. Changing the description of instrument . . . . . . . 109 |
6.8.19. Changing the description of instrument . . . . . . . 110 |
214 |
6.8.20. Finding instruments . . . . . . . . . . . . . . . . 110 |
6.8.20. Finding instruments . . . . . . . . . . . . . . . . 110 |
215 |
6.8.21. Getting job status information . . . . . . . . . . . 112 |
6.8.21. Getting job status information . . . . . . . . . . . 113 |
216 |
6.8.22. Formatting the instruments database . . . . . . . . 113 |
6.8.22. Formatting the instruments database . . . . . . . . 114 |
217 |
6.8.23. Checking for lost instrument files . . . . . . . . . 114 |
6.8.23. Checking for lost instrument files . . . . . . . . . 114 |
218 |
6.8.24. Replacing an instrument file . . . . . . . . . . . . 114 |
6.8.24. Replacing an instrument file . . . . . . . . . . . . 115 |
219 |
6.9. Editing Instruments . . . . . . . . . . . . . . . . . . . 115 |
6.9. Editing Instruments . . . . . . . . . . . . . . . . . . . 115 |
220 |
|
|
221 |
|
|
226 |
|
|
227 |
|
|
228 |
6.9.1. Opening an appropriate instrument editor |
6.9.1. Opening an appropriate instrument editor |
229 |
application . . . . . . . . . . . . . . . . . . . . 115 |
application . . . . . . . . . . . . . . . . . . . . 116 |
230 |
6.10. Managing Files . . . . . . . . . . . . . . . . . . . . . 116 |
6.10. Managing Files . . . . . . . . . . . . . . . . . . . . . 117 |
231 |
6.10.1. Retrieving amount of instruments of a file . . . . . 116 |
6.10.1. Retrieving amount of instruments of a file . . . . . 117 |
232 |
6.10.2. Retrieving all instruments of a file . . . . . . . . 117 |
6.10.2. Retrieving all instruments of a file . . . . . . . . 117 |
233 |
6.10.3. Retrieving informations about one instrument in a |
6.10.3. Retrieving informations about one instrument in a |
234 |
file . . . . . . . . . . . . . . . . . . . . . . . . 117 |
file . . . . . . . . . . . . . . . . . . . . . . . . 118 |
235 |
6.11. Managing Effects . . . . . . . . . . . . . . . . . . . . 119 |
6.11. Managing Effects . . . . . . . . . . . . . . . . . . . . 120 |
236 |
6.11.1. Retrieve amount of available effects . . . . . . . . 120 |
6.11.1. Retrieve amount of available effects . . . . . . . . 120 |
237 |
6.11.2. Get list of available effects . . . . . . . . . . . 120 |
6.11.2. Get list of available effects . . . . . . . . . . . 121 |
238 |
6.11.3. Retrieving general information about an effect . . . 121 |
6.11.3. Retrieving general information about an effect . . . 121 |
239 |
6.11.4. Creating an instance of an effect by its portable |
6.11.4. Creating an instance of an effect by its portable |
240 |
ID . . . . . . . . . . . . . . . . . . . . . . . . . 122 |
ID . . . . . . . . . . . . . . . . . . . . . . . . . 122 |
242 |
numerical ID . . . . . . . . . . . . . . . . . . . . 123 |
numerical ID . . . . . . . . . . . . . . . . . . . . 123 |
243 |
6.11.6. Destroy an effect instance . . . . . . . . . . . . . 124 |
6.11.6. Destroy an effect instance . . . . . . . . . . . . . 124 |
244 |
6.11.7. Retrieve amount of effect instances . . . . . . . . 125 |
6.11.7. Retrieve amount of effect instances . . . . . . . . 125 |
245 |
6.11.8. Get list of effect instances . . . . . . . . . . . . 125 |
6.11.8. Get list of effect instances . . . . . . . . . . . . 126 |
246 |
6.11.9. Retrieving current information about an effect |
6.11.9. Retrieving current information about an effect |
247 |
instance . . . . . . . . . . . . . . . . . . . . . . 125 |
instance . . . . . . . . . . . . . . . . . . . . . . 126 |
248 |
6.11.10. Retrieving information about an effect parameter . . 127 |
6.11.10. Retrieving information about an effect parameter . . 127 |
249 |
6.11.11. Altering an effect parameter . . . . . . . . . . . . 129 |
6.11.11. Altering an effect parameter . . . . . . . . . . . . 129 |
250 |
6.11.12. Retrieve amount of send effect chains . . . . . . . 129 |
6.11.12. Retrieve amount of send effect chains . . . . . . . 130 |
251 |
6.11.13. Retrieve list of send effect chains . . . . . . . . 130 |
6.11.13. Retrieve list of send effect chains . . . . . . . . 130 |
252 |
6.11.14. Add send effect chain . . . . . . . . . . . . . . . 130 |
6.11.14. Add send effect chain . . . . . . . . . . . . . . . 131 |
253 |
6.11.15. Remove send effect chain . . . . . . . . . . . . . . 131 |
6.11.15. Remove send effect chain . . . . . . . . . . . . . . 131 |
254 |
6.11.16. Retrieving information about a send effect chain . . 132 |
6.11.16. Retrieving information about a send effect chain . . 132 |
255 |
6.11.17. Append effect instance to a send effect chain . . . 133 |
6.11.17. Append effect instance to a send effect chain . . . 133 |
256 |
6.11.18. Insert effect instance to a send effect chain . . . 133 |
6.11.18. Insert effect instance to a send effect chain . . . 134 |
257 |
6.11.19. Remove effect instance from send effect chain . . . 134 |
6.11.19. Remove effect instance from send effect chain . . . 135 |
258 |
7. Command Syntax . . . . . . . . . . . . . . . . . . . . . . . 136 |
7. Command Syntax . . . . . . . . . . . . . . . . . . . . . . . 136 |
259 |
7.1. Character Set and Escape Sequences . . . . . . . . . . . 152 |
7.1. Character Set and Escape Sequences . . . . . . . . . . . 152 |
260 |
8. Events . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 |
8. Events . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 |
3736 |
then this setting defines the audio channel routing to that |
then this setting defines the audio channel routing to that |
3737 |
effect instance respectively |
effect instance respectively |
3738 |
|
|
3739 |
SEND_EFFECT - |
EFFECT - |
3740 |
|
|
3741 |
destination send effect chain ID and destination effect |
destination send effect chain ID and destination effect |
3742 |
chain position, separated by comma in the form "<effect- |
chain position, separated by comma in the form "<effect- |
3765 |
|
|
3766 |
"AUDIO_OUTPUT_ROUTING: 2,3" |
"AUDIO_OUTPUT_ROUTING: 2,3" |
3767 |
|
|
3768 |
|
"EFFECT: NONE" |
3769 |
|
|
3770 |
|
"." |
3771 |
|
|
3772 |
|
C: "GET FX_SEND INFO 0 1" |
3773 |
|
|
3774 |
|
S: "NAME: Delay Send (Internal)" |
3775 |
|
|
3776 |
|
"MIDI_CONTROLLER: 93" |
3777 |
|
|
3778 |
|
"LEVEL: 0.51" |
3779 |
|
|
3780 |
|
"AUDIO_OUTPUT_ROUTING: 1,2" |
3781 |
|
|
3782 |
|
"EFFECT: 2,0" |
3783 |
|
|
3784 |
"." |
"." |
3785 |
|
|
3786 |
6.4.30. Changing effect send's name |
6.4.30. Changing effect send's name |
3802 |
|
|
3803 |
Possible Answers: |
Possible Answers: |
3804 |
|
|
3805 |
|
|
3806 |
|
|
3807 |
|
Schoenebeck Expires April 8, 2011 [Page 68] |
3808 |
|
|
3809 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
3810 |
|
|
3811 |
|
|
3812 |
"OK" - |
"OK" - |
3813 |
|
|
3814 |
on success |
on success |
3824 |
|
|
3825 |
S: "OK" |
S: "OK" |
3826 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 68] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
3827 |
6.4.31. Altering effect send's audio routing |
6.4.31. Altering effect send's audio routing |
3828 |
|
|
3829 |
The front-end can alter the destination of an effect send's audio |
The front-end can alter the destination of an effect send's audio |
3857 |
send into a mono one by simply altering its audio routing |
send into a mono one by simply altering its audio routing |
3858 |
appropriately. |
appropriately. |
3859 |
|
|
3860 |
|
|
3861 |
|
|
3862 |
|
|
3863 |
|
Schoenebeck Expires April 8, 2011 [Page 69] |
3864 |
|
|
3865 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
3866 |
|
|
3867 |
|
|
3868 |
Possible Answers: |
Possible Answers: |
3869 |
|
|
3870 |
"OK" - |
"OK" - |
3879 |
|
|
3880 |
"ERR:<error-code>:<error-message>" - |
"ERR:<error-code>:<error-message>" - |
3881 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 69] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
3882 |
in case it failed, providing an appropriate error code and |
in case it failed, providing an appropriate error code and |
3883 |
error message |
error message |
3884 |
|
|
3893 |
The front-end can (re-)assign a destination effect to an effect send |
The front-end can (re-)assign a destination effect to an effect send |
3894 |
by sending the following command: |
by sending the following command: |
3895 |
|
|
3896 |
SET FX_SEND SEND_EFFECT <sampler-chan> <fx-send-id> <effect-chain> |
SET FX_SEND EFFECT <sampler-chan> <fx-send-id> <effect-chain> |
3897 |
<chain-pos> |
<chain-pos> |
3898 |
|
|
3899 |
Where <sampler-chan> is the sampler channel number as returned by the |
Where <sampler-chan> is the sampler channel number as returned by the |
3913 |
|
|
3914 |
on success |
on success |
3915 |
|
|
|
"ERR:<error-code>:<error-message>" - |
|
|
|
|
|
in case it failed, providing an appropriate error code and |
|
|
error message |
|
3916 |
|
|
|
Example: |
|
3917 |
|
|
|
C: "SET FX_SEND SEND_EFFECT 0 0 2 5" |
|
|
|
|
|
S: "OK" |
|
3918 |
|
|
3919 |
|
Schoenebeck Expires April 8, 2011 [Page 70] |
3920 |
|
|
3921 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
3922 |
|
|
3923 |
|
|
3924 |
|
"ERR:<error-code>:<error-message>" - |
3925 |
|
|
3926 |
|
in case it failed, providing an appropriate error code and |
3927 |
|
error message |
3928 |
|
|
3929 |
|
Example: |
3930 |
|
|
3931 |
|
C: "SET FX_SEND EFFECT 0 0 2 5" |
3932 |
|
|
3933 |
Schoenebeck Expires April 8, 2011 [Page 70] |
S: "OK" |
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
3934 |
|
|
3935 |
6.4.33. Removing destination effect from an effect send |
6.4.33. Removing destination effect from an effect send |
3936 |
|
|
3937 |
The front-end can (re-)assign a destination effect to an effect send |
The front-end can (re-)assign a destination effect to an effect send |
3938 |
by sending the following command: |
by sending the following command: |
3939 |
|
|
3940 |
REMOVE FX_SEND SEND_EFFECT <sampler-chan> <fx-send-id> |
REMOVE FX_SEND EFFECT <sampler-chan> <fx-send-id> |
3941 |
|
|
3942 |
Where <sampler-chan> is the sampler channel number as returned by the |
Where <sampler-chan> is the sampler channel number as returned by the |
3943 |
"ADD CHANNEL" (Section 6.4.5) or "LIST CHANNELS" (Section 6.4.4) |
"ADD CHANNEL" (Section 6.4.5) or "LIST CHANNELS" (Section 6.4.4) |
3963 |
|
|
3964 |
Example: |
Example: |
3965 |
|
|
3966 |
C: "REMOVE FX_SEND SEND_EFFECT 0 0" |
C: "REMOVE FX_SEND EFFECT 0 0" |
3967 |
|
|
3968 |
S: "OK" |
S: "OK" |
3969 |
|
|
3970 |
|
|
3971 |
|
|
3972 |
|
|
3973 |
|
|
3974 |
|
|
3975 |
|
Schoenebeck Expires April 8, 2011 [Page 71] |
3976 |
|
|
3977 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
3978 |
|
|
3979 |
|
|
3980 |
6.4.34. Altering effect send's MIDI controller |
6.4.34. Altering effect send's MIDI controller |
3981 |
|
|
3982 |
The front-end can alter the MIDI controller of an effect send entity |
The front-end can alter the MIDI controller of an effect send entity |
3990 |
command, <fx-send-id> reflects the numerical ID of the effect send |
command, <fx-send-id> reflects the numerical ID of the effect send |
3991 |
entity as returned by the "CREATE FX_SEND" (Section 6.4.25) or "LIST |
entity as returned by the "CREATE FX_SEND" (Section 6.4.25) or "LIST |
3992 |
FX_SENDS" (Section 6.4.28) command and <midi-ctrl> reflects the MIDI |
FX_SENDS" (Section 6.4.28) command and <midi-ctrl> reflects the MIDI |
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 71] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
3993 |
controller which shall be able to modify the effect send's send |
controller which shall be able to modify the effect send's send |
3994 |
level. |
level. |
3995 |
|
|
4025 |
|
|
4026 |
Where <sampler-chan> is the sampler channel number as returned by the |
Where <sampler-chan> is the sampler channel number as returned by the |
4027 |
"ADD CHANNEL" (Section 6.4.5) or "LIST CHANNELS" (Section 6.4.4) |
"ADD CHANNEL" (Section 6.4.5) or "LIST CHANNELS" (Section 6.4.4) |
4028 |
|
|
4029 |
|
|
4030 |
|
|
4031 |
|
Schoenebeck Expires April 8, 2011 [Page 72] |
4032 |
|
|
4033 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4034 |
|
|
4035 |
|
|
4036 |
command, <fx-send-id> reflects the numerical ID of the effect send |
command, <fx-send-id> reflects the numerical ID of the effect send |
4037 |
entity as returned by the "CREATE FX_SEND" (Section 6.4.25) or "LIST |
entity as returned by the "CREATE FX_SEND" (Section 6.4.25) or "LIST |
4038 |
FX_SENDS" (Section 6.4.28) command and <volume> is an optionally |
FX_SENDS" (Section 6.4.28) command and <volume> is an optionally |
4046 |
|
|
4047 |
on success |
on success |
4048 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 72] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4049 |
"WRN:<warning-code>:<warning-message>" - |
"WRN:<warning-code>:<warning-message>" - |
4050 |
|
|
4051 |
if new send level was set, but there are noteworthy issue(s) |
if new send level was set, but there are noteworthy issue(s) |
4082 |
number and <arg2> the velocity as described in the MIDI |
number and <arg2> the velocity as described in the MIDI |
4083 |
specification. |
specification. |
4084 |
|
|
4085 |
|
|
4086 |
|
|
4087 |
|
Schoenebeck Expires April 8, 2011 [Page 73] |
4088 |
|
|
4089 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4090 |
|
|
4091 |
|
|
4092 |
"NOTE_OFF" - |
"NOTE_OFF" - |
4093 |
|
|
4094 |
For turning a currently playing MIDI note off, where <arg1> |
For turning a currently playing MIDI note off, where <arg1> |
4102 |
described in the Control Change section of the MIDI |
described in the Control Change section of the MIDI |
4103 |
specification. |
specification. |
4104 |
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 73] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4105 |
CAUTION: This command is provided for implementations of virtual MIDI |
CAUTION: This command is provided for implementations of virtual MIDI |
4106 |
keyboards and no realtime guarantee whatsoever will be made! |
keyboards and no realtime guarantee whatsoever will be made! |
4107 |
|
|
4136 |
|
|
4137 |
Possible Answers: |
Possible Answers: |
4138 |
|
|
4139 |
|
|
4140 |
|
|
4141 |
|
|
4142 |
|
|
4143 |
|
Schoenebeck Expires April 8, 2011 [Page 74] |
4144 |
|
|
4145 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4146 |
|
|
4147 |
|
|
4148 |
"OK" - |
"OK" - |
4149 |
|
|
4150 |
on success |
on success |
4160 |
in case it failed, providing an appropriate error code and |
in case it failed, providing an appropriate error code and |
4161 |
error message |
error message |
4162 |
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 74] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4163 |
Examples: |
Examples: |
4164 |
|
|
4165 |
|
|
4191 |
related, providing an appropriate warning code and warning |
related, providing an appropriate warning code and warning |
4192 |
message |
message |
4193 |
|
|
4194 |
|
|
4195 |
|
|
4196 |
|
|
4197 |
|
|
4198 |
|
|
4199 |
|
Schoenebeck Expires April 8, 2011 [Page 75] |
4200 |
|
|
4201 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4202 |
|
|
4203 |
|
|
4204 |
"ERR:<error-code>:<error-message>" - |
"ERR:<error-code>:<error-message>" - |
4205 |
|
|
4206 |
in case it failed, providing an appropriate error code and |
in case it failed, providing an appropriate error code and |
4218 |
UNSUBSCRIBE <event-id> |
UNSUBSCRIBE <event-id> |
4219 |
|
|
4220 |
Where <event-id> will be replaced by the respective event that client |
Where <event-id> will be replaced by the respective event that client |
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 75] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4221 |
doesn't want to receive anymore. |
doesn't want to receive anymore. |
4222 |
|
|
4223 |
Possible Answers: |
Possible Answers: |
4249 |
SET ECHO <value> |
SET ECHO <value> |
4250 |
|
|
4251 |
Where <value> should be replaced either by "1" to enable echo mode or |
Where <value> should be replaced either by "1" to enable echo mode or |
4252 |
|
|
4253 |
|
|
4254 |
|
|
4255 |
|
Schoenebeck Expires April 8, 2011 [Page 76] |
4256 |
|
|
4257 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4258 |
|
|
4259 |
|
|
4260 |
"0" to disable echo mode. When echo mode is enabled, all commands |
"0" to disable echo mode. When echo mode is enabled, all commands |
4261 |
send to LinuxSampler will be immediately send back and after this |
send to LinuxSampler will be immediately send back and after this |
4262 |
echo the actual response to the command will be returned. Echo mode |
echo the actual response to the command will be returned. Echo mode |
4277 |
|
|
4278 |
|
|
4279 |
|
|
|
Schoenebeck Expires April 8, 2011 [Page 76] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
|
|
|
|
|
|
4280 |
6.5.4. Close client connection |
6.5.4. Close client connection |
4281 |
|
|
4282 |
The client can close its network connection to LinuxSampler by |
The client can close its network connection to LinuxSampler by |
4303 |
LinuxSampler will answer by returning the number of all active |
LinuxSampler will answer by returning the number of all active |
4304 |
voices on the sampler. |
voices on the sampler. |
4305 |
|
|
4306 |
|
|
4307 |
|
|
4308 |
|
|
4309 |
|
|
4310 |
|
|
4311 |
|
Schoenebeck Expires April 8, 2011 [Page 77] |
4312 |
|
|
4313 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4314 |
|
|
4315 |
|
|
4316 |
6.6.2. Maximum amount of active voices |
6.6.2. Maximum amount of active voices |
4317 |
|
|
4318 |
The front-end can ask for the maximum number of active voices by |
The front-end can ask for the maximum number of active voices by |
4334 |
|
|
4335 |
Possible Answers: |
Possible Answers: |
4336 |
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 77] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4337 |
LinuxSampler will answer by returning the number of all active |
LinuxSampler will answer by returning the number of all active |
4338 |
disk streams on the sampler. |
disk streams on the sampler. |
4339 |
|
|
4359 |
The client can ask for general informations about the LinuxSampler |
The client can ask for general informations about the LinuxSampler |
4360 |
instance by sending the following command: |
instance by sending the following command: |
4361 |
|
|
4362 |
|
|
4363 |
|
|
4364 |
|
|
4365 |
|
|
4366 |
|
|
4367 |
|
Schoenebeck Expires April 8, 2011 [Page 78] |
4368 |
|
|
4369 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4370 |
|
|
4371 |
|
|
4372 |
GET SERVER INFO |
GET SERVER INFO |
4373 |
|
|
4374 |
Possible Answers: |
Possible Answers: |
4391 |
|
|
4392 |
version of the sampler |
version of the sampler |
4393 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 78] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4394 |
PROTOCOL_VERSION - |
PROTOCOL_VERSION - |
4395 |
|
|
4396 |
version of the LSCP specification the sampler complies with |
version of the LSCP specification the sampler complies with |
4417 |
floating point coefficient, reflecting the current global volume |
floating point coefficient, reflecting the current global volume |
4418 |
attenuation. |
attenuation. |
4419 |
|
|
4420 |
|
|
4421 |
|
|
4422 |
|
|
4423 |
|
Schoenebeck Expires April 8, 2011 [Page 79] |
4424 |
|
|
4425 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4426 |
|
|
4427 |
|
|
4428 |
Note: it is up to the respective sampler engine whether to obey that |
Note: it is up to the respective sampler engine whether to obey that |
4429 |
global volume parameter or not, but in general all engines SHOULD use |
global volume parameter or not, but in general all engines SHOULD use |
4430 |
this parameter. |
this parameter. |
4447 |
|
|
4448 |
on success |
on success |
4449 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 79] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4450 |
"WRN:<warning-code>:<warning-message>" - |
"WRN:<warning-code>:<warning-message>" - |
4451 |
|
|
4452 |
if the global volume was set, but there are noteworthy issue(s) |
if the global volume was set, but there are noteworthy issue(s) |
4473 |
The voice limit setting defines how many voices should maximum be |
The voice limit setting defines how many voices should maximum be |
4474 |
processed by the sampler at the same time. If the user triggers new |
processed by the sampler at the same time. If the user triggers new |
4475 |
notes which would exceed that voice limit, the sampler engine will |
notes which would exceed that voice limit, the sampler engine will |
4476 |
|
|
4477 |
|
|
4478 |
|
|
4479 |
|
Schoenebeck Expires April 8, 2011 [Page 80] |
4480 |
|
|
4481 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4482 |
|
|
4483 |
|
|
4484 |
react by stealing old voices for those newly triggered notes. Note |
react by stealing old voices for those newly triggered notes. Note |
4485 |
that the amount of voices triggered by a new note can be larger than |
that the amount of voices triggered by a new note can be larger than |
4486 |
one and is dependent to the respective instrument and probably |
one and is dependent to the respective instrument and probably |
4503 |
|
|
4504 |
on success |
on success |
4505 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 80] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4506 |
"WRN:<warning-code>:<warning-message>" - |
"WRN:<warning-code>:<warning-message>" - |
4507 |
|
|
4508 |
if the voice limit was set, but there are noteworthy issue(s) |
if the voice limit was set, but there are noteworthy issue(s) |
4527 |
The client can ask for the current global sampler-wide limit for |
The client can ask for the current global sampler-wide limit for |
4528 |
maximum disk streams by sending the following command: |
maximum disk streams by sending the following command: |
4529 |
|
|
4530 |
|
|
4531 |
|
|
4532 |
|
|
4533 |
|
|
4534 |
|
|
4535 |
|
Schoenebeck Expires April 8, 2011 [Page 81] |
4536 |
|
|
4537 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4538 |
|
|
4539 |
|
|
4540 |
GET STREAMS |
GET STREAMS |
4541 |
|
|
4542 |
Possible Answers: |
Possible Answers: |
4561 |
reflecting the new global amount limit of maximum disk streams. This |
reflecting the new global amount limit of maximum disk streams. This |
4562 |
value has to be positive. |
value has to be positive. |
4563 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 81] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4564 |
Possible Answers: |
Possible Answers: |
4565 |
|
|
4566 |
"OK" - |
"OK" - |
4586 |
Caution: when adjusting the disk stream limit, you SHOULD also adjust |
Caution: when adjusting the disk stream limit, you SHOULD also adjust |
4587 |
the voice limit respectively and vice versa. |
the voice limit respectively and vice versa. |
4588 |
|
|
4589 |
|
|
4590 |
|
|
4591 |
|
Schoenebeck Expires April 8, 2011 [Page 82] |
4592 |
|
|
4593 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4594 |
|
|
4595 |
|
|
4596 |
6.7. MIDI Instrument Mapping |
6.7. MIDI Instrument Mapping |
4597 |
|
|
4598 |
The MIDI protocol provides a way to switch between instruments by |
The MIDI protocol provides a way to switch between instruments by |
4616 |
(Section 6.4.24) for how to assign a MIDI instrument map to a sampler |
(Section 6.4.24) for how to assign a MIDI instrument map to a sampler |
4617 |
channel. |
channel. |
4618 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 82] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4619 |
Also note per MIDI specification a bank select message does not cause |
Also note per MIDI specification a bank select message does not cause |
4620 |
to switch to another instrument. Instead when receiving a bank |
to switch to another instrument. Instead when receiving a bank |
4621 |
select message the bank value will be stored and a subsequent program |
select message the bank value will be stored and a subsequent program |
4640 |
|
|
4641 |
"OK[<map>]" - |
"OK[<map>]" - |
4642 |
|
|
4643 |
|
|
4644 |
|
|
4645 |
|
|
4646 |
|
|
4647 |
|
Schoenebeck Expires April 8, 2011 [Page 83] |
4648 |
|
|
4649 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4650 |
|
|
4651 |
|
|
4652 |
in case a new MIDI instrument map could be added, where <map> |
in case a new MIDI instrument map could be added, where <map> |
4653 |
reflects the unique ID of the newly created MIDI instrument map |
reflects the unique ID of the newly created MIDI instrument map |
4654 |
|
|
4671 |
|
|
4672 |
S: "OK[5]" |
S: "OK[5]" |
4673 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 83] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4674 |
6.7.2. Delete one particular or all MIDI instrument maps |
6.7.2. Delete one particular or all MIDI instrument maps |
4675 |
|
|
4676 |
The front-end can delete a particular MIDI instrument map by sending |
The front-end can delete a particular MIDI instrument map by sending |
4698 |
|
|
4699 |
Examples: |
Examples: |
4700 |
|
|
4701 |
|
|
4702 |
|
|
4703 |
|
Schoenebeck Expires April 8, 2011 [Page 84] |
4704 |
|
|
4705 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4706 |
|
|
4707 |
|
|
4708 |
C: "REMOVE MIDI_INSTRUMENT_MAP 0" |
C: "REMOVE MIDI_INSTRUMENT_MAP 0" |
4709 |
|
|
4710 |
S: "OK" |
S: "OK" |
4727 |
|
|
4728 |
Example: |
Example: |
4729 |
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 84] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4730 |
C: "GET MIDI_INSTRUMENT_MAPS" |
C: "GET MIDI_INSTRUMENT_MAPS" |
4731 |
|
|
4732 |
S: "2" |
S: "2" |
4750 |
|
|
4751 |
S: "0,1,5,12" |
S: "0,1,5,12" |
4752 |
|
|
4753 |
|
|
4754 |
|
|
4755 |
|
|
4756 |
|
|
4757 |
|
|
4758 |
|
|
4759 |
|
Schoenebeck Expires April 8, 2011 [Page 85] |
4760 |
|
|
4761 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4762 |
|
|
4763 |
|
|
4764 |
6.7.5. Getting MIDI instrument map information |
6.7.5. Getting MIDI instrument map information |
4765 |
|
|
4766 |
The front-end can ask for the current settings of a MIDI instrument |
The front-end can ask for the current settings of a MIDI instrument |
4786 |
|
|
4787 |
custom name of the given map, which does not have to be |
custom name of the given map, which does not have to be |
4788 |
unique (note that this character string may contain escape |
unique (note that this character string may contain escape |
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 85] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4789 |
sequences (Section 7.1)) |
sequences (Section 7.1)) |
4790 |
|
|
4791 |
DEFAULT - |
DEFAULT - |
4805 |
|
|
4806 |
"." |
"." |
4807 |
|
|
4808 |
|
|
4809 |
|
|
4810 |
|
|
4811 |
|
|
4812 |
|
|
4813 |
|
|
4814 |
|
|
4815 |
|
Schoenebeck Expires April 8, 2011 [Page 86] |
4816 |
|
|
4817 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4818 |
|
|
4819 |
|
|
4820 |
6.7.6. Renaming a MIDI instrument map |
6.7.6. Renaming a MIDI instrument map |
4821 |
|
|
4822 |
The front-end can alter the custom name of a MIDI instrument map by |
The front-end can alter the custom name of a MIDI instrument map by |
4846 |
|
|
4847 |
S: "OK" |
S: "OK" |
4848 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 86] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4849 |
6.7.7. Create or replace a MIDI instrument map entry |
6.7.7. Create or replace a MIDI instrument map entry |
4850 |
|
|
4851 |
The front-end can create a new or replace an existing entry in a |
The front-end can create a new or replace an existing entry in a |
4865 |
supporting escape sequences as described in chapter "Character Set |
supporting escape sequences as described in chapter "Character Set |
4866 |
and Escape Sequences (Section 7.1)"), <instrument_index> the index |
and Escape Sequences (Section 7.1)"), <instrument_index> the index |
4867 |
(integer value) of the instrument within the given file, |
(integer value) of the instrument within the given file, |
4868 |
|
|
4869 |
|
|
4870 |
|
|
4871 |
|
Schoenebeck Expires April 8, 2011 [Page 87] |
4872 |
|
|
4873 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4874 |
|
|
4875 |
|
|
4876 |
<volume_value> reflects the master volume of the instrument as |
<volume_value> reflects the master volume of the instrument as |
4877 |
optionally dotted number (where a value < 1.0 means attenuation and a |
optionally dotted number (where a value < 1.0 means attenuation and a |
4878 |
value > 1.0 means amplification). This parameter easily allows to |
value > 1.0 means amplification). This parameter easily allows to |
4901 |
|
|
4902 |
"PERSISTENT" - |
"PERSISTENT" - |
4903 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 87] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4904 |
The instrument will immediately be loaded into memory when this |
The instrument will immediately be loaded into memory when this |
4905 |
mapping command is sent and the instrument is kept all the |
mapping command is sent and the instrument is kept all the |
4906 |
time. Instruments with this mode are only freed when the |
time. Instruments with this mode are only freed when the |
4921 |
The <instr_load_mode> argument thus allows to define an appropriate |
The <instr_load_mode> argument thus allows to define an appropriate |
4922 |
strategy (low memory consumption vs. fast instrument switching) for |
strategy (low memory consumption vs. fast instrument switching) for |
4923 |
each instrument individually. Note, the following restrictions apply |
each instrument individually. Note, the following restrictions apply |
4924 |
|
|
4925 |
|
|
4926 |
|
|
4927 |
|
Schoenebeck Expires April 8, 2011 [Page 88] |
4928 |
|
|
4929 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4930 |
|
|
4931 |
|
|
4932 |
to this argument: "ON_DEMAND_HOLD" and "PERSISTENT" have to be |
to this argument: "ON_DEMAND_HOLD" and "PERSISTENT" have to be |
4933 |
supported by the respective sampler engine (which is technically the |
supported by the respective sampler engine (which is technically the |
4934 |
case when the engine provides an InstrumentManager for its format). |
case when the engine provides an InstrumentManager for its format). |
4957 |
a very long time. It is recommended however to use the OPTIONAL |
a very long time. It is recommended however to use the OPTIONAL |
4958 |
"NON_MODAL" argument only if really necessary, because it has the |
"NON_MODAL" argument only if really necessary, because it has the |
4959 |
following drawbacks: as "NON_MODAL" instructions return immediately, |
following drawbacks: as "NON_MODAL" instructions return immediately, |
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 88] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
4960 |
they may not necessarily return an error i.e. when the given |
they may not necessarily return an error i.e. when the given |
4961 |
instrument file turns out to be corrupt, beside that subsequent |
instrument file turns out to be corrupt, beside that subsequent |
4962 |
commands in a LSCP instruction sequence might fail, because mandatory |
commands in a LSCP instruction sequence might fail, because mandatory |
4975 |
|
|
4976 |
Examples: |
Examples: |
4977 |
|
|
4978 |
|
|
4979 |
|
|
4980 |
|
|
4981 |
|
|
4982 |
|
|
4983 |
|
Schoenebeck Expires April 8, 2011 [Page 89] |
4984 |
|
|
4985 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
4986 |
|
|
4987 |
|
|
4988 |
C: "MAP MIDI_INSTRUMENT 0 3 0 gig '/usr/share/Steinway D.gig' 0 |
C: "MAP MIDI_INSTRUMENT 0 3 0 gig '/usr/share/Steinway D.gig' 0 |
4989 |
0.8 PERSISTENT" |
0.8 PERSISTENT" |
4990 |
|
|
5015 |
The front-end can query the amount of currently existing entries in a |
The front-end can query the amount of currently existing entries in a |
5016 |
MIDI instrument map by sending the following command: |
MIDI instrument map by sending the following command: |
5017 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 89] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5018 |
GET MIDI_INSTRUMENTS <map> |
GET MIDI_INSTRUMENTS <map> |
5019 |
|
|
5020 |
The front-end can query the amount of currently existing entries in |
The front-end can query the amount of currently existing entries in |
5033 |
|
|
5034 |
S: "234" |
S: "234" |
5035 |
|
|
5036 |
|
|
5037 |
|
|
5038 |
|
|
5039 |
|
Schoenebeck Expires April 8, 2011 [Page 90] |
5040 |
|
|
5041 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5042 |
|
|
5043 |
|
|
5044 |
C: "GET MIDI_INSTRUMENTS ALL" |
C: "GET MIDI_INSTRUMENTS ALL" |
5045 |
|
|
5046 |
S: "954" |
S: "954" |
5071 |
|
|
5072 |
Example: |
Example: |
5073 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 90] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5074 |
C: "LIST MIDI_INSTRUMENTS 0" |
C: "LIST MIDI_INSTRUMENTS 0" |
5075 |
|
|
5076 |
S: "{0,0,0},{0,0,1},{0,0,3},{0,1,4},{1,127,127}" |
S: "{0,0,0},{0,0,1},{0,0,3},{0,1,4},{1,127,127}" |
5089 |
|
|
5090 |
Possible Answers: |
Possible Answers: |
5091 |
|
|
5092 |
|
|
5093 |
|
|
5094 |
|
|
5095 |
|
Schoenebeck Expires April 8, 2011 [Page 91] |
5096 |
|
|
5097 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5098 |
|
|
5099 |
|
|
5100 |
"OK" - |
"OK" - |
5101 |
|
|
5102 |
usually |
usually |
5126 |
|
|
5127 |
Possible Answers: |
Possible Answers: |
5128 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 91] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5129 |
LinuxSampler will answer by sending a <CRLF> separated list. Each |
LinuxSampler will answer by sending a <CRLF> separated list. Each |
5130 |
answer line begins with the information category name followed by |
answer line begins with the information category name followed by |
5131 |
a colon and then a space character <SP> and finally the info |
a colon and then a space character <SP> and finally the info |
5145 |
|
|
5146 |
Name of the engine to be deployed for this instrument. |
Name of the engine to be deployed for this instrument. |
5147 |
|
|
5148 |
|
|
5149 |
|
|
5150 |
|
|
5151 |
|
Schoenebeck Expires April 8, 2011 [Page 92] |
5152 |
|
|
5153 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5154 |
|
|
5155 |
|
|
5156 |
"INSTRUMENT_FILE" - |
"INSTRUMENT_FILE" - |
5157 |
|
|
5158 |
File name of the instrument (note that this path may contain |
File name of the instrument (note that this path may contain |
5180 |
(where a value < 1.0 means attenuation and a value > 1.0 means |
(where a value < 1.0 means attenuation and a value > 1.0 means |
5181 |
amplification) |
amplification) |
5182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 92] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5183 |
The mentioned fields above don't have to be in particular order. |
The mentioned fields above don't have to be in particular order. |
5184 |
|
|
5185 |
Example: |
Example: |
5200 |
|
|
5201 |
"VOLUME: 1.0" |
"VOLUME: 1.0" |
5202 |
|
|
5203 |
|
|
5204 |
|
|
5205 |
|
|
5206 |
|
|
5207 |
|
Schoenebeck Expires April 8, 2011 [Page 93] |
5208 |
|
|
5209 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5210 |
|
|
5211 |
|
|
5212 |
"." |
"." |
5213 |
|
|
5214 |
6.7.12. Clear MIDI instrument map |
6.7.12. Clear MIDI instrument map |
5237 |
|
|
5238 |
Examples: |
Examples: |
5239 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 93] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5240 |
C: "CLEAR MIDI_INSTRUMENTS 0" |
C: "CLEAR MIDI_INSTRUMENTS 0" |
5241 |
|
|
5242 |
S: "OK" |
S: "OK" |
5256 |
name support escape sequences as described in chapter "Character |
name support escape sequences as described in chapter "Character |
5257 |
Set and Escape Sequences (Section 7.1)". |
Set and Escape Sequences (Section 7.1)". |
5258 |
|
|
5259 |
|
|
5260 |
|
|
5261 |
|
|
5262 |
|
|
5263 |
|
Schoenebeck Expires April 8, 2011 [Page 94] |
5264 |
|
|
5265 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5266 |
|
|
5267 |
|
|
5268 |
All occurrences of a forward slash in instrument and directory |
All occurrences of a forward slash in instrument and directory |
5269 |
names are escaped with its hex (\x2f) or octal (\057) escape |
names are escaped with its hex (\x2f) or octal (\057) escape |
5270 |
sequence. |
sequence. |
5293 |
|
|
5294 |
Examples: |
Examples: |
5295 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 94] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5296 |
C: "ADD DB_INSTRUMENT_DIRECTORY '/Piano Collection'" |
C: "ADD DB_INSTRUMENT_DIRECTORY '/Piano Collection'" |
5297 |
|
|
5298 |
S: "OK" |
S: "OK" |
5312 |
|
|
5313 |
"OK" - |
"OK" - |
5314 |
|
|
5315 |
|
|
5316 |
|
|
5317 |
|
|
5318 |
|
|
5319 |
|
Schoenebeck Expires April 8, 2011 [Page 95] |
5320 |
|
|
5321 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5322 |
|
|
5323 |
|
|
5324 |
if the directory is deleted successfully |
if the directory is deleted successfully |
5325 |
|
|
5326 |
"ERR:<error-code>:<error-message>" - |
"ERR:<error-code>:<error-message>" - |
5348 |
|
|
5349 |
Possible Answers: |
Possible Answers: |
5350 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 95] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5351 |
The current number of instrument directories in the specified |
The current number of instrument directories in the specified |
5352 |
directory. |
directory. |
5353 |
|
|
5369 |
LIST DB_INSTRUMENT_DIRECTORIES [RECURSIVE] <dir> |
LIST DB_INSTRUMENT_DIRECTORIES [RECURSIVE] <dir> |
5370 |
|
|
5371 |
Where <dir> should be replaced by the absolute path name of the |
Where <dir> should be replaced by the absolute path name of the |
5372 |
|
|
5373 |
|
|
5374 |
|
|
5375 |
|
Schoenebeck Expires April 8, 2011 [Page 96] |
5376 |
|
|
5377 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5378 |
|
|
5379 |
|
|
5380 |
directory. If RECURSIVE is specified, the absolute path names of all |
directory. If RECURSIVE is specified, the absolute path names of all |
5381 |
directories, including those located in subdirectories of the |
directories, including those located in subdirectories of the |
5382 |
specified directory, will be returned. |
specified directory, will be returned. |
5401 |
S: "'/Piano Collection','/Piano Collection/Acoustic','/Piano |
S: "'/Piano Collection','/Piano Collection/Acoustic','/Piano |
5402 |
Collection/Acoustic/New','/Percussion Collection'" |
Collection/Acoustic/New','/Percussion Collection'" |
5403 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 96] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5404 |
6.8.5. Getting instrument directory information |
6.8.5. Getting instrument directory information |
5405 |
|
|
5406 |
The front-end can ask for the current settings of an instrument |
The front-end can ask for the current settings of an instrument |
5426 |
A brief description of the directory content. Note that the |
A brief description of the directory content. Note that the |
5427 |
character string may contain escape sequences (Section 7.1). |
character string may contain escape sequences (Section 7.1). |
5428 |
|
|
5429 |
|
|
5430 |
|
|
5431 |
|
Schoenebeck Expires April 8, 2011 [Page 97] |
5432 |
|
|
5433 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5434 |
|
|
5435 |
|
|
5436 |
CREATED - |
CREATED - |
5437 |
|
|
5438 |
The creation date and time of the directory, represented in |
The creation date and time of the directory, represented in |
5456 |
|
|
5457 |
"MODIFIED: 2007-04-07 12:50:21" |
"MODIFIED: 2007-04-07 12:50:21" |
5458 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 97] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5459 |
"." |
"." |
5460 |
|
|
5461 |
6.8.6. Renaming an instrument directory |
6.8.6. Renaming an instrument directory |
5481 |
|
|
5482 |
Example: |
Example: |
5483 |
|
|
5484 |
|
|
5485 |
|
|
5486 |
|
|
5487 |
|
Schoenebeck Expires April 8, 2011 [Page 98] |
5488 |
|
|
5489 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5490 |
|
|
5491 |
|
|
5492 |
C: "SET DB_INSTRUMENT_DIRECTORY NAME '/Piano Collection/Acustic' |
C: "SET DB_INSTRUMENT_DIRECTORY NAME '/Piano Collection/Acustic' |
5493 |
'Acoustic'" |
'Acoustic'" |
5494 |
|
|
5510 |
|
|
5511 |
on success |
on success |
5512 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 98] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5513 |
"ERR:<error-code>:<error-message>" - |
"ERR:<error-code>:<error-message>" - |
5514 |
|
|
5515 |
in case a given directory does not exists, or if a directory |
in case a given directory does not exists, or if a directory |
5536 |
|
|
5537 |
Possible Answers: |
Possible Answers: |
5538 |
|
|
5539 |
|
|
5540 |
|
|
5541 |
|
|
5542 |
|
|
5543 |
|
Schoenebeck Expires April 8, 2011 [Page 99] |
5544 |
|
|
5545 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5546 |
|
|
5547 |
|
|
5548 |
"OK" - |
"OK" - |
5549 |
|
|
5550 |
on success |
on success |
5563 |
|
|
5564 |
S: "OK" |
S: "OK" |
5565 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 99] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5566 |
6.8.9. Changing the description of directory |
6.8.9. Changing the description of directory |
5567 |
|
|
5568 |
The front-end can alter the description of a specific instrument |
The front-end can alter the description of a specific instrument |
5592 |
|
|
5593 |
S: "OK" |
S: "OK" |
5594 |
|
|
5595 |
|
|
5596 |
|
|
5597 |
|
|
5598 |
|
|
5599 |
|
Schoenebeck Expires April 8, 2011 [Page 100] |
5600 |
|
|
5601 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5602 |
|
|
5603 |
|
|
5604 |
6.8.10. Finding directories |
6.8.10. Finding directories |
5605 |
|
|
5606 |
The front-end can search for directories in specific directory by |
The front-end can search for directories in specific directory by |
5620 |
|
|
5621 |
Restricts the search to directories, which names satisfy the |
Restricts the search to directories, which names satisfy the |
5622 |
supplied search string (encapsulated into apostrophes, supporting |
supplied search string (encapsulated into apostrophes, supporting |
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 100] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5623 |
escape sequences as described in chapter "Character Set and Escape |
escape sequences as described in chapter "Character Set and Escape |
5624 |
Sequences (Section 7.1)"). |
Sequences (Section 7.1)"). |
5625 |
|
|
5649 |
apostrophes, supporting escape sequences as described in chapter |
apostrophes, supporting escape sequences as described in chapter |
5650 |
"Character Set and Escape Sequences (Section 7.1)"). |
"Character Set and Escape Sequences (Section 7.1)"). |
5651 |
|
|
5652 |
|
|
5653 |
|
|
5654 |
|
|
5655 |
|
Schoenebeck Expires April 8, 2011 [Page 101] |
5656 |
|
|
5657 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5658 |
|
|
5659 |
|
|
5660 |
Where <search-string> is either a regular expression, or a word list |
Where <search-string> is either a regular expression, or a word list |
5661 |
separated with spaces for OR search and with '+' for AND search. |
separated with spaces for OR search and with '+' for AND search. |
5662 |
|
|
5676 |
|
|
5677 |
S: "'/Piano Collection'" |
S: "'/Piano Collection'" |
5678 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 101] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5679 |
C: "FIND DB_INSTRUMENT_DIRECTORIES '/' CREATED='..2007-04-01 09: |
C: "FIND DB_INSTRUMENT_DIRECTORIES '/' CREATED='..2007-04-01 09: |
5680 |
30:13'" |
30:13'" |
5681 |
|
|
5703 |
is provided as <file_path> and specifies how the scanning will be |
is provided as <file_path> and specifies how the scanning will be |
5704 |
done and has exactly the following possibilities: |
done and has exactly the following possibilities: |
5705 |
|
|
5706 |
|
|
5707 |
|
|
5708 |
|
|
5709 |
|
|
5710 |
|
|
5711 |
|
Schoenebeck Expires April 8, 2011 [Page 102] |
5712 |
|
|
5713 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5714 |
|
|
5715 |
|
|
5716 |
"RECURSIVE" - |
"RECURSIVE" - |
5717 |
|
|
5718 |
All instruments will be processed, including those in the |
All instruments will be processed, including those in the |
5734 |
If FILE_AS_DIR argument is supplied, all instruments in an instrument |
If FILE_AS_DIR argument is supplied, all instruments in an instrument |
5735 |
file will be added to a separate directory in the instruments |
file will be added to a separate directory in the instruments |
5736 |
database, which name will be the name of the instrument file with the |
database, which name will be the name of the instrument file with the |
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 102] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5737 |
file extension stripped off. |
file extension stripped off. |
5738 |
|
|
5739 |
The difference between regular and NON_MODAL versions of the command |
The difference between regular and NON_MODAL versions of the command |
5760 |
|
|
5761 |
Examples: |
Examples: |
5762 |
|
|
5763 |
|
|
5764 |
|
|
5765 |
|
|
5766 |
|
|
5767 |
|
Schoenebeck Expires April 8, 2011 [Page 103] |
5768 |
|
|
5769 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5770 |
|
|
5771 |
|
|
5772 |
C: "ADD DB_INSTRUMENTS '/Piano Collection' '/home/me/gigs/PMI |
C: "ADD DB_INSTRUMENTS '/Piano Collection' '/home/me/gigs/PMI |
5773 |
Bosendorfer 290.gig' 0" |
Bosendorfer 290.gig' 0" |
5774 |
|
|
5790 |
|
|
5791 |
if the instrument is removed successfully |
if the instrument is removed successfully |
5792 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 103] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5793 |
"ERR:<error-code>:<error-message>" - |
"ERR:<error-code>:<error-message>" - |
5794 |
|
|
5795 |
if the given path does not exist or is a directory. |
if the given path does not exist or is a directory. |
5816 |
|
|
5817 |
The current number of instruments in the specified directory. |
The current number of instruments in the specified directory. |
5818 |
|
|
5819 |
|
|
5820 |
|
|
5821 |
|
|
5822 |
|
|
5823 |
|
Schoenebeck Expires April 8, 2011 [Page 104] |
5824 |
|
|
5825 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5826 |
|
|
5827 |
|
|
5828 |
"ERR:<error-code>:<error-message>" - |
"ERR:<error-code>:<error-message>" - |
5829 |
|
|
5830 |
if the given directory does not exist. |
if the given directory does not exist. |
5847 |
instruments, including those located in subdirectories of the |
instruments, including those located in subdirectories of the |
5848 |
specified directory, will be returned. |
specified directory, will be returned. |
5849 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 104] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5850 |
Possible Answers: |
Possible Answers: |
5851 |
|
|
5852 |
A comma separated list of all instruments (encapsulated into |
A comma separated list of all instruments (encapsulated into |
5872 |
The front-end can ask for the current settings of an instrument by |
The front-end can ask for the current settings of an instrument by |
5873 |
sending the following command: |
sending the following command: |
5874 |
|
|
5875 |
|
|
5876 |
|
|
5877 |
|
|
5878 |
|
|
5879 |
|
Schoenebeck Expires April 8, 2011 [Page 105] |
5880 |
|
|
5881 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5882 |
|
|
5883 |
|
|
5884 |
GET DB_INSTRUMENT INFO <instr_path> |
GET DB_INSTRUMENT INFO <instr_path> |
5885 |
|
|
5886 |
Where <instr_path> should be replaced by the absolute path name of |
Where <instr_path> should be replaced by the absolute path name of |
5903 |
|
|
5904 |
INSTRUMENT_NR - |
INSTRUMENT_NR - |
5905 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 105] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5906 |
Index of the instrument within the file. |
Index of the instrument within the file. |
5907 |
|
|
5908 |
FORMAT_FAMILY - |
FORMAT_FAMILY - |
5929 |
instrument's database settings, represented in "YYYY-MM-DD |
instrument's database settings, represented in "YYYY-MM-DD |
5930 |
HH:MM:SS" format |
HH:MM:SS" format |
5931 |
|
|
5932 |
|
|
5933 |
|
|
5934 |
|
|
5935 |
|
Schoenebeck Expires April 8, 2011 [Page 106] |
5936 |
|
|
5937 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5938 |
|
|
5939 |
|
|
5940 |
DESCRIPTION - |
DESCRIPTION - |
5941 |
|
|
5942 |
A brief description of the instrument. Note that the |
A brief description of the instrument. Note that the |
5957 |
Lists the artist names. Note that the character string may |
Lists the artist names. Note that the character string may |
5958 |
contain escape sequences (Section 7.1). |
contain escape sequences (Section 7.1). |
5959 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 106] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
5960 |
KEYWORDS - |
KEYWORDS - |
5961 |
|
|
5962 |
Provides a list of keywords that refer to the instrument. |
Provides a list of keywords that refer to the instrument. |
5984 |
|
|
5985 |
"MODIFIED: 2007-04-07 12:50:21" |
"MODIFIED: 2007-04-07 12:50:21" |
5986 |
|
|
5987 |
|
|
5988 |
|
|
5989 |
|
|
5990 |
|
|
5991 |
|
Schoenebeck Expires April 8, 2011 [Page 107] |
5992 |
|
|
5993 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
5994 |
|
|
5995 |
|
|
5996 |
"DESCRIPTION: " |
"DESCRIPTION: " |
5997 |
|
|
5998 |
"IS_DRUM: false" |
"IS_DRUM: false" |
6015 |
Where <instr> is the absolute path name of the instrument and <name> |
Where <instr> is the absolute path name of the instrument and <name> |
6016 |
is the new name for that instrument. |
is the new name for that instrument. |
6017 |
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 107] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6018 |
Possible Answers: |
Possible Answers: |
6019 |
|
|
6020 |
"OK" - |
"OK" - |
6041 |
MOVE DB_INSTRUMENT <instr> <dst> |
MOVE DB_INSTRUMENT <instr> <dst> |
6042 |
|
|
6043 |
Where <instr> is the absolute path name of the instrument to move and |
Where <instr> is the absolute path name of the instrument to move and |
6044 |
|
|
6045 |
|
|
6046 |
|
|
6047 |
|
Schoenebeck Expires April 8, 2011 [Page 108] |
6048 |
|
|
6049 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6050 |
|
|
6051 |
|
|
6052 |
<dst> is the directory where the instrument will be moved to. |
<dst> is the directory where the instrument will be moved to. |
6053 |
|
|
6054 |
Possible Answers: |
Possible Answers: |
6070 |
|
|
6071 |
S: "OK" |
S: "OK" |
6072 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 108] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6073 |
6.8.18. Copying instruments |
6.8.18. Copying instruments |
6074 |
|
|
6075 |
The front-end can copy a specific instrument to another directory by |
The front-end can copy a specific instrument to another directory by |
6097 |
C: "COPY DB_INSTRUMENT '/Piano Collection/Bosendorfer 290' |
C: "COPY DB_INSTRUMENT '/Piano Collection/Bosendorfer 290' |
6098 |
'/Acoustic/Pianos/'" |
'/Acoustic/Pianos/'" |
6099 |
|
|
6100 |
|
|
6101 |
|
|
6102 |
|
|
6103 |
|
Schoenebeck Expires April 8, 2011 [Page 109] |
6104 |
|
|
6105 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6106 |
|
|
6107 |
|
|
6108 |
S: "OK" |
S: "OK" |
6109 |
|
|
6110 |
6.8.19. Changing the description of instrument |
6.8.19. Changing the description of instrument |
6125 |
|
|
6126 |
on success |
on success |
6127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 109] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6128 |
"ERR:<error-code>:<error-message>" - |
"ERR:<error-code>:<error-message>" - |
6129 |
|
|
6130 |
in case the given instrument does not exists. |
in case the given instrument does not exists. |
6152 |
|
|
6153 |
NAME='<search-string>' |
NAME='<search-string>' |
6154 |
|
|
6155 |
|
|
6156 |
|
|
6157 |
|
|
6158 |
|
|
6159 |
|
Schoenebeck Expires April 8, 2011 [Page 110] |
6160 |
|
|
6161 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6162 |
|
|
6163 |
|
|
6164 |
Restricts the search to instruments, which names satisfy the |
Restricts the search to instruments, which names satisfy the |
6165 |
supplied search string (encapsulated into apostrophes, supporting |
supplied search string (encapsulated into apostrophes, supporting |
6166 |
escape sequences as described in chapter "Character Set and Escape |
escape sequences as described in chapter "Character Set and Escape |
6183 |
If <date-before> is omitted, the search is restricted to |
If <date-before> is omitted, the search is restricted to |
6184 |
instruments created after <date-after>. |
instruments created after <date-after>. |
6185 |
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 110] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6186 |
MODIFIED='[<date-after>]..[<date-before>]' |
MODIFIED='[<date-after>]..[<date-before>]' |
6187 |
|
|
6188 |
Restricts the search to instruments, which date of last |
Restricts the search to instruments, which date of last |
6209 |
|
|
6210 |
ARTISTS='<search-string>' |
ARTISTS='<search-string>' |
6211 |
|
|
6212 |
|
|
6213 |
|
|
6214 |
|
|
6215 |
|
Schoenebeck Expires April 8, 2011 [Page 111] |
6216 |
|
|
6217 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6218 |
|
|
6219 |
|
|
6220 |
Restricts the search to instruments with artists info that |
Restricts the search to instruments with artists info that |
6221 |
satisfies the supplied search string (encapsulated into |
satisfies the supplied search string (encapsulated into |
6222 |
apostrophes, supporting escape sequences as described in chapter |
apostrophes, supporting escape sequences as described in chapter |
6240 |
families, where <format-list> is a comma separated list of format |
families, where <format-list> is a comma separated list of format |
6241 |
families. |
families. |
6242 |
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 111] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6243 |
Where <search-string> is either a regular expression, or a word list |
Where <search-string> is either a regular expression, or a word list |
6244 |
separated with spaces for OR search and with '+' for AND search. |
separated with spaces for OR search and with '+' for AND search. |
6245 |
|
|
6266 |
S: "'/Piano Collection/Bosendorfer 290','/Piano Collection/ |
S: "'/Piano Collection/Bosendorfer 290','/Piano Collection/ |
6267 |
Steinway D'" |
Steinway D'" |
6268 |
|
|
6269 |
|
|
6270 |
|
|
6271 |
|
Schoenebeck Expires April 8, 2011 [Page 112] |
6272 |
|
|
6273 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6274 |
|
|
6275 |
|
|
6276 |
6.8.21. Getting job status information |
6.8.21. Getting job status information |
6277 |
|
|
6278 |
The front-end can ask for the current status of a particular database |
The front-end can ask for the current status of a particular database |
6295 |
|
|
6296 |
FILES_TOTAL - |
FILES_TOTAL - |
6297 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 112] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6298 |
The total number of files scheduled for scanning |
The total number of files scheduled for scanning |
6299 |
|
|
6300 |
FILES_SCANNED - |
FILES_SCANNED - |
6320 |
|
|
6321 |
S: "FILES_TOTAL: 12" |
S: "FILES_TOTAL: 12" |
6322 |
|
|
6323 |
|
|
6324 |
|
|
6325 |
|
|
6326 |
|
|
6327 |
|
Schoenebeck Expires April 8, 2011 [Page 113] |
6328 |
|
|
6329 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6330 |
|
|
6331 |
|
|
6332 |
"FILES_SCANNED: 7" |
"FILES_SCANNED: 7" |
6333 |
|
|
6334 |
"SCANNING: /home/me/gigs/Bosendorfer 290.gig" |
"SCANNING: /home/me/gigs/Bosendorfer 290.gig" |
6351 |
|
|
6352 |
on success |
on success |
6353 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 113] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6354 |
"ERR:<error-code>:<error-message>" - |
"ERR:<error-code>:<error-message>" - |
6355 |
|
|
6356 |
If the formatting of the instruments database failed. |
If the formatting of the instruments database failed. |
6375 |
|
|
6376 |
Example: |
Example: |
6377 |
|
|
6378 |
|
|
6379 |
|
|
6380 |
|
|
6381 |
|
|
6382 |
|
|
6383 |
|
Schoenebeck Expires April 8, 2011 [Page 114] |
6384 |
|
|
6385 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6386 |
|
|
6387 |
|
|
6388 |
C: "FIND LOST DB_INSTRUMENT_FILES" |
C: "FIND LOST DB_INSTRUMENT_FILES" |
6389 |
|
|
6390 |
S: "'/gigs/Bosendorfer 290.gig','/gigs/Steinway D.gig','/gigs/Free |
S: "'/gigs/Bosendorfer 290.gig','/gigs/Steinway D.gig','/gigs/Free |
6407 |
|
|
6408 |
on success |
on success |
6409 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 114] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6410 |
"ERR:<error-code>:<error-message>" - |
"ERR:<error-code>:<error-message>" - |
6411 |
|
|
6412 |
in case it failed, providing an appropriate error code and |
in case it failed, providing an appropriate error code and |
6431 |
At the moment there is only one command for this feature set, but |
At the moment there is only one command for this feature set, but |
6432 |
this will most probably change in future. |
this will most probably change in future. |
6433 |
|
|
6434 |
|
|
6435 |
|
|
6436 |
|
|
6437 |
|
|
6438 |
|
|
6439 |
|
Schoenebeck Expires April 8, 2011 [Page 115] |
6440 |
|
|
6441 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6442 |
|
|
6443 |
|
|
6444 |
6.9.1. Opening an appropriate instrument editor application |
6.9.1. Opening an appropriate instrument editor application |
6445 |
|
|
6446 |
The front-end can request to open an appropriate instrument editor |
The front-end can request to open an appropriate instrument editor |
6466 |
Note: consequently instrument editors are always spawned locally on |
Note: consequently instrument editors are always spawned locally on |
6467 |
the same machine where the sampler is running on! |
the same machine where the sampler is running on! |
6468 |
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 115] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6469 |
Possible Answers: |
Possible Answers: |
6470 |
|
|
6471 |
"OK" - |
"OK" - |
6487 |
|
|
6488 |
S: "OK" |
S: "OK" |
6489 |
|
|
6490 |
|
|
6491 |
|
|
6492 |
|
|
6493 |
|
|
6494 |
|
|
6495 |
|
Schoenebeck Expires April 8, 2011 [Page 116] |
6496 |
|
|
6497 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6498 |
|
|
6499 |
|
|
6500 |
6.10. Managing Files |
6.10. Managing Files |
6501 |
|
|
6502 |
You can query detailed informations about files located at the same |
You can query detailed informations about files located at the same |
6524 |
On success, the sampler will answer by returning the amount of |
On success, the sampler will answer by returning the amount of |
6525 |
instruments. |
instruments. |
6526 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 116] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6527 |
"ERR:<error-code>:<error-message>" - |
"ERR:<error-code>:<error-message>" - |
6528 |
|
|
6529 |
if the file could not be handled |
if the file could not be handled |
6545 |
into apostrophes, supporting escape sequences as described in chapter |
into apostrophes, supporting escape sequences as described in chapter |
6546 |
"Character Set and Escape Sequences (Section 7.1)"). |
"Character Set and Escape Sequences (Section 7.1)"). |
6547 |
|
|
6548 |
|
|
6549 |
|
|
6550 |
|
|
6551 |
|
Schoenebeck Expires April 8, 2011 [Page 117] |
6552 |
|
|
6553 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6554 |
|
|
6555 |
|
|
6556 |
The sampler will try to ask all sampler engines, whether they support |
The sampler will try to ask all sampler engines, whether they support |
6557 |
the given file and ask the first engine with a positive answer for a |
the given file and ask the first engine with a positive answer for a |
6558 |
list of IDs for the instruments in the given file. |
list of IDs for the instruments in the given file. |
6578 |
instrument within a given instrument file by sending the following |
instrument within a given instrument file by sending the following |
6579 |
command: |
command: |
6580 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 117] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6581 |
GET FILE INSTRUMENT INFO <filename> <instr-id> |
GET FILE INSTRUMENT INFO <filename> <instr-id> |
6582 |
|
|
6583 |
Where <filename> is the name of the instrument file (encapsulated |
Where <filename> is the name of the instrument file (encapsulated |
6600 |
|
|
6601 |
|
|
6602 |
|
|
6603 |
|
|
6604 |
|
|
6605 |
|
|
6606 |
|
|
6607 |
|
Schoenebeck Expires April 8, 2011 [Page 118] |
6608 |
|
|
6609 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6610 |
|
|
6611 |
|
|
6612 |
NAME - |
NAME - |
6613 |
|
|
6614 |
name of the instrument as stored in the instrument file |
name of the instrument as stored in the instrument file |
6636 |
instrument's key mapping in the range between 0 .. 127, |
instrument's key mapping in the range between 0 .. 127, |
6637 |
reflecting the analog meaning of the MIDI specification. |
reflecting the analog meaning of the MIDI specification. |
6638 |
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 118] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6639 |
KEYSWITCH_BINDINGS - |
KEYSWITCH_BINDINGS - |
6640 |
|
|
6641 |
comma separated list of integer values representing the |
comma separated list of integer values representing the |
6657 |
|
|
6658 |
"PRODUCT: The Backbone Bongo Beats" |
"PRODUCT: The Backbone Bongo Beats" |
6659 |
|
|
6660 |
|
|
6661 |
|
|
6662 |
|
|
6663 |
|
Schoenebeck Expires April 8, 2011 [Page 119] |
6664 |
|
|
6665 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6666 |
|
|
6667 |
|
|
6668 |
"ARTISTS: Jimmy the Fish" |
"ARTISTS: Jimmy the Fish" |
6669 |
|
|
6670 |
"." |
"." |
6692 |
effect instances. The output of the first effect instance in an |
effect instances. The output of the first effect instance in an |
6693 |
effect chain is fed to the input of the second effect instance of the |
effect chain is fed to the input of the second effect instance of the |
6694 |
chain and so on. So effects in one chain are processed sequentially. |
chain and so on. So effects in one chain are processed sequentially. |
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 119] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6695 |
Send effect chains however are processed in parallel to other send |
Send effect chains however are processed in parallel to other send |
6696 |
effect chains. Audio signals of sampler channels are fed to send |
effect chains. Audio signals of sampler channels are fed to send |
6697 |
effects by creating FX sends to the respective sampler channel and |
effects by creating FX sends to the respective sampler channel and |
6698 |
assigning a destination send effect to that FX by using the "SET |
assigning a destination send effect to that FX by using the "SET |
6699 |
FX_SEND SEND_EFFECT" (Section 6.4.32) command. The latter allows to |
FX_SEND EFFECT" (Section 6.4.32) command. The latter allows to route |
6700 |
route the FX send to the beginning of a send effect chain, as well as |
the FX send to the beginning of a send effect chain, as well as |
6701 |
directly to any other position of the send effect chain. |
directly to any other position of the send effect chain. |
6702 |
|
|
6703 |
6.11.1. Retrieve amount of available effects |
6.11.1. Retrieve amount of available effects |
6714 |
|
|
6715 |
Examples: |
Examples: |
6716 |
|
|
6717 |
|
|
6718 |
|
|
6719 |
|
Schoenebeck Expires April 8, 2011 [Page 120] |
6720 |
|
|
6721 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6722 |
|
|
6723 |
|
|
6724 |
C: "GET AVAILABLE_EFFECTS" |
C: "GET AVAILABLE_EFFECTS" |
6725 |
|
|
6726 |
S: "129" |
S: "129" |
6747 |
|
|
6748 |
S: "5,6,7,120,121,122,123,124" |
S: "5,6,7,120,121,122,123,124" |
6749 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 120] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6750 |
6.11.3. Retrieving general information about an effect |
6.11.3. Retrieving general information about an effect |
6751 |
|
|
6752 |
The front-end can ask for general informations about an effect by |
The front-end can ask for general informations about an effect by |
6769 |
|
|
6770 |
SYSTEM - |
SYSTEM - |
6771 |
|
|
6772 |
|
|
6773 |
|
|
6774 |
|
|
6775 |
|
Schoenebeck Expires April 8, 2011 [Page 121] |
6776 |
|
|
6777 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6778 |
|
|
6779 |
|
|
6780 |
name of the effect plugin system the effect is based on |
name of the effect plugin system the effect is based on |
6781 |
(e.g. "LADSPA") |
(e.g. "LADSPA") |
6782 |
|
|
6804 |
|
|
6805 |
Example: |
Example: |
6806 |
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 121] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6807 |
C: "GET EFFECT INFO 121" |
C: "GET EFFECT INFO 121" |
6808 |
|
|
6809 |
S: "SYSTEM: LADSPA" |
S: "SYSTEM: LADSPA" |
6825 |
|
|
6826 |
Where <effect-system> is the "SYSTEM" field, <module> the "MODULE" |
Where <effect-system> is the "SYSTEM" field, <module> the "MODULE" |
6827 |
field and <effect-name> the "NAME" field as returned by the "GET |
field and <effect-name> the "NAME" field as returned by the "GET |
6828 |
|
|
6829 |
|
|
6830 |
|
|
6831 |
|
Schoenebeck Expires April 8, 2011 [Page 122] |
6832 |
|
|
6833 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6834 |
|
|
6835 |
|
|
6836 |
EFFECT INFO" (Section 6.11.3) command. The filename of argument |
EFFECT INFO" (Section 6.11.3) command. The filename of argument |
6837 |
<module> and the character string of argument <effect-name> may |
<module> and the character string of argument <effect-name> may |
6838 |
contain escape sequences (Section 7.1). |
contain escape sequences (Section 7.1). |
6859 |
<effect-instance> is the numerical ID of the new effect |
<effect-instance> is the numerical ID of the new effect |
6860 |
instance |
instance |
6861 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 122] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6862 |
"WRN:<warning-code>:<warning-message>" - |
"WRN:<warning-code>:<warning-message>" - |
6863 |
|
|
6864 |
in case the effect instance was spawned successfully, but there |
in case the effect instance was spawned successfully, but there |
6881 |
The front-end can spawn an instance of the desired effect by sending |
The front-end can spawn an instance of the desired effect by sending |
6882 |
the following command: |
the following command: |
6883 |
|
|
6884 |
|
|
6885 |
|
|
6886 |
|
|
6887 |
|
Schoenebeck Expires April 8, 2011 [Page 123] |
6888 |
|
|
6889 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6890 |
|
|
6891 |
|
|
6892 |
CREATE EFFECT_INSTANCE <effect-index> |
CREATE EFFECT_INSTANCE <effect-index> |
6893 |
|
|
6894 |
Where <effect-index> is the numerical ID of the effect as returned by |
Where <effect-index> is the numerical ID of the effect as returned by |
6914 |
<effect-instance> is the numerical ID of the new effect |
<effect-instance> is the numerical ID of the new effect |
6915 |
instance |
instance |
6916 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 123] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6917 |
"WRN:<warning-code>:<warning-message>" - |
"WRN:<warning-code>:<warning-message>" - |
6918 |
|
|
6919 |
in case the effect instance was spawned successfully, but there |
in case the effect instance was spawned successfully, but there |
6935 |
The front-end can destroy an unusued effect instance and thus freeing |
The front-end can destroy an unusued effect instance and thus freeing |
6936 |
it from memory by sending the following command: |
it from memory by sending the following command: |
6937 |
|
|
6938 |
|
|
6939 |
|
|
6940 |
|
|
6941 |
|
|
6942 |
|
|
6943 |
|
Schoenebeck Expires April 8, 2011 [Page 124] |
6944 |
|
|
6945 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
6946 |
|
|
6947 |
|
|
6948 |
DESTROY EFFECT_INSTANCE <effect-instance> |
DESTROY EFFECT_INSTANCE <effect-instance> |
6949 |
|
|
6950 |
Where <effect-instance> is the numerical ID of the effect instance as |
Where <effect-instance> is the numerical ID of the effect instance as |
6971 |
|
|
6972 |
C: "DESTROY EFFECT_INSTANCE 5" |
C: "DESTROY EFFECT_INSTANCE 5" |
6973 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 124] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
6974 |
S: "OK" |
S: "OK" |
6975 |
|
|
6976 |
6.11.7. Retrieve amount of effect instances |
6.11.7. Retrieve amount of effect instances |
6992 |
|
|
6993 |
S: "14" |
S: "14" |
6994 |
|
|
6995 |
|
|
6996 |
|
|
6997 |
|
|
6998 |
|
|
6999 |
|
Schoenebeck Expires April 8, 2011 [Page 125] |
7000 |
|
|
7001 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
7002 |
|
|
7003 |
|
|
7004 |
6.11.8. Get list of effect instances |
6.11.8. Get list of effect instances |
7005 |
|
|
7006 |
The front-end can retrieve the current list of effect instances by |
The front-end can retrieve the current list of effect instances by |
7028 |
|
|
7029 |
Where <effect-instance> is the numerical ID of an effect instance as |
Where <effect-instance> is the numerical ID of an effect instance as |
7030 |
returned by the "CREATE EFFECT_INSTANCE" (Section 6.11.4) or "LIST |
returned by the "CREATE EFFECT_INSTANCE" (Section 6.11.4) or "LIST |
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 125] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
7031 |
EFFECT_INSTANCES" (Section 6.11.8) command. |
EFFECT_INSTANCES" (Section 6.11.8) command. |
7032 |
|
|
7033 |
Possible Answers: |
Possible Answers: |
7049 |
|
|
7050 |
module of the effect plugin system that contains this |
module of the effect plugin system that contains this |
7051 |
effect, the module is usually the dynamic-linked library |
effect, the module is usually the dynamic-linked library |
7052 |
|
|
7053 |
|
|
7054 |
|
|
7055 |
|
Schoenebeck Expires April 8, 2011 [Page 126] |
7056 |
|
|
7057 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
7058 |
|
|
7059 |
|
|
7060 |
(DLL) filename of the effect plugin, including full path |
(DLL) filename of the effect plugin, including full path |
7061 |
(note that this filename may contain escape sequences |
(note that this filename may contain escape sequences |
7062 |
(Section 7.1)) |
(Section 7.1)) |
7082 |
|
|
7083 |
Example: |
Example: |
7084 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 126] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
7085 |
C: "GET EFFECT_INSTANCE INFO 3" |
C: "GET EFFECT_INSTANCE INFO 3" |
7086 |
|
|
7087 |
S: "SYSTEM: LADSPA" |
S: "SYSTEM: LADSPA" |
7105 |
front-end can ask for the current informations of an effect |
front-end can ask for the current informations of an effect |
7106 |
instance's input control by sending the following command: |
instance's input control by sending the following command: |
7107 |
|
|
7108 |
|
|
7109 |
|
|
7110 |
|
|
7111 |
|
Schoenebeck Expires April 8, 2011 [Page 127] |
7112 |
|
|
7113 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
7114 |
|
|
7115 |
|
|
7116 |
GET EFFECT_INSTANCE_INPUT_CONTROL INFO <effect-instance> <input- |
GET EFFECT_INSTANCE_INPUT_CONTROL INFO <effect-instance> <input- |
7117 |
control> |
control> |
7118 |
|
|
7138 |
|
|
7139 |
DESCRIPTION - |
DESCRIPTION - |
7140 |
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 127] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
7141 |
(always returned) human readable name of the effect |
(always returned) human readable name of the effect |
7142 |
parameter, intended to be displayed in user interfaces (note |
parameter, intended to be displayed in user interfaces (note |
7143 |
that the character string may contain escape sequences |
that the character string may contain escape sequences |
7160 |
|
|
7161 |
POSSIBILITIES - |
POSSIBILITIES - |
7162 |
|
|
7163 |
|
|
7164 |
|
|
7165 |
|
|
7166 |
|
|
7167 |
|
Schoenebeck Expires April 8, 2011 [Page 128] |
7168 |
|
|
7169 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
7170 |
|
|
7171 |
|
|
7172 |
(optionally returned) comma separated list of (optional |
(optionally returned) comma separated list of (optional |
7173 |
dotted) floating point numbers, reflecting the exact set of |
dotted) floating point numbers, reflecting the exact set of |
7174 |
possible values for this effect parameter |
possible values for this effect parameter |
7193 |
|
|
7194 |
"." |
"." |
7195 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 128] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
7196 |
6.11.11. Altering an effect parameter |
6.11.11. Altering an effect parameter |
7197 |
|
|
7198 |
The front-end can alter the current value of an effect parameter by |
The front-end can alter the current value of an effect parameter by |
7215 |
|
|
7216 |
in case the effect was altered successfully |
in case the effect was altered successfully |
7217 |
|
|
7218 |
|
|
7219 |
|
|
7220 |
|
|
7221 |
|
|
7222 |
|
|
7223 |
|
Schoenebeck Expires April 8, 2011 [Page 129] |
7224 |
|
|
7225 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
7226 |
|
|
7227 |
|
|
7228 |
"ERR:<error-code>:<error-message>" - |
"ERR:<error-code>:<error-message>" - |
7229 |
|
|
7230 |
in case it failed, providing an appropriate error code and |
in case it failed, providing an appropriate error code and |
7250 |
|
|
7251 |
Possible Answers: |
Possible Answers: |
7252 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 129] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
7253 |
The sampler will answer by returning the current number of send |
The sampler will answer by returning the current number of send |
7254 |
effect chains of the supplied audio output device. |
effect chains of the supplied audio output device. |
7255 |
|
|
7273 |
|
|
7274 |
Possible Answers: |
Possible Answers: |
7275 |
|
|
7276 |
|
|
7277 |
|
|
7278 |
|
|
7279 |
|
Schoenebeck Expires April 8, 2011 [Page 130] |
7280 |
|
|
7281 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
7282 |
|
|
7283 |
|
|
7284 |
The sampler will answer by returning a comma separated list with |
The sampler will answer by returning a comma separated list with |
7285 |
numerical IDs of send effect chains of the supplied audio output |
numerical IDs of send effect chains of the supplied audio output |
7286 |
device. |
device. |
7305 |
|
|
7306 |
Possible Answers: |
Possible Answers: |
7307 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 130] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
7308 |
"OK[<effect-chain>]" - |
"OK[<effect-chain>]" - |
7309 |
|
|
7310 |
in case the send effect chain was added successfully, where |
in case the send effect chain was added successfully, where |
7329 |
|
|
7330 |
Where <audio-device> should be replaced by the numerical ID of the |
Where <audio-device> should be replaced by the numerical ID of the |
7331 |
audio output device as given by the "CREATE AUDIO_OUTPUT_DEVICE" |
audio output device as given by the "CREATE AUDIO_OUTPUT_DEVICE" |
7332 |
|
|
7333 |
|
|
7334 |
|
|
7335 |
|
Schoenebeck Expires April 8, 2011 [Page 131] |
7336 |
|
|
7337 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
7338 |
|
|
7339 |
|
|
7340 |
(Section 6.2.5) or "LIST AUDIO_OUTPUT_DEVICES" (Section 6.2.8) |
(Section 6.2.5) or "LIST AUDIO_OUTPUT_DEVICES" (Section 6.2.8) |
7341 |
command and <effect-chain> by the numerical ID as returned by the |
command and <effect-chain> by the numerical ID as returned by the |
7342 |
"ADD SEND_EFFECT_CHAIN" (Section 6.11.14) or "LIST |
"ADD SEND_EFFECT_CHAIN" (Section 6.11.14) or "LIST |
7358 |
|
|
7359 |
S: "OK" |
S: "OK" |
7360 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 131] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
7361 |
6.11.16. Retrieving information about a send effect chain |
6.11.16. Retrieving information about a send effect chain |
7362 |
|
|
7363 |
The front-end can ask for informations of a send effect chain by |
The front-end can ask for informations of a send effect chain by |
7384 |
|
|
7385 |
EFFECT_COUNT - |
EFFECT_COUNT - |
7386 |
|
|
7387 |
|
|
7388 |
|
|
7389 |
|
|
7390 |
|
|
7391 |
|
Schoenebeck Expires April 8, 2011 [Page 132] |
7392 |
|
|
7393 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
7394 |
|
|
7395 |
|
|
7396 |
amount of effects in this send effect chain |
amount of effects in this send effect chain |
7397 |
|
|
7398 |
EFFECT_SEQUENCE - |
EFFECT_SEQUENCE - |
7413 |
|
|
7414 |
"." |
"." |
7415 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 132] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
7416 |
6.11.17. Append effect instance to a send effect chain |
6.11.17. Append effect instance to a send effect chain |
7417 |
|
|
7418 |
The front-end can add an unused effect instance to the end of a send |
The front-end can add an unused effect instance to the end of a send |
7440 |
|
|
7441 |
in case the effect instance was added successfully to the chain |
in case the effect instance was added successfully to the chain |
7442 |
|
|
7443 |
|
|
7444 |
|
|
7445 |
|
|
7446 |
|
|
7447 |
|
Schoenebeck Expires April 8, 2011 [Page 133] |
7448 |
|
|
7449 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
7450 |
|
|
7451 |
|
|
7452 |
"ERR:<error-code>:<error-message>" - |
"ERR:<error-code>:<error-message>" - |
7453 |
|
|
7454 |
if the effect instance could not be added |
if the effect instance could not be added |
7470 |
Where <audio-device> should be replaced by the numerical ID of the |
Where <audio-device> should be replaced by the numerical ID of the |
7471 |
audio output device as given by the "CREATE AUDIO_OUTPUT_DEVICE" |
audio output device as given by the "CREATE AUDIO_OUTPUT_DEVICE" |
7472 |
(Section 6.2.5) or "LIST AUDIO_OUTPUT_DEVICES" (Section 6.2.8) |
(Section 6.2.5) or "LIST AUDIO_OUTPUT_DEVICES" (Section 6.2.8) |
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 133] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
7473 |
command, <effect-chain> by the numerical ID as returned by the "ADD |
command, <effect-chain> by the numerical ID as returned by the "ADD |
7474 |
SEND_EFFECT_CHAIN" (Section 6.11.14) or "LIST SEND_EFFECT_CHAINS" |
SEND_EFFECT_CHAIN" (Section 6.11.14) or "LIST SEND_EFFECT_CHAINS" |
7475 |
(Section 6.11.13) command, <effect-instance> as returned by the |
(Section 6.11.13) command, <effect-instance> as returned by the |
7497 |
|
|
7498 |
S: "OK" |
S: "OK" |
7499 |
|
|
7500 |
|
|
7501 |
|
|
7502 |
|
|
7503 |
|
Schoenebeck Expires April 8, 2011 [Page 134] |
7504 |
|
|
7505 |
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
7506 |
|
|
7507 |
|
|
7508 |
6.11.19. Remove effect instance from send effect chain |
6.11.19. Remove effect instance from send effect chain |
7509 |
|
|
7510 |
The front-end can remove an effect instance from a certain position |
The front-end can remove an effect instance from a certain position |
7525 |
|
|
7526 |
"OK" - |
"OK" - |
7527 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schoenebeck Expires April 8, 2011 [Page 134] |
|
|
|
|
|
Internet-Draft LinuxSampler Control Protocol October 2010 |
|
|
|
|
|
|
|
7528 |
in case the effect instance was removed successfully |
in case the effect instance was removed successfully |
7529 |
|
|
7530 |
"ERR:<error-code>:<error-message>" - |
"ERR:<error-code>:<error-message>" - |
7556 |
|
|
7557 |
|
|
7558 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7559 |
Schoenebeck Expires April 8, 2011 [Page 135] |
Schoenebeck Expires April 8, 2011 [Page 135] |
7560 |
|
|
7561 |
Internet-Draft LinuxSampler Control Protocol October 2010 |
Internet-Draft LinuxSampler Control Protocol October 2010 |
7858 |
/ SEND_EFFECT_CHAIN SP EFFECT SP device_index SP effect_chain SP |
/ SEND_EFFECT_CHAIN SP EFFECT SP device_index SP effect_chain SP |
7859 |
chain_pos |
chain_pos |
7860 |
|
|
7861 |
/ FX_SEND SP SEND_EFFECT SP sampler_channel SP fx_send_id |
/ FX_SEND SP EFFECT SP sampler_channel SP fx_send_id |
7862 |
|
|
7863 |
/ DB_INSTRUMENT_DIRECTORY SP FORCE SP db_path |
/ DB_INSTRUMENT_DIRECTORY SP FORCE SP db_path |
7864 |
|
|
8038 |
/ FX_SEND SP LEVEL SP sampler_channel SP fx_send_id SP |
/ FX_SEND SP LEVEL SP sampler_channel SP fx_send_id SP |
8039 |
volume_value |
volume_value |
8040 |
|
|
8041 |
/ FX_SEND SP SEND_EFFECT SP sampler_channel SP fx_send_id SP |
/ FX_SEND SP EFFECT SP sampler_channel SP fx_send_id SP |
8042 |
effect_chain SP chain_pos |
effect_chain SP chain_pos |
8043 |
|
|
8044 |
/ DB_INSTRUMENT_DIRECTORY SP NAME SP db_path SP stringval_escaped |
/ DB_INSTRUMENT_DIRECTORY SP NAME SP db_path SP stringval_escaped |