midi to micropython
- Install the picozero library.
- copy main.py and mario.txt
- connect a passive buzzer or small speaker to pin 15 (or any pwm pin, as long as you change it in the code)
- Optional: convert your own midi song into the plaintext format: run
bash midi2txt.sh -m=your-midi-file.mid > yourfile.txt
on a linux based system, make sure the packagemidi2abc
is installed. for windows users you can use WSL (google it)