Back to work

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.

Save thearnab

Your labs, one tap away. Add the app to your home screen to open it straight into the Lab.

In Chrome or Edge, use the install icon in the address bar or the browser’s app menu.

In Safari on a Mac, choose File → Add to Dock. On a phone, open this site in Safari or Chrome and save it to your home screen.

For music without a connection, use Prepare offline in the Songbook while online.