#include "DLS.h"
#include <algorithm>
#include <time.h>
#include "helper.h"
Go to the source code of this file.
Namespaces | |
namespace | DLS |
DLS specific classes and definitions. | |
Defines | |
#define | CONN_TRANSFORM_SRC(x) ((x >> 10) & 0x000F) |
#define | CONN_TRANSFORM_CTL(x) ((x >> 4) & 0x000F) |
#define | CONN_TRANSFORM_DST(x) (x & 0x000F) |
#define | CONN_TRANSFORM_BIPOLAR_SRC(x) (x & 0x4000) |
#define | CONN_TRANSFORM_BIPOLAR_CTL(x) (x & 0x0100) |
#define | CONN_TRANSFORM_INVERT_SRC(x) (x & 0x8000) |
#define | CONN_TRANSFORM_INVERT_CTL(x) (x & 0x0200) |
#define | CONN_TRANSFORM_SRC_ENCODE(x) ((x & 0x000F) << 10) |
#define | CONN_TRANSFORM_CTL_ENCODE(x) ((x & 0x000F) << 4) |
#define | CONN_TRANSFORM_DST_ENCODE(x) (x & 0x000F) |
#define | CONN_TRANSFORM_BIPOLAR_SRC_ENCODE(x) ((x) ? 0x4000 : 0) |
#define | CONN_TRANSFORM_BIPOLAR_CTL_ENCODE(x) ((x) ? 0x0100 : 0) |
#define | CONN_TRANSFORM_INVERT_SRC_ENCODE(x) ((x) ? 0x8000 : 0) |
#define | CONN_TRANSFORM_INVERT_CTL_ENCODE(x) ((x) ? 0x0200 : 0) |
#define | DRUM_TYPE_MASK 0x80000000 |
#define | F_RGN_OPTION_SELFNONEXCLUSIVE 0x0001 |
#define | F_WAVELINK_PHASE_MASTER 0x0001 |
#define | F_WAVELINK_MULTICHANNEL 0x0002 |
#define | F_WSMP_NO_TRUNCATION 0x0001 |
#define | F_WSMP_NO_COMPRESSION 0x0002 |
#define | MIDI_BANK_COARSE(x) ((x & 0x00007F00) >> 8) |
#define | MIDI_BANK_FINE(x) (x & 0x0000007F) |
#define | MIDI_BANK_MERGE(coarse, fine) ((((uint16_t) coarse) << 7) | fine) |
#define | MIDI_BANK_ENCODE(coarse, fine) (((coarse & 0x0000007F) << 8) | (fine & 0x0000007F)) |
Functions | |
String | DLS::libraryName () |
Returns the name of this C++ library. | |
String | DLS::libraryVersion () |
Returns version of this C++ library. |
#define CONN_TRANSFORM_BIPOLAR_CTL | ( | x | ) | (x & 0x0100) |
#define CONN_TRANSFORM_BIPOLAR_CTL_ENCODE | ( | x | ) | ((x) ? 0x0100 : 0) |
#define CONN_TRANSFORM_BIPOLAR_SRC | ( | x | ) | (x & 0x4000) |
#define CONN_TRANSFORM_BIPOLAR_SRC_ENCODE | ( | x | ) | ((x) ? 0x4000 : 0) |
#define CONN_TRANSFORM_CTL | ( | x | ) | ((x >> 4) & 0x000F) |
#define CONN_TRANSFORM_CTL_ENCODE | ( | x | ) | ((x & 0x000F) << 4) |
#define CONN_TRANSFORM_DST | ( | x | ) | (x & 0x000F) |
#define CONN_TRANSFORM_DST_ENCODE | ( | x | ) | (x & 0x000F) |
#define CONN_TRANSFORM_INVERT_CTL | ( | x | ) | (x & 0x0200) |
#define CONN_TRANSFORM_INVERT_CTL_ENCODE | ( | x | ) | ((x) ? 0x0200 : 0) |
#define CONN_TRANSFORM_INVERT_SRC | ( | x | ) | (x & 0x8000) |
#define CONN_TRANSFORM_INVERT_SRC_ENCODE | ( | x | ) | ((x) ? 0x8000 : 0) |
#define CONN_TRANSFORM_SRC | ( | x | ) | ((x >> 10) & 0x000F) |
#define CONN_TRANSFORM_SRC_ENCODE | ( | x | ) | ((x & 0x000F) << 10) |
#define DRUM_TYPE_MASK 0x80000000 |
Definition at line 55 of file DLS.cpp.
Referenced by DLS::Instrument::Instrument(), and DLS::Instrument::UpdateChunks().
#define F_RGN_OPTION_SELFNONEXCLUSIVE 0x0001 |
Definition at line 57 of file DLS.cpp.
Referenced by DLS::Region::Region(), and DLS::Region::UpdateChunks().
#define F_WAVELINK_MULTICHANNEL 0x0002 |
Definition at line 60 of file DLS.cpp.
Referenced by DLS::Region::Region(), and DLS::Region::UpdateChunks().
#define F_WAVELINK_PHASE_MASTER 0x0001 |
Definition at line 59 of file DLS.cpp.
Referenced by DLS::Region::Region(), and DLS::Region::UpdateChunks().
#define F_WSMP_NO_COMPRESSION 0x0002 |
Definition at line 63 of file DLS.cpp.
Referenced by DLS::Sampler::Sampler(), and DLS::Sampler::UpdateChunks().
#define F_WSMP_NO_TRUNCATION 0x0001 |
Definition at line 62 of file DLS.cpp.
Referenced by DLS::Sampler::Sampler(), and DLS::Sampler::UpdateChunks().
#define MIDI_BANK_COARSE | ( | x | ) | ((x & 0x00007F00) >> 8) |
#define MIDI_BANK_ENCODE | ( | coarse, | |||
fine | ) | (((coarse & 0x0000007F) << 8) | (fine & 0x0000007F)) |
#define MIDI_BANK_FINE | ( | x | ) | (x & 0x0000007F) |
#define MIDI_BANK_MERGE | ( | coarse, | |||
fine | ) | ((((uint16_t) coarse) << 7) | fine) |
Definition at line 67 of file DLS.cpp.
Referenced by DLS::Instrument::Instrument(), and DLS::Instrument::UpdateChunks().