How yt2nj/learn-sing works
This is an offline singing-pitch practice page. A user opens the standalone HTML, then practices with microphone input or a local audio file and sees pitch feedback; the on-page piano provides reference tones. Transpose changes the solfège-to-note mapping, not the input audio. The interface, analysis, and controls are implemented in the app.js monolith. README documents the product capabilities and embedding; the sampled source excerpts do not expose all runtime wiring, so those relationships are attributed to README rather than inferred between subsystems.
Main entry points: app.js Piano keyboard · learn-sing.html Practice page · pitch-data.js Pitch data · piano Piano samples
Components 11
Offline entry
- Practice page
learn-sing.html - App startup
app.js
Pitch practice
- Practice controls
app.js - Microphone pitch
app.js - Audio-file practice
app.js - Pitch visualization
app.js - Solfege transpose
app.js
Pitch references
- Piano keyboard
app.js - Pitch data
pitch-data.js - Piano samples
assets/piano
Other components
- Learner
Connections 12
- Learner → Practice page: opens
README.md - Practice page → App startup: starts
README.md - App startup → Practice controls: creates
app.js - Learner → Microphone pitch: sings into
README.md - Learner → Audio-file practice: selects file
README.md - Microphone pitch → Pitch visualization: shows pitch
README.md - Audio-file practice → Pitch visualization: shows pitch
README.md - Learner → Piano keyboard: plays keys
README.md - Piano keyboard → Piano samples: plays tones
app.js - Learner → Solfege transpose: sets reference key
README.md - Solfege transpose → Pitch visualization: labels notes
README.md - Pitch data → Piano keyboard: defines pitches