#include <DLS.h>
Inheritance diagram for DLS::Region:
Public Member Functions | |
Sample * | GetSample () |
Resource * | GetParent () |
Articulation * | GetFirstArticulation () |
Articulation * | GetNextArticulation () |
Public Attributes | |
range_t | KeyRange |
range_t | VelocityRange |
uint16_t | KeyGroup |
uint16_t | Layer |
bool | SelfNonExclusive |
bool | PhaseMaster |
uint16_t | PhaseGroup |
bool | MultiChannel |
uint32_t | Channel |
Info * | pInfo |
Points (in any case) to an Info object, providing additional, optional infos and comments. | |
dlsid_t * | pDLSID |
Points to a dlsid_t structure if the file provided a DLS ID else is NULL. | |
uint8_t | UnityNote |
int16_t | FineTune |
int32_t | Gain |
bool | NoSampleDepthTruncation |
bool | NoSampleCompression |
uint32_t | SampleLoops |
Reflects the number of sample loops. | |
sample_loop_t * | pSampleLoops |
Points to the beginning of a sample loop array, or is NULL if there are no loops defined. | |
Protected Types | |
typedef std::list< Articulation * > | ArticulationList |
Protected Member Functions | |
Region (Instrument *pInstrument, RIFF::List *rgnList) | |
virtual | ~Region () |
void | LoadArticulations () |
Protected Attributes | |
RIFF::List * | pCkRegion |
uint32_t | WavePoolTableIndex |
Sample * | pSample |
Resource * | pParent |
RIFF::List * | pParentList |
ArticulationList * | pArticulations |
ArticulationList::iterator | ArticulationsIterator |
uint32_t | SamplerOptions |
Friends | |
class | Instrument |
Definition at line 401 of file DLS.h.
typedef std::list<Articulation*> DLS::Articulator::ArticulationList [protected, inherited] |
DLS::Region::Region | ( | Instrument * | pInstrument, | |
RIFF::List * | rgnList | |||
) | [protected] |
Definition at line 289 of file DLS.cpp.
References Channel, CHUNK_ID_RGNH, CHUNK_ID_WLNK, F_RGN_OPTION_SELFNONEXCLUSIVE, F_WAVELINK_MULTICHANNEL, F_WAVELINK_PHASE_MASTER, RIFF::List::GetSubChunk(), KeyGroup, KeyRange, Layer, MultiChannel, pCkRegion, PhaseGroup, PhaseMaster, pSample, RIFF::Chunk::Read(), RIFF::Chunk::ReadUint16(), RIFF::Chunk::ReadUint32(), RIFF::Chunk::RemainingBytes(), SelfNonExclusive, VelocityRange, and WavePoolTableIndex.
DLS::Region::~Region | ( | ) | [protected, virtual] |
Articulation * DLS::Articulator::GetFirstArticulation | ( | ) | [inherited] |
Definition at line 85 of file DLS.cpp.
References DLS::Articulator::ArticulationsIterator, DLS::Articulator::LoadArticulations(), and DLS::Articulator::pArticulations.
Articulation * DLS::Articulator::GetNextArticulation | ( | ) | [inherited] |
Definition at line 92 of file DLS.cpp.
References DLS::Articulator::ArticulationsIterator, and DLS::Articulator::pArticulations.
Resource* DLS::Resource::GetParent | ( | ) | [inline, inherited] |
Definition at line 350 of file DLS.h.
Referenced by GetSample(), gig::Region::GetSampleFromWavePool(), and gig::Region::Region().
Sample * DLS::Region::GetSample | ( | ) |
Reimplemented in gig::Region.
Definition at line 318 of file DLS.cpp.
References DLS::File::GetFirstSample(), DLS::File::GetNextSample(), DLS::Resource::GetParent(), pSample, DLS::File::pWavePoolTable, DLS::Sample::ulWavePoolOffset, and WavePoolTableIndex.
Referenced by PrintRegions().
void DLS::Articulator::LoadArticulations | ( | ) | [protected, inherited] |
Definition at line 98 of file DLS.cpp.
References RIFF::List::GetFirstSubList(), RIFF::List::GetListType(), RIFF::List::GetNextSubList(), RIFF::List::GetSubList(), LIST_TYPE_ART1, LIST_TYPE_ART2, LIST_TYPE_LAR2, LIST_TYPE_LART, DLS::Articulator::pArticulations, and DLS::Articulator::pParentList.
Referenced by DLS::Articulator::GetFirstArticulation().
friend class Instrument [friend] |
ArticulationList::iterator DLS::Articulator::ArticulationsIterator [protected, inherited] |
Definition at line 306 of file DLS.h.
Referenced by DLS::Articulator::GetFirstArticulation(), and DLS::Articulator::GetNextArticulation().
uint32_t DLS::Region::Channel |
int16_t DLS::Sampler::FineTune [inherited] |
Definition at line 362 of file DLS.h.
Referenced by PrintDimensionRegions(), and DLS::Sampler::Sampler().
int32_t DLS::Sampler::Gain [inherited] |
Definition at line 363 of file DLS.h.
Referenced by gig::DimensionRegion::DimensionRegion(), PrintDimensionRegions(), and DLS::Sampler::Sampler().
uint16_t DLS::Region::KeyGroup |
Definition at line 403 of file DLS.h.
Referenced by gig::Instrument::Instrument(), PrintRegions(), and Region().
uint16_t DLS::Region::Layer |
bool DLS::Sampler::NoSampleCompression [inherited] |
bool DLS::Sampler::NoSampleDepthTruncation [inherited] |
ArticulationList* DLS::Articulator::pArticulations [protected, inherited] |
Definition at line 305 of file DLS.h.
Referenced by DLS::Articulator::Articulator(), DLS::Articulator::GetFirstArticulation(), DLS::Articulator::GetNextArticulation(), DLS::Articulator::LoadArticulations(), and DLS::Articulator::~Articulator().
RIFF::List* DLS::Region::pCkRegion [protected] |
dlsid_t* DLS::Resource::pDLSID [inherited] |
Points to a dlsid_t structure if the file provided a DLS ID else is NULL.
Definition at line 348 of file DLS.h.
Referenced by DLS::Resource::Resource(), and DLS::Resource::~Resource().
uint16_t DLS::Region::PhaseGroup |
Info* DLS::Resource::pInfo [inherited] |
Points (in any case) to an Info object, providing additional, optional infos and comments.
Definition at line 347 of file DLS.h.
Referenced by ExtractSamples(), main(), PrintDimensionRegions(), PrintInstruments(), PrintRegions(), PrintSamples(), DLS::Resource::Resource(), and DLS::Resource::~Resource().
Resource* DLS::Resource::pParent [protected, inherited] |
RIFF::List* DLS::Articulator::pParentList [protected, inherited] |
Definition at line 304 of file DLS.h.
Referenced by DLS::Articulator::Articulator(), and DLS::Articulator::LoadArticulations().
Sample* DLS::Region::pSample [protected] |
Definition at line 417 of file DLS.h.
Referenced by gig::Region::GetSample(), GetSample(), gig::Region::GetSampleFromWavePool(), and Region().
sample_loop_t* DLS::Sampler::pSampleLoops [inherited] |
Points to the beginning of a sample loop array, or is NULL if there are no loops defined.
Definition at line 367 of file DLS.h.
Referenced by DLS::Sampler::Sampler(), and DLS::Sampler::~Sampler().
uint32_t DLS::Sampler::SampleLoops [inherited] |
Reflects the number of sample loops.
Definition at line 366 of file DLS.h.
Referenced by PrintRegions(), and DLS::Sampler::Sampler().
uint32_t DLS::Sampler::SamplerOptions [protected, inherited] |
Definition at line 369 of file DLS.h.
Referenced by gig::DimensionRegion::DimensionRegion(), and DLS::Sampler::Sampler().
uint8_t DLS::Sampler::UnityNote [inherited] |
Definition at line 361 of file DLS.h.
Referenced by PrintDimensionRegions(), and DLS::Sampler::Sampler().
uint32_t DLS::Region::WavePoolTableIndex [protected] |
Definition at line 416 of file DLS.h.
Referenced by gig::Region::GetSample(), GetSample(), and Region().