(If you hear the pops going away sometimes in this video, it's the iPhone mic's noise cancellation I think)
Starting and stopping the `audiopwmio` engine in CircuitPython leads to "pops" or "clikcs" in the audio output. This is because the PWM generator is being stopped and started, which causes a large discontinuity in the voltage level on the audio line. And that sounds like a pop or click.
The solution is to use CircuitPython's AudioMixer (which will cause the pop to happen just once, on startup) or to not use audiopwmio (e.g. use I2S with audiobusio). More details here: https://github.com/todbot/circuitpyth...
#circuitpython #pwm