amir16yp / midi2mpy

midi to micropython

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

midi2mpy

midi to micropython

Instructions

  1. Install the picozero library.
  2. copy main.py and mario.txt
  3. connect a passive buzzer or small speaker to pin 15 (or any pwm pin, as long as you change it in the code)
  4. 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 package midi2abc is installed. for windows users you can use WSL (google it)

About

midi to micropython

License:The Unlicense


Languages

Language:Shell 78.4%Language:Python 21.6%