adjustable portamento, fixed adsr

This commit is contained in:
michalcourson
2025-10-30 20:00:55 -04:00
parent 098bd49cb5
commit 3645e38dd5
4 changed files with 25 additions and 5 deletions

View File

@ -84,6 +84,11 @@ public:
void RemoveMidiNote(int note);
void SetFormantPreserve(float val) { formant_preserve = val; }
void SetAutoTuneSpeed(float val);
void SetPortamentoTime(float time) {
for (int i = 0; i < MAX_VOICES; ++i) {
voices[i].SetPortamentoTime(time);
}
}
float out_midi = 40;