1 |
/*************************************************************************** |
/*************************************************************************** |
2 |
* * |
* * |
3 |
* libgig - C++ cross-platform Gigasampler format file loader library * |
* libgig - C++ cross-platform Gigasampler format file access library * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003-2006 by Christian Schoenebeck * |
* Copyright (C) 2003-2009 by Christian Schoenebeck * |
6 |
* <cuse@users.sourceforge.net> * |
* <cuse@users.sourceforge.net> * |
7 |
* * |
* * |
8 |
|
* This program is part of libgig. * |
9 |
|
* * |
10 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
11 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
12 |
* the Free Software Foundation; either version 2 of the License, or * |
* the Free Software Foundation; either version 2 of the License, or * |
93 |
cout << "Global File Informations:" << endl; |
cout << "Global File Informations:" << endl; |
94 |
cout << " Total instruments: " << gig->Instruments << endl; |
cout << " Total instruments: " << gig->Instruments << endl; |
95 |
if (gig->pVersion) { |
if (gig->pVersion) { |
96 |
cout << " Version: " << gig->pVersion->major << "." |
cout << " Version: " << gig->pVersion->major << "." |
97 |
<< gig->pVersion->minor << "." |
<< gig->pVersion->minor << "." |
98 |
<< gig->pVersion->release << "." |
<< gig->pVersion->release << "." |
99 |
<< gig->pVersion->build << endl; |
<< gig->pVersion->build << endl; |
100 |
} |
} |
101 |
if (gig->pInfo) { |
if (gig->pInfo) { |
102 |
if (gig->pInfo->Name.size()) |
if (gig->pInfo->Name.size()) |
252 |
case gig::dimension_random: // Different samples triggered each time a note is played, random order |
case gig::dimension_random: // Different samples triggered each time a note is played, random order |
253 |
cout << "RANDOM"; |
cout << "RANDOM"; |
254 |
break; |
break; |
255 |
|
case gig::dimension_smartmidi: // For MIDI tools like legato and repetition mode |
256 |
|
cout << "SMARTMIDI"; |
257 |
|
break; |
258 |
|
case gig::dimension_roundrobinkeyboard: // Different samples triggered each time a note is played, any key advances the counter |
259 |
|
cout << "ROUNDROBINKEYBOARD"; |
260 |
|
break; |
261 |
case gig::dimension_modwheel: // Modulation Wheel (MIDI Controller 1) |
case gig::dimension_modwheel: // Modulation Wheel (MIDI Controller 1) |
262 |
cout << "MODWHEEL"; |
cout << "MODWHEEL"; |
263 |
break; |
break; |
401 |
} |
} |
402 |
|
|
403 |
string Revision() { |
string Revision() { |
404 |
string s = "$Revision: 1.21 $"; |
string s = "$Revision: 1.24 $"; |
405 |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
406 |
} |
} |
407 |
|
|