1 |
schoenebeck |
2 |
Content |
2 |
|
|
======= |
3 |
|
|
libgig actually consists of three parts: |
4 |
|
|
|
5 |
|
|
- RIFF classes (RIFF.h, RIFF.cpp): Provides convenient methods to parse and |
6 |
|
|
access arbitrary RIFF files. |
7 |
|
|
- DLS classes (DLS.h, DLS.cpp): They're using the RIFF classes to parse |
8 |
|
|
DLS (Downloadable Sounds) Level 1 and 2 |
9 |
|
|
files and provide abstract access to the |
10 |
|
|
data. |
11 |
|
|
- gig classes (gig.h, gig.cpp): These are based on the DLS classes and |
12 |
|
|
provide the neccessary extensions for |
13 |
|
|
the Gigasampler file format. |
14 |
|
|
|
15 |
|
|
Requirements |
16 |
|
|
============ |
17 |
|
|
I simply used automake & co this time so you will need to have automake, |
18 |
|
|
autoconf and libtool installed. I used the following versions: |
19 |
|
|
|
20 |
|
|
automake 1.6.3 |
21 |
|
|
autoconf 2.57 |
22 |
|
|
|
23 |
|
|
If you want to compile the 'gigextract' application that comes with these |
24 |
|
|
sources then you will additionally need to have libaudiofile installed (I |
25 |
|
|
used version 0.2.3). |
26 |
|
|
|
27 |
|
|
Non-POSIX systems |
28 |
|
|
================= |
29 |
|
|
If you don't have a POSIX system, you have to set 'POSIX' to '0' in RIFF.h. |
30 |
|
|
Instead of using POSIX calls then standard C calls will be used for file |
31 |
|
|
access. |
32 |
|
|
|
33 |
|
|
Compiling: |
34 |
|
|
========== |
35 |
|
|
- Use 'CXXFLAGS=-pedantic ./configure && make all' to compile the library |
36 |
|
|
and all tools and demo applications. |
37 |
|
|
|
38 |
|
|
- Beside the actual library there are four applications: |
39 |
|
|
|
40 |
|
|
gigdump: Demo app that prints out the content of a .gig file. |
41 |
|
|
gigextract: Extracts samples from a .gig file. |
42 |
|
|
dlsdump: Demo app that prints out the content of a DLS file. |
43 |
|
|
rifftree: Tool that prints out the RIFF tree of an arbitrary RIFF |
44 |
|
|
file. |
45 |
|
|
|
46 |
|
|
- If you have Doxygen installed you can generate the API documentation by |
47 |
|
|
just running 'doxygen' in the sources' top level directory. |
48 |
|
|
|
49 |
|
|
- 'make distclean' to clean up everything again |
50 |
|
|
|
51 |
|
|
Christian Schoenebeck <cuse@users.sourceforge.net> |