Added a separate global volume default
This commit is contained in:
parent
037a2cec5b
commit
bb5ee8ac00
2 changed files with 2 additions and 1 deletions
|
|
@ -87,6 +87,7 @@ namespace Default
|
|||
constexpr Range<uint8_t> ccTriggerValueRange{ 0, 127 };
|
||||
|
||||
// Performance parameters: amplifier
|
||||
constexpr float globalVolume { -7.35f };
|
||||
constexpr float volume { 0.0f };
|
||||
constexpr Range<float> volumeRange { -144.0, 6.0 };
|
||||
constexpr Range<float> volumeCCRange { -144.0, 48.0 };
|
||||
|
|
|
|||
|
|
@ -431,7 +431,7 @@ private:
|
|||
|
||||
int samplesPerBlock { config::defaultSamplesPerBlock };
|
||||
float sampleRate { config::defaultSampleRate };
|
||||
float volume { Default::volume };
|
||||
float volume { Default::globalVolume };
|
||||
int numVoices { config::numVoices };
|
||||
Oversampling oversamplingFactor { config::defaultOversamplingFactor };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue