2 |
* * |
* * |
3 |
* libgig - C++ cross-platform Gigasampler format file access library * |
* libgig - C++ cross-platform Gigasampler format file access library * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003-2010 by Christian Schoenebeck * |
* Copyright (C) 2003-2012 by Christian Schoenebeck * |
6 |
* <cuse@users.sourceforge.net> * |
* <cuse@users.sourceforge.net> * |
7 |
* * |
* * |
8 |
* This library is free software; you can redistribute it and/or modify * |
* This library is free software; you can redistribute it and/or modify * |
429 |
uint8_t DimensionUpperLimits[8]; ///< gig3: defines the upper limit of the dimension values for this dimension region |
uint8_t DimensionUpperLimits[8]; ///< gig3: defines the upper limit of the dimension values for this dimension region |
430 |
|
|
431 |
// derived attributes from DLS::Sampler |
// derived attributes from DLS::Sampler |
432 |
DLS::Sampler::UnityNote; |
using DLS::Sampler::UnityNote; |
433 |
DLS::Sampler::FineTune; |
using DLS::Sampler::FineTune; |
434 |
DLS::Sampler::Gain; |
using DLS::Sampler::Gain; |
435 |
DLS::Sampler::SampleLoops; |
using DLS::Sampler::SampleLoops; |
436 |
DLS::Sampler::pSampleLoops; |
using DLS::Sampler::pSampleLoops; |
437 |
|
|
438 |
// own methods |
// own methods |
439 |
double GetVelocityAttenuation(uint8_t MIDIKeyVelocity); |
double GetVelocityAttenuation(uint8_t MIDIKeyVelocity); |
450 |
void SetVCFVelocityScale(uint8_t scaling); |
void SetVCFVelocityScale(uint8_t scaling); |
451 |
Region* GetParent() const; |
Region* GetParent() const; |
452 |
// derived methods |
// derived methods |
453 |
DLS::Sampler::AddSampleLoop; |
using DLS::Sampler::AddSampleLoop; |
454 |
DLS::Sampler::DeleteSampleLoop; |
using DLS::Sampler::DeleteSampleLoop; |
455 |
// overridden methods |
// overridden methods |
456 |
virtual void SetGain(int32_t gain); |
virtual void SetGain(int32_t gain); |
457 |
virtual void UpdateChunks(); |
virtual void UpdateChunks(); |
667 |
class Instrument : protected DLS::Instrument { |
class Instrument : protected DLS::Instrument { |
668 |
public: |
public: |
669 |
// derived attributes from DLS::Resource |
// derived attributes from DLS::Resource |
670 |
DLS::Resource::pInfo; |
using DLS::Resource::pInfo; |
671 |
DLS::Resource::pDLSID; |
using DLS::Resource::pDLSID; |
672 |
// derived attributes from DLS::Instrument |
// derived attributes from DLS::Instrument |
673 |
DLS::Instrument::IsDrum; |
using DLS::Instrument::IsDrum; |
674 |
DLS::Instrument::MIDIBank; |
using DLS::Instrument::MIDIBank; |
675 |
DLS::Instrument::MIDIBankCoarse; |
using DLS::Instrument::MIDIBankCoarse; |
676 |
DLS::Instrument::MIDIBankFine; |
using DLS::Instrument::MIDIBankFine; |
677 |
DLS::Instrument::MIDIProgram; |
using DLS::Instrument::MIDIProgram; |
678 |
DLS::Instrument::Regions; |
using DLS::Instrument::Regions; |
679 |
// own attributes |
// own attributes |
680 |
int32_t Attenuation; ///< in dB |
int32_t Attenuation; ///< in dB |
681 |
uint16_t EffectSend; |
uint16_t EffectSend; |
686 |
|
|
687 |
|
|
688 |
// derived methods from DLS::Resource |
// derived methods from DLS::Resource |
689 |
DLS::Resource::GetParent; |
using DLS::Resource::GetParent; |
690 |
// overridden methods |
// overridden methods |
691 |
Region* GetFirstRegion(); |
Region* GetFirstRegion(); |
692 |
Region* GetNextRegion(); |
Region* GetNextRegion(); |
748 |
static const DLS::version_t VERSION_3; |
static const DLS::version_t VERSION_3; |
749 |
|
|
750 |
// derived attributes from DLS::Resource |
// derived attributes from DLS::Resource |
751 |
DLS::Resource::pInfo; |
using DLS::Resource::pInfo; |
752 |
DLS::Resource::pDLSID; |
using DLS::Resource::pDLSID; |
753 |
// derived attributes from DLS::File |
// derived attributes from DLS::File |
754 |
DLS::File::pVersion; |
using DLS::File::pVersion; |
755 |
DLS::File::Instruments; |
using DLS::File::Instruments; |
756 |
|
|
757 |
// derived methods from DLS::Resource |
// derived methods from DLS::Resource |
758 |
DLS::Resource::GetParent; |
using DLS::Resource::GetParent; |
759 |
// derived methods from DLS::File |
// derived methods from DLS::File |
760 |
DLS::File::Save; |
using DLS::File::Save; |
761 |
DLS::File::GetFileName; |
using DLS::File::GetFileName; |
762 |
// overridden methods |
// overridden methods |
763 |
File(); |
File(); |
764 |
File(RIFF::File* pRIFF); |
File(RIFF::File* pRIFF); |