How Raag Detection Works
When you sing, hum or upload a recording, RaagFinder tries to answer one question: which raag do these notes most resemble? Here is what happens, step by step.
1. Tracking the pitch
Every sung note is a vibration with a frequency, measured in hertz. RaagFinder follows that frequency many times a second, giving a continuous melody line. Pitch doubles with each octave, so a note at 440 Hz and one at 220 Hz are the same swara in different octaves.
2. Finding your Sa
Indian classical music is relative: every singer picks their own Sa (tonic). All other swaras are measured as distances from it. RaagFinder estimates your Sa from the recording, or you can set it yourself, which gives the most reliable results.
3. Turning pitch into swaras
The octave is divided into twelve semitone positions. Measured from Sa, each position becomes a swara: Sa, komal Re (r), shuddha Re (R), komal Ga (g), shuddha Ga (G), shuddha Ma (M), teevra Ma (M'), Pa, komal Dha (d), shuddha Dha (D), komal Ni (n) and shuddha Ni (N). RaagFinder counts which swaras appear and how long you dwell on each.
4. Comparing with raag rules
Each raag has a set of allowed swaras, an aroha (ascent), an avaroha (descent), important notes (vadi and samvadi) and characteristic phrases (pakad). RaagFinder compares what it heard with these rules for every raag in its raag guide and ranks the closest matches. You can choose a rule-based method, a trained AI model, or a hybrid of both.
Why results can differ
Raags that share the same notes, such as those within one thaat, are told apart mainly by phrasing and emphasis. Short clips, background music or an unclear Sa make that harder. Longer, clear recordings with a steady drone give the best results.
Try raag detection now or learn the basics in the free beginner course.