This project is a simple micropython pwm buzzer driver, which supports the application of uasycio to achieve multi-channel music playback, or multi-channels merged into one to achieve chord sound playback.
The method of composing music is more in line with the editing method of numbered musical notation.
Composers can compose music in python code in this way.
Currently only tested ESP32S2 chip.
After confirming the relevant documents, it has been determined that it should be compatible with all chips launched by Espressif that already support the micropython firmware , such as ESP8266,ESP32,ESP32S2,ESP32S3,ESP32C3.
Github:https://github.com/Wind-stormger/microp ... cio-buzzer
A simple micropython uasycio buzzer driver
- Wind-stormger
- Posts: 17
- Joined: Fri Nov 05, 2021 6:59 am
- Wind-stormger
- Posts: 17
- Joined: Fri Nov 05, 2021 6:59 am
Re: A simple micropython uasycio buzzer driver
It seems suitable for making some old video game music player.
So,I have transcribed a prelude from a video game music called Weight of the World to this.
So,I have transcribed a prelude from a video game music called Weight of the World to this.
- Wind-stormger
- Posts: 17
- Joined: Fri Nov 05, 2021 6:59 am
Re: A simple micropython uasycio buzzer driver
If you want to multi channels merged into one to achieve chord sound playback
DO it like this:
DO it like this:
- Wind-stormger
- Posts: 17
- Joined: Fri Nov 05, 2021 6:59 am
Re: A simple micropython uasycio buzzer driver
Update.
Remove inappropriate syntax (Pin.OUT).
Remove inappropriate syntax (Pin.OUT).