I present here a group of CAL programs from among those
I've written over the past year. I've dissected and annotated them as completely as
possible. These examples were selected not because they represent the most useful of all
CAL programs, but because they demonstrate some aspect of CAL programming or some off-beat
way of looking at CAL and thus serve as departure points for your own programming
adventures. These programs, as well as a good number more, are available for downloading
from the link below. Perhaps you will find them all useful, perhaps not. I hope that the
collection as a body of work will at least provide an example of the broad solutions CAL
can offer and serve as inspiration for others to build their own personal libraries of CAL
programs.
Download A Package of CAL Programs With
Documentation
Return To Tutorial Home Page
Go To Index Page
Sample CAL Programs With Annotations
COLOR.CAL - A program that adjusts the
velocities of notes based on their pitch.
CROSFADE.CAL - Allows cross-fading
between two MIDI tracks from track A to track B and back again within the duration of each
note. Features the "INCLUDE" program INTEGRAT.CAL which performs mathematical
integration of overlapping volume controller fills.
PIANOPAN.CAL - Creates PAN events
that track the pitches of notes as they are played so as to generate a true-to-life stereo
miking effect.
MONOPHON.CAL - Operates on a
monophonic track by setting note spacing or overlaps to pre-defined amounts. Features the
"INCLUDE" program MONO.CAL.