ElectroTechnique / TSynth-Teensy4.1

TSynth for Teensy 4.1
147 stars 41 forks source link

AudioProcessorUsageMax() with new exp envelope #116

Open rolfdegen opened 2 years ago

rolfdegen commented 2 years ago

Hallo Tsynt

I use the exp envelopes and read AudioProcessorUsageMax() It increases with each note. I can not be reset with AudioProcessorUsageMaxReset(). If I load another patch, the AudioProcessorUsageMax() drops again. If I set set EnvType() to -128 it works correctly.

// CPU Audio Memory --------------------------------------------------- if ((millis() - timer_CPUmon) > 500){ CPUaudioMem = AudioMemoryUsageMax(); printCPUmon(); AudioMemoryUsageMaxReset(); }