The li algorithm
The Cybil composition language
Cybil general syntax
Algorithms sq
- li - lo -
ma - gr
Functions ran -
pik - pa - co
Operations
Examples of Cybil command lines
The li algorithm
{li val1 val2 duration(s)}
The li is for line. The values given after li will define
the departure and arrival points of a straight line. Last element in the
list is the duration in number of events or seconds (s)
Values can be:
-
a real number.
{li 4.567 10 10s}
{li 4 0 30}
-
a CECILIA irate variable. Any irate variable from the CECILIA interface
can be used (sliders, toggles, option) by including the name of the variable
between [] brackets. The substitution is done before the score is
pre-compiled.
{li [blue] [black] 30s}
where blue and black have been defined as irate variables
in the CECILIA interface.
-
a Cybil function. Any Cybil function can be used to generate a value
for the sequencer. Each time the value is needed, the function is evaluated
(see functions further).
{li {ran f .5 3.3} 4 30s}
At computation time, the departure value of the line will be randomly selected
between .5 and 3.3. The arrival point will always be 4.