173 |
This is still quite under construction. Be welcome to help us with writing some documentation! |
This is still quite under construction. Be welcome to help us with writing some documentation! |
174 |
</p> |
</p> |
175 |
|
|
176 |
|
<a name="sfz"></a> |
177 |
|
<a name="sfz2"></a> |
178 |
|
<h2>SFZ(2) format specification and implementation status</h2> |
179 |
|
<p class="default"> |
180 |
|
We are currently in the works of a SFZ(2) format based sampler engine, |
181 |
|
as additional powerful sampler engine for LinuxSampler. As there is |
182 |
|
currently no official document defining the so called <i>SFZ version 2</i> |
183 |
|
format, we created our own <a href="https://docs.google.com/Doc?docid=0AVrDa5LNWylnZGZ6ejk4eHRfNDVjbmsyd3Zmag">SFZ2 reference document</a>, |
184 |
|
reflecting the format and the progress of implementation in LinuxSampler's |
185 |
|
Subversion developers version. This reference document is currently maintained by |
186 |
|
<a href="developers.html#Dahnielson">Anders Dahnielson</a>. |
187 |
|
</p> |
188 |
|
|
189 |
<a name="windows"></a> |
<a name="windows"></a> |
190 |
<a name="osx"></a> |
<a name="osx"></a> |
191 |
<a name="debian"></a> |
<a name="debian"></a> |
222 |
</td> |
</td> |
223 |
</tr> |
</tr> |
224 |
<tr> |
<tr> |
225 |
|
<td class="decorated"><a href="http://de.musix-wiki.org/index.php?title=LinuxSampler">Debian HOWTO (German)</a></td> |
226 |
|
<td class="decorated"> |
227 |
|
Another guide for Debian on an external site, this one in German language. |
228 |
|
</td> |
229 |
|
</tr> |
230 |
|
<tr> |
231 |
<td class="decorated"><a href="msys.html">Windows Build HOWTO</a></td> |
<td class="decorated"><a href="msys.html">Windows Build HOWTO</a></td> |
232 |
<td class="decorated"> |
<td class="decorated"> |
233 |
Guide for how to build libgig, linuxsampler and gigedit |
Guide for how to build libgig, linuxsampler and gigedit |
302 |
<td class="decorated"> |
<td class="decorated"> |
303 |
<a href="http://www.linuxsampler.org/api/draft-linuxsampler-protocol.txt">TXT</a>, |
<a href="http://www.linuxsampler.org/api/draft-linuxsampler-protocol.txt">TXT</a>, |
304 |
<a href="http://www.linuxsampler.org/api/draft-linuxsampler-protocol.html">HTML</a>, |
<a href="http://www.linuxsampler.org/api/draft-linuxsampler-protocol.html">HTML</a>, |
305 |
<a href="http://cvs.linuxsampler.org/cgi-bin/viewcvs.cgi/*checkout*/linuxsampler/Documentation/lscp.xml?rev=HEAD&content-type=text/xml">XML</a> |
<a href="http://svn.linuxsampler.org/cgi-bin/viewvc.cgi/linuxsampler/trunk/Documentation/lscp.xml">XML</a> |
306 |
</td> |
</td> |
307 |
<td class="decorated">unreleased</td> |
<td class="decorated">unreleased</td> |
308 |
<td class="decorated"> |
<td class="decorated"> |
444 |
# connect to ALSA playback JACK client so we can hear something |
# connect to ALSA playback JACK client so we can hear something |
445 |
# (you can use 'GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO 0 0 JACK_BINDINGS' |
# (you can use 'GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO 0 0 JACK_BINDINGS' |
446 |
# to get all available JACK clients / ports) |
# to get all available JACK clients / ports) |
447 |
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 0 JACK_BINDINGS='alsa_pcm:playback_1' |
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 0 JACK_BINDINGS='system:playback_1' |
448 |
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 1 JACK_BINDINGS='alsa_pcm:playback_2' |
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 1 JACK_BINDINGS='system:playback_2' |
449 |
|
# Note: above is for JACK2 (a.k.a. jackmp). If you are still using JACK1, |
450 |
|
# you would need to use this instead: |
451 |
|
# SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 0 JACK_BINDINGS='alsa_pcm:playback_1' |
452 |
|
# SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 1 JACK_BINDINGS='alsa_pcm:playback_2' |
453 |
|
|
454 |
# load the ALSA MIDI driver |
# load the ALSA MIDI driver |
455 |
CREATE MIDI_INPUT_DEVICE ALSA |
CREATE MIDI_INPUT_DEVICE ALSA |
476 |
It shows how to setup a more realistic sampler session, handle routing of MIDI input channels, |
It shows how to setup a more realistic sampler session, handle routing of MIDI input channels, |
477 |
handle routing of audio channels, it uses JACK again as audio |
handle routing of audio channels, it uses JACK again as audio |
478 |
output driver, but creates the JACK client with four output channels instead, it creates two |
output driver, but creates the JACK client with four output channels instead, it creates two |
479 |
sampler channels, loads two different instrument on those two sampler channels and alters |
sampler channels, loads two different instruments on those two sampler channels and alters |
480 |
the audio channel routing so that the two output channels of sampler channel 1 are routed to |
the audio channel routing so that the two output channels of sampler channel 1 are routed to |
481 |
the first two JACK output channels and the two output channels of sampler channel 2 are routed |
the first two JACK output channels and the two output channels of sampler channel 2 are routed |
482 |
the second pair of the JACK client's output channels. That way you could e.g. record the output |
the second pair of the JACK client's output channels. That way you could e.g. record the output |
524 |
|
|
525 |
# automatic connection between the four 4 ports of LS's Jack client and the |
# automatic connection between the four 4 ports of LS's Jack client and the |
526 |
# ALSA PCM JACK client (assuming your sound card has at least 4 outputs ;-) |
# ALSA PCM JACK client (assuming your sound card has at least 4 outputs ;-) |
527 |
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 0 JACK_BINDINGS='alsa_pcm:playback_1' |
# (assumimg JACK2 a.k.a. jackmp here, if you are still using JACK1 then |
528 |
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 1 JACK_BINDINGS='alsa_pcm:playback_2' |
# you have to replace "system" by "alsa_pcm" here) |
529 |
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 2 JACK_BINDINGS='alsa_pcm:playback_3' |
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 0 JACK_BINDINGS='system:playback_1' |
530 |
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 3 JACK_BINDINGS='alsa_pcm:playback_4' |
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 1 JACK_BINDINGS='system:playback_2' |
531 |
|
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 2 JACK_BINDINGS='system:playback_3' |
532 |
|
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 3 JACK_BINDINGS='system:playback_4' |
533 |
|
|
534 |
# not necessary, just to see our setup |
# not necessary, just to see our setup |
535 |
GET CHANNEL INFO 0 |
GET CHANNEL INFO 0 |