/[svn]/web/trunk/www.linuxsampler.org/documentation.html
ViewVC logotype

Diff of /web/trunk/www.linuxsampler.org/documentation.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 941 by schoenebeck, Sat Nov 25 17:32:17 2006 UTC revision 1780 by iliev, Sun Sep 28 21:55:42 2008 UTC
# Line 49  Line 49 
49                  downloadsout = new Image();                  downloadsout = new Image();
50                  downloadsout.src = dir + "mdownloads.png";                  downloadsout.src = dir + "mdownloads.png";
51    
52                    supportover = new Image();
53                    supportover.src = dir + "msupporthover.png";
54                    supportout = new Image();
55                    supportout.src = dir + "msupport.png";
56    
57                  developersover = new Image();                  developersover = new Image();
58                  developersover.src = dir + "mdevelopershover.png";                  developersover.src = dir + "mdevelopershover.png";
59    
# Line 111  Line 116 
116                          <a id="screenshots" href="screenshots.html" onmouseover="javascript:if(document.images)document.screenshots.src = screenshotsover.src" onmouseout="javascript:if(document.images)document.screenshots.src = screenshotsout.src"><img name="screenshots" src="gfx/mscreenshots.png" alt="screenshots"></a>                          <a id="screenshots" href="screenshots.html" onmouseover="javascript:if(document.images)document.screenshots.src = screenshotsover.src" onmouseout="javascript:if(document.images)document.screenshots.src = screenshotsout.src"><img name="screenshots" src="gfx/mscreenshots.png" alt="screenshots"></a>
117                          <a id="demos" href="demos.html" onmouseover="javascript:if(document.images)document.demos.src = demosover.src" onmouseout="javascript:if(document.images)document.demos.src = demosout.src"><img name="demos" src="gfx/mdemos.png" alt="demos"></a>                          <a id="demos" href="demos.html" onmouseover="javascript:if(document.images)document.demos.src = demosover.src" onmouseout="javascript:if(document.images)document.demos.src = demosout.src"><img name="demos" src="gfx/mdemos.png" alt="demos"></a>
118                          <a id="downloads" href="downloads.html" onmouseover="javascript:if(document.images)document.downloads.src = downloadsover.src" onmouseout="javascript:if(document.images)document.downloads.src = downloadsout.src"><img name="downloads" src="gfx/mdownloads.png" alt="download"></a>                          <a id="downloads" href="downloads.html" onmouseover="javascript:if(document.images)document.downloads.src = downloadsover.src" onmouseout="javascript:if(document.images)document.downloads.src = downloadsout.src"><img name="downloads" src="gfx/mdownloads.png" alt="download"></a>
119                            <a id="support" href="support.html" onmouseover="javascript:if(document.images)document.support.src = supportover.src" onmouseout="javascript:if(document.images)document.support.src = supportout.src"><img name="support" src="gfx/msupport.png" alt="support"></a>
120                          <a id="developers" href="developers.html" onmouseover="javascript:if(document.images)document.developers.src = developersover.src" onmouseout="javascript:if(document.images)document.developers.src = developersout.src"><img name="developers" src="gfx/mdevelopers.png" alt="developers"></a>                          <a id="developers" href="developers.html" onmouseover="javascript:if(document.images)document.developers.src = developersover.src" onmouseout="javascript:if(document.images)document.developers.src = developersout.src"><img name="developers" src="gfx/mdevelopers.png" alt="developers"></a>
121                          <a id="faq" href="faq.html" onmouseover="javascript:if(document.images)document.faq.src = faqover.src" onmouseout="javascript:if(document.images)document.faq.src = faqout.src"><img name="faq" src="gfx/mfaq.png" alt="faq"></a>                          <a id="faq" href="faq.html" onmouseover="javascript:if(document.images)document.faq.src = faqover.src" onmouseout="javascript:if(document.images)document.faq.src = faqout.src"><img name="faq" src="gfx/mfaq.png" alt="faq"></a>
122                          <a id="documentation" href="documentation.html" onmouseover="javascript:if(document.images)document.documentation.src = documentationover.src" onmouseout="javascript:if(document.images)document.documentation.src = documentationout.src"><img name="documentation" src="gfx/mdocumentation.png" alt="documentation"></a>                          <a id="documentation" href="documentation.html" onmouseover="javascript:if(document.images)document.documentation.src = documentationover.src" onmouseout="javascript:if(document.images)document.documentation.src = documentationout.src"><img name="documentation" src="gfx/mdocumentation.png" alt="documentation"></a>
# Line 126  Line 132 
132                          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!
133                          </p>                          </p>
134    
135                            <a name="windows"></a>
136                            <a name="osx"></a>
137                            <a name="debian"></a>
138                            <h2>Howtos</h2>
139                            <p class="default">
140                            To ease new users the first contact with the Linuxsampler applications,
141                            we have written the following short Howtos:
142                            </p>
143          <table class="decorated">
144            <thead>
145              <tr>
146                <td class="decorated_header">Name</td>
147                <td class="decorated_header">Descripton</td>
148              </tr>
149            </thead>
150            <tbody>
151              <tr>
152                <td class="decorated"><a href="windows.html">Windows HOWTO</a></td>
153                <td class="decorated">
154                  LinuxSampler quickstart guide for the MS Windows operating system.
155                </td>
156              </tr>
157              <tr>
158                <td class="decorated"><a href="osx.html">OS X HOWTO</a></td>
159                <td class="decorated">
160                  LinuxSampler quickstart guide for the Apple OS X operating system.
161                </td>
162              </tr>
163              <tr>
164                <td class="decorated"><a href="debian.html">Debian HOWTO</a></td>
165                <td class="decorated">
166                  Guide for how to build optimized Debian packages of LS &amp;
167                  friends for your specific machine.
168                </td>
169              </tr>
170            </tbody>
171          </table>
172    
173                            <h2>gigedit</h2>
174                            <p class="default">
175                            This is our graphical instrument editor based on the Gtk toolkit.
176                            It can be used stand-alone or in conjunction with LinuxSampler.
177                            Read the <a href="http://download.linuxsampler.org/doc/gigedit/quickstart/gigedit_quickstart.html">Gigedit Quickstart</a>
178                            for a short tutorial. Please notice that this quickstart document
179                            is automatically generated from CVS and thus might reflect
180                            features and behaviors only available in the very latest, bleeding
181                            edge development version of gigedit from CVS.
182                            </p>
183    
184                            <h2><a  name="jsampler">JSampler</a></h2>
185                            <p class="default">
186                            JSampler is an opensource, platform-independent,
187                            GUI front-end for LinuxSampler, written entirely in Java.
188                            Read the <a href="jsampler/manual/html/jsampler.html">JSampler manual</a>
189                            for more information.<br>
190                            For information about using Fantasia with Miditzer in Puppy Linux VTPO
191                            read this <a href="http://organs.110mb.com/Fantasia.htm" target="_blank">HOWTO</a>.
192                            </p>
193    
194                            <h2>libgig</h2>
195                            <p class="default">
196                            libgig is a C++ library used to load and modify Gigasampler format files.
197                            If you're a developer and might want to use libgig, here is its
198                            <a href="http://download.linuxsampler.org/doc/libgig/api/">API documentation</a>
199                            (automatically daily updated from CVS).
200                            </p>
201    
202                            <a name="lscp_spec"></a>
203                            <a name="lscp_specs"></a>
204                            <h2>liblscp</h2>
205                            <p class="default">
206                            liblscp is C library as convenient wrapper around the <i>LinuxSampler Control Protocol</i>.
207                            If you're a developer and might want to use liblscp, here is its
208                            <a href="http://download.linuxsampler.org/doc/liblscp/">API documentation</a>
209                            (automatically daily updated from CVS).
210                            </p>
211    
212                          <h2>LSCP Reference</h2>                          <h2>LSCP Reference</h2>
213                          <p class="default">                          <p class="default">
214                          The following document defines the network protocol with which LinuxSampler can be controlled.                          The following documents define the <i>LinuxSampler Control Protocol</i>,
215                            a network protocol with which LinuxSampler can be controlled locally as well as remotely.
216                          As this is a simple ASCII based protocol it's possible to write a frontend for LinuxSampler in                          As this is a simple ASCII based protocol it's possible to write a frontend for LinuxSampler in
217                          any programming language and GUI library. There's still a big demand especially for a Gtk and                          any programming language and GUI library. There's still a big demand especially for a Gtk and
218                          ncurses based frontend, so be encouraged and let                          ncurses based frontend, so be encouraged and let
219                          <a href="http://www.linuxsampler.org/developers.html">us</a> know if you wrote a frontend for                          <a href="http://www.linuxsampler.org/developers.html">us</a> know if you wrote a frontend for
220                          LinuxSampler! This is the protocol specification of the old                          LinuxSampler!
221                          official release of LinuxSampler (0.3.3):                          </p>
222                          <br>  
223                          </p>        <table class="decorated">
224                          <center>          <thead>
225                          LinuxSampler Control Protocol v1.0            <tr>
226                          (<a href="http://www.linuxsampler.org/api/lscp-1.0.txt">ASCII</a>,              <td class="decorated_header">Protocol Name</td>
227                          <a href="http://www.linuxsampler.org/api/lscp-1.0.html">HTML</a>,              <td class="decorated_header">Document Types</td>
228                          <a href="http://www.linuxsampler.org/api/lscp-1.0.xml">XML</a>)              <td class="decorated_header">Release Date</td>
229                          </center>              <td class="decorated_header">Description</td>
230                          <p class="default">            </tr>
231                          This is the protocol specification of the latest          </thead>
232                          official release of LinuxSampler (0.4.0):          <tbody>
233                          <br>            <tr>
234                          </p>              <td class="decorated">LSCP&nbsp;draft</td>
235                          <center>              <td class="decorated">
236                          LinuxSampler Control Protocol v1.1                <a href="http://www.linuxsampler.org/api/draft-linuxsampler-protocol.txt">TXT</a>,
237                          (<a href="http://www.linuxsampler.org/api/lscp-1.1.txt">ASCII</a>,                <a href="http://www.linuxsampler.org/api/draft-linuxsampler-protocol.html">HTML</a>,
238                          <a href="http://www.linuxsampler.org/api/lscp-1.1.html">HTML</a>,                <a href="http://cvs.linuxsampler.org/cgi-bin/viewcvs.cgi/*checkout*/linuxsampler/Documentation/lscp.xml?rev=HEAD&content-type=text/xml">XML</a>
239                          <a href="http://www.linuxsampler.org/api/lscp-1.1.xml">XML</a>)              </td>
240                          </center>              <td class="decorated">unreleased</td>
241                          <p class="default">              <td class="decorated">
242                          The following is the very latest draft of the protocol (which                Very latest draft of the protocol (which usually reflects the
243                          usually reflects the latest development state from CVS or may                latest development state from CVS or may even not be implemented
244                          even not be implemented yet):                yet).
245                          <br>              </td>
246                          </p>            </tr>
247                          <center>            <tr>
248                          LinuxSampler Control Protocol Draft              <td class="decorated">LSCP&nbsp;1.3</td>
249                          (<a href="http://www.linuxsampler.org/api/draft-linuxsampler-protocol.txt">ASCII</a>,              <td class="decorated">
250                          <a href="http://www.linuxsampler.org/api/draft-linuxsampler-protocol.html">HTML</a>,                <a href="http://www.linuxsampler.org/api/lscp-1.3.txt">TXT</a>,
251                          <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://www.linuxsampler.org/api/lscp-1.3.html">HTML</a>,
252                          </center>                <a href="http://www.linuxsampler.org/api/lscp-1.3.xml">XML</a>
253                </td>
254                <td class="decorated">2007-12-06</td>
255                <td class="decorated">
256                  Protocol specification of the latest official release of LinuxSampler (0.5.1).
257                </td>
258              </tr>
259              <tr>
260                <td class="decorated">LSCP&nbsp;1.2</td>
261                <td class="decorated">
262                  <a href="http://www.linuxsampler.org/api/lscp-1.2.txt">TXT</a>,
263                  <a href="http://www.linuxsampler.org/api/lscp-1.2.html">HTML</a>,
264                  <a href="http://www.linuxsampler.org/api/lscp-1.2.xml">XML</a>
265                </td>
266                <td class="decorated">2007-10-15</td>
267                <td class="decorated">
268                  Protocol specification of the previous official release of LinuxSampler (0.5.0).
269                </td>
270              </tr>
271              <tr>
272                <td class="decorated">LSCP&nbsp;1.1</td>
273                <td class="decorated">
274                  <a href="http://www.linuxsampler.org/api/lscp-1.1.txt">TXT</a>,
275                  <a href="http://www.linuxsampler.org/api/lscp-1.1.html">HTML</a>,
276                  <a href="http://www.linuxsampler.org/api/lscp-1.1.xml">XML</a>
277                </td>
278                <td class="decorated">2006-11-25</td>
279                <td class="decorated">
280                  Protocol specification old LinuxSampler release 0.4.0.
281                </td>
282              </tr>
283              <tr>
284                <td class="decorated">LSCP&nbsp;1.0</td>
285                <td class="decorated">
286                  <a href="http://www.linuxsampler.org/api/lscp-1.0.txt">TXT</a>,
287                  <a href="http://www.linuxsampler.org/api/lscp-1.0.html">HTML</a>,
288                  <a href="http://www.linuxsampler.org/api/lscp-1.0.xml">XML</a>
289                </td>
290                <td class="decorated">2005-07-17</td>
291                <td class="decorated">
292                  Protocol specification of ancient LinuxSampler release 0.3.3.
293                </td>
294              </tr>
295            </tbody>
296          </table>
297    
298                          <p class="default">                          <p class="default">
299                          The protocol will be extended from time to time. You may look at the                          The protocol will be extended from time to time. You may look at the
300                          <a href="features.html#LSCP">features</a> site to see which control                          <a href="features.html#LSCP">features</a> site to see which control
# Line 183  Line 310 
310                          examples to give you a good starting point for writing your own ones. Adjust it to your needs                          examples to give you a good starting point for writing your own ones. Adjust it to your needs
311                          and send it to the running linuxsampler application with:                          and send it to the running linuxsampler application with:
312                          </p>                          </p>
313                          <table class="default" border="0" cellpadding="1" cellspacing="5">                          <pre class="code">cat yourscript.lscp | netcat localhost 8888</pre>
314                                  <tr>                          <p class="default">
315                                    <td><pre class="code">1</pre>                          Optionally you can also use a graphical frontend like QSampler one time to setup a working
316                                    </td>                          sampler session for your needs and save it. Because you have to know that the files saved
317                                    <td width="100%">                          by our frontends are actually pure LSCP scripts, thus you can i.e. use those files simply with
318                                      <pre class="code">cat yourscript.lscp | netcat -t localhost 8888</pre>                          the mentioned netcat command from above to setup the sampler session without a frontend.
319                                    </td>                          </p>
                                 </tr>  
                         </table>  
320                          <p class="default">                          <p class="default">
321                          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,
322                          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
323                          on that sampler channel:                          on that sampler channel:
324                          </p>                          </p>
325                          <table class="default" border="0" cellpadding="1" cellspacing="5">                          <pre class="code">#enable echo mode
                                 <tr>  
                                   <td><pre class="code">1  
 2  
 3  
 4  
 5  
 6  
 7  
 8  
 9  
 10  
 11  
 12  
 13  
 14  
 15  
 16  
 17  
 18  
 19  
 20  
 21  
 22  
 23  
 24  
 25  
 26  
 27  
 28  
 29</pre>  
                                   </td>  
                                   <td width="100%">  
                                     <pre class="code">#enable echo mode  
326  SET ECHO 1  SET ECHO 1
327    
328  # load the ALSA audio driver  # load the ALSA audio driver
# Line 259  GET CHANNEL INFO 0 Line 351  GET CHANNEL INFO 0
351    
352  # quit connection  # quit connection
353  QUIT</pre>  QUIT</pre>
                                   </td>  
                                 </tr>  
                         </table>  
354                          <p class="default">                          <p class="default">
355                          The next example uses JACK as audio output driver instead and automatically connects the two                          The next example uses JACK as audio output driver instead and automatically connects the two
356                          output channels of LS's JACK client to the first two ALSA PCM channels, so you can hear                          output channels of LS's JACK client to the first two ALSA PCM channels, so you can hear
357                          something without having to manually connect it e.g. with qjackctl:                          something without having to manually connect it e.g. with qjackctl:
358                          </p>                          </p>
359                          <table class="default" border="0" cellpadding="1" cellspacing="5">                          <pre class="code">#enable echo mode
                                 <tr>  
                                   <td><pre class="code">1  
 2  
 3  
 4  
 5  
 6  
 7  
 8  
 9  
 10  
 11  
 12  
 13  
 14  
 15  
 16  
 17  
 18  
 19  
 20  
 21  
 22  
 23  
 24  
 25  
 26  
 27  
 28  
 29  
 30  
 31  
 32</pre>  
                                   </td>  
                                   <td width="100%">  
                                     <pre class="code">#enable echo mode  
360  SET ECHO 1  SET ECHO 1
361    
362  # load the JACK audio driver  # load the JACK audio driver
# Line 335  GET CHANNEL INFO 0 Line 388  GET CHANNEL INFO 0
388    
389  # quit connection  # quit connection
390  QUIT</pre>  QUIT</pre>
                                   </td>  
                                 </tr>  
                         </table>  
391                          <p class="default">                          <p class="default">
392                          The next example is a bit more complex.                          The next example is a bit more complex.
393                          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,
# Line 349  QUIT</pre> Line 399  QUIT</pre>
399                          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
400                          of those two sampler channels independently or apply independent LADSPA effects on it.                          of those two sampler channels independently or apply independent LADSPA effects on it.
401                          </p>                          </p>
402                          <table class="default" border="0" cellpadding="1" cellspacing="5">                          <pre class="code"># enable echo mode
                                 <tr>  
                                   <td><pre class="code">1  
 2  
 3  
 4  
 5  
 6  
 7  
 8  
 9  
 10  
 11  
 12  
 13  
 14  
 15  
 16  
 17  
 18  
 19  
 20  
 21  
 22  
 23  
 24  
 25  
 26  
 27  
 28  
 29  
 30  
 31  
 32  
 33  
 34  
 35  
 36  
 37  
 38  
 39  
 40  
 41  
 42  
 43  
 44  
 45  
 46  
 47  
 48  
 49  
 50</pre>  
                                   </td>  
                                   <td width="100%">  
                                     <pre class="code"># enable echo mode  
403  SET ECHO 1  SET ECHO 1
404    
405  # load audio and MIDI driver  # load audio and MIDI driver
# Line 453  SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 3 J Line 449  SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 3 J
449  # not necessary, just to see our setup  # not necessary, just to see our setup
450  GET CHANNEL INFO 0  GET CHANNEL INFO 0
451  GET CHANNEL INFO 1</pre>  GET CHANNEL INFO 1</pre>
                                   </td>  
                                 </tr>  
                         </table>  
452                          <p class="default">                          <p class="default">
453                          For a detailed description about LSCP read the <a href="api/draft-linuxsampler-protocol.html">LSCP reference</a>.                          For a detailed description about LSCP read the <a href="api/draft-linuxsampler-protocol.html">LSCP reference</a>.
454                          Be welcome to ask details on the mailing list.                          Be welcome to ask details on the mailing list.

Legend:
Removed from v.941  
changed lines
  Added in v.1780

  ViewVC Help
Powered by ViewVC