iLehra icon

v10 now in the Apple App Store

Download on the App Store

What’s New

Now Available: Version 10 with a new audio engine for more natural-sounding instruments, support for the iPhone Duo and iOS 26 & 27 (including the new Liquid Glass look), an improved iPad layout, CORE MIDI & Wi-Fi sync with iTablaPro and other apps, a quick Metronome button next to the tempo controls, custom preset playlists (set lists), favorite taals (mark the taals you use most and show just those in the picker), an option to start from the last division of the taal, a Tempo Auto-Increase button, and more! Note: All updates are always free!

And the reviews are in:

★★★★★ "Wow, lehra in my pocket!"
★★★★★ "Great concept, EXCELLENT execution"
★★★★★ "Fantastic, keep up the good work!"
★★★★★ "Simple yet pretty interface"
★★★★★ "Good natural sound"

About The Tabla and Lehra Accompaniment

The Tabla is a percussion instrument widely used in Indian Classical music both as a solo instrument and as an accompaniment to vocal or instrumental music. In recent times it has also gained acceptance in western and fusion music. It has two pieces - the left part or the "baya" provides the heavy bass while the right part or the "daya" provides the main percussion sound.

When played as a solo instrument, the tabla is accompanied (usually on the harmonium or sarangi) by a continuous cyclical musical phrase or riff called the "Lehra" or “Nagma” (ostinato in western music) that keeps track of the "aavartan" or rythmic cycle in the chosen "taal".

And now presenting - iLehra

iLehra is an electronic Lehra / Nagma player for the iPhone and iPad. It provides accurate as well as pleasing lehra accompaniment for a wide variety of taals and raags on the harmonium, violin, flute or santoor. Innovative features include beautiful tanpura auto-tuned to the chosen lehra/raag, presets, tap-tempo, metronome, Wi-Fi/MIDI sync with iTablaPro, and extremely intuitive controls.

NOTE: iLehra does not play tabla, it provides a melodic & rythmic accompaniment for tabla. It is intended for use as a time-keeping tool by tabla players for practice or concerts. For a tabla-playing app, see iTablaPro

Features include:

  • Plays 112 Lehras in 60+ Raags for 26 Taals
  • Taals included: Ada Chautaal(14), Basant Taal(9), Chartal-ki-Sawari(11), Chautaal(12), Dadra(6), Deepchandi(14), Dhamar(14), Ektaal(12), Farodust/Firdost(14), Ganesh Taal(21), Jai Taal(13), Jhaptaal(10), Jhoomra(14), Keherva(8), Matta Taal(9), Pancham Sawari(15), Rudra Taal(11), Rupak(7), Shikhar Taal(17), Sooltaal(10), Teentaal(16), as well as general lehras for 7.5, 8.5, 9.5, 10.5, and 18 beats.
  • Full octave of pitch adjustments from C through B
  • Integrated Auto-Tuner: Auto-Tune iLehra to your tabla, or use it to tune other instruments (uses the device microphone)
  • Beautiful, realistic lehras on Harmonium, Violin, Flute, or the Santoor!
  • Extremely accurate tempo tested to within 1 milli-second
  • Tap Tempo: just tap the beats on the bottom display and watch iLehra sync up!
  • Presets: save your frequently-used combinations of pitch, taal, lehra, instrument & tempo as named presets. You can search presets by name, and export, import and share them via email, AirDrop or the Files app. You can also group presets into custom playlists (set lists) in the order you want, for example for a concert.
  • Background Play: Start playing the lehra and switch to another app, or play along with other audio. Optionally show the current tempo on the app icon.
  • Each lehra has three variations for slow, medium and fast tempos for more natural-sounding lehras
  • Beautiful tanpura auto-tuned to pitch and raag of lehra
  • Optional Metronome click-track with different sounds for matras, taalis & khaalis, with a handy on/off button next to the tempo controls
  • Wide range of tempo from 15 to 500 bpm (bpm = beats per minute)
  • Automatic range selection (vilambit, madhya, drut) based on tempo slider
  • Extremely precise control of fine-tuning and tempo by clicking on the slider endpoints (- or +). Every click changes the tempo by 1 cent or 1 bpm
  • x/2 & 2x buttons to quickly halve or double the tempo, and -5 & +5 buttons to change it in steps of 5 bpm
  • For even easier control, simply double-tap on the pitch or tempo slider to get a popup picker wheel
  • Displays current matra being played
  • Works with speakers, headset, AirPlay or the internal speaker
  • Favorite Taals: mark your most-used taals with a star and switch the taal picker between all taals and just your favorites
  • Play History: tracks your daily practice time with week, month and year charts, a daily goal and streaks, shared across your devices through iCloud
  • CORE MIDI & Wi-Fi Sync: syncs tempo, taal and pitch with iTablaPro and other CORE MIDI apps, on the same device or across devices on the same Wi-Fi network
  • Concert Mode: hands-free mode that keeps the screen on and dims it to a large display of the beats while the lehra plays
  • Start From Last Division: optionally start the lehra from the last division of the taal, leading into Sam
  • Tempo Auto-Increase: optionally raise the tempo automatically by a set number of bpm or percent every few cycles, up to a maximum tempo
  • Harmonium chords: optionally play chords with the harmonium notes that have one
  • Adapts to the iPad, split-screen multitasking and the foldable iPhone Duo

The iLehra Layout

The application has the following tabs:

Main Tab: The main tab has two sections:

Top Section: This is common to the lehra and the tanpura and is used to set the "base" pitch of Sa.

Main tab screenshot
  • The two buttons tune the pitch up or down one note at a time
  • The slider allows fine-tuning of the pitch within a two-note range
  • Click on the endpoints of the slider (♭ or ♯) to further fine-tune the pitch by 1 cent (1/100th of a note)
  • Hold down on the pitch slider endpoints for faster pitch adjustment
  • Double-clicking on the slider brings up a fine-tune value picker wheel
  • The display in the middle shows the current note name (i.e. C#) in the center, and the current fine-tune value in cents on the upper left. The display also briefly shows the current pitch frequency in Hz after each change on the upper right. The color of the text in the display indicates whether the fine-tune slider is exactly in the middle (green), to the left of center (yellow), or to the right of center (cyan).
  • If an Apple TV or other AirPlay-enabled device is in range, the Audio Route button on the top left lets you play through it
  • The Play History button (bar chart) on the top right shows how long you have practiced each day, with week, month and year charts, a table, a daily goal and streaks. Play time is shared through iCloud with your other devices

Bottom Section: The bottom section is used to pick the taal, the lehra and the tempo.

  • Use the Taal left and right buttons to select the taal, or click on the taal name to bring up a taal selection picker. Tap the star next to a taal in the picker to mark it as a favorite, and use the All Taals | Favorites selector at the top of the picker to list all the taals or just your favorites. When just the favorites are listed, the taal left and right buttons step through only those (the current taal is always included). Taals are ordered by number of matras - this can be changed to alphabetical from the Settings tab
  • Use the Lehra/Raag left and right buttons to select a lehra, or click on the lehra name to bring up a lehra selection picker
  • Use the Instrument left and right buttons to select an instrument, or click on the instrument name to bring up an instrument picker
  • Use the Play/Stop button on the bottom left to turn the tanpura on or off
  • Use the Play/Stop button on the bottom right to turn the lehra on or off. This also toggles the tanpura (you can change this with the Sync-Play Tanpura setting)
  • Clicking on the i (info) button on the right of the matra display shows you the tabla bols of the currently chosen taal
  • The tempo display at the bottom shows the current matra in the center, the tempo range on the bottom (Ati Vilambit up to 50 bpm, Vilambit up to 85, Madhya up to 160, and Drut above that), the tempo in bpm on the upper right, and the division on the upper left
  • The slider and the buttons around it let you control the tempo in a variety of ways:
  • Move the slider to directly adjust the tempo (from 15 to 500 bpm)
  • Click on the tempo slider endpoints (- or +) to adjust the tempo by 1 bpm
  • Hold down on the tempo slider endpoints for faster tempo adjustment
  • The x/2 button halves the tempo, and the 2x button doubles it
  • The -5 and +5 buttons lower or raise the tempo by 5 bpm
  • The Metronome button between the -5 and +5 buttons turns the metronome click-track on (green) or off (grey)
  • Hold down on the tempo display or double-click on the tempo slider to get a tempo picker wheel
  • To use the Tap Tempo feature, simply start tapping the beat on the tempo display and watch the tempo match your tapping!
  • Tempo Auto-Increase: Raises the tempo automatically while the lehra plays, which is handy for practicing at gradually faster speeds. Tap the speedometer button below the Lehra start/stop button to open its settings, then:
  • Turn on Auto-Increase Tempo. The button turns green, and while the lehra plays it shows the number of cycles left before the next increase (and, once the highest tempo is reached, before it stops)
  • Choose BPM or Percent (%) and set the amount to increase by. When you switch between the two, the amount is converted at the current tempo
  • Set how many cycles to play before each increase (Every N cycles)
  • Set the highest tempo to reach (Up to N bpm). Until you change it, this is the tempo you start at plus 100 bpm, rounded up to a multiple of 5
    Optionally set Stop after N cycles to have the lehra stop after playing that many cycles at the highest tempo, going back to the tempo you started at. Leave it Off to keep playing at the highest tempo
  • Use the -5, -1, +1 and +5 buttons beside each value to change it by 1 or 5. The -5 and +5 buttons first go to the nearest multiple of 5 (so 7 goes to 10 with +5, or to 2 with -5), then change it by 5 each time. Hold a button down to keep changing the value
  • When the lehra stops, the tempo goes back to what it was when you started. The on/off setting and your choices are remembered the next time you open the app. While the screen is dimmed (Concert Mode) it shows Increasing tempo to X bpm in N cycles, or Stopping in N cycles once the highest tempo is reached. Tap outside the settings to close them.

Presets Tab: The Presets tab lets you load presets, delete existing ones, or save new presets. iLehra ships with a few sample presets, but you can add your own as well as delete the existing ones at any time. A preset saves the current pitch, the taal, lehra, instrument and the tempo.

Presets tab screenshot
  • To play a preset, simply choose the name from the list of saved presets. Use the search bar at the top to find a preset by name
  • To delete a preset, simply swipe your finger across the preset row and click on the Delete button, or click on the Action button on the top right and choose Delete Preset(s) to enter delete mode. Click on Done on the top left to exit from the delete mode. While in delete mode, the action button on the top right lets you delete all presets.
  • To create a new preset, first set the pitch, taal, lehra, instrument and tempo. Then click on the New Preset (+) icon on the top left. Enter a name for the preset when prompted, click OK and you're done!
  • To update a preset, first choose the preset and make sure everything you want to include is playing (important!). Make any changes you need from the main tab, click on the action button on the top right and choose Update Preset.
  • Playlists: A playlist is a list of presets you choose, in the order you want, such as the set list for a concert. Click on the button at the top of the page (it shows All Presets and the number of presets) to choose All Presets or one of your playlists (listed alphabetically), or New Playlist ... to create one. When a playlist is showing, click on the pencil on the button to add presets to the playlist, remove them, and drag them into the order you want. The ... button at the top left of that screen lets you rename or delete the playlist (the presets in it are not deleted). A preset you save while a playlist is showing is added to it too. When you swipe a preset in a playlist, you are asked whether to remove it from the playlist or delete it completely.
  • To send presets, click on the action button on the top right and choose Send Selected Preset ... (the preset you have selected), Send All Presets ... (the whole list of presets, or simply to back them up) or, when a playlist is showing, Send Playlist .... Then choose Email or Share (AirDrop, Messages and so on). To import presets received this way, open the email or file on the device, click on the attachment, and choose Open in iLehra. Importing a playlist also recreates the playlist.

Backup/Restore Presets: You can use the Files app to access the iLehra Presets file:

  • Open the Files app on your device and go to On My iPhone (or On My iPad), then the iLehra folder. You should see the iLehraPresets file there.
  • You can copy this file elsewhere (for example to iCloud Drive, or send it by AirDrop) to back it up.
  • To restore the presets or copy them from another device, simply replace this file with a previously backed up file or a file backed up from another device. You can also share presets among devices this way.

WARNING: Do not manually edit the presets file or you may corrupt the presets. In case of error, restore the presets from a backup copy of the file.

Tuner Tab: The Tuner tab lets you tune external instruments to iLehra, or vice-versa. NOTE: This requires microphone access; iLehra asks for permission the first time you use it.

Tuner tab screenshot
  • Click on the Start button to start the tanpura so you can tune against it. It changes to Stop while sound is playing; click on it to stop all sound in the app
  • Sing or play an instrument (the desired "Sa") into the microphone
  • The display on the left shows the current iLehra pitch
  • The display on the right shows the pitch of the external instrument as measured via the microphone. The color of the text in the display indicates whether the external pitch is the same (green), lower (yellow), or higher (cyan).
  • Use the Microphone display on the right to tune the instrument to match iLehra
  • Or click on the Capture button to auto-tune iLehra to the external instrument - this makes the captured pitch the new "Sa" and starts the tanpura

Settings Tab: The Settings tab lets you change the application's global settings.

Settings tab screenshot
  • Enable Concert Mode: Turn ON for a hands-free "concert" mode: after a few seconds of inactivity while the lehra is playing, the screen dims and shows a large display of the beats (matra, tempo and division, plus the time, battery level and total play time), and the screen is kept on. Touch the screen again to brighten it. When this is OFF, the regular auto-lock applies and consumes the least battery
  • Taal Ordering: This controls whether the display of the taals is ordered alphabetically or by the number of matras (beats) in the taal
  • Sync-Play Tanpura: Turning this on automatically starts and stops the tanpura along with the lehra
  • Lehra Volume: Adjusts the relative volume of the lehra - set it to zero if you just want the metronome
  • Tanpura Volume: Adjusts the volume of the tanpura
  • Click-Track: This allows you to turn the metronome click-track on or off, adjust its volume, and set the number of clicks per matra when playing at Vilambit (slow) tempo
Settings tab screenshot (continued)
  • Start From Last Division: When ON, pressing Play starts the lehra from the last division of the taal, leading into Sam, instead of from Sam itself
  • Only for Vilambit or Slower: When ON, the lehra starts from the last division only at Vilambit (slow) or slower tempos, and from Sam at faster tempos
  • Play Chords for Harmonium: When ON, the harmonium plays a chord instead of a single note for the notes that have one
  • Double Chords: Repeats the chord at the half matra for a better tempo feel. This applies at Vilambit (slow) or slower tempos, to a chord held for a whole matra, and is available only when Play Chords for Harmonium is ON
  • Stop At Sam: Changes the behavior of the Lehra Stop button to stop on Sam (first beat) of next cycle
  • Timing Variation: Slight timing variations between each division of a taal to simulate an actual player. The metronome stays exact
Settings tab screenshot (continued)
  • Allow External Audio: Turn ON to enable mixing with audio from other apps, turn OFF to enable remote control via the multi-tasking area or using the wired headset buttons
  • Background Play: Lets the app continue playing when you exit the app, allowing you to use other apps in conjunction with iLehra. When this is turned on, you need to turn off all instruments before exiting the app, else they will keep playing
  • Show Tempo on Icon: Turn ON to display the current tempo as a badge on the app icon while the lehra keeps playing in the background (requires Background Play)
  • Wi-Fi Sync: Syncs the tempo, taal and pitch with iTablaPro, iLehra or another Core MIDI app running on another device on the same local network. Turn this on in both apps
  • Device Name: How this device is shown to the other one when syncing over Wi-Fi
  • Reset Settings to Defaults: Clicking on this button will stop playing and reset all settings, as well as the pitch, tempo, taal, lehra and instrument, to the original factory defaults. Your presets and the Wi-Fi Sync device name are not changed

Info Tab: The info (information) tab provides quick links to iLehra help, more information about the instruments and taals, and other useful information.

iPad Version

iLehra is a universal app - this means you buy it once and it works natively on the iPhone as well as the iPad. The iPad version has a similar layout except most of the major controls are accessible on one page. The Presets pane is on the left, and the Tuner, Settings and Info pages can be accessed via the toolbar buttons on the top right. And yes it works great on all iPad models, including in split-screen multitasking! Click the picture below for a larger view.

iLehra on the iPad

Recommended Usage

  • Turn on the tanpura by pressing the tanpura play button and tune the tabla or iLehra so they match
  • Pick the taal, this changes the list of lehras available for that taal
  • Choose the lehra from the list
  • Set the tempo to your liking. Click on the plus/minus signs around the slider to fine-tune
  • Start the lehra by pressing the lehra play button

NOTES:

  • The Harmonium gives a better feel for the taal and is suitable for any tempo
  • The violin & flute give a more "soft" feel but sound better, especially at slower tempos
  • The lehra start/stop button also starts and stops the tanpura (you can change this with the Sync-Play Tanpura setting)

Device Requirements

iLehra will run great on any of the following devices:

  • iPhone (iPhone XS or newer) with iOS 17 or later, including the foldable iPhone Duo.
  • iPad (iPad 6th generation or newer, iPad Air 3rd generation or newer, iPad mini 5th generation or newer, and iPad Pro) with iOS 17 or later.

iLehra is for iOS only. It is made for the iPhone and iPad and is not available for Android or for macOS (Mac computers).

For best effect, use a good external speaker.

About The Developer

Prasad Upasani is a professional musician, teacher and performer who also happens to be a talented programmer with over 25 years in IT. He has a Master's degree in Computer Science and a Bachelor's degree (Sangeet Visharad) in Indian Classical music. He lives in Southern California.

Feedback, questions or need support? Send an Email

Buying, updating or sharing the app? See App Store Help.

Videos and demos: Prasad Upasani on YouTube

Special thanks to Rupesh Kotecha for lehras, feedback, beta testing, and lots of encouragement!

Some lehras courtesy of Chandra and David Courtney www.chandrakantha.com