Back to Insights
audio engineering

Complete Sargam Guide for Beginners on Web Harmonium (Sa Re Ga Ma Pa)

2026-06-07
35 min read
Complete Sargam Guide for Beginners on Web Harmonium (Sa Re Ga Ma Pa)
Engineering Resource
Engineering Digest

Learn the foundational notes of Indian classical music (Sargam) using a free, offline, local-first web harmonium. A comprehensive guide with keyboard mappings, practice exercises, and zero latency.

Sargam is the solfege of Hindustani music, consisting of seven natural (Shuddh) and five modified (Vikrit) notes.
The web harmonium maps standard QWERTY keyboard keys to classical swaras, making digital riyaz accessible.
A client-side Web Audio API engine ensures zero-latency performance without transmitting audio to the cloud.
Practicing structured patterns called Alankars builds muscle memory, finger speed, and vocal pitch accuracy.
Content Roadmap

Indian classical music is an ancient, oral tradition centered on melodic expression, vocal purity, and structural improvisation. Unlike Western classical music, which uses absolute pitch notation, Hindustani and Carnatic music rely on a relative pitch system. The foundation of this system is Sargam, the solfege of South Asian music. For over a century, the hand-pumped harmonium has been the vocalist's most reliable partner. It provides a steady background drone (Sur) and mirrors complex vocal movements. This guide is designed to help you master the basic notes on a virtual keyboard. It teaches you how to learn basic notes online using a local-first, zero-latency web harmonium, without the cost or maintenance of a physical instrument.

The History and Structure of the Indian Harmonium

Although the harmonium is central to Indian classical, semi-classical, and devotional music today, it is not native to India. The instrument was invented in Paris in 1840 by Alexandre Debain as a foot-pumped reed organ. French missionaries and British colonists brought it to India in the late 19th century. Recognizing its potential, Indian instrument makers—particularly Dwarkanath Ghose in Calcutta—modified the European design. They replaced the foot pedals with a hand-pumped bellows, allowing the musician to sit on the floor while playing, and added drone stops to match the tonic needs of Indian classical ragas.

A physical harmonium generates sound using brass reeds. When the player pumps the bellows, air passes through the wooden air chambers and forces the brass reeds to vibrate. These reeds are tuned to specific pitches by scraping their tips (to raise the pitch) or bases (to lower the pitch). However, because they are made of wood and metal, physical harmoniums are highly sensitive to environmental factors. Changes in humidity and temperature across India can cause the wood to expand and the brass reeds to detune. This forces musicians to make regular trips to specialized repair shops for tuning. A virtual web harmonium provides an alternative: a calibrated, digital instrument that never detunes and is accessible on any device.

Decoding Sargam: The 12 Swaras of Hindustani Music

The term Sargam is a portmanteau of the first four notes of the scale: Sa, Re, Ga, and Ma. These notes represent the scale degrees of a raga. In Indian classical music, there are seven natural notes (Shuddh Swaras) and five modified notes (Vikrit Swaras), making a total of twelve pitches in a single octave. Let us look at these notes in detail.

The Seven Shuddh Swaras (Natural Notes)

The Shuddh Swaras form the basic major scale (equivalent to Bilawal Thaat). Each note has a full classical name and a corresponding natural sound from the physical world:

  • Sa (Shadja): The root note, or tonic. It is the center of the musical universe. The word Shadja means "born of six," representing the note that gives birth to the others. In nature, it is associated with the cry of the peacock.
  • Re (Rishabh): The second note. Rishabh represents strength and is associated with the lowing of a bull.
  • Ga (Gandhar): The third note. Gandhar is associated with the bleating of a goat.
  • Ma (Madhyam): The fourth note. Madhyam means "middle note" and is associated with the call of the heron.
  • Pa (Pancham): The fifth note. Pancham means "fifth" and is associated with the song of the cuckoo.
  • Dha (Dhaivat): The sixth note. Dhaivat is associated with the neighing of a horse.
  • Ni (Nishad): The seventh note. Nishad is associated with the trumpeting of an elephant.
Of these seven notes, Sa and Pa are fixed notes (Achala Swaras). They cannot be flat or sharp. The other five notes—Re, Ga, Ma, Dha, and Ni—are movable notes (Chala Swaras) and can be modified into flat or sharp positions.

The Five Vikrit Swaras (Modified Notes)

The movable notes can shift from their natural positions to create flat (Komal) or sharp (Tivra) pitches:

  • Komal Re: A flat second, positioned one semitone below Shuddh Re.
  • Komal Ga: A flat third, positioned one semitone below Shuddh Ga.
  • Tivra Ma: A sharp fourth, positioned one semitone above Shuddh Ma.
  • Komal Dha: A flat sixth, positioned one semitone below Shuddh Dha.
  • Komal Ni: A flat seventh, positioned one semitone below Shuddh Ni.
By using combinations of these twelve notes, Indian classical music constructs its rich system of thaats (parent scales) and ragas (melodic frameworks).

Understanding Saptaks: Navigating the Octaves

An octave in Indian music is called a Saptak. The three primary registers used in vocal and instrumental practice are:

  1. Mandra Saptak (Lower Octave): This register contains the low, deep notes. In written notations, these notes are marked with a dot underneath (e.g., ṇ, ḍ, p̣). Practicing in this octave helps build vocal depth and stability.
  2. Madhya Saptak (Middle Octave): This is the default register where the majority of vocal practice (riyaz) occurs. These notes have no dots in standard notation (e.g., Sa, Re, Ga, Ma).
  3. Taar Saptak (Higher Octave): This register contains the high, bright notes. In written notations, these notes are marked with a dot on top (e.g., Ṡ, Ṙ, Ġ). Practicing in this octave helps expand your vocal range.
A standard physical harmonium spans three to three-and-a-half octaves, allowing the player to cover all three saptaks during a performance. The MojoDocs virtual harmonium mirrors this range, allowing you to switch octaves using your computer keyboard.

The Economics of Learning Music: Traditional vs. Cloud vs. MojoDocs

Starting to learn Indian classical music requires a continuous commitment to practice, but the financial cost of tools can be a barrier for many students. Buying a high-quality physical double-reed or scale-changer harmonium from traditional instrument makers in hubs like Delhi, Meerut, or Kolkata requires a large upfront investment. In addition to the purchase price, physical harmoniums need regular maintenance. The bellows must be checked for air leaks, and the brass reeds must be retuned periodically to account for weathering.

Digital options also present challenges. Many mobile and desktop synthesizer apps charge monthly subscription fees. Others rely on cloud servers to process the audio, which introduces input lag and requires an active internet connection. MojoDocs addresses these issues by providing a free, local-first virtual harmonium that runs entirely in your browser with zero latency.

Method Cost Privacy
Physical Double-Reed Harmonium ₹18,000 - ₹35,000 upfront + ₹3,000/year tuning fees 100% Offline (Analog) but subject to structural weathering
Cloud-Based Keyboard & Synth Apps ₹4,500 - ₹9,500/year subscription plans Sends telemetry, keystrokes, and audio to remote servers
MojoDocs Web Harmonium ₹0 (Free, client-side open web utility) 100% Private (Runs locally in-browser, no data upload)

By eliminating purchase costs and subscription models, the virtual harmonium lowers the barrier to entry for students looking to learn basic notes online. Beginners can practice on a calibrated, tuned instrument without investing in hardware or software licenses.

Data Sovereignty and Client-Side Web Audio Technology

Data privacy is an important consideration when using digital creative tools. Many modern music applications upload user keystrokes, practice times, and microphone audio to remote servers. This telemetry is often used to train machine learning models or build user profiles. This poses a privacy risk for singers and instrumentalists, who may not want their practice sessions or vocal profiles recorded and stored in the cloud.

This risk is similar to the privacy concerns surrounding official identification documents. In India, documents like driving licenses on the Parivahan portal, Aadhaar details from UIDAI, PAN cards from NSDL, or passports from the Ministry of External Affairs (MEA) contain sensitive biometric and personal information. Users expect these documents to be handled securely without exposure to third-party trackers. The same standard of privacy should apply to creative workspaces.

The MojoDocs Web Harmonium is built on a local-first architecture to address these privacy concerns. Using the browser's native Web Audio API, the sound synthesis is performed entirely on your device. When you press a key, the browser's audio engine generates the sound waves in real time without sending data back to a server. You can verify this local-first behavior by testing the application offline.

The Flight Mode Verification

1. Open MojoDocs. 2. Turn off WiFi/Internet. 3. Process the file. 4. It completes instantly without any data leaving your device.

By bypassing cloud servers, the local-first engine also avoids network latency. Because the audio is synthesized directly on your computer's sound card, the time between pressing a key and hearing the sound is under 5 milliseconds, providing a responsive experience for fast practices and runs.

The Technical Architecture of Browser-Based Audio Synthesis

To understand how the virtual harmonium achieves zero latency, we can look at the underlying technology of the Web Audio API. Traditional web pages played audio by loading an HTML5 <audio> element and pointing it to an MP3 file. When a user pressed a key, the browser had to request the audio file, decode the compressed MP3 data, and pass it to the operating system's sound card. This process introduced a latency of 150 to 300 milliseconds, making it impossible to play in time with a rhythm.

The Web Audio API bypasses this process by synthesizing sound dynamically in the browser. It operates on an AudioContext, which is an audio-processing graph containing linked modules called AudioNodes. When you press a key on MojoDocs, the application creates an OscillatorNode to generate a continuous waveform. Rather than using simple sine waves, the engine combines sawtooth and square waves to replicate the complex, harmonic-rich sound of physical brass reeds.

This raw wave is then routed through a BiquadFilterNode, which acts as a low-pass filter to soften harsh high frequencies. Next, the signal passes through a GainNode, which uses an ADSR (Attack, Decay, Sustain, Release) envelope to shape the volume:

  • Attack: A short ramp (5–10 milliseconds) that simulates the opening of the physical wooden valve.
  • Decay: A subtle volume drop (20 milliseconds) as the airflow stabilizes.
  • Sustain: A steady level that maintains the volume for as long as the key is held down.
  • Release: A quick fade-out (50–100 milliseconds) as the valve closes and the reed stops vibrating.
Because these calculations are handled by the browser's compiled C++ engine, the audio latency is kept under 5 milliseconds, providing a responsive playing experience.

Mapping the QWERTY Keyboard to the Harmonium Keys

Playing the harmonium on a computer requires mapping the physical black and white keys of a keyboard to a standard QWERTY layout. The MojoDocs Web Harmonium uses a layout where the home row corresponds to the white keys (natural notes) and the top row corresponds to the black keys (sharps and flats).

Below is the keyboard mapping for the middle octave (Madhya Saptak), using C as the root pitch (Sa):

  • A: C (Sa / Shadja) - Root note
  • W: C# (Komal Re / Flat Rishabh) - Black key
  • S: D (Shuddh Re / Natural Rishabh) - White key
  • E: D# (Komal Ga / Flat Gandhar) - Black key
  • D: E (Shuddh Ga / Natural Gandhar) - White key
  • F: F (Shuddh Ma / Natural Madhyam) - White key
  • T: F# (Tivra Ma / Sharp Madhyam) - Black key
  • G: G (Pa / Pancham) - Fifth note
  • Y: G# (Komal Dha / Flat Dhaivat) - Black key
  • H: A (Shuddh Dha / Natural Dhaivat) - White key
  • U: A# (Komal Ni / Flat Nishad) - Black key
  • J: B (Shuddh Ni / Natural Nishad) - White key
  • K: C (Tar Saptak Sa) - High octave root note
  • O: C# (High Komal Re) - Black key
  • L: D (High Shuddh Re) - White key

This layout allows you to play chords and melodies within a two-octave range. You can use your left hand to hold down background chords (like the Sa-Pa drone on keys A and G) while using your right hand to play lead melodies on the middle and high keys.

Pro Tip: Turn on the "Sustain" option in the settings menu when using a computer keyboard. This allows notes to ring out after you release the keys, freeing up your fingers to play melodic lines without dropping the background chords.

Step-by-Step Alankars Practice Guide for Beginners

Once you are familiar with the keyboard layout, you can begin practicing basic exercises. In Indian classical music, these foundational exercises are called Alankars or Paltas. The word Alankar literally means "ornament" or "decoration." These exercises consist of structured patterns of notes that you sing and play in ascending (Aroha) and descending (Avroha) order.

Practicing Alankars serves several purposes for beginners:

  • Finger Agility: It trains your fingers to navigate the keyboard quickly and smoothly.
  • Pitch Alignment: Singing along with the notes builds relative pitch recognition and helps you stay in tune.
  • Rhythm Practice: Playing Alankars in time with a metronome (Taal) builds rhythmic control.
Below is a step-by-step guide to the eight foundational Alankars, mapped to the QWERTY keys of the web harmonium.

1. Foundational Alankar (Single Note Pattern)

This exercise introduces the basic scale in ascending and descending order. Focus on smooth transitions between notes.

  • Aroha (Ascending): Sa → Re → Ga → Ma → Pa → Dha → Ni → Sȧ
  • Aroha QWERTY Keys: ASDFGHJK
  • Avroha (Descending): Sȧ → Ni → Dha → Pa → Ma → Ga → Re → Sa
  • Avroha QWERTY Keys: KJHGFDSA

2. Double Note Pattern (Jodi Swara)

In this exercise, play each note twice. This helps build rhythm and finger articulation.

  • Aroha (Ascending): Sa-Sa → Re-Re → Ga-Ga → Ma-Ma → Pa-Pa → Dha-Dha → Ni-Ni → Sȧ-Sȧ
  • Aroha QWERTY Keys: A-AS-SD-DF-FG-GH-HJ-JK-K
  • Avroha (Descending): Sȧ-Sȧ → Ni-Ni → Dha-Dha → Pa-Pa → Ma-Ma → Ga-Ga → Re-Re → Sa-Sa
  • Avroha QWERTY Keys: K-KJ-JH-HG-GF-FD-DS-SA-A

3. Three-Note Groups (Triplets)

This exercise introduces overlapping patterns, playing three-note phrases that move up the scale step by step.

  • Aroha (Ascending): Sa-Re-Ga → Re-Ga-Ma → Ga-Ma-Pa → Ma-Pa-Dha → Pa-Dha-Ni → Dha-Ni-Sȧ
  • Aroha QWERTY Keys: A-S-DS-D-FD-F-GF-G-HG-H-JH-J-K
  • Avroha (Descending): Sȧ-Ni-Dha → Ni-Dha-Pa → Dha-Pa-Ma → Pa-Ma-Ga → Ma-Ga-Re → Ga-Re-Sa
  • Avroha QWERTY Keys: K-J-HJ-H-GH-G-FG-F-DF-D-SD-S-A

4. Four-Note Groups (Quads)

This exercise expands the pattern to four-note phrases, helping build speed and rhythm.

  • Aroha (Ascending): Sa-Re-Ga-Ma → Re-Ga-Ma-Pa → Ga-Ma-Pa-Dha → Ma-Pa-Dha-Ni → Pa-Dha-Ni-Sȧ
  • Aroha QWERTY Keys: A-S-D-FS-D-F-GD-F-G-HF-G-H-JG-H-J-K
  • Avroha (Descending): Sȧ-Ni-Dha-Pa → Ni-Dha-Pa-Ma → Dha-Pa-Ma-Ga → Pa-Ma-Ga-Re → Ma-Ga-Re-Sa
  • Avroha QWERTY Keys: K-J-H-GJ-H-G-FH-G-F-DG-F-D-SF-D-S-A

5. Skipping Patterns (Vakra Alankar)

This exercise involves skipping a note and then returning to it, helping build finger independence.

  • Aroha (Ascending): Sa-Ga → Re-Ma → Ga-Pa → Ma-Dha → Pa-Ni → Dha-Sȧ
  • Aroha QWERTY Keys: A-DS-FD-GF-HG-JH-K
  • Avroha (Descending): Sȧ-Dha → Ni-Pa → Dha-Ma → Pa-Ga → Ma-Re → Ga-Sa
  • Avroha QWERTY Keys: K-HJ-GH-FG-DF-SD-A

6. The Zig-Zag Pattern (Vakra Chal)

This exercise uses a zig-zag movement (ascending two steps and descending one) to train your ear and fingers to handle changes in direction.

  • Aroha (Ascending): Sa-Re-Sa-Ga → Re-Ga-Re-Ma → Ga-Ma-Ga-Pa → Ma-Pa-Ma-Dha → Pa-Dha-Pa-Ni → Dha-Ni-Dha-Sȧ
  • Aroha QWERTY Keys: A-S-A-DS-D-S-FD-F-D-GF-G-F-HG-H-G-JH-J-H-K
  • Avroha (Descending): Sȧ-Ni-Sȧ-Dha → Ni-Dha-Ni-Pa → Dha-Pa-Dha-Ma → Pa-Ma-Pa-Ga → Ma-Ga-Ma-Re → Ga-Re-Ga-Sa
  • Avroha QWERTY Keys: K-J-K-HJ-H-J-GH-G-H-FG-F-G-DF-S-F-A (Correction: F-D-F-SD-S-D-A)

7. Alternating Octave Leap

This exercise alternates between a note and the octave root, helping build pitch recognition across registers.

  • Aroha (Ascending): Sa-Sȧ → Re-Sȧ → Ga-Sȧ → Ma-Sȧ → Pa-Sȧ → Dha-Sȧ → Ni-Sȧ → Sȧ-Sȧ
  • Aroha QWERTY Keys: A-KS-KD-KF-KG-KH-KJ-KK-K
  • Avroha (Descending): Sȧ-Sa → Ni-Sa → Dha-Sa → Pa-Sa → Ma-Sa → Ga-Sa → Re-Sa → Sa-Sa
  • Avroha QWERTY Keys: K-AJ-AH-AG-AF-AD-AS-AA-A

8. The Advanced Circular Pattern

This long-form pattern tests your coordination and breath control when singing along.

  • Aroha (Ascending): Sa-Re-Ga-Ma-Pa → Re-Ga-Ma-Pa-Dha → Ga-Ma-Pa-Dha-Ni → Ma-Pa-Dha-Ni-Sȧ
  • Aroha QWERTY Keys: A-S-D-F-GS-D-F-G-HD-F-G-H-JF-G-H-J-K
  • Avroha (Descending): Sȧ-Ni-Dha-Pa-Ma → Ni-Dha-Pa-Ma-Ga → Dha-Pa-Ma-Ga-Re → Pa-Ma-Ga-Re-Sa
  • Avroha QWERTY Keys: K-J-H-G-FJ-H-G-F-DH-G-F-D-SG-F-D-S-A

Step-by-Step Guide: Setting Up a Focused Practice Station

To get the most out of your practice sessions, it is helpful to organize your environment. Here are a few tips for setting up a dedicated space:

Step 1: Gather and Organize Your Practice Materials

Keep a physical copy of your notation charts and Alankar guides at your practice desk. This keeps your screen clear for the virtual keyboard interface. You can print clean copies of these charts using Blinkit print stores or make photocopies of your lesson sheets at a local Xerox shop or Cyber Cafe.

Step 2: Connect and Test Your Audio Equipment

Use wired headphones or external speakers. Wireless Bluetooth headphones can introduce audio delay, which interferes with your timing. Connect your audio gear and check that the sound is clear.

Step 3: Perform the Flight Mode Audit

Open MojoDocs on your laptop or tablet, and turn off your internet connection. Playing offline minimizes distractions from notifications and ensures your practice session runs locally on your device.

Step 4: Prepare Drinks and Snacks

Keep water or tea nearby to stay hydrated. You can use services like Zepto or Swiggy Instamart to order refreshments directly to your door, helping you avoid interruptions during practice.

Step 5: Set a Metronome and Begin

Set a slow tempo on your metronome or play a basic rhythm (Theka) on a tabla machine. Begin with the first Alankar, playing each note slowly and singing along to match the pitch.

Conclusion: Traditional Practice with Modern Web Tools

The transition from a heavy, high-maintenance wooden instrument to a lightweight, browser-based application makes learning classical music more accessible. By combining the Web Audio API with a local-first design, MojoDocs provides a zero-latency, private virtual harmonium that allows musicians to practice and learn basic notes online without the need for expensive hardware or subscriptions.

Whether you are a beginner practicing scales or an experienced vocalist looking for a portable accompaniment tool, the virtual harmonium offers a convenient solution. By eliminating the reliance on cloud servers, the application ensures your practice sessions remain secure, private, and accessible wherever you are.

Ready to Play?

Launch the free, zero-latency Web Harmonium right now. No sign-ups or downloads required.

Play the Web Harmonium
sa re ga ma pa notes sargam guide harmonium learn basic notes online web harmonium indian classical music for beginners
Share article
WebAssembly
Client-Side Engine
Zero Latency
Processing Speed
0.00 KB
Data Retention
AES-256
Security Standard