libgig
4.3.0
|
KORG sound format specific classes and definitions. More...
Classes | |
class | KSFSample |
.KSF audio sample file More... | |
class | KMPRegion |
Region of a .KMP multi sample file. More... | |
class | KMPInstrument |
.KMP multi sample file More... | |
class | Exception |
Korg format specific exception. More... | |
Typedefs | |
typedef std::string | String |
typedef gig::buffer_t | buffer_t |
Functions | |
String | libraryName () |
Returns the name of this C++ library. More... | |
String | libraryVersion () |
Returns version of this C++ library. More... | |
template<unsigned int SZ> | |
String | readText (RIFF::Chunk *ck) |
String | readText24 (RIFF::Chunk *ck) |
Read 24 bytes of ASCII text from given chunk and return it as String. | |
String | readText16 (RIFF::Chunk *ck) |
Read 16 bytes of ASCII text from given chunk and return it as String. | |
String | readText12 (RIFF::Chunk *ck) |
Read 12 bytes of ASCII text from given chunk and return it as String. | |
String | removeFileTypeExtension (const String &filename) |
For example passing "FOO.KMP" will return "FOO". | |
KORG sound format specific classes and definitions.
Classes in this namespace provide access to Korg's sample based instrument files which are used by Korg Trinity, Triton, OASYS, M3 and Kronos synthesizer keyboards.
At the moment these classes only support read support, but no write support yet.
Sample based instruments are spread in KORG's format over individual files:
The upper two file types are used by KORG for many years and their internal file format has remained nearly unchanged over that long period, and has also remained consistent over many different synthesizer keyboard models and series. Due to this however, the articulation informations stored in those two files are too primitive for being used directly on modern keyboards. That's why the following file type exists as well:
Unfortunately this library does not provide support for .PCG files yet.
String Korg::libraryName | ( | ) |
Returns the name of this C++ library.
This is usually "libgig" of course. This call is equivalent to RIFF::libraryName() and gig::libraryName().
String Korg::libraryVersion | ( | ) |
Returns version of this C++ library.
This call is equivalent to RIFF::libraryVersion() and gig::libraryVersion().