Raga Math guide
New to ragas? Start here. Each section says what a part of the site does and how to use it. No music theory needed.
- What's a raga?
- Hear a raga
- Lessons & ear quiz
- Superstar's riddle
- Mix two ragas
- Ragas as shapes
- Words
What's a raga?
An octave has 12 notes. A raga picks some of them, usually 5 to 7, and that choice gives it its mood. In Carnatic music the notes are called Sa Ri Ga Ma Pa Dha Ni, like do re mi.
- Sa (home) and Pa (the fifth) are in every raga. The other 5 notes are the raga's choices.
- Choose Ri, Ga, Ma, Dha and Ni in every allowed way and you get exactly 72 parent ragas (melakartas). Raga Math works each one out with a small formula.
- Thousands of other ragas are built from those 72 by dropping notes or changing their order.
Hear a raga
The Studio (the home page) plays any raga as a short tune.
- Pick a Raga. The box below it shows which notes it uses.
- Tap ▶ Generate & play. The notes scroll past as they play.
- Change the Melody pattern to hear the same raga as a different tune: plain up and down, Fibonacci, digits of π, or a korvai that lands exactly on beat one.
- Optional: Tempo changes the speed live, Instrument changes the sound (violin suits ragas best), and the Drone and Tala sound switches add the background hum and the beat.
- ✦ Continue with Magenta AI downloads a small AI model once (about 13 MB) and lets it write more of the tune, kept inside the raga. It runs on your phone, not on a server.

Lessons & ear quiz
At the top of the Studio page there are 14 short lessons, each with a sound to play.
- Read the lesson, then tap its ▶ button to hear the idea.
- Use ◀ ▶ to move between lessons.
- Switch to Ear quiz to test yourself: listen to a mystery raga and pick its name.

Superstar's riddle
In the film Thillu Mullu, Rajinikanth is asked: mix Sindhu Bhairavi, Shivaranjani and Athana, and which raga do you get? Raga Math solves it with a vote.
- On Mix ragas, scroll to Raga riddle. The three ragas from the film are already picked.
- Tap Solve. Each raga lights up its notes on the clock, one after another.
- A note stays if most of the ragas use it. The notes that win make up the answer: Kharaharapriya.
- Tap ▶ Play the answer to hear it, or pick other ragas to make your own riddle.

Mix two ragas
The rest of Mix ragas puts two ragas, A and B, side by side.
- The comparison box shows which notes A and B share and which differ.
- Ragamalika ("garland of ragas") plays the same tune, switching between A and B every cycle. It's a real Carnatic form.
- AI blend keeps your tune in A and your tune in B, and Magenta's MusicVAE model writes 3 bars that travel from one to the other.
- Graha bhedam keeps the same notes but calls a different one "Sa". Sometimes that turns one raga into another.
Ragas as shapes
How ragas work draws the 12 notes as a clock. Join a raga's notes and every raga becomes a shape.
- Pick a raga to see its shape and tap ▶ Play scale to hear it.
- ↻ Rotate Sa spins the shape so a different note becomes home. Some spins land on another raga, and its name appears.
- Lower down: why there are exactly 72 parent ragas, why Pa is fixed (physics), and why some notes "want" to resolve.

Words you'll see
- Swara
- A note: Sa, Ri, Ga, Ma, Pa, Dha, Ni. A number after it (R1, R2) says which version.
- Melakarta
- One of the 72 parent ragas, which use all 7 notes going up and down.
- Janya
- A raga derived from a parent, for example by skipping notes.
- Tala
- The beat cycle you clap to. Adi tala is 8 beats.
- Gamaka
- The bends and shakes singers add to notes.
- Shruti
- The pitch Sa sits on, like a singer's key.
- Korvai
- A phrase played three times that lands exactly on beat one.
Want the quick version? Take the 5-step tour. Missing something? See the roadmap or comment on Instagram @ghanithan.