Skip to content

Commit

Permalink
Set range for Modern sub-type properly (#880)
Browse files Browse the repository at this point in the history
This would result in incorrect unstreams of MOMT_SINE

Closes #879
  • Loading branch information
baconpaul committed Mar 19, 2023
1 parent fc955b1 commit 56949bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vcoconfig/Modern.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ template <> void VCOConfig<ot_modern>::oscillatorSpecificSetup(VCO<ot_modern> *m
template <> void VCOConfig<ot_modern>::configureVCOSpecificParameters(VCO<ot_modern> *m)
{
auto bs = VCO<ot_modern>::ARBITRARY_SWITCH_0;
m->configParam(bs, ModernOscillator::momt_triangle, ModernOscillator::momt_square,
m->configParam(bs, ModernOscillator::momt_triangle, ModernOscillator::momt_sine,
ModernOscillator::momt_triangle, "Shape");
m->configParam(bs + 1, 0, 1, 0, "Sub");
m->configParam(bs + 2, 0, 1, 0, "SubSync");
Expand Down

0 comments on commit 56949bd

Please sign in to comment.