Store the normalized CC modifier
This commit is contained in:
parent
42fa89ab5a
commit
af05e0cbde
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ bool sfz::Region::parseOpcode(const Opcode& opcode)
|
|||
if (opcode.parameters.back() > config::numCCs)
|
||||
return false;
|
||||
if (auto value = readOpcode(opcode.value, Default::amplitudeRange))
|
||||
amplitudeCC[opcode.parameters.back()] = *value;
|
||||
amplitudeCC[opcode.parameters.back()] = normalizePercents(*value);
|
||||
break;
|
||||
case hash("pan"):
|
||||
setValueFromOpcode(opcode, pan, Default::panRange);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue