125 |
@ref lscp_set_channel_midi_type (client, channel, midi_type); |
@ref lscp_set_channel_midi_type (client, channel, midi_type); |
126 |
@ref lscp_set_channel_midi_port (client, channel, midi_port); |
@ref lscp_set_channel_midi_port (client, channel, midi_port); |
127 |
@ref lscp_set_channel_midi_channel (client, channel, midi_channel); |
@ref lscp_set_channel_midi_channel (client, channel, midi_channel); |
128 |
|
@ref lscp_set_channel_midi_map (client, channel, midi_map); |
129 |
|
@ref lscp_set_channel_mute (client, channel, mute); |
130 |
|
@ref lscp_set_channel_solo (client, channel, solo); |
131 |
@ref lscp_set_channel_volume (client, channel, volume); |
@ref lscp_set_channel_volume (client, channel, volume); |
132 |
@ref lscp_load_instrument (client, file_name, instr_index, channel); |
@ref lscp_load_instrument (client, file_name, instr_index, channel); |
133 |
@ref lscp_load_instrument_non_modal (client, file_name, instr_index, channel); |
@ref lscp_load_instrument_non_modal (client, file_name, instr_index, channel); |
139 |
@ref lscp_remove_channel (client, channel); |
@ref lscp_remove_channel (client, channel); |
140 |
@ref lscp_reset_sampler (client); |
@ref lscp_reset_sampler (client); |
141 |
@ref lscp_get_server_info (client); |
@ref lscp_get_server_info (client); |
142 |
|
@ref lscp_get_server_info (client); |
143 |
|
@ref lscp_get_total_voice_count (client); |
144 |
|
@ref lscp_get_total_voice_count_max (client); |
145 |
|
@ref lscp_get_volume (client); |
146 |
|
@ref lscp_set_volume (client); |
147 |
|
|
148 |
|
</pre>Specific for sampler channel effect sends control:<pre> |
149 |
|
|
150 |
|
@ref lscp_create_fxsend (client, channel, midi_controller, name); |
151 |
|
@ref lscp_destroy_fxsend (client, channel, fxsend); |
152 |
|
@ref lscp_get_fxsends (client, channel); |
153 |
|
@ref lscp_list_fxsends (client, channel); |
154 |
|
@ref lscp_get_fxsend_info (client, channel, fxsend); |
155 |
|
@ref lscp_set_fxsend_name (client, channel, fxsend, name); |
156 |
|
@ref lscp_set_fxsend_midi_controller (client, channel, fxsend, midi_controller); |
157 |
|
@ref lscp_set_fxsend_audio_channel (client, channel, fxsend, audio_src, audio_dst); |
158 |
|
@ref lscp_set_fxsend_level (client, channel, fxsend, level); |
159 |
|
|
160 |
|
</pre>Specific to MIDI instrument mapping interface:<pre> |
161 |
|
|
162 |
|
@ref lscp_add_midi_instrument_map (client, map_name); |
163 |
|
@ref lscp_remove_midi_instrument_map (client, midi_map); |
164 |
|
@ref lscp_get_midi_instrument_maps (client); |
165 |
|
@ref lscp_list_midi_instrument_maps (client); |
166 |
|
@ref lscp_get_midi_instrument_map_name (client, midi_map); |
167 |
|
@ref lscp_set_midi_instrument_map_name (client, midi_map, map_name); |
168 |
|
@ref lscp_map_midi_instrument (client, midi_instr, engine_name, file_name, instr_index, volume, load_mode, name); |
169 |
|
@ref lscp_unmap_midi_instrument (client, midi_instr); |
170 |
|
@ref lscp_get_midi_instruments (client, midi_map); |
171 |
|
@ref lscp_list_midi_instruments (client, midi_map); |
172 |
|
@ref lscp_get_midi_instrument_info (client, midi_instr); |
173 |
|
@ref lscp_clear_midi_instruments (client, midi_map); |
174 |
|
|
175 |
</pre>For the audio output and MIDI input device configuration interface, |
</pre>For the audio output and MIDI input device configuration interface, |
176 |
the following functions are respectively defined in <lscp/@ref:device.h>:<pre> |
the following functions are respectively defined in <lscp/@ref:device.h>:<pre> |
203 |
@ref lscp_get_midi_port_param_info (client, midi_device, midi_port, param); |
@ref lscp_get_midi_port_param_info (client, midi_device, midi_port, param); |
204 |
@ref lscp_set_midi_port_param (client, midi_device, midi_port, param); |
@ref lscp_set_midi_port_param (client, midi_device, midi_port, param); |
205 |
|
|
206 |
|
</pre>For editing instruments while playing them with the sampler:<pre> |
207 |
|
|
208 |
|
@ref lscp_edit_channel_instrument (client, channel); |
209 |
|
|
210 |
</pre>Most of these functions are wrappers to @ref lscp_client_query, and some will handle |
</pre>Most of these functions are wrappers to @ref lscp_client_query, and some will handle |
211 |
and change the result string accordingly. |
and change the result string accordingly. |
212 |
|
|
271 |
|
|
272 |
Nuff said. If you care or dare, track the revolving under: |
Nuff said. If you care or dare, track the revolving under: |
273 |
|
|
274 |
- http://www.rncbc.org/ls/ |
- https://www.rncbc.org/snapshots/#liblscp |
275 |
|
- https://www.rncbc.org/archive/#liblscp |
276 |
|
|
277 |
Please note that the code is known to compile and run on Linux AND on |
Please note that the code is known to compile and run on Linux AND on |
278 |
win32 (!). On Linux the main target is a shared library (liblscp.so) so |
win32 (!). On Linux the main target is a shared library (liblscp.so) so |
279 |
remember to set your LS_LIBRARY_PATH accordingly before running the test |
remember to set your LD_LIBRARY_PATH accordingly before running the test |
280 |
programs. |
programs. |
281 |
|
|
282 |
A final disclaimer goes to the fact that I AM NOT a socket nor thread |
A final disclaimer goes to the fact that I AM NOT a socket nor thread |
283 |
programming guru, whatsoever. So fundamental mistakes may be lying around, |
programming guru, whatsoever. So fundamental mistakes may be laying around, |
284 |
somewhere. Besides that ItJustWorks(tm:). |
somewhere. Besides that ItJustWorks(tm:). |
285 |
|
|
286 |
I'm eager to hear your feedback and comments. As usual, destructive |
I'm eager to hear your feedback and comments. As usual, destructive |
293 |
Cheers. |
Cheers. |
294 |
|
|
295 |
rncbc aka Rui Nuno Capela |
rncbc aka Rui Nuno Capela |
296 |
rncbc@rncbc.org |
rncbc at rncbc.org |
297 |
|
|
298 |
@see http://www.linuxsampler.org |
@see https://www.linuxsampler.org |
299 |
|
|
300 |
*/ |
*/ |