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

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

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

revision 896 by schoenebeck, Sun Jul 2 12:26:56 2006 UTC revision 1279 by schoenebeck, Fri Aug 10 13:32:44 2007 UTC
# Line 125  Line 125 
125                          <p class="default">                          <p class="default">
126                                  Here is a collection of frequently asked questions. Please read them before asking on                                  Here is a collection of frequently asked questions. Please read them before asking on
127                                  the mailing list.<br>                                  the mailing list.<br>
128                                  <br>                                  <ol class="default">
129                                  <a href="#commercial_products">Can I use LinuxSampler in commercial hardware or software products?</a><br>                                          <li>
130                                  <a href="#commercial_music">Can I use LinuxSampler for commercial music production?</a><br>                                                  <a href="#commercial_products">Can I use LinuxSampler in commercial hardware or software products?</a>
131                                  <a href="#open_source">LinuxSampler is not open source, you are evil!</a><br>                                          </li>
132                                  <a href="#aga">linuxsampler? qsampler? libgig? liblscp? hu?</a><br>                                          <li>
133                                  <a href="#install">What do I need to compile and install?</a><br>                                                  <a href="#commercial_music">Can I use LinuxSampler for commercial music production?</a>
134                                  <a href="#compilarion_error">Compilation of LinuxSampler aborts with ...</a><br>                                          </li>
135                                  <a href="#cvs_checkout">How do I checkout from CVS?</a><br>                                          <li>
136                                  <a href="#compile_cvs">How do I compile from CVS?</a><br>                                                  <a href="#open_source">LinuxSampler is not open source, you are evil!</a>
137                                  <a href="#no_gui">Can I use linuxsampler without a GUI as well?</a><br>                                          </li>
138                                  <a href="#examples_lscp">Are there example LSCP script files somewhere?</a><br>                                          <li>
139                                  <a href="#dropouts">I get dropouts (click sounds, noise), what can I do about it?</a><br>                                                  <a href="#aga">linuxsampler? qsampler? jsampler? libgig? liblscp? jlscp? ... hu?</a>
140                                            </li>
141                                            <li>
142                                                    <a href="#install">What do I need to compile and install?</a>
143                                            </li>
144                                            <li>
145                                                    <a href="#compilarion_error">Compilation of LinuxSampler aborts with ...</a>
146                                            </li>
147                                            <li>
148                                                    <a href="#cvs_checkout">How do I checkout from CVS?</a>
149                                            </li>
150                                            <li>
151                                                    <a href="#compile_cvs">How do I compile from CVS?</a>
152                                            </li>
153                                            <li>
154                                                    <a href="#no_gui">Can I use linuxsampler without a GUI as well?</a>
155                                            </li>
156                                            <li>
157                                                    <a href="#examples_lscp">Are there example LSCP script files somewhere?</a>
158                                            </li>
159                                            <li>
160                                                    <a href="#dropouts">I get dropouts (click sounds, noise), what can I do about it?</a>
161                                            </li>
162                    </ol>
163                          </p>                          </p>
164    
165                          <a name="commercial_products"></a>                          <a name="commercial_products"></a>
# Line 170  Line 193 
193                          what he likes to do, he can even adjust and tweak every single part of the software                          what he likes to do, he can even adjust and tweak every single part of the software
194                          by modifying and compiling its source code. And just the fact that we want to avoid                          by modifying and compiling its source code. And just the fact that we want to avoid
195                          our work to be directly exploited in commercial software or hardware products is                          our work to be directly exploited in commercial software or hardware products is
196                          definitely not an evil intention. For the normal user / musician the commercial                          definitely not an "evil" intention. For the normal user / musician the commercial
197                          restriction is even an advantage, since that way commercial actors are forced to                          restriction is even an advantage, since that way commercial actors are forced to
198                          support this or another open source project either directly by coding or indirectly                          support this or another open source project either directly by coding or indirectly
199                          by funding and thus increase development speed.                          by funding and thus increase development speed.
200                          </p>                          </p>
201    
202                          <a name="aga"></a>                          <a name="aga"></a>
203                          <h3>linuxsampler? qsampler? libgig? liblscp? hu?</h3>                          <h3>linuxsampler? qsampler? jsampler? libgig? liblscp? jlscp? ... hu?</h3>
204                          <p class="default">                          <p class="default">
205                                  There are currently six subprojects in the LinuxSampler project; jlscp, jsampler,                                  There are currently six subprojects in the LinuxSampler project; jlscp, jsampler,
206                                  libgig, liblscp, linuxsampler and qsampler. linuxsampler is the core of the sampler, it includes the                                  libgig, liblscp, linuxsampler and qsampler. linuxsampler is the core of the sampler, it includes the
# Line 189  Line 212 
212                                  GUI library and thus can be compiled for various architectures and operating systems                                  GUI library and thus can be compiled for various architectures and operating systems
213                                  without modifications of the source code.                                  without modifications of the source code.
214                                  libgig is a C++ library written for accessing Gigasampler files and DLS Level 1 and 2                                  libgig is a C++ library written for accessing Gigasampler files and DLS Level 1 and 2
215                                  files, that is for reading and (since version 3.0.0) als writing of those files.                                  files, that is for reading and (since version 3.0.0) also writing of those files.
216                                  libgig is used by linuxsampler to load Gigasampler files and it <b>can</b> be                                  libgig is used by linuxsampler to load Gigasampler files and it <b>can</b> be
217                                  used by qsampler to retrieve additional informations about Gigasampler files. liblscp                                  used by qsampler to retrieve additional informations about Gigasampler files. liblscp
218                                  is a C library written as a wrapper around the LSCP network protocol, thus to control                                  is a C library written as a wrapper around the LSCP network protocol, thus to control
# Line 199  Line 222 
222                                  linuxsampler, it's written in Java and thus platform independent. jlscp is a library which                                  linuxsampler, it's written in Java and thus platform independent. jlscp is a library which
223                                  can be compared with liblscp, with the only difference that jlscp is written in Java and                                  can be compared with liblscp, with the only difference that jlscp is written in Java and
224                                  liblscp in C. jsampler requires jlscp.                                  liblscp in C. jsampler requires jlscp.
225                                    
226                          </p>                          </p>
227    
228                          <a name="install"></a>                          <a name="install"></a>
# Line 228  Line 251 
251                                  linuxsampler. You have to compile older versions of LinuxSampler (v0.3.3 and older) with                                  linuxsampler. You have to compile older versions of LinuxSampler (v0.3.3 and older) with
252                                  -O2 or -O3 to avoid this problem. Usually this is done by default, if not try:                                  -O2 or -O3 to avoid this problem. Usually this is done by default, if not try:
253                  <br>                  <br>
254                                  <table class="default" border="0" cellpadding="1" cellspacing="5">              </p>
255                                          <tr>                          <pre class="code">CXXFLAGS="-O3" ./configure
                                         <td><pre class="code">1  
 2</pre>  
                                         </td>  
                                         <td width="100%">  
                                         <pre class="code">CXXFLAGS="-O3" ./configure  
256  make</pre>  make</pre>
257                                          </td>                          <p class="default">
                                         </tr>  
                                 </table>  
                                 <br>  
258                                  Alternatively you could also disable all hand-crafted assembly optimization code by:                                  Alternatively you could also disable all hand-crafted assembly optimization code by:
259                                  <table class="default" border="0" cellpadding="1" cellspacing="5">              </p>
260                                  <tr>                          <pre class="code">./configure --disable-asm
                                   <td><pre class="code">1  
 2</pre>  
                                   </td>  
                                   <td width="100%">  
                                     <pre class="code">./configure --disable-asm  
261  make</pre>  make</pre>
262                                    </td>                          <p class="default">
263                                  </tr>                              but the latter is definitely not recommended, as it will increase CPU usage a lot!
                                 </table>  
                                 <br>  
                                 but the latter is definitely not recommended, as it will increase CPU usage a lot!  
264                          </p>                          </p>
265    
266                          <p class="default">                          <p class="default">
# Line 265  make</pre> Line 272  make</pre>
272                                  <a href="http://en.wikipedia.org/wiki/SIMD">SIMD</a> optimization in older versions of                                  <a href="http://en.wikipedia.org/wiki/SIMD">SIMD</a> optimization in older versions of
273                                  linuxsampler. Make sure you got gcc and g++, both of version 3.3 or higher installed.                                  linuxsampler. Make sure you got gcc and g++, both of version 3.3 or higher installed.
274                                  You can check this with:                                  You can check this with:
275                                  <table class="default" border="0" cellpadding="1" cellspacing="5">              </p>
276                                  <tr>                          <pre class="code">gcc --version
                                   <td><pre class="code">1  
 2</pre>  
                                   </&d>  
                                   <td width="100%">  
                                     <pre class="code">gcc --version  
277  g++ --version</pre>  g++ --version</pre>
278                                    </td>              <p class="default">
                                 </tr>  
                                 </table>  
279                                  In case you already got gcc and g++ of version 3.3 or higher                                  In case you already got gcc and g++ of version 3.3 or higher
280                                  installed and it still causes the compilation error mentioned                                  installed and it still causes the compilation error mentioned
281                                  above, try the following:                                  above, try the following:
282                                  <table class="default" border="0" cellpadding="1" cellspacing="5">              </p>
283                                  <tr>                          <pre class="code">export CC=`which gcc`
                                   <td><pre class="code">1  
 2</pre>  
                                   </td>  
                                   <td width="100%">  
                                     <pre class="code">export CC=`which gcc`  
284  export CXX=`which g++`</pre>  export CXX=`which g++`</pre>
285                                    </td>              <p class="default">
                                 </tr>  
                                 </table>  
286                                  On certain systems however you still get this error in conjunction with older                                  On certain systems however you still get this error in conjunction with older
287                                  versions of LinuxSampler (v0.3.3 and older). Fortunately newer versions of                                  versions of LinuxSampler (v0.3.3 and older). Fortunately newer versions of
288                                  linuxsampler are not affected anymore                                  linuxsampler are not affected anymore
# Line 311  export CXX=`which g++`</pre> Line 304  export CXX=`which g++`</pre>
304                                  The procedure for compiling from CVS is the same for all subprojects, that is no matter                                  The procedure for compiling from CVS is the same for all subprojects, that is no matter
305                                  if you are compiling linuxsampler, qsampler, libgig or liblscp from CVS, you need to                                  if you are compiling linuxsampler, qsampler, libgig or liblscp from CVS, you need to
306                                  have the autotools (automake, autoconf and libtool) installed and compile it that way:                                  have the autotools (automake, autoconf and libtool) installed and compile it that way:
307                                  <table class="default" border="0" cellpadding="1" cellspacing="5">                                  <pre class="code">make -f Makefile.cvs
                                 <tr>  
                                   <td><pre class="code">1  
 2  
 3</pre>  
                                   </td>  
                                   <td width="100%">  
                                     <pre class="code">make -f Makefile.cvs  
308  ./configure  ./configure
309  make</pre>  make</pre>
                                   </td>  
                                 </tr>  
                                 </table>  
310                          </p>                          </p>
311    
312                          <a name="no_gui"></a>                          <a name="no_gui"></a>
# Line 335  make</pre> Line 318  make</pre>
318                                  a sampler session with QSampler, because the session files qsampler writes are actually                                  a sampler session with QSampler, because the session files qsampler writes are actually
319                                  real LSCP scripts. You can send a LSCP script to linuxsampler on the console with the                                  real LSCP scripts. You can send a LSCP script to linuxsampler on the console with the
320                                  following command:                                  following command:
321                                  <table class="default" border="0" cellpadding="1" cellspacing="5">              </p>
322                                  <tr>                          <pre class="code">cat yourscript.lscp | netcat localhost 8888</pre>
323                                    <td><pre class="code">1</pre>                          <p class="default">
324                                    </td>                  or on certain systems (like Debian) you have to provide the -t switch:
325                                    <td width="100%">              </p>
326                                      <pre class="code">cat yourscript.lscp | netcat localhost 8888</pre>                          <pre class="code">cat yourscript.lscp | netcat -t localhost 8888</pre>
327                                    </td>              <p class="default">
                                 </tr>  
                                 </table>  
                                 or on certain systems (like Debian) you have to provide the -t switch:  
                                 <table class="default" border="0" cellpadding="1" cellspacing="5">  
                                 <tr>  
                                   <td><pre class="code">1</pre>  
                                   </td>  
                                   <td width="100%">  
                                     <pre class="code">cat yourscript.lscp | netcat -t localhost 8888</pre>  
                                   </td>  
                                 </tr>  
                                 </table>  
328                                  Of course you can also replace localhost by the IP address of the machine where                                  Of course you can also replace localhost by the IP address of the machine where
329                                  linuxsampler is running. Alternatively you can also make a telnet connection (port 8888)                                  linuxsampler is running. Alternatively you can also make a telnet connection (port 8888)
330                                  to linuxsampler's LSCP server and type commands manually.                                  to linuxsampler's LSCP server and type commands manually.
# Line 375  make</pre> Line 346  make</pre>
346                                  In order to achieve good results under Linux you need to have a                                  In order to achieve good results under Linux you need to have a
347                                  <a href="http://www.linuxdj.com/audio/lad/resourceslatency.php3">patched kernel</a>.                                  <a href="http://www.linuxdj.com/audio/lad/resourceslatency.php3">patched kernel</a>.
348                                  There are different patches available depending on what version (2.4.x or 2.6.x) of kernel you use.                                  There are different patches available depending on what version (2.4.x or 2.6.x) of kernel you use.
349                                  The <a href="http://jackit.sourceforge.net/docs/faq.php">JACK FAQ site</a> is also a good resource                                  The <a href="http://jackaudio.org/faq">JACK FAQ site</a>
350                                    (or the <a href="http://jackit.sourceforge.net/docs/faq.php">old JACK FAQ site</a>)
351                                    is also a good resource for
352                                  how to configure a realtime stable kernel. But note; LinuxSampler currently has not support for                                  how to configure a realtime stable kernel. But note; LinuxSampler currently has not support for
353                                  libcap yet, that means if you are still using a 2.4.x Linux kernel you most probably have to run                                  libcap yet, that means if you are still using a 2.4.x Linux kernel you most probably have to run
354                                  LinuxSampler with root priviliges. As a rule of thumb: if you don't get warnings like "cannot                                  LinuxSampler with root priviliges. As a rule of thumb: if you don't get warnings like "cannot

Legend:
Removed from v.896  
changed lines
  Added in v.1279

  ViewVC Help
Powered by ViewVC