Reference Guide
Using CAL
Cakewalk Application Language (CAL) is an event-processing language that you use to extend
SONAR with custom editing commands.
See:
Running CAL Programs
Sample CAL Files
Running CAL Programs
To interrupt a CAL program while it is running, press the Esc (Escape) key. Press OK to confirm that
you want to interrupt the CAL program. As a rule, you shouldn’t interrupt a CAL program in this way
unless you suspect it is stuck in an infinite loop.
To Open a CAL Program
1. Select the MIDI data you want to edit.
2. Choose Process > Run CAL.
The Open dialog box appears.
3. Navigate to the folder that contains the CAL program you want to run.
4. Choose the file you want to open and click Open.
The CAL program you chose runs and modifies the selected MIDI data.
Sample CAL Files
The following is a description of the sample CAL programs that come with SONAR. You can use
these programs as is or modify them to suit your own needs.