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 |
|
|
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> |
128 |
<div id="contents"> |
<div id="contents"> |
129 |
|
|
130 |
<h2>FAQ</h2> |
<h2>FAQ</h2> |
131 |
<p class="default"> |
<div class="groupbox"> |
132 |
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 |
133 |
the mailing list.<br> |
the mailing list.<br> |
134 |
<ol class="default"> |
<br> |
135 |
<li> |
1. License<br> |
136 |
<a href="#commercial_products">Can I use LinuxSampler in commercial hardware or software products?</a> |
1.1 <a href="#commercial_products">Can I use LinuxSampler in commercial hardware or software products?</a><br> |
137 |
</li> |
1.2 <a href="#commercial_music">Can I use LinuxSampler for commercial music production?</a><br> |
138 |
<li> |
1.3 <a href="#open_source">LinuxSampler is not open source, you are evil!</a><br> |
139 |
<a href="#commercial_music">Can I use LinuxSampler for commercial music production?</a> |
1.4 <a href="#closed_source">Will LinuxSampler turn closed-source?</a><br> |
140 |
</li> |
1.5 <a href="#ls_license_change">I've heard the commercial exception of LinuxSampler was added at a certain version?</a><br> |
141 |
<li> |
1.6 <a href="#ls_breaking_libgig_license">Doesn't LinuxSampler illegally link against libgig?</a><br> |
142 |
<a href="#open_source">LinuxSampler is not open source, you are evil!</a> |
1.7 <a href="#ls_breaking_license">Doesn't LinuxSampler illegally link against other libraries?</a><br> |
143 |
</li> |
2. General Questions<br> |
144 |
<li> |
2.1 <a href="#aga">linuxsampler? qsampler? jsampler? libgig? liblscp? jlscp? ... hu?</a><br> |
145 |
<a href="#aga">linuxsampler? qsampler? jsampler? libgig? liblscp? jlscp? ... hu?</a> |
2.2 <a href="#no_gui">Can I use linuxsampler without a GUI as well?</a><br> |
146 |
</li> |
3. Compilation / Installation<br> |
147 |
<li> |
3.1 <a href="#install">What do I need to compile and install?</a><br> |
148 |
<a href="#install">What do I need to compile and install?</a> |
3.2 <a href="#compilarion_error">Compilation of LinuxSampler aborts with ...</a><br> |
149 |
</li> |
3.3 <a href="#cvs_checkout">How do I checkout from CVS?</a><br> |
150 |
<li> |
3.4 <a href="#compile_cvs">How do I compile from CVS?</a><br> |
151 |
<a href="#compilarion_error">Compilation of LinuxSampler aborts with ...</a> |
4. Setup<br> |
152 |
</li> |
4.1 <a href="#examples_lscp">Are there example LSCP script files somewhere?</a><br> |
153 |
<li> |
4.2 <a href="#dropouts">I get dropouts (click sounds, noise), what can I do about it?</a><br> |
154 |
<a href="#cvs_checkout">How do I checkout from CVS?</a> |
4.3 <a href="#runtime_error">LinuxSampler aborts at runtime with ...</a><br> |
155 |
</li> |
<br> |
156 |
<li> |
</div> |
|
<a href="#compile_cvs">How do I compile from CVS?</a> |
|
|
</li> |
|
|
<li> |
|
|
<a href="#no_gui">Can I use linuxsampler without a GUI as well?</a> |
|
|
</li> |
|
|
<li> |
|
|
<a href="#examples_lscp">Are there example LSCP script files somewhere?</a> |
|
|
</li> |
|
|
<li> |
|
|
<a href="#dropouts">I get dropouts (click sounds, noise), what can I do about it?</a> |
|
|
</li> |
|
|
</ol> |
|
|
</p> |
|
157 |
|
|
158 |
<a name="commercial_products"></a> |
<a name="commercial_products"></a> |
159 |
<h3>Can I use LinuxSampler in commercial hardware or software products?</h3> |
<h3>Can I use LinuxSampler in commercial hardware or software products?</h3> |
192 |
by funding and thus increase development speed. |
by funding and thus increase development speed. |
193 |
</p> |
</p> |
194 |
|
|
195 |
|
<a name="closed_source"></a> |
196 |
|
<h3>Will LinuxSampler turn closed-source?</h3> |
197 |
|
<p class="default"> |
198 |
|
No, LinuxSampler will remain open source. Again, the commercial exception is just to |
199 |
|
prevent commercial exploitation by third parties that haven't contributed anything to |
200 |
|
open source projects. |
201 |
|
</p> |
202 |
|
|
203 |
|
<a name="ls_license_change"></a> |
204 |
|
<h3>I've heard the commercial exception of LinuxSampler was added at a certain version?</h3> |
205 |
|
<p class="default"> |
206 |
|
No, the commercial exception in LinuxSampler's license terms were there since day one. |
207 |
|
Even further it's not only there since the very first publicly available CVS |
208 |
|
(developer) version of LinuxSampler, that commercial exception was even already in |
209 |
|
Benno Senoner's proof of concept code called "EVO", which LinuxSampler was based on. |
210 |
|
There was even a rumour that we would have manipulated CVS history to "pretend" this |
211 |
|
exception wasn't added at a later point. Needless to say that this rumour is completely |
212 |
|
false as well. Think about it! We're a group of developers spread around the world who |
213 |
|
work on this project for fun and ideology in our spare time. Most of us contributed to |
214 |
|
various other open source / free software projects. Do you seriously think we would |
215 |
|
cheat on such an issue? Beside that you certainly find various people completely |
216 |
|
unrelated to this project who still have early versions of LinuxSampler and / or EVO |
217 |
|
and thus can confirm that this commercial exception was always there. |
218 |
|
</p> |
219 |
|
|
220 |
|
<a name="ls_breaking_libgig_license"></a> |
221 |
|
<h3>Doesn't LinuxSampler illegally link against libgig?</h3> |
222 |
|
<p class="default"> |
223 |
|
No! LinuxSampler does not "illegally" link against libgig, since the copyright holder |
224 |
|
(in this case of libgig) has all rights of his work and thus is not bound to his own |
225 |
|
license terms. The sole purpose of license terms is to grant other people certain |
226 |
|
rights to use the work. |
227 |
|
</p> |
228 |
|
|
229 |
|
<a name="ls_breaking_license"></a> |
230 |
|
<h3>Doesn't LinuxSampler illegally link against other libraries?</h3> |
231 |
|
<p class="default"> |
232 |
|
No, the only library LinuxSampler links to that has license restrictions regarding |
233 |
|
linking is libgig (<a href="#ls_breaking_libgig_license">see above</a>). Especially |
234 |
|
LinuxSampler does not break Qt's license terms, since it does not link against Qt at |
235 |
|
all. |
236 |
|
</p> |
237 |
|
|
238 |
<a name="aga"></a> |
<a name="aga"></a> |
239 |
<h3>linuxsampler? qsampler? jsampler? libgig? liblscp? jlscp? ... hu?</h3> |
<h3>linuxsampler? qsampler? jsampler? gigedit? libgig? liblscp? jlscp? ... hu?</h3> |
240 |
<p class="default"> |
<p class="default"> |
241 |
There are currently six subprojects in the LinuxSampler project; jlscp, jsampler, |
There are currently seven subprojects in the LinuxSampler project; jlscp, jsampler, |
242 |
libgig, liblscp, linuxsampler and qsampler. linuxsampler is the core of the sampler, it includes the |
libgig, liblscp, linuxsampler, gigedit and qsampler. linuxsampler is the core of the sampler, it includes the |
243 |
sampler engines and audio and MIDI drivers. linuxsampler itself is decoupled from any |
sampler engines and audio and MIDI drivers. linuxsampler itself is decoupled from any |
244 |
user interface. It offers a native C++ API as well as a network server (LSCP server) to allow to be controlled by |
user interface. It offers a native C++ API as well as a network server (LSCP server) to allow to be controlled by |
245 |
an arbitrary user frontend from an arbitrary place over a network connection or |
an arbitrary user frontend from an arbitrary place over a network connection or |
246 |
locally from the same machine as well. |
(of course) locally from the same machine as well. This decoupled / |
247 |
qsampler is the first GUI frontend written for linuxsampler, it is written in C++ using the Qt |
<a href="http://en.wikipedia.org/wiki/Backend">"backend"</a> design |
248 |
|
of the sampler allows to run it even on a machine without any graphical interface, |
249 |
|
without a Desktop, the machine doesn't even have to have a graphics card! |
250 |
|
qsampler is the first <a href="http://en.wikipedia.org/wiki/Graphical_user_interface">GUI</a> |
251 |
|
<a href="http://en.wikipedia.org/wiki/Frontend">frontend</a> |
252 |
|
written for linuxsampler, it is written in C++ using the Qt |
253 |
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 |
254 |
without modifications of the source code. |
without modifications of the source code. |
255 |
|
gigedit is an instruments editor application for Gigasampler format files. You can |
256 |
|
run it as stand-alone application or in conjunction with LinuxSampler. In the latter |
257 |
|
case you can play and immediately hear all your modifications made with gigedit in |
258 |
|
realtime. |
259 |
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 |
260 |
files, that is for reading and (since version 3.0.0) also writing of those files. |
files, that is for reading and (since version 3.0.0) also writing of those files. |
261 |
libgig is used by linuxsampler to load Gigasampler files and it <b>can</b> be |
libgig is used by linuxsampler to load Gigasampler files, it is used by gigedit to |
262 |
|
load, modify and create new Gigasampler files and it <b>can</b> be |
263 |
used by qsampler to retrieve additional informations about Gigasampler files. liblscp |
used by qsampler to retrieve additional informations about Gigasampler files. liblscp |
264 |
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 |
265 |
linuxsampler. It was originally designed to be used on both sides, that is on server / |
linuxsampler. It was originally designed to be used on both sides, that is on server / |
277 |
You should compile and install at least libgig and linuxsampler. As a beginner you should |
You should compile and install at least libgig and linuxsampler. As a beginner you should |
278 |
definitely as well compile and install a convenient GUI frontend like either qsampler or |
definitely as well compile and install a convenient GUI frontend like either qsampler or |
279 |
jsampler, whatever you prefer. qsampler depends on liblscp, so you have to |
jsampler, whatever you prefer. qsampler depends on liblscp, so you have to |
280 |
compile and install liblscp before starting to build qsampler. The recommended order to |
compile and install liblscp before starting to build qsampler. Also if you like to be |
281 |
compile and install is: |
able to edit instruments, you should compile and install gigedit as well. The recommended |
282 |
|
order to compile and install is: |
283 |
<ol class="default"> |
<ol class="default"> |
284 |
<li>libgig</li> |
<li>libgig</li> |
285 |
<li>linuxsampler</li> |
<li>linuxsampler</li> |
286 |
|
<li>gigedit</li> |
287 |
<li>liblscp</li> |
<li>liblscp</li> |
288 |
<li>qsampler</li> |
<li>qsampler</li> |
289 |
</ol> |
</ol> |
290 |
</p> |
</p> |
291 |
|
<p class="default"> |
292 |
|
Of course you can also install QSampler and JSampler side by side. So you can test and use |
293 |
|
both at the same time. |
294 |
|
</p> |
295 |
|
|
296 |
<a name="compilarion_error"></a> |
<a name="compilarion_error"></a> |
297 |
<h3>Compilation of LinuxSampler aborts with ... </h3> |
<h3>Compilation of LinuxSampler aborts with ... </h3> |
298 |
|
|
299 |
|
<p class="default"> |
300 |
|
• "<code>Required libgig version not found...</code>"<br> |
301 |
|
<br> |
302 |
|
This error might occur when running LinuxSampler's configure script. Make sure |
303 |
|
you have the required libgig version installed. If you're compiling a CVS |
304 |
|
version of LinuxSampler you usually have to compile and install the current |
305 |
|
CVS version of libgig as well. Also note there are couple common mistakes which |
306 |
|
let this error occur even after having compiled and installed the required |
307 |
|
libgig version. Read |
308 |
|
<a href="https://bugs.linuxsampler.org/cgi-bin/show_bug.cgi?id=29">this bug report</a> |
309 |
|
about common mistakes and how you can fix them. |
310 |
|
</p> |
311 |
|
|
312 |
<p class="default"> |
<p class="default"> |
313 |
• "<code>can't find a register in class `GENERAL_REGS' while reloading `asm'</code>"<br> |
• "<code>can't find a register in class `GENERAL_REGS' while reloading `asm'</code>"<br> |
314 |
<br> |
<br> |
385 |
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 |
386 |
following command: |
following command: |
387 |
</p> |
</p> |
388 |
<pre class="code">cat yourscript.lscp | netcat localhost 8888</pre> |
<pre class="code">netcat localhost 8888 < yourscript.lscp</pre> |
389 |
<p class="default"> |
<p class="default"> |
390 |
or on certain systems (like Debian) you have to provide the -t switch: |
or on certain systems (like Debian) you have to provide the -t switch: |
391 |
</p> |
</p> |
392 |
<pre class="code">cat yourscript.lscp | netcat -t localhost 8888</pre> |
<pre class="code">netcat -t localhost 8888 < yourscript.lscp</pre> |
393 |
<p class="default"> |
<p class="default"> |
394 |
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 |
395 |
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) |
421 |
mlockall() memory" on the console, you are safe to run it as ordinary user as well. |
mlockall() memory" on the console, you are safe to run it as ordinary user as well. |
422 |
</p> |
</p> |
423 |
|
|
424 |
|
<a name="runtime_error"></a> |
425 |
|
<h3>LinuxSampler aborts at runtime with ... </h3> |
426 |
|
<p class="default"> |
427 |
|
Note: For <b>Windows specific runtime errors</b>, please have a |
428 |
|
look at the |
429 |
|
<a href="windows.html#houston">Trouble Shooting</a> section of |
430 |
|
the LinuxSampler Windows HOWTO. |
431 |
|
</p> |
432 |
|
|
433 |
|
<p class="default"> |
434 |
|
• "<code>gig::Engine error: Failed to |
435 |
|
load instrument, cause: Unknown exception while trying to |
436 |
|
parse gig file.</code>"<br> |
437 |
|
<br> |
438 |
|
Usually LS gives you a meaningful error message in case it |
439 |
|
failed to load an instrument. However there might be rare |
440 |
|
cases where LS cannot resolve the reason and you get an |
441 |
|
error message like above. In this case make sure security / |
442 |
|
user limits aren't set too low. You can list your current |
443 |
|
limits with: |
444 |
|
</p> |
445 |
|
<pre class="code">ulimit -a</pre> |
446 |
|
<p class="default"> |
447 |
|
Usually most of those settings are set to "unlimited" on |
448 |
|
most boxes. If this is not the case on yours, make sure that |
449 |
|
at least the limits for "max locked memory", "virtual |
450 |
|
memory" and "data seg size" are sufficiently high enough. |
451 |
|
The exact value depends on the instruments you want to load. |
452 |
|
If your security policy allows it, you could simply set |
453 |
|
those limits to "unlimited" (see also config file |
454 |
|
/etc/security/limits.conf and |
455 |
|
<a href="https://bugs.linuxsampler.org/cgi-bin/show_bug.cgi?id=41">bug report #41</a>). |
456 |
|
</p> |
457 |
|
|
458 |
</div> |
</div> |
459 |
</td></tr></table> |
</td></tr></table> |
460 |
|
|