amp_random is only between 0-24 dB
This commit is contained in:
parent
89a305075b
commit
3709c4065f
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ bool sfz::Region::parseOpcode(const Opcode& opcode)
|
|||
break;
|
||||
case hash("amp_random"):
|
||||
setValueFromOpcode(opcode, ampRandom, Default::ampRandomRange);
|
||||
volumeDistribution.param(std::uniform_real_distribution<float>::param_type(-ampRandom, ampRandom));
|
||||
volumeDistribution.param(std::uniform_real_distribution<float>::param_type(0, ampRandom));
|
||||
break;
|
||||
case hash("amp_velcurve_"):
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue