Reference Guide
1174
Using CAL
Sample CAL files
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.
See:
“SPLIT NOTE TO TRACKS.cal” on page 1174
“SPLIT CHANNEL TO TRACKS.cal” on page 1174
“RANDOM TIME.cal” on page 1174
“THIN CONTROLLER DATA.cal” on page 1175
“THIN CHANNEL AFTERTOUCH.cal” on page 1175
“THIN PITCH WHEEL.cal” on page 1175
“MAJOR CHORD.cal, MINOR CHORD.cal” on page 1175
SPLIT NOTE TO TRACKS.cal
This program splits individual notes to separate tracks. It is useful if you have one drum track but
want to split each drum to a separate track (for more flexible editing).
SPLIT CHANNEL TO TRACKS.cal
This program splits a track by channel into 16 new tracks. This can be useful for Type 0 MIDI files,
which may have data recorded on many channels but only one track.
To use the program
1. Select only one track.
2. Set the From and Thru markers for any part of the track (you don’t have to split the whole track).
3. Run the Split Channel to Tracks.cal program.
SONAR displays a dialog box.
4. Select the first track for the 16 split-channel tracks (preferably, the first of 16 blank tracks).
5. Click OK.
RANDOM TIME.cal
This program randomizes event starting times. It asks you for a number of ticks. The program then
changes each event time by an amount that is randomly between plus or minus one-half the number
of ticks that you supply.
For example, if you type the number 4, each event time will have -2, -1, 0, 1, or 2 added to it.