~/talk

Python and Music: Building a Music Tutor

Talkat PyCon India 2025 · 2025-09-12..09-15· [python, creative-coding]
linkedin:guptaanant
slides:none on file

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

  1. 0:00Introduction to talk
  2. 1:28Why people quit music
  3. 6:13Problem breakdown and solution
  4. 8:46MIDI technology explained
  5. 10:14Technical architecture overview
  6. 11:18Song processing with Python
  7. 13:29Lesson creation process
  8. 15:44UI and gamification design
  9. 17:54Hardware integration demo
  10. 20:22Live piano performance demo
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.