Reference Guide

1249
Sample CAL files
Using CAL
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.
THIN CONTROLLER DATA.cal
This thins continuous Controller data. It prompts you for two numbers.
The number of the Controller that you want to thin. For example, MIDI assigns the Volume
controller to number 7.
A thinning factor. For example, if you specify the number 3, the program deletes every third
Controller event of the kind you’ve specified.
This program never deletes Controllers with the values 0, 64, or 127, because the goal is to thin the
data without destroying the fundamental shape of it.