Python and Music: Building a Music Tutor
summary
A Python pipeline converts uploaded MP3/WAV into separated tracks using Demucs or UVR, converts melody to MIDI with BasicPitch/PrettyMIDI, and builds graded lessons with tempo and segment selection using Mido, Music21 and Librosa. Hardware maps MIDI to an Arduino + Adafruit NeoPixel strip with one‑to‑one key LEDs and bidirectional feedback over PySerial and MIDO. A gamified UI shows live score and accuracy; demo of Tum Hi Ho plays with usable visual guidance though melody extraction still produces some overlapping-octave noise.
AI-written summary · about
chapters (10)
- 0:00Introduction to talk
- 1:28Why people quit music
- 6:13Problem breakdown and solution
- 8:46MIDI technology explained
- 10:14Technical architecture overview
- 11:18Song processing with Python
- 13:29Lesson creation process
- 15:44UI and gamification design
- 17:54Hardware integration demo
- 20:22Live piano performance demo
