Skip to content

Commit

Permalink
Keytrack on for generators, string resonator
Browse files Browse the repository at this point in the history
Requires an upstream change in SCXT coming soon
  • Loading branch information
baconpaul committed May 29, 2024
1 parent 8016015 commit 8301ed8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/sst/voice-effects/delay/StringResonator.h
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ template <typename VFXConfig> struct StringResonator : core::VoiceEffectTemplate
return res;
}
bool getKeytrack() const { return keytrackOn; }
bool getKeytrackDefault() const { return true; }

protected:
bool keytrackOn{true};
Expand Down
1 change: 1 addition & 0 deletions include/sst/voice-effects/generator/GenPulseSync.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ template <typename VFXConfig> struct GenPulseSync : core::VoiceEffectTemplateBas
return res;
}
bool getKeytrack() const { return keytrackOn; }
bool getKeytrackDefault() const { return true; }

protected:
void convolute()
Expand Down
1 change: 1 addition & 0 deletions include/sst/voice-effects/generator/GenSaw.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ template <typename VFXConfig> struct GenSaw : core::VoiceEffectTemplateBase<VFXC
return res;
}
bool getKeytrack() const { return keytrackOn; }
bool getKeytrackDefault() const { return true; }

protected:
bool keytrackOn{true};
Expand Down
3 changes: 2 additions & 1 deletion include/sst/voice-effects/generator/GenSin.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,10 @@ template <typename VFXConfig> struct GenSin : core::VoiceEffectTemplateBase<VFXC
return res;
}
bool getKeytrack() const { return keytrackOn; }
bool getKeytrackDefault() const { return true; }

protected:
bool keytrackOn{false};
bool keytrackOn{true};
sst::basic_blocks::dsp::QuadratureOscillator<float> mQuadOsc;
sst::basic_blocks::dsp::lipol_sse<VFXConfig::blockSize, true> mLevelLerp;
};
Expand Down

0 comments on commit 8301ed8

Please sign in to comment.