Shazam for raagas

What's the raaga?
Learn to hear it.

Play about a minute of Carnatic or Hindustani music: it names the raaga, and shows you how to recognise it yourself.

Identify a raaga

Tap the mic, then hold your phone near the music for a minute.

Works best with a tanpura or shruti-box drone under the melody. The tonic (Sa) is found from it.

Your recording is never stored. It's analysed to find the raaga, then discarded.

free · open source · no sign-up

Already know the raaga? Contribute a recording →

How it works

01
Listen

Record, or point your phone at the stage

About a minute of melody works best. It needs at least 30 seconds before it can read anything, and it keeps listening when a raaga is hard to place.

02
Find Sa

It locks onto the tonic

The tanpura drone fixes the tonic (Sa). Every note is then heard relative to it, the way a listener does.

03
Name it

The raaga, with the runners-up

The top three raagas with honest confidence, the Sa it heard, and a plain-language note on how to hear that raaga.

Questions

What is twelveswaras?

twelveswaras is a free, open-source ’Shazam for raagas’. Play it about a minute of Carnatic or Hindustani music and it identifies the raaga, showing the top three with confidence, the tonic (Sa) it detected, and a note on how to hear that raaga.

Which raga is this song?

Play the song near your phone, or upload a recording, and twelveswaras names the most likely raaga from the 70 it knows (40 Carnatic, 30 Hindustani), with its top three and how sure it is. It listens for about a minute first. If the song is in a raaga it does not know yet, it says it is not sure and shows its closest guesses.

Can I find the raga of a film song?

It can, when the melody stays in one raaga. It is built for classical performance, so heavy orchestration, chords or a song that moves between raagas make it less reliable. Most raaga pages list well-known songs in that raaga, film songs among them.

How do I identify a raaga?

Tap the microphone and hold your phone near the music, or upload a recording. For the first minute it shows the notes it hears; then it names the raaga. A tanpura or shruti-box drone under the melody gives the best results, because the tonic is found from it.

Does it work at a live concert?

Yes. A concert always has a tanpura drone, which is exactly what it uses to find the tonic. Point your phone at the stage for a minute or more. Solo singing with no drone is unreliable.

How accurate is it?

On 80 real-world recordings (phone, concert and YouTube), analysed for two and a half minutes, its top answer is right 71% of the time and the right raaga is in its top three 80% of the time. It is surer the longer it listens, which is why it waits a minute before naming a raaga, and when it is not sure it says so. Allied raagas, which share a scale, are the hardest to tell apart.

How many raagas does it recognise?

Seventy raagas: 40 Carnatic and 30 Hindustani, recognised by one dual-tradition model. The Hindustani reference pages are still draft, pending a musician’s review.

Is twelveswaras free and open source?

Yes, it is a non-commercial, open-source public good. The code is MIT-licensed (the running recognizer is AGPL-3.0, because it uses Essentia), and the model weights and the contributor data commons are CC-BY-4.0.

Do I need to install an app?

No. It runs in your browser. On a phone you can ’Add to Home Screen’ for an app-like, full-screen experience, with no App Store or Play Store needed.

What it is, who is behind it, and what happens to your recording →