Replies: 2 comments 4 replies
-
I suggest that you submit a pull request for the Snap Client. Thanks for informing me about the bug in CodecMP3Helix that I have introduce with the implementation of the addNotifyAudioChange method |
Beta Was this translation helpful? Give feedback.
3 replies
-
Hmm, what is "3-level PWM in bridge mode" exactly and how would you use it ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I was looking for a 3-level PWM solution for filterless, and it seems that the MCPWM peripheral in ESP32 had the up-down timer necessary to synthesize the waveforms.
I have attached an implementation tested on ESP32 and ESP32-S3. The disadvantage is that it doesn't have DMA, so it needs an interrupt for every sample, and another issue, the interrupt must be in a cpp file due to a linker error when it's header only.
Some other modifications I've made in library files:
addNotifyAudioChange(bi)
toAudioDecoder::addNotifyAudioChange(bi)
to avoid an infinite recursive call (recent bug).setupMDNS()
to line 121, after the calls tosetServerIP()
andsetServerPort()
otherwise IP obtained by MDNS gets overridden; the issue appeared recently also.server_ip
andserver_port
toESP_LOGE(...)
, to be able to notice discrepancies like the above.aat-mcpwm.zip
Beta Was this translation helpful? Give feedback.
All reactions