--- web/trunk/www.linuxsampler.org/faq.html 2007/08/10 12:56:29 1278 +++ web/trunk/www.linuxsampler.org/faq.html 2007/08/10 13:32:44 1279 @@ -125,18 +125,41 @@

Here is a collection of frequently asked questions. Please read them before asking on the mailing list.
-
- Can I use LinuxSampler in commercial hardware or software products?
- Can I use LinuxSampler for commercial music production?
- LinuxSampler is not open source, you are evil!
- linuxsampler? qsampler? jsampler? libgig? liblscp? jlscp? ... hu?
- What do I need to compile and install?
- Compilation of LinuxSampler aborts with ...
- How do I checkout from CVS?
- How do I compile from CVS?
- Can I use linuxsampler without a GUI as well?
- Are there example LSCP script files somewhere?
- I get dropouts (click sounds, noise), what can I do about it?
+

    +
  1. + Can I use LinuxSampler in commercial hardware or software products? +
  2. +
  3. + Can I use LinuxSampler for commercial music production? +
  4. +
  5. + LinuxSampler is not open source, you are evil! +
  6. +
  7. + linuxsampler? qsampler? jsampler? libgig? liblscp? jlscp? ... hu? +
  8. +
  9. + What do I need to compile and install? +
  10. +
  11. + Compilation of LinuxSampler aborts with ... +
  12. +
  13. + How do I checkout from CVS? +
  14. +
  15. + How do I compile from CVS? +
  16. +
  17. + Can I use linuxsampler without a GUI as well? +
  18. +
  19. + Are there example LSCP script files somewhere? +
  20. +
  21. + I get dropouts (click sounds, noise), what can I do about it? +
  22. +

@@ -228,32 +251,16 @@ linuxsampler. You have to compile older versions of LinuxSampler (v0.3.3 and older) with -O2 or -O3 to avoid this problem. Usually this is done by default, if not try:
- - - - - -
1
-2
-
-
CXXFLAGS="-O3" ./configure
+            

+
CXXFLAGS="-O3" ./configure
 make
-
-
+

Alternatively you could also disable all hand-crafted assembly optimization code by: - - - - - -
1
-2
-
-
./configure --disable-asm
+            

+
./configure --disable-asm
 make
-
-
- but the latter is definitely not recommended, as it will increase CPU usage a lot! +

+ but the latter is definitely not recommended, as it will increase CPU usage a lot!

@@ -265,31 +272,17 @@ SIMD optimization in older versions of linuxsampler. Make sure you got gcc and g++, both of version 3.3 or higher installed. You can check this with: - - - - -
1
-2
- -
-
gcc --version
+            

+
gcc --version
 g++ --version
-
+

In case you already got gcc and g++ of version 3.3 or higher installed and it still causes the compilation error mentioned above, try the following: - - - - - -
1
-2
-
-
export CC=`which gcc`
+            

+
export CC=`which gcc`
 export CXX=`which g++`
-
+

On certain systems however you still get this error in conjunction with older versions of LinuxSampler (v0.3.3 and older). Fortunately newer versions of linuxsampler are not affected anymore @@ -311,19 +304,9 @@ The procedure for compiling from CVS is the same for all subprojects, that is no matter if you are compiling linuxsampler, qsampler, libgig or liblscp from CVS, you need to have the autotools (automake, autoconf and libtool) installed and compile it that way: - - - - - -
1
-2
-3
-
-
make -f Makefile.cvs
+				
make -f Makefile.cvs
 ./configure
 make
-

@@ -335,25 +318,13 @@ a sampler session with QSampler, because the session files qsampler writes are actually real LSCP scripts. You can send a LSCP script to linuxsampler on the console with the following command: - - - - - -
1
-
-
cat yourscript.lscp | netcat localhost 8888
-
- or on certain systems (like Debian) you have to provide the -t switch: - - - - - -
1
-
-
cat yourscript.lscp | netcat -t localhost 8888
-
+

+
cat yourscript.lscp | netcat localhost 8888
+

+ or on certain systems (like Debian) you have to provide the -t switch: +

+
cat yourscript.lscp | netcat -t localhost 8888
+

Of course you can also replace localhost by the IP address of the machine where linuxsampler is running. Alternatively you can also make a telnet connection (port 8888) to linuxsampler's LSCP server and type commands manually.