10 |
On the path to a GUI for linuxsampler, I've been taking some of my spare |
On the path to a GUI for linuxsampler, I've been taking some of my spare |
11 |
time by writing an early implementation for the LSCP (the LinuxSampler |
time by writing an early implementation for the LSCP (the LinuxSampler |
12 |
Control Protocol), as defined from the current available draft document |
Control Protocol), as defined from the current available draft document |
13 |
(http://www.linuxsampler.org/api/draft-linuxsampler-protocol-11.html). |
(http://www.linuxsampler.org/api/draft-linuxsampler-protocol.html). |
14 |
|
|
15 |
My implementation, while still rather crude, is taking the form of a |
My implementation, while still rather crude, is taking the form of a |
16 |
programming library for plain conventional C, codenamed liblscp. |
programming library for plain conventional C, codenamed liblscp. |
112 |
LSCP comand, and regarding the sampler channel space:<pre> |
LSCP comand, and regarding the sampler channel space:<pre> |
113 |
|
|
114 |
@ref lscp_get_available_engines (client); |
@ref lscp_get_available_engines (client); |
115 |
|
@ref lscp_list_available_engines (client); |
116 |
@ref lscp_get_engine_info (client, engine_name); |
@ref lscp_get_engine_info (client, engine_name); |
117 |
@ref lscp_get_channels (client); |
@ref lscp_get_channels (client); |
118 |
|
@ref lscp_list_channels (client); |
119 |
@ref lscp_add_channel (client); |
@ref lscp_add_channel (client); |
120 |
@ref lscp_load_engine (client, engine_name, channel); |
@ref lscp_load_engine (client, engine_name, channel); |
121 |
@ref lscp_set_channel_audio_device (client, channel, audio_device); |
@ref lscp_set_channel_audio_device (client, channel, audio_device); |
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_mute (client, channel, mute); |
129 |
|
@ref lscp_set_channel_solo (client, channel, solo); |
130 |
@ref lscp_set_channel_volume (client, channel, volume); |
@ref lscp_set_channel_volume (client, channel, volume); |
131 |
@ref lscp_load_instrument (client, file_name, instr_index, channel); |
@ref lscp_load_instrument (client, file_name, instr_index, channel); |
132 |
@ref lscp_load_instrument_non_modal (client, file_name, instr_index, channel); |
@ref lscp_load_instrument_non_modal (client, file_name, instr_index, channel); |
136 |
@ref lscp_get_channel_buffer_fill (client, usage_type, channel); |
@ref lscp_get_channel_buffer_fill (client, usage_type, channel); |
137 |
@ref lscp_reset_channel (client, channel); |
@ref lscp_reset_channel (client, channel); |
138 |
@ref lscp_remove_channel (client, channel); |
@ref lscp_remove_channel (client, channel); |
139 |
|
@ref lscp_reset_sampler (client); |
140 |
|
@ref lscp_get_server_info (client); |
141 |
|
|
142 |
</pre>For the audio output and MIDI input device configuration interface, |
</pre>For the audio output and MIDI input device configuration interface, |
143 |
the following functions are respectively defined in <lscp/@ref:device.h>:<pre> |
the following functions are respectively defined in <lscp/@ref:device.h>:<pre> |
144 |
|
|
145 |
@ref lscp_get_available_audio_drivers (client); |
@ref lscp_get_available_audio_drivers (client); |
146 |
|
@ref lscp_list_available_audio_drivers (client); |
147 |
@ref lscp_get_audio_driver_info (client, audio_driver); |
@ref lscp_get_audio_driver_info (client, audio_driver); |
148 |
@ref lscp_get_audio_driver_param_info (client, audio_driver, param_key, deplist); |
@ref lscp_get_audio_driver_param_info (client, audio_driver, param_key, deplist); |
149 |
@ref lscp_create_audio_device (client, audio_driver, params); |
@ref lscp_create_audio_device (client, audio_driver, params); |
157 |
@ref lscp_set_audio_channel_param (client, audio_device, audio_channel, param); |
@ref lscp_set_audio_channel_param (client, audio_device, audio_channel, param); |
158 |
|
|
159 |
@ref lscp_get_available_midi_drivers (client); |
@ref lscp_get_available_midi_drivers (client); |
160 |
|
@ref lscp_list_available_midi_drivers (client); |
161 |
@ref lscp_get_midi_driver_info (client, midi_driver); |
@ref lscp_get_midi_driver_info (client, midi_driver); |
162 |
@ref lscp_get_midi_driver_param_info (client, midi_driver, param_key, deplist); |
@ref lscp_get_midi_driver_param_info (client, midi_driver, param_key, deplist); |
163 |
@ref lscp_create_midi_device (client, midi_driver, params); |
@ref lscp_create_midi_device (client, midi_driver, params); |