Skip to content
ParanjayyPublic

About

Saptak — an instrument studio in your browser: harmonium, piano, bansuri, sitar, tabla, 16-step drum machine. All synthesized live, no samples.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

सप्तक Saptak

An instrument studio in your browser. No samples — everything is synthesized in real time with the Web Audio API.

Saptak (सप्तक — "the seven notes") is a free, open-source web instrument studio built as an homage to, and evolution of, Rajaraman Iyer's excellent Web Harmonium. Where the original plays back recorded .wav samples, Saptak synthesizes every voice live — reeds, hammers, breath, plucked strings, and drums — so the whole thing fits in one tiny static site.

Instruments

  • Harmonium — free-reed organ voice, authentic two-row saptak layout (front row: Sa Re Ga Ma Pa Dha Ni · back row: komal/teevra). Pick your Sa, add a tanpura drone, hold with bellows sustain.
  • Piano — 88-note grand approximation with hammer noise and felt release.
  • Bansuri — 6-hole bamboo flute with real fingering: cover holes, blow, and overblow the octave. Keyboard plays the scale and the holes follow.
  • Sitar — Karplus–Strong plucked strings with sympathetic strings and jivari.
  • Tabla — 8 bol pads (Na, Tin, Dhin, Dha, Ge, Tun, Ke, Tat) plus a taal loop.
  • Drum Machine — a 16-step, 8-track FL-style sequencer with kick, snare, clap, hats, toms, shaker.

Extras

  • Metronome with Indian taals (Teentaal 16, Ektaal 12, Jhaptaal 10, Rupak 7, Keherwa 8, Dadra 6) — clap beats marked, sam accented.
  • Recorder — record your session and download it (webm).
  • Master FX — reverb send, delay send, low cut, warmth, compressor, level meter.
  • Input — computer keyboard (FL-style layout) and MIDI controllers.

Play

Keyboard layout (FL-style):
  Z S X D C V G B H N J M , . /   → C3…E4
  Q 2 W 3 E R 5 T 6 Y 7 U I 9 O 0 P [ ]  → C4…G5

Or just click the keys / pads / frets / holes.

Why "Saptak"?

Harmonium, piano, flute, sitar, tabla — Indian classical music names its octaves सप्तक (saptak), from सप्त (sapta, "seven"), the seven notes Sa Re Ga Ma Pa Dha Ni. One studio for all of them.

Tech

Vanilla HTML + CSS + JavaScript, Web Audio API. No frameworks, no samples, no build step. Static-host friendly.

Run

python3 -m http.server 5173
# open http://localhost:5173

Deployed

Inspired by Rajaraman Iyer.

License

MIT

About

Saptak — an instrument studio in your browser: harmonium, piano, bansuri, sitar, tabla, 16-step drum machine. All synthesized live, no samples.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages