Tutorial 02: Commands
Learn about commands for controlling notation behavior
Commands control aspects of notation like beat duration, cycle patterns, and layout. Commands start with a backslash.
Beat Duration
The \beatDuration command sets how many notes fit in one beat:
This is commonly used to notate different speeds in Carnatic music without changing the actual notation.
Note Durations
You can set the duration of individual notes by prefixing them with a number or fraction:
Here, R has a duration of 2 units at the current beat duration (4 notes per beat), making R twice as long as S, G, or M.
Cycle (Tala)
The \cycle command defines the rhythmic pattern (tala). A cycle is made of multiple bars, each with a specified number of beats:
The pattern "|4|2|2|" means:
- First bar: 4 beats
- Second bar: 2 beats
- Third bar: 2 beats
- Total: 8 beats per cycle (Adi Tala)
Creating Lines
The \line command starts a new line in the notation:
You can add margin text to lines:
Creating Roles
The \role command creates new roles beyond the default Sw and Sh:
Practice Exercise
Create a notation with varying beat durations and multiple lines:
Next Steps
- Tutorial 03: Embellishments - Add ornaments to your notation
- Commands Reference - Complete list of available commands