Add dynamic toggle options. Add toggle for turning on and off the autotune
This commit is contained in:
michalcourson
2025-11-04 20:31:55 -05:00
parent cf0498a121
commit fe6ee5e51e
9 changed files with 356 additions and 195 deletions

View File

@ -157,6 +157,7 @@ public:
float getInputPitch() const { return sample_rate_ / in_period; }
float getOutputPitch() const { return sample_rate_ / out_period; }
void SetHarmonyMix(float mix);
void SetAutoTuneEnable(bool enable) { enable_autotune = enable; }
float out_midi = 40;
ShifterVoice voices[MAX_VOICES];
@ -219,6 +220,7 @@ private:
float cos_lookup[8192];
float sample_rate_;
int blocksize;
bool enable_autotune = false;
MidiPitchSmoother out_midi_smoother;
};
#endif