What it is
A practice app for one guitarist (me). It holds my repertoire, lessons, exercises, routines and goals, and it runs timed practice sessions. During a session it listens through the microphone with a tuner, a chord trainer and a scale trainer.
Why
Practice apps either teach lessons or log time, but none of them can hear me play. I wanted the app to know whether I actually landed a chord change, not just whether I said I did.
What was hard
Hearing chords, not notes. The pitch detector (pitchy) only finds one note at a time, so it can't recognise a chord. Chord recognition instead builds a 12-bin pitch-class chromagram from the mic's spectrum, using Essentia's HPCP compiled to WASM.
Deciding what "clean" means. A chord only counts when every required pitch class is above a presence floor, nothing else is above a "foreign" threshold, and both stay true for about 200 ms.
Counting strums once. A sharp rise in loudness marks the start of each attempt, so a chord left ringing doesn't keep scoring. Misses count as fumbles and clean changes count as reps.
The scale trainer reuses the same sequence walker, driven by single-note pitch changes, so it works in any octave or neck position. Both trainers have calibration panels, because every guitar, room and mic sounds different.