Skip to content

Commit

Permalink
Add LCR pan formatting (#1425)
Browse files Browse the repository at this point in the history
Just a little tweak before I tear everything apart for
group and part level poly stealing
  • Loading branch information
baconpaul authored Oct 17, 2024
1 parent 186719a commit b840255
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libs/sst/sst-basic-blocks
2 changes: 1 addition & 1 deletion src/engine/group.h
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ struct Group : MoveableOnly<Group>,
SC_DESCRIBE(scxt::engine::Group::GroupOutputInfo,
SC_FIELD(amplitude,
pmd().asCubicDecibelAttenuationWithUpperDBBound(12).withName("Amplitude"));
SC_FIELD(pan, pmd().asPercentBipolar().withName("Pan").withDecimalPlaces(0));
SC_FIELD(pan, pmd().asPan().withName("Pan"));
SC_FIELD(procRouting, pmd().asInt().withRange(0, 1));
SC_FIELD(oversample, pmd().asBool().withName("Oversample"));
SC_FIELD(velocitySensitivity,
Expand Down
4 changes: 2 additions & 2 deletions src/engine/zone.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ struct Zone : MoveableOnly<Zone>, HasGroupZoneProcessors<Zone>, SampleRateSuppor
SC_DESCRIBE(scxt::engine::Zone::ZoneOutputInfo,
SC_FIELD(amplitude,
pmd().asCubicDecibelAttenuationWithUpperDBBound(12).withName("Amplitude"));
SC_FIELD(pan, pmd().asPercentBipolar().withName("Pan"));
SC_FIELD(pan, pmd().asPan().withName("Pan"));
SC_FIELD(procRouting, pmd().asInt().withRange(0, 1));)

SC_DESCRIBE(
Expand All @@ -290,7 +290,7 @@ SC_DESCRIBE(
SC_FIELD(pbDown, pmd().asMIDIPitch().withUnit("").withDefault(2).withName("Pitch Bend Down"));
SC_FIELD(pbUp, pmd().asMIDIPitch().withUnit("").withDefault(2).withName("Pitch Bend Up"));
SC_FIELD(amplitude, pmd().asDecibelWithRange(-36, 36).withName("Amplitude").withDefault(0.f));
SC_FIELD(pan, pmd().asPercentBipolar().withName("Pan").withDefault(0.0));
SC_FIELD(pan, pmd().asPan().withName("Pan"));
SC_FIELD(pitchOffset, pmd().asSemitoneRange().withName("Pitch").withDefault(0.0)););

#endif

0 comments on commit b840255

Please sign in to comment.