# Make your own tunes

Compose a short melody on the swara pad, add rests and note lengths, then play it against your Sa, drone, and metronome.

This is a **scratch pad**, not a numbered home-path step. Use it after you know the swaras from Practice. Open the interactive page: [tunes.html](tunes.html).

## Quick start

1. Pick **Sa** in the bottom bar. Choose a **duration** in the toolbar, then tap keys or type tokens.
2. Put each vibhāg between `|` barlines — e.g. `| Sa Re Ga Ma |`. Beat counts and taal marks (X, 0, 2…) show in the preview.
3. Set **Taal** and **Start on beat** (sam = 1; many Teentaal bandishes start on beat 9). Press **Play** — with Metro on, playback waits for that matra.
4. Rest is `_` (never `R`). Bandish words: `Dha:Su`. Toolbar: `| bar`, `{} murki`, `// note`, `||:` … `:||` for repeats.

Quarter note = 1 beat at the current BPM. Tone, drone, and BPM follow the same bottom bar as Practice.

## Notation

Examples, syntax, holds, and the Bhatkhande legend are on the [Bhatkhande Notation Writer](/sangeet-yatra/tools/bhatkhande.html#how).

## How to use

1. Pick **Sa** (C2–B4). Same key as Practice.
2. Harmonium above the preview; taal marks and bar counts around the score. Type in the box at the bottom.
3. **Play** scrolls the preview to the sounding matra. Pad lights only during playback.
4. **Save locally** for a `.txt` you can move between devices. **Save in browser** for this browser only.

## Where tunes live

**On this site** — author’s library in `tunes-library.json` (GitHub). Play only; visitors cannot edit it.

**Save locally** — `.txt` download; **Load from disk** reopens it. On iPhone/iPad use Share → Save to Files.

**Save in browser** — `localStorage` only (`singing-tunes-v1`). Cleared with site data or on another device.

**Copy score** copies the text if you prefer to paste it yourself.
