Forgot to update source depths after changing default to 0
This commit is contained in:
parent
b99b40b131
commit
4a998cf6e7
1 changed files with 2 additions and 2 deletions
|
|
@ -154,10 +154,10 @@ void sfz::Synth::buildRegion(const std::vector<Opcode>& regionOpcodes)
|
|||
constexpr unsigned defaultSmoothness = 10;
|
||||
lastRegion->getOrCreateConnection(
|
||||
ModKey::createCC(7, 4, defaultSmoothness, 100, 0),
|
||||
ModKey::createNXYZ(ModId::Amplitude, lastRegion->id));
|
||||
ModKey::createNXYZ(ModId::Amplitude, lastRegion->id)).sourceDepth = 1.0f;
|
||||
lastRegion->getOrCreateConnection(
|
||||
ModKey::createCC(10, 1, defaultSmoothness, 100, 0),
|
||||
ModKey::createNXYZ(ModId::Pan, lastRegion->id));
|
||||
ModKey::createNXYZ(ModId::Pan, lastRegion->id)).sourceDepth = 1.0f;
|
||||
|
||||
//
|
||||
auto parseOpcodes = [&](const std::vector<Opcode>& opcodes) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue