diff --git a/libs/sst/sst-basic-blocks b/libs/sst/sst-basic-blocks index 38ea2a52..011c7fdb 160000 --- a/libs/sst/sst-basic-blocks +++ b/libs/sst/sst-basic-blocks @@ -1 +1 @@ -Subproject commit 38ea2a52862f6d4a292ed33e6c0589fbdc9ba665 +Subproject commit 011c7fdbbcf23edc7112da23fd6417fe09380e5f diff --git a/src/engine/group.h b/src/engine/group.h index f80ea254..f63f1736 100644 --- a/src/engine/group.h +++ b/src/engine/group.h @@ -255,7 +255,8 @@ struct Group : MoveableOnly, } // namespace scxt::engine SC_DESCRIBE(scxt::engine::Group::GroupOutputInfo, - SC_FIELD(amplitude, pmd().asCubicDecibelAttenuation().withName("Amplitude")); + SC_FIELD(amplitude, + pmd().asCubicDecibelAttenuationWithUpperDBBound(12).withName("Amplitude")); SC_FIELD(pan, pmd().asPercentBipolar().withName("Pan")); SC_FIELD(procRouting, pmd().asInt().withRange(0, 1)); SC_FIELD(oversample, pmd().asBool().withName("Oversample")); diff --git a/src/engine/zone.h b/src/engine/zone.h index 91527e14..dbddddbe 100644 --- a/src/engine/zone.h +++ b/src/engine/zone.h @@ -269,7 +269,8 @@ struct Zone : MoveableOnly, HasGroupZoneProcessors, SampleRateSuppor } // namespace scxt::engine SC_DESCRIBE(scxt::engine::Zone::ZoneOutputInfo, - SC_FIELD(amplitude, pmd().asCubicDecibelAttenuation().withName("Amplitude")); + SC_FIELD(amplitude, + pmd().asCubicDecibelAttenuationWithUpperDBBound(12).withName("Amplitude")); SC_FIELD(pan, pmd().asPercentBipolar().withName("Pan")); SC_FIELD(procRouting, pmd().asInt().withRange(0, 1));)