ElectroTechnique / TSynth-Teensy4.1

TSynth for Teensy 4.1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AudioProcessorUsageMax() with new exp envelope

rolfdegen opened this issue · comments

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(); }