34 |
<email>schoenebeck at software minus engineering dot org</email> |
<email>schoenebeck at software minus engineering dot org</email> |
35 |
</address> |
</address> |
36 |
</author> |
</author> |
37 |
<date month="September" year="2008"/> |
<date month="December" year="2008"/> |
38 |
<workgroup>LinuxSampler Developers</workgroup> |
<workgroup>LinuxSampler Developers</workgroup> |
39 |
<keyword>LSCP</keyword> |
<keyword>LSCP</keyword> |
40 |
<abstract> |
<abstract> |
4142 |
</list> |
</list> |
4143 |
</t> |
</t> |
4144 |
</section> |
</section> |
4145 |
|
|
4146 |
|
<section title="Getting global voice limit" anchor="GET VOICES"> |
4147 |
|
<t>The client can ask for the current global sampler-wide limit |
4148 |
|
for maximum voices by sending the following command:</t> |
4149 |
|
<t> |
4150 |
|
<list> |
4151 |
|
<t>GET VOICES</t> |
4152 |
|
</list> |
4153 |
|
</t> |
4154 |
|
<t>Possible Answers:</t> |
4155 |
|
<t> |
4156 |
|
<list> |
4157 |
|
<t>LinuxSampler will answer by returning the number for |
4158 |
|
the current limit of maximum voices.</t> |
4159 |
|
</list> |
4160 |
|
</t> |
4161 |
|
|
4162 |
|
<t>The voice limit setting defines how many voices should maximum |
4163 |
|
be processed by the sampler at the same time. If the user |
4164 |
|
triggers new notes which would exceed that voice limit, the |
4165 |
|
sampler engine will react by stealing old voices for those |
4166 |
|
newly triggered notes. Note that the amount of voices triggered |
4167 |
|
by a new note can be larger than one and is dependent to the |
4168 |
|
respective instrument and probably further criterias.</t> |
4169 |
|
</section> |
4170 |
|
|
4171 |
|
<section title="Setting global voice limit" anchor="SET VOICES"> |
4172 |
|
<t>The client can alter the current global sampler-wide limit |
4173 |
|
for maximum voices by sending the following command:</t> |
4174 |
|
<t> |
4175 |
|
<list> |
4176 |
|
<t>SET VOICES <max-voices></t> |
4177 |
|
</list> |
4178 |
|
</t> |
4179 |
|
<t>Where <max-voices> should be replaced by the integer |
4180 |
|
value, reflecting the new global amount limit of maximum voices. |
4181 |
|
This value has to be larger than 0.</t> |
4182 |
|
|
4183 |
|
<t>Possible Answers:</t> |
4184 |
|
<t> |
4185 |
|
<list> |
4186 |
|
<t>"OK" - |
4187 |
|
<list> |
4188 |
|
<t>on success</t> |
4189 |
|
</list> |
4190 |
|
</t> |
4191 |
|
<t>"WRN:<warning-code>:<warning-message>" - |
4192 |
|
<list> |
4193 |
|
<t>if the voice limit was set, but there are noteworthy |
4194 |
|
issue(s) related, providing an appropriate warning code and |
4195 |
|
warning message</t> |
4196 |
|
</list> |
4197 |
|
</t> |
4198 |
|
<t>"ERR:<error-code>:<error-message>" - |
4199 |
|
<list> |
4200 |
|
<t>in case it failed, providing an appropriate error code and error message</t> |
4201 |
|
</list> |
4202 |
|
</t> |
4203 |
|
</list> |
4204 |
|
</t> |
4205 |
|
|
4206 |
|
<t>Note: the given value will be passed to all sampler engine instances. |
4207 |
|
The total amount of maximum voices on the running system might thus |
4208 |
|
be as big as the given value multiplied by the current amount of engine |
4209 |
|
instances.</t> |
4210 |
|
|
4211 |
|
<t>Caution: when adjusting the voice limit, you SHOULD also |
4212 |
|
adjust the disk stream limit respectively and vice versa.</t> |
4213 |
|
</section> |
4214 |
|
|
4215 |
|
<section title="Getting global disk stream limit" anchor="GET STREAMS"> |
4216 |
|
<t>The client can ask for the current global sampler-wide limit |
4217 |
|
for maximum disk streams by sending the following command:</t> |
4218 |
|
<t> |
4219 |
|
<list> |
4220 |
|
<t>GET STREAMS</t> |
4221 |
|
</list> |
4222 |
|
</t> |
4223 |
|
<t>Possible Answers:</t> |
4224 |
|
<t> |
4225 |
|
<list> |
4226 |
|
<t>LinuxSampler will answer by returning the number for |
4227 |
|
the current limit of maximum disk streams.</t> |
4228 |
|
</list> |
4229 |
|
</t> |
4230 |
|
|
4231 |
|
<t>The disk stream limit setting defines how many disk streams should |
4232 |
|
maximum be processed by a sampler engine at the same time. The |
4233 |
|
higher this value, the more memory (RAM) will be occupied, since |
4234 |
|
every disk streams allocates a certain buffer size for being able |
4235 |
|
to perform its streaming operations.</t> |
4236 |
|
</section> |
4237 |
|
|
4238 |
|
<section title="Setting global disk stream limit" anchor="SET STREAMS"> |
4239 |
|
<t>The client can alter the current global sampler-wide limit |
4240 |
|
for maximum disk streams by sending the following command:</t> |
4241 |
|
<t> |
4242 |
|
<list> |
4243 |
|
<t>SET STREAMS <max-streams></t> |
4244 |
|
</list> |
4245 |
|
</t> |
4246 |
|
<t>Where <max-streams> should be replaced by the integer |
4247 |
|
value, reflecting the new global amount limit of maximum disk streams. |
4248 |
|
This value has to be positive.</t> |
4249 |
|
|
4250 |
|
<t>Possible Answers:</t> |
4251 |
|
<t> |
4252 |
|
<list> |
4253 |
|
<t>"OK" - |
4254 |
|
<list> |
4255 |
|
<t>on success</t> |
4256 |
|
</list> |
4257 |
|
</t> |
4258 |
|
<t>"WRN:<warning-code>:<warning-message>" - |
4259 |
|
<list> |
4260 |
|
<t>if the disk stream limit was set, but there are noteworthy |
4261 |
|
issue(s) related, providing an appropriate warning code and |
4262 |
|
warning message</t> |
4263 |
|
</list> |
4264 |
|
</t> |
4265 |
|
<t>"ERR:<error-code>:<error-message>" - |
4266 |
|
<list> |
4267 |
|
<t>in case it failed, providing an appropriate error code and error message</t> |
4268 |
|
</list> |
4269 |
|
</t> |
4270 |
|
</list> |
4271 |
|
</t> |
4272 |
|
|
4273 |
|
<t>Note: the given value will be passed to all sampler engine instances. |
4274 |
|
The total amount of maximum disk streams on the running system might |
4275 |
|
thus be as big as the given value multiplied by the current amount of |
4276 |
|
engine instances.</t> |
4277 |
|
|
4278 |
|
<t>Caution: when adjusting the disk stream limit, you SHOULD also |
4279 |
|
adjust the voice limit respectively and vice versa.</t> |
4280 |
|
</section> |
4281 |
|
|
4282 |
</section> |
</section> |
4283 |
|
|
4284 |
|
|
6895 |
</t> |
</t> |
6896 |
<t>/ VOLUME |
<t>/ VOLUME |
6897 |
</t> |
</t> |
6898 |
|
<t>/ VOICES |
6899 |
|
</t> |
6900 |
|
<t>/ STREAMS |
6901 |
|
</t> |
6902 |
<t>/ FILE SP INSTRUMENTS SP filename |
<t>/ FILE SP INSTRUMENTS SP filename |
6903 |
</t> |
</t> |
6904 |
<t>/ FILE SP INSTRUMENT SP INFO SP filename SP instrument_index |
<t>/ FILE SP INSTRUMENT SP INFO SP filename SP instrument_index |
6943 |
</t> |
</t> |
6944 |
<t>/ VOLUME SP volume_value |
<t>/ VOLUME SP volume_value |
6945 |
</t> |
</t> |
6946 |
|
<t>/ VOICES SP number |
6947 |
|
</t> |
6948 |
|
<t>/ STREAMS SP number |
6949 |
|
</t> |
6950 |
</list> |
</list> |
6951 |
</t> |
</t> |
6952 |
<t>create_instruction = |
<t>create_instruction = |
7853 |
replaced by the optional dotted floating point value, reflecting the |
replaced by the optional dotted floating point value, reflecting the |
7854 |
new global volume parameter.</t> |
new global volume parameter.</t> |
7855 |
</list> |
</list> |
7856 |
|
<list> |
7857 |
|
<t>"NOTIFY:GLOBAL_INFO:VOICES <max-voices>" - Notifies that the |
7858 |
|
golbal limit of the sampler for maximum voices is changed, where |
7859 |
|
<max-voices> will be an integer value, reflecting the |
7860 |
|
new global voice limit parameter.</t> |
7861 |
|
</list> |
7862 |
|
<list> |
7863 |
|
<t>"NOTIFY:GLOBAL_INFO:STREAMS <max-streams>" - Notifies that the |
7864 |
|
golbal limit of the sampler for maximum disk streams is changed, where |
7865 |
|
<max-streams> will be an integer value, reflecting the |
7866 |
|
new global disk streams limit parameter.</t> |
7867 |
|
</list> |
7868 |
</t> |
</t> |
7869 |
</section> |
</section> |
7870 |
|
|