I’m trying to use the Mozzi library with a Xiao. At first, all my waveforms were folded over at 0V and 3.3V, but I found that by going into the Mozzi/AudioConfigSAM21D.h file and changing AUDIO_BIAS from 2048 to 512, the waveforms are now OK, but the frequency is a factor of 2 too low, and ADSR won’t decay to zero. I suspect this relates to some timer parameter, but I’m way over my head here. Can anybody point me to another Mozzi file that needs changing?
I haven’t tried this library. If you can find the reason, I hope you can share it with more people.