1 |
schoenebeck |
5 |
LinuxSampler - modular, streaming capable sampler |
2 |
|
|
|
3 |
|
|
by Benno Senoner (benno@gardena.net) |
4 |
|
|
and Christian Schoenebeck (cuse@users.sourceforge.net) |
5 |
|
|
|
6 |
|
|
This software is distributed under the GNU General Public License (see |
7 |
|
|
COPYING file), and may not be used in commercial applications without asking |
8 |
|
|
the authors for permission. |
9 |
|
|
|
10 |
schoenebeck |
579 |
LinuxSampler is sampler backend, thus server-like console application. It |
11 |
|
|
provides a TCP based network interface with a custom ASCII based protocol |
12 |
|
|
called "LSCP" to control the sampler and manage sampler sessions. You either |
13 |
|
|
have to send commands manually to LinuxSampler, e.g. by connecting via |
14 |
|
|
'telnet' or by using 'netcat' or you might want to use a graphical user |
15 |
|
|
interface (frontend) like QSampler. |
16 |
letz |
364 |
|
17 |
schoenebeck |
579 |
For more informations visit http://www.linuxsampler.org/documentation.html |
18 |
letz |
364 |
|
19 |
schoenebeck |
579 |
|
20 |
|
|
Requirements on Linux |
21 |
|
|
--------------------- |
22 |
|
|
|
23 |
|
|
o A low latency enabled kernel |
24 |
|
|
(see http://www.linuxsampler.org/faq.html#dropouts). |
25 |
|
|
o At least ALSA and optionally JACK and their respective development |
26 |
|
|
(header) files as MIDI input and audio output drivers. |
27 |
|
|
o libgig and its development (header) files for loading Gigasampler |
28 |
|
|
format files. |
29 |
schoenebeck |
654 |
o libtool |
30 |
schoenebeck |
579 |
o If you are compiling from CVS you need to have the autotools installed |
31 |
schoenebeck |
654 |
(autoconf, automake (>= 1.5)). |
32 |
schoenebeck |
579 |
|
33 |
|
|
|
34 |
|
|
Compiling on Linux |
35 |
|
|
------------------ |
36 |
|
|
|
37 |
|
|
a) Compiling and installing directly |
38 |
schoenebeck |
654 |
|
39 |
schoenebeck |
579 |
The general procedure by calling './configure && make' on the source's |
40 |
|
|
toplevel directory will compile and 'make install' as root will install |
41 |
|
|
LinuxSampler on your system. |
42 |
schoenebeck |
654 |
|
43 |
schoenebeck |
579 |
Note: if you are compiling from CVS you have to explicitly call |
44 |
|
|
'make -f Makefile.cvs' before doing the above procedure. This will |
45 |
|
|
generate all autotools managed build files. |
46 |
|
|
|
47 |
schoenebeck |
654 |
|
48 |
schoenebeck |
579 |
b) Creating Debian packages |
49 |
|
|
|
50 |
|
|
Simply calling 'dpkg-buildpackage -rfakeroot -b' from the source's |
51 |
|
|
toplevel directory will compile and build the Debian binary package. |
52 |
|
|
The Debian package will be placed one directory above the source's |
53 |
|
|
toplevel directory (thus ../). |
54 |
|
|
|
55 |
schoenebeck |
654 |
|
56 |
schoenebeck |
579 |
c) Creating Redhat packages |
57 |
|
|
|
58 |
|
|
You need to have the rpmbuild tool installed and properly configured to |
59 |
|
|
create RPM packages. To create the RPM packages do the following: |
60 |
|
|
|
61 |
|
|
* Get .spec file generated by ./configure and edit it as appropriate. |
62 |
|
|
|
63 |
|
|
* Copy the source tarball to "/usr/src/<rpmdir>/SOURCES" directory, |
64 |
|
|
where <rpmdir> is dependent to the system you are using. For SuSE |
65 |
|
|
<rmpdir> will be "packages", for Mandrake <rpmdir> is "RPM" and for |
66 |
|
|
Redhat / Fedora <rpmdir> always equals "redhat". |
67 |
|
|
|
68 |
|
|
* Build the rpm(s) by invoking 'rpmbuild -bb <specfile>' from the |
69 |
|
|
command line. |
70 |
|
|
|
71 |
|
|
On success, the resulting rpm(s) can usually be found under the proper |
72 |
|
|
"/usr/src/<rpmdir>/RPMS/<arch>" directory. |
73 |
|
|
|
74 |
|
|
|
75 |
letz |
364 |
Compilation on OSX : Stephane Letz (letz@grame.fr) |
76 |
|
|
-------------------------------------------------- |
77 |
|
|
|
78 |
schoenebeck |
654 |
The compilation on OSX currently uses an XCode project. |
79 |
letz |
364 |
|
80 |
|
|
- Download and install the JackOSX package (www.jackosx.com) |
81 |
|
|
|
82 |
|
|
- In the "osx" folder, possibly manually edit the version.h to change the version number |
83 |
|
|
|
84 |
|
|
- In the XCode project, build the "LinuxSampler" target |
85 |
|
|
|