|
libgig 4.6.1
|
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. | |
| String | libraryVersion () |
| Returns version of this C++ library. | |
| 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.
| typedef gig::buffer_t Korg::buffer_t |
| 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().
Definition at line 452 of file Korg.cpp.
References libraryName().
Referenced by libraryName().
| String Korg::libraryVersion | ( | ) |
Returns version of this C++ library.
This call is equivalent to RIFF::libraryVersion() and gig::libraryVersion().
Definition at line 460 of file Korg.cpp.
References libraryVersion().
Referenced by libraryVersion().
|
inline |
|
inline |
Read 12 bytes of ASCII text from given chunk and return it as String.
Definition at line 76 of file Korg.cpp.
References readText12().
Referenced by readText12().
|
inline |
Read 16 bytes of ASCII text from given chunk and return it as String.
Definition at line 71 of file Korg.cpp.
References readText16().
Referenced by readText16().
|
inline |
Read 24 bytes of ASCII text from given chunk and return it as String.
Definition at line 66 of file Korg.cpp.
References readText24().
Referenced by readText24().
|
inline |
For example passing "FOO.KMP" will return "FOO".
Definition at line 81 of file Korg.cpp.
References removeFileTypeExtension().
Referenced by removeFileTypeExtension().