197 |
<td><pre class="code">1</pre> |
<td><pre class="code">1</pre> |
198 |
</td> |
</td> |
199 |
<td width="100%"> |
<td width="100%"> |
200 |
<pre class="code">cat yourscript.lscp | netcat -t localhost 8888</pre> |
<pre class="code">cat yourscript.lscp | netcat localhost 8888</pre> |
201 |
</td> |
</td> |
202 |
</tr> |
</tr> |
203 |
</table> |
</table> |
204 |
<p class="default"> |
<p class="default"> |
205 |
|
Optionally you can also use a graphical frontend like QSampler one time to setup a working |
206 |
|
sampler session for your needs and save it. Because you have to know that the files saved |
207 |
|
by our frontends are actually pure LSCP scripts, thus you can i.e. use those files simply with |
208 |
|
the mentioned netcat command from above to setup the sampler session without a frontend. |
209 |
|
</p> |
210 |
|
<p class="default"> |
211 |
Here is a simple LSCP example which uses ALSA as MIDI input and as audio output driver as well, |
Here is a simple LSCP example which uses ALSA as MIDI input and as audio output driver as well, |
212 |
it creates only one sampler channel using the Gigasampler engine and loads a Piano instrument |
it creates only one sampler channel using the Gigasampler engine and loads a Piano instrument |
213 |
on that sampler channel: |
on that sampler channel: |