/[svn]/libgig/trunk/README
ViewVC logotype

Diff of /libgig/trunk/README

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

revision 923 by schoenebeck, Thu Oct 19 19:01:13 2006 UTC revision 2785 by schoenebeck, Tue Jul 14 13:19:11 2015 UTC
# Line 1  Line 1 
1  Home  Home
2  ====  ====
3    You can always find the latest version of libgig at:    You can always find the latest version of libgig at:
4    http://stud.hs-heilbronn.de/~cschoene/projects/libgig/    http://www.linuxsampler.org/libgig/
5    
6  Content  Content
7  =======  =======
# Line 17  Content Line 17  Content
17                                       provide the necessary extensions for                                       provide the necessary extensions for
18                                       the Gigasampler file format.                                       the Gigasampler file format.
19    
20    Beside the actual library there are four example applications:    Despite its name, libgig also provides (since version 4.0.0) support for
21      other sampler file formats as well:
22    
23      - SoundFont classes (SF.h, SF.cpp):  They provide support for the very popular
24                                           SoundFont v1 and v2 format (.sf2).
25    
26      - KORG classes (Korg.h, Korg.cpp):   Provides support for sample based sounds
27                                           used on many KORG synthesizer keyboards.
28    
29      - Akai classes (Akai.h):             Currently S1000, S01, S2000 and S3000
30                                           series are supported.
31    
32      Beside the actual library there are following example applications:
33    
34      gigdump:     Demo app that prints out the content of a .gig file.      gigdump:     Demo app that prints out the content of a .gig file.
35      gigextract:  Extracts samples from a .gig file.      gigextract:  Extracts samples from a .gig file.
36        gigmerge:    Merges several .gig files to one .gig file.
37        gig2mono:    Converts .gig files from stereo to mono.
38        gig2stereo:  Converts .gig files to true interleaved stereo sounds.
39      dlsdump:     Demo app that prints out the content of a DLS file.      dlsdump:     Demo app that prints out the content of a DLS file.
40        korgdump:    Prints out the content of the various KORG file types.
41        korg2gig:    Convert KORG sound file to Gigasampler/GigaStudio format.
42        sf2dump:     Prints out the content of a .sf2 file.
43        sf2extract:  Extracts audio samples from a .sf2 file.
44      rifftree:    Tool that prints out the RIFF tree of an arbitrary RIFF      rifftree:    Tool that prints out the RIFF tree of an arbitrary RIFF
45                   file.                   file.
46        akaidump:    Dump an AKAI media i.e. from a CDROM drive as disk image file
47                     to your hard disk drive.
48        akaiextract: Extracts samples from an Akai disk image, either from a media
49                     (i.e. CDROM or Zip drive) for from a AKAI disk image file.
50    
51    Since version 3.0.0 libgig also provides write support, that is for    Since version 3.0.0 libgig also provides write support, that is for
52    creating modifying .gig, DLS and RIFF files.    creating modifying .gig, DLS and RIFF files.
# Line 48  Requirements Line 71  Requirements
71    Makefile.in, etc.) then you need to have automake (>= 1.5) and autoconf    Makefile.in, etc.) then you need to have automake (>= 1.5) and autoconf
72    installed.    installed.
73    
74    Non-POSIX systems (e.g. Windows):    Windows:
75    ---------------------------------    --------
76    
77    If you don't have a POSIX system, you have to set 'POSIX' to '0' in RIFF.h.    The precompiled versions of libgig (and its tools) should be compatible
78    Instead of using POSIX calls then standard C calls will be used for file    with any Windows operating system of at least Win95 or younger. Notice
79    access. This applies e.g. to Windows systems. I would appreciate if    that all example / demo applications coming with libgig are pure console
80    somebody sends me his MS Visual Studio / .NET, Borland C++ Builder or    applications, thus you won't see a GUI showing up! :)
81    Apple XCode project file! This might help others to conveniently compile  
82    libgig on those platforms as well.    If you want to compile libgig and its tools by yourself, please also
83      notice the requirements under "Compiling for Windows".
84    
85      Other Operating Systems:
86      ------------------------
87    
88      libgig was written to compile for any operating system, using standard C
89      library functions. However the latest versions of libgig lack a portable
90      implementation of one tiny method called RIFF::File::ResizeFile(). So you
91      would either have to add native OS API calls for that particular method,
92      that is dependant to your OS, or you have to add a portable
93      implementation. No matter which way you choose, please let us know! :)
94    
95  Compiling  Compiling for Linux
96  =========  ===================
97    You can either compile the sources and install the library directly on    You can either compile the sources and install the library directly on
98    your system or you can create Redhat or Debian packages.    your system or you can create Redhat or Debian packages.
99    
# Line 107  Compiling Line 141  Compiling
141    On success, the resulting rpm(s) can usually be found under the proper    On success, the resulting rpm(s) can usually be found under the proper
142    "/usr/src/<rpmdir>/RPMS/<arch>" directory.    "/usr/src/<rpmdir>/RPMS/<arch>" directory.
143    
144    Compiling for Windows
145    =====================
146    
147      libgig and its tools can be compiled for Windows using Bloodshed Dev-C++,
148      which is a free (GPL) C++ integrated development environment for Windows.
149      It is also possible to use MSYS from MinGW, which allows you to use
150      './configure && make' like the linux builds.
151    
152      You can download Dev-C++ here:
153    
154        http://www.bloodshed.net/devcpp.html
155    
156      Make sure you install a version with Mingw integrated.
157    
158      a) Compiling libgig.dll
159    
160      Simply open the project file "win32/libgig.dev" either directly in Dev-C++
161      or by double clicking on the project file in the Windows explorer, then
162      click on "Compile" in the Dev-C++ menu and that's it! After compilation
163      finished, you can find the files "libgig.dll", "libgig.a" and
164      "liblibgig.def" in the "win32" directory.
165    
166      b) Compiling the example tools "rifftree", "dlsdump" and "gigdump"
167    
168      You need to have libgig.dll compiled as described in a). Then you can
169      compile the respective tool by simply opening the respective project
170      (.dev) file and clicking on "Compile" from the Dev-C++ menu. After
171      compilation you can find the respective .exe file in the "win32"
172      directory.
173    
174      c) Compiling the example tool "gigextract"
175    
176      You need to have libgig.dll compiled as described in a). Also you need
177      libsndfile (as DLL) which is used to create the .wav files. You can
178      download libsndfile already precompiled as DLL here:
179    
180        http://www.mega-nerd.com/libsndfile/
181    
182      Extract the .zip file i.e. to "C:\". The libsndfile .dll file should then
183      be i.e. under "C:\libsndfile-1_0_17". Beside the .dll file, make sure
184      libsndfile's .lib file exists in that directory as well. If the .lib file
185      does not exist yet, you have to create it with:
186    
187        dlltool --input-def libsndfile-1.def --output-lib libsndfile-1.lib
188    
189      Then you have to ensure the settings of gigextract's Dev-C++ project file
190      are pointing to the correct location of your local copy of libsndfile. For
191      that click in the Dev-C++ menu on "Project" -> "Project Options". Then
192      click on the tab "Parameter" and make sure the path to "libsndfile-1.lib"
193      in the "Linker" list view is correct. Then click on the tab "Directories"
194      and then on the tab "Include Directories" and make sure the path to
195      libsndfile points to the correct location there as well.
196    
197      After that you should finally be able to compile "gigextract" by clicking
198      on "Compile" in the Dev-C++ menu. After compilation succeeded, you can
199      find the "gigextract.exe" file in the "win32" directory.
200    
201  Test Cases  Test Cases
202  ==========  ==========
203    The libgig sources come with a tiny console application which allows to    The libgig sources come with a tiny console application which allows to
# Line 123  Test Cases Line 214  Test Cases
214    
215  License  License
216  =======  =======
217    libgig and its tools are released under the GNU General Public License.    libgig and its tools are released under the GNU General Public License (GPL).
218    
219      libakai and its tools are released under the GNU Lesser General Public (LGPL).
220      Due to its different license model the Akai support part is built as separate
221      DLL (.so) file.
222    
223  API Documentation  API Documentation
224  =================  =================
# Line 143  Bugs Line 238  Bugs
238    You might also try to run the "Test Cases" coming with libgig (see above),    You might also try to run the "Test Cases" coming with libgig (see above),
239    especially in case you are running on an odd system.    especially in case you are running on an odd system.
240    
241    Trademarks
242    ==========
243      Tascam, Gigasampler, GigaStudio, KORG, Trinity, Triton, OASYS, M3, Kronos
244      and Akai are trademarks of their respective owners.
245    
246  Credits  Credits
247  =======  =======
248    The initial library was based on the reverse engineering effort of    The initial library (Gigasampler part) was based on the reverse engineering
249    Paul Kellett and Ruben van Royen. We owe current support for the quite new    effort of Paul Kellett and Ruben van Royen. We owe current support for the
250    Gigasampler v3 format to Andreas Persson. Please also have a look at the    Gigasampler v3/v4 format to Andreas Persson. Please also have a look at the
251    ChangeLog for all those who contributed. Thanks to all of you for your    ChangeLog for all those who contributed.
252    great work!  
253      Akai support files are a ported version of Sébastien Métrot's libakai. The
254      original libakai only supported Mac and Windows. This forked version of
255      libakai now also supports Linux and other POSIX compliant operating systems
256      as well and does not have a dependency to libngl as the original libakai had.
257    
258      The SoundFont 2 file format C++ classes were written by Grigor Iliev.
259    
260      Thanks to all of you for your great work!
261    
262   Christian Schoenebeck <cuse@users.sourceforge.net>   Christian Schoenebeck <cuse@users.sourceforge.net>

Legend:
Removed from v.923  
changed lines
  Added in v.2785

  ViewVC Help
Powered by ViewVC