Hi, I'm working on an audio project that could use a smoothed control signal, was hoping to use AudioSynthWaveformDc with its timed amplitude function. However, when I try to use the timed amplitude function the DC output is stuck at zero, and it doesn't appear the function does anything at all.
For example if I do this in the main loop:
The Serial print shows 0.5. But if I do this:
The Serial print shows 0.
What's going on? Is this function not actual supported by the audio library?
For example if I do this in the main loop:
Code:
dc.amplitude(0.5);
Serial.println(dc.read());
The Serial print shows 0.5. But if I do this:
Code:
dc.amplitude(0.5, 100);
Serial.println(dc.read());
The Serial print shows 0.
What's going on? Is this function not actual supported by the audio library?