<-- -->
 

A simple Cybil score

The Cybil composition language
Cybil general syntax
Cybil commands
Cybil functions
Operations
Examples of Cybil command lines 


A simple Cybil score:

#cyb

;Cybil code to generate a note list for instrument 1.
;Anything between "#cyb" and the first "instr" will be 
;passed on as a regular Csound score header.

f1 0 8192 10 1 0 0 .5 0 1
f2 0 8192 7  0 4096 1 4096 0
t 0 120

instr 1 ; a comment
 p2 {sq 0 0 1 .5 .5 30s}{sq .1 .3 50};
 p3 {sq {ran f .09 1.2}30s}*{pa 2} {sq 2 50} ;
 p4 {ma f 5.5 5.8 6.0 12.3 30s} {sq 7.8 7.10 50} ;
 p5 {li 50 80 30s} {lo 80 30 50}; this is amother comment
 p6 {sq {pik 3 4 5 6} 2{ran i 1 10} 5 4 30s} {sq 3 50} ;
 ; this a comment line.
e
Cybil scores are entered in the score panel and should start with: #cyb on the first line. The #cyb keyword is followed by any regular Csound score header definitions such as functions, tempos etc. The Cybil score events proper start with the instrument definition instr # .

Time references in Cybil are always taken from the calculation of p2. All commands that use durations in time, are mapped to the time contents of p2. P2 is therefor the first parameter to be computed. Durations in seconds are also legal for P2 definitions.