/[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 2543 by schoenebeck, Sat May 10 02:06:58 2014 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 support for other sampler file
21      formats as well today:
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      Beside the actual library there are following example applications:
30    
31      gigdump:     Demo app that prints out the content of a .gig file.      gigdump:     Demo app that prints out the content of a .gig file.
32      gigextract:  Extracts samples from a .gig file.      gigextract:  Extracts samples from a .gig file.
33        gigmerge:    Merges several .gig files to one .gig file.
34        gig2mono:    Converts .gig files from stereo to mono.
35      dlsdump:     Demo app that prints out the content of a DLS file.      dlsdump:     Demo app that prints out the content of a DLS file.
36        korgdump:    Prints out the content of the various KORG file types.
37        korg2gig:    Convert KORG sound file to Gigasampler/GigaStudio format.
38      rifftree:    Tool that prints out the RIFF tree of an arbitrary RIFF      rifftree:    Tool that prints out the RIFF tree of an arbitrary RIFF
39                   file.                   file.
40    
# Line 48  Requirements Line 61  Requirements
61    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
62    installed.    installed.
63    
64    Non-POSIX systems (e.g. Windows):    Windows:
65    ---------------------------------    --------
66    
67    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
68    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
69    access. This applies e.g. to Windows systems. I would appreciate if    that all example / demo applications coming with libgig are pure console
70    somebody sends me his MS Visual Studio / .NET, Borland C++ Builder or    applications, thus you won't see a GUI showing up! :)
71    Apple XCode project file! This might help others to conveniently compile  
72    libgig on those platforms as well.    If you want to compile libgig and its tools by yourself, please also
73      notice the requirements under "Compiling for Windows".
74    
75      Other Operating Systems:
76      ------------------------
77    
78      libgig was written to compile for any operating system, using standard C
79      library functions. However the latest versions of libgig lack a portable
80      implementation of one tiny method called RIFF::File::ResizeFile(). So you
81      would either have to add native OS API calls for that particular method,
82      that is dependant to your OS, or you have to add a portable
83      implementation. No matter which way you choose, please let us know! :)
84    
85  Compiling  Compiling for Linux
86  =========  ===================
87    You can either compile the sources and install the library directly on    You can either compile the sources and install the library directly on
88    your system or you can create Redhat or Debian packages.    your system or you can create Redhat or Debian packages.
89    
# Line 107  Compiling Line 131  Compiling
131    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
132    "/usr/src/<rpmdir>/RPMS/<arch>" directory.    "/usr/src/<rpmdir>/RPMS/<arch>" directory.
133    
134    Compiling for Windows
135    =====================
136    
137      libgig and its tools can be compiled for Windows using Bloodshed Dev-C++,
138      which is a free (GPL) C++ integrated development environment for Windows.
139      It is also possible to use MSYS from MinGW, which allows you to use
140      './configure && make' like the linux builds.
141    
142      You can download Dev-C++ here:
143    
144        http://www.bloodshed.net/devcpp.html
145    
146      Make sure you install a version with Mingw integrated.
147    
148      a) Compiling libgig.dll
149    
150      Simply open the project file "win32/libgig.dev" either directly in Dev-C++
151      or by double clicking on the project file in the Windows explorer, then
152      click on "Compile" in the Dev-C++ menu and that's it! After compilation
153      finished, you can find the files "libgig.dll", "libgig.a" and
154      "liblibgig.def" in the "win32" directory.
155    
156      b) Compiling the example tools "rifftree", "dlsdump" and "gigdump"
157    
158      You need to have libgig.dll compiled as described in a). Then you can
159      compile the respective tool by simply opening the respective project
160      (.dev) file and clicking on "Compile" from the Dev-C++ menu. After
161      compilation you can find the respective .exe file in the "win32"
162      directory.
163    
164      c) Compiling the example tool "gigextract"
165    
166      You need to have libgig.dll compiled as described in a). Also you need
167      libsndfile (as DLL) which is used to create the .wav files. You can
168      download libsndfile already precompiled as DLL here:
169    
170        http://www.mega-nerd.com/libsndfile/
171    
172      Extract the .zip file i.e. to "C:\". The libsndfile .dll file should then
173      be i.e. under "C:\libsndfile-1_0_17". Beside the .dll file, make sure
174      libsndfile's .lib file exists in that directory as well. If the .lib file
175      does not exist yet, you have to create it with:
176    
177        dlltool --input-def libsndfile-1.def --output-lib libsndfile-1.lib
178    
179      Then you have to ensure the settings of gigextract's Dev-C++ project file
180      are pointing to the correct location of your local copy of libsndfile. For
181      that click in the Dev-C++ menu on "Project" -> "Project Options". Then
182      click on the tab "Parameter" and make sure the path to "libsndfile-1.lib"
183      in the "Linker" list view is correct. Then click on the tab "Directories"
184      and then on the tab "Include Directories" and make sure the path to
185      libsndfile points to the correct location there as well.
186    
187      After that you should finally be able to compile "gigextract" by clicking
188      on "Compile" in the Dev-C++ menu. After compilation succeeded, you can
189      find the "gigextract.exe" file in the "win32" directory.
190    
191  Test Cases  Test Cases
192  ==========  ==========
193    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 143  Bugs Line 224  Bugs
224    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),
225    especially in case you are running on an odd system.    especially in case you are running on an odd system.
226    
227    Trademarks
228    ==========
229      Tascam, Gigasampler, GigaStudio, KORG, Trinity, Triton, OASYS, M3 and Kronos
230      are trademarks of their respective owners.
231    
232  Credits  Credits
233  =======  =======
234    The initial library was based on the reverse engineering effort of    The initial library (Gigasampler part) was based on the reverse engineering
235    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
236    Gigasampler v3 format to Andreas Persson. Please also have a look at the    Gigasampler v3 format to Andreas Persson. Please also have a look at the
237    ChangeLog for all those who contributed. Thanks to all of you for your    ChangeLog for all those who contributed. Thanks to all of you for your great
238    great work!    work!
239    
240   Christian Schoenebeck <cuse@users.sourceforge.net>   Christian Schoenebeck <cuse@users.sourceforge.net>

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

  ViewVC Help
Powered by ViewVC