Case study
Riyaaz
A sargam practice studio that plays reference phrases and turns microphone input into live pitch feedback.
Open interactive demo- My role
- Design and engineering
- Context
- Personal project · Music practice
- Tech stack
- Web Audio, AudioWorklet, Firebase
Problem
Practising a phrase by ear makes it hard to tell which notes drifted or whether a slower tempo would help.
Constraints
- The microphone activates only when a singer starts a take.
Approach
- Let singers hear a phrase in their chosen key and tempo, sing it back, and review individual notes.
Architecture decisions
- Schedule reference notes with the Web Audio clock. Firebase saves signed-in practice history and stores recordings explicitly shared in a collaboration room.
Trade-offs
- Microphone signal, background noise, and vocal range affect how clearly pitch can be measured.
Impact
- The demo makes a short practice loop available in the browser, from a reference phrase to a downloadable recording.
What I learned
- Per-note feedback makes it easier to repeat a specific part of a phrase.