libgig  3.3.0.svn21
Korg.cpp File Reference
#include "Korg.h"
#include <string.h>

Go to the source code of this file.

Namespaces

 Korg
 KORG sound format specific classes and definitions.
 

Macros

#define CHUNK_ID_MSP1   0x3150534d
 
#define CHUNK_ID_RLP1   0x31504c52
 
#define CHUNK_ID_SMP1   0x31504d53
 
#define CHUNK_ID_SMD1   0x31444d53
 
#define CHUNK_ID_NAME   0x454d414e
 
#define SMD1_CHUNK_HEADER_SZ   12
 

Functions

template<unsigned int SZ>
String Korg::readText (RIFF::Chunk *ck)
 
String Korg::readText24 (RIFF::Chunk *ck)
 Read 24 bytes of ASCII text from given chunk and return it as String. More...
 
String Korg::readText16 (RIFF::Chunk *ck)
 Read 16 bytes of ASCII text from given chunk and return it as String. More...
 
String Korg::readText12 (RIFF::Chunk *ck)
 Read 12 bytes of ASCII text from given chunk and return it as String. More...
 
String Korg::removeFileTypeExtension (const String &filename)
 For example passing "FOO.KMP" will return "FOO". More...
 
String Korg::libraryName ()
 Returns the name of this C++ library. More...
 
String Korg::libraryVersion ()
 Returns version of this C++ library. More...
 

Macro Definition Documentation

#define CHUNK_ID_MSP1   0x3150534d

Definition at line 35 of file Korg.cpp.

Referenced by Korg::KMPInstrument::KMPInstrument().

#define CHUNK_ID_NAME   0x454d414e

Definition at line 39 of file Korg.cpp.

Referenced by Korg::KMPInstrument::KMPInstrument().

#define CHUNK_ID_RLP1   0x31504c52

Definition at line 36 of file Korg.cpp.

Referenced by Korg::KMPInstrument::KMPInstrument().

#define CHUNK_ID_SMD1   0x31444d53
#define CHUNK_ID_SMP1   0x31504d53

Definition at line 37 of file Korg.cpp.

Referenced by Korg::KSFSample::KSFSample().

#define SMD1_CHUNK_HEADER_SZ   12

Definition at line 42 of file Korg.cpp.

Referenced by Korg::KSFSample::GetPos(), and Korg::KSFSample::SetPos().