
Master the art of accompanying ghazal singing using a browser-based virtual harmonium. Learn chords, scales, and notes for Raag Bhairavi in this local-first, zero-latency guide.
The ghazal is one of the most expressive and emotionally charged vocal forms in South Asian music. Anchored in rich Urdu poetry, it blends the rigors of Hindustani classical music with the lyrical fluidity of semi-classical performance. Historically, the hand-pumped harmonium has served as the vocalist's indispensable musical partner. Legendary maestros like Mehdi Hassan, Jagjit Singh, Ghulam Ali, and Farida Khanum used the harmonium to lay a continuous drone, provide pitch reference, and engage in intricate melodic dialogue with their own voices.
However, owning and maintaining a physical harmonium is fraught with challenges. High-quality physical harmoniums are heavy, delicate, and highly sensitive to environmental conditions. Fluctuations in temperature and humidity—common across regions like Delhi, Mumbai, and Kolkata—can easily detune brass reeds. Musicians are frequently forced to transport these 12-kilogram wooden instruments to local tuning experts, incurring continuous costs. Furthermore, for students and music enthusiasts, acquiring a quality scale-changer harmonium represents a significant capital barrier.
The rise of digital technology has introduced a modern alternative: the virtual harmonium. By leveraging the browser-based Web Audio API, musicians can now play ghazal online, using a virtual harmonium for ghazals directly on their laptops, desktops, or mobile devices. This comprehensive, technical guide will walk you through the art of ghazal accompaniment using web harmonium chords, break down the notes and progressions of the critical Raag Bhairavi, explore the physics of physical brass reed synthesis in web applications, and outline the economics of digital music practice in India.
The Evolution of Harmonium Accompaniment in Indian Classical Music
To appreciate how to accompany a ghazal vocalist digitally, we must examine the history of the instrument itself. The harmonium is not originally native to India; it was invented in France by Alexandre Debain in 1840 as a foot-pumped reed organ. French missionaries introduced it to India in the late 19th century. Recognizing its potential, Indian instrument makers—most notably Dwarkanath Ghose of Dwarkin & Son in Calcutta—modified the design. They replaced the foot pedals with a hand-pumped bellows operated from a sitting position on the floor, and replaced the western equal-tempered tuning configuration with reeds tuned to the needs of Hindustani music.
Despite its adoption, the harmonium faced resistance from purists. Because it is a keyed instrument, it cannot produce the continuous sliding pitch transitions (known as Meend) or microtonal intervals (known as Shrutis) that define Indian music. The sarangi, a bowed string instrument, was traditionally preferred for its ability to mimic the human voice perfectly. However, the harmonium's absolute pitch stability, ease of play, and rich acoustic volume eventually made it the dominant accompanying instrument for ghazals, thumris, and light-classical genres.
When accompanying a ghazal, the harmonium has a dual role. It provides the vocal foundation and plays lead melodies during pauses between verses. In the hands of a master accompanist, it acts as a dialogue partner, echoing the vocal shapes and filling the pauses with rapid runs (known as taans) or delicate ornamentations (known as murkis).
Melodic vs. Harmonic Accompaniment: The Ghazal Framework
Modern keyboards and digital synthesizers encourage players to use Western-style chord progressions (such as I-IV-V-I cadences). Applying this framework directly to a ghazal performance can clutter the sonic space and detract from the vocalist's performance. Hindustani classical music is monophonic and melodic, meaning it is built around a single melodic line and a continuous tonic reference (the drone). Western music is polyphonic and harmonic, built around shifting chord structures that define the musical path.
Ghazal accompaniment requires a hybrid approach. The core structure remains melodic, following the grammar of the specific raga in which the ghazal is composed. However, the use of quiet, strategic chords—which we call "pocket chords"—adds depth and texture. The goal is to support the vocalist's pitch without distracting from the emotional delivery of the poetry.
1. The Foundation of the Drone (Sur)
The most important element of any Indian classical performance is the drone. It establishes the scale reference. In traditional performances, this is provided by the Tanpura. When playing the harmonium, the player holds down the key corresponding to the vocalist's fundamental tonic note (called 'Sa') and the fifth note (called 'Pa'). If a raga lacks a natural fifth, the fourth note (called 'Ma') is used instead. This continuous frequency baseline is what allows the singer to stay in tune (sur) throughout the performance.
2. Pocket Chords: Dyads and Triads
Rather than using full major-seventh or diminished chords, a ghazal accompanist uses simple two-note (dyads) or three-note (triads) combinations. These pocket chords are played during pauses or at the start of a rhythm cycle (the Sam of the taal). They emphasize the key notes of the scale—the Vadi (the most dominant note) and the Samvadi (the second most dominant note)—creating a harmonic frame that matches the emotional character of the raga.
3. Filling the Gaps (Melodic Interludes)
A ghazal consists of a refrain (called the Asthayi or Sthayi) and subsequent verses (called the Antara). Between these sections, the vocalist pauses. This is when the harmonium player plays short lead lines. These fillers mirror the phrase the vocalist just sang or introduce the mood of the upcoming verse. To do this on a virtual harmonium, the player needs a zero-latency engine that registers QWERTY keystrokes instantly.
The Economics of Riyaz: Physical Instruments vs. Cloud Software vs. MojoDocs
Establishing a regular practice routine (Riyaz) is essential for any vocalist. However, the costs associated with traditional setups can be prohibitive for students. Physical scale-changer harmoniums require a large upfront investment, and keeping their brass reeds tuned is an ongoing expense. In India's humid climate, brass reeds oxidize and expand, causing their pitch to drift. This requires tuning visits to local music shops twice a year.
Digital alternatives also present challenges. Many online virtual harmoniums operate on subscription models, charging ongoing fees for access to basic instrument sounds. Others rely on cloud processing, sending MIDI signals to remote servers to generate the audio, which introduces performance lag and requires a constant high-speed internet connection. In contrast, MojoDocs provides a free, client-side virtual harmonium that operates entirely offline on your local device, eliminating maintenance costs and latency issues.
| Method | Cost | Privacy |
|---|---|---|
| Physical Scale-Changer Harmonium | ₹15,000 - ₹35,000 upfront + ₹3,000/year tuning fees | 100% Offline (Analog) but suffers from structural wear |
| Cloud-Based Software / Synth Apps | ₹5,000 - ₹12,000/year subscription plans | Poor (Requires active internet, constant data tracking) |
| MojoDocs Web Harmonium | ₹0 (Free, local-first engine) | 100% Secure (Zero-data upload, works entirely offline) |
By eliminating subscription costs and the need for constant maintenance, web-based local-first applications lower the financial barrier to entry for studying Indian classical music. Students can practice with a calibrated, zero-latency instrument without investing in hardware or software licenses.
Data Sovereignty in Music: The Architecture of Local-First Audio
Data privacy is an important consideration when using digital 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 commercial 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. Play keys or chords. 4. It plays instantly without any data leaving your device.
This design ensures your practice sessions remain private. Because no audio data is transmitted, the application is also free from network latency, allowing for responsive playing even on slower devices.
The Technical Mechanics of the Web Audio API
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.
Configuring Your QWERTY Keyboard for Chords
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).
The standard mapping, using C as the fundamental 'Sa' note, is configured as follows:
- A: C (Sa / Shadja)
- W: C# (Komal Re / Flat Rishabh)
- S: D (Shuddh Re / Natural Rishabh)
- E: D# (Komal Ga / Flat Gandhar)
- D: E (Shuddh Ga / Natural Gandhar)
- F: F (Shuddh Ma / Natural Madhyam)
- T: F# (Tivra Ma / Sharp Madhyam)
- G: G (Pa / Pancham)
- Y: G# (Komal Dha / Flat Dhaivat)
- H: A (Shuddh Dha / Natural Dhaivat)
- U: A# (Komal Ni / Flat Nishad)
- J: B (Shuddh Ni / Natural Nishad)
- K: C (Tar Saptak Sa / High Octave Shadja)
- O: C# (High Komal Re)
- L: D (High Shuddh Re)
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.
Deep Dive: Raag Bhairavi Ghazal Notes and Chord Construction
Raag Bhairavi is one of the most common scales used in ghazal singing. Often described as the queen of semi-classical ragas, it has a devotional, introspective quality. Bhairavi uses all four flat notes (komal swaras): Komal Re, Komal Ga, Komal Dha, and Komal Ni. The full scale consists of:
Sa (C), Komal Re (C#), Komal Ga (D#), Shuddh Ma (F), Pa (G), Komal Dha (G#), Komal Ni (A#), Tar Sa (C)
To play Raag Bhairavi on the QWERTY keyboard, you will use the following keys:
A (Sa) - W (Komal Re) - E (Komal Ga) - F (Shuddh Ma) - G (Pa) - Y (Komal Dha) - U (Komal Ni) - K (Tar Sa)
By understanding this scale, you can construct specific ghazal harmonium chords that complement Bhairavi's unique character. Rather than using standard major or minor triads, we select notes that match the raga's key intervals.
Essential Chords for Raag Bhairavi
1. The Bhairavi Tonic (Sa - Komal Ga - Pa)
This chord functions as the root anchor. It uses the fundamental Sa, the third Komal Ga, and the fifth Pa.
- Swaras: Sa (C) + Komal Ga (D#) + Pa (G)
- QWERTY Keys:
A+E+G - Musical Character: Equivalent to a C minor triad, this chord provides a stable, dark foundation that anchors the vocalist during the opening lines of the ghazal.
2. The Komal Re Major Chord (Komal Re - Shuddh Ma - Komal Dha)
This chord emphasizes the flat second (Komal Re), which is a key note in Bhairavi.
- Swaras: Komal Re (C#) + Shuddh Ma (F) + Komal Dha (G#)
- QWERTY Keys:
W+F+Y - Musical Character: Equivalent to a C# Major triad, this chord introduces a bright, unresolved tension that is often used when the melody rises or questions the listener.
3. The Subdominant Minor Chord (Shuddh Ma - Komal Dha - Tar Sa)
This chord is used as the melody moves into the higher register of the scale.
- Swaras: Shuddh Ma (F) + Komal Dha (G#) + Tar Sa (C)
- QWERTY Keys:
F+Y+K - Musical Character: Equivalent to an F minor triad, it is useful for supporting the vocalist during the transition from the Asthayi to the Antara.
4. The Flat Seventh Chord (Komal Ga - Pa - Komal Ni)
This chord uses the flat seventh (Komal Ni) to create a soft transition back to the root note.
- Swaras: Komal Ga (D#) + Pa (G) + Komal Ni (A#)
- QWERTY Keys:
E+G+U - Musical Character: Equivalent to a D# Major triad, this chord helps smooth the transition when descending from the high octave back to the tonic.
If you want to practice these progressions on different scales or learn how they apply to other classical forms, you can read our detailed guide on Web Harmonium for Ghazals. For a deeper analysis of the scale's musicology, check out our tutorial on Web Harmonium for Raag Bhairavi.
Step-by-Step Guide: Accompanying a Classic Bhairavi Ghazal
To show how these chords are used in practice, let's walk through the accompaniment for Mirza Ghalib's famous ghazal, "Dil-E-Nadaan Tujhe Hua Kya Hai", traditionally composed in Raag Bhairavi.
Step 1: Set Up the Pitch and the Instrument
Before playing, determine the vocalist's key. If they sing at a C pitch, keep the default QWERTY layout. If they sing at a C# pitch, use the transpose feature in the settings to shift the virtual keyboard up by one semitone. Open the application, disconnect from the internet to complete the Flight Mode Audit, and place your laptop on a flat surface.
Step 2: Prepare Your Chord Sheets
Keep a printed copy of the lyrics and chord changes next to your keyboard. You can print these sheets at a local Xerox shop or use a service like Blinkit print stores to have them delivered to your workspace. Having physical sheets helps keep your screen clear for the virtual keyboard interface.
Step 3: Play the Opening Melody (Aamad)
Before the singing begins, play a short, unaccompanied melody to establish the raga's character. For Raag Bhairavi, you can play this simple descending line:
K (Tar Sa) → U (Komal Ni) → Y (Komal Dha) → G (Pa) → F (Shuddh Ma) → E (Komal Ga) → W (Komal Re) → A (Sa)
This line introduces the flat notes and signals the start of the performance to the vocalist.
Step 4: Accompany the First Line (Asthayi)
As the vocalist sings the opening line: "Dil-e-nadaan tujhe hua kya hai..."
- On the word "Dil-e-nadaan", hold the root tonic chord: Sa-Komal Ga-Pa (Keys:
A+E+G). This keeps the pitch stable. - On the word "tujhe", as the melody rises toward the fourth note, switch to the Komal Re Major chord (Keys:
W+F+Y). This adds tension that mirrors the lyrics. - On the word "hua kya hai", resolve the melody back to the tonic chord (Keys:
A+E+G).
Step 5: Support the Second Line (Antara)
The second line of the couplet asks a question: "Aakhir is dard ki dava kya hai..."
- On "Aakhir is dard ki", the melody moves to the higher register. Hold the Subdominant Minor chord (Keys:
F+Y+K). This supports the higher pitch. - On "dava kya", as the melody begins to descend, transition to the Flat Seventh chord (Keys:
E+G+U). - On the final word "hai", return to the root tonic chord (Keys:
A+E+G) as the vocalist returns to the starting pitch.
Step 6: Play Melodic Fillers
Once the couplet is complete, the vocalist will pause before moving to the next verse. During this gap, play a short melodic run or repeat the opening line to maintain the performance's rhythm.
Setting Up Your Riyaz Station for Offline Practice
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:
- Ergonomics: Position your laptop or keyboard at elbow height to keep your wrists straight while playing keys on the QWERTY layout.
- Audio Setup: Use wired headphones or external speakers. Wireless Bluetooth headphones can introduce audio delay, which interferes with your timing.
- Hydration and Snacks: Keep water or tea nearby. You can use services like Zepto or Swiggy Instamart to order refreshments to your door, helping you avoid interruptions during practice.
- Data Security: Treat your creative space with the same privacy you expect when handling official documents. Just as you verify vehicle records on the Parivahan portal or check your Aadhaar status on UIDAI offline, using local-first tools like MojoDocs ensures your recordings and practice sessions remain secure on your device.
Comprehensive Chord Chart for Common Ghazal Scales
To help you transpose your accompaniment, here is a reference chart for playing the essential chords of Raag Bhairavi across different root scales. This chart maps the notes to their Western equivalents and the corresponding QWERTY keys on MojoDocs.
| Root Scale (Sa) | Tonic Chord (Sa-Komal Ga-Pa) | Komal Re Chord (Komal Re-Ma-Komal Dha) | Subdominant Minor Chord (Ma-Komal Dha-Tar Sa) |
|---|---|---|---|
| C (Default) | C - Eb - G Keys: A + E + G |
Db - F - Ab Keys: W + F + Y |
F - Ab - C Keys: F + Y + K |
| C# (+1 Transpose) | C# - E - G# Keys: W + D + Y |
D - F# - A Keys: S + T + H |
F# - A - C# Keys: T + H + O |
| D (+2 Transpose) | D - F - A Keys: S + F + H |
Eb - G - Bb Keys: E + G + U |
G - Bb - D Keys: G + U + L |
You can use this chart to quickly shift keys depending on the vocalist's range, ensuring you can play the correct chord shapes in any key.
Developing Articulation on a Virtual Interface
One of the primary differences between physical and virtual harmoniums is how you control dynamics. On a physical instrument, you pump the bellows with one hand to control the volume and intensity of the sound. On a digital keyboard, you must use other methods to simulate this articulation.
To mimic the breathing quality of physical bellows, you can use the following techniques:
- Staggered Releases: When transitioning between chords, release the notes slightly at different times rather than all at once. This softens the transitions and sounds more natural.
- Volume Modulation: Use the on-screen volume slider or map it to a MIDI expression controller. Gradually increasing the volume during rising melodic lines helps simulate the effect of pumping the bellows harder.
- Grace Notes (Kan Swara): Quickly strike an adjacent note before landing on your target note. For example, when playing Sa (Key: A), quickly tap Komal Re (Key: W) first. This simulates the quick, decorative ornaments used by classical harmonium players.
Conclusion: The Future of Browser-Based Music Practice
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 accompany ghazals 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

