Shruti
Live tuner
Sing or play a steady note. The needle shows cents from the nearest 12-TET semitone. Within ±5¢ is performance-ready; ±15¢ is workable; beyond that, work the tampura.
Pitch (server-detected via YIN)
—
Cents from nearest semitone
—
Mic stays on this device. Audio frames are sent to the server for pitch detection; nothing is stored.
How this works
Your microphone captures ~93 ms frames at 44.1 kHz. Each frame is posted to /api/pitch-detect, which runs YIN (difference function + CMNDF + parabolic interpolation) on the server and returns the fundamental in Hz plus the cents offset.
The pitch-detection algorithm itself lives behind the server boundary — only the result rides the network. The same approach gates the raga grammar and synthesis engines.