QUICK-REF - CsoundManual - Top of this section - Previous- Contents - Index - Next 

Divisi

Notes may be stacked on top of each other by using a back arrow (`<') between the notes of the divisi. Each time Scot encounters a back arrow, it understands that the following note is to start at the same time as the note to the left of the back arrow. Durations, accidentals and parameters carry from left to right through the divisi. Each time these are given new values, the notes to the right of the back arrows also take on the new values unless they are specified again.

When writing divisi you can stack compound events by enclosing them in parentheses. Also, divisi which occur at the end of the measure must have the proper durations or the Scot program will mis-interpret the measure duration length.

Scot EXAMPLE II:

Scot encoding:

     orchestra { right=1 left=2 }
     functions { f1 0 256 10 1}
     score {
     $right !key "-b"
     ; since p5 is pitch, p7 is set to the pitch of next note
     !ti "2/4"
     !next p5 "p7"  ;since p5 is pitch, p7 refers to pitch of next note
     !next p6 "p8"  ;If p6 is vol, say, then p8 refers to vol of next note
     t90
     8r c[3 np5]<e<='g r c<f<a / t90 r d-<g<b r =c[5]<f<a__ /
     !ti "4/4"
     t80
     4d_<f__<(8a g__) 4c<(8fe)<4g 4.c<f<f 8r/

     $left  !key "-b"
     !next p5 "p7"
     !next p6 "p8"
     !ti "2/4"
     8=,c[3 np5] r f r/ e r f r/
     !ti "4/4"
     2b_[5]<(4=,b_c) 4.a<f 8r/
     }

Numeric score output:

     f1 0 256 10 1
     c r1 n 7 5
     c r1 n 8 6
     i1.01 0.5000 0.5000 0 8.00 3 8.00 3
     i1.02 0.5000 0.5000 0 8.04 3 8.05 3
     i1.03 0.5000 0.5000 0 8.07 3 8.09 3
     i1.01 1.5000 0.5000 0 8.00 3 8.01 3
     i1.02 1.5000 0.5000 0 8.05 3 8.07 3
     i1.03 1.5000 0.5000 0 8.09 3 8.10 3
     i1.01 2.5000 0.5000 0 8.01 3 8.00 5
     i1.02 2.5000 0.5000 0 8.07 3 8.05 5
     i1.03 2.5000 0.5000 0 8.10 3 8.09 5
     i1.01 3.5000 0.5000 0 8.00 5 8.02 5
     i1.02 3.5000 0.5000 0 8.05 5 8.05 5
     i1.01 4.0000 1.0000 1 8.02 5 8.00 5
     i1.03 3.5000 1.0000 0 8.09 5 8.07 5
     i1.01 5.0000 1.0000 2 8.00 5 8.00 5
     i1.02 4.0000 1.5000 0 8.05 5 8.04 5
     i1.02 5.5000 0.5000 0 8.04 5 8.05 5
     i1.03 4.5000 1.5000 0 8.07 5 8.05 5
     i1.01 6.0000 1.5000 0 8.00 5 8.00 5
     i1.02 6.0000 1.5000 0 8.05 5 8.05 5
     i1.03 6.0000 1.5000 0 8.05 5 8.05 5
     c r2 n 7 5
     c r2 n 8 6
     i2.01 0.0000 0.5000 0 7.00 3 7.05 3
     i2.01 1.0000 0.5000 0 7.05 3 7.04 3
     i2.01 2.0000 0.5000 0 7.04 3 7.05 3
     i2.01 3.0000 0.5000 0 7.05 3 7.10 5
     i2.01 4.0000 2.0000 1 7.10 5 7.09 5
     i2.02 4.0000 1.0000 1 6.10 5 7.00 5
     i2.02 5.0000 1.0000 2 7.00 5 7.05 5
     i2.01 6.0000 1.5000 2 7.09 5 7.09 5
     i2.02 6.0000 1.5000 0 7.05 5 7.05 5
     t0 60 0.0000 90.0000 2.0000 90.0000 4.0000 80.0000 4.0000 90.0000
     f0 8.0000
     s
     e
Notice in this example that tempo statements occurred in instrument `right' only. Also, all notes had p6=3 until the third measure, at which point p6 took on the value 5 for all notes. The next parameter option used is described in Additional Features.

QUICK-REF - CsoundManual - Top of this section - Previous- Contents - Index - Next 
HTML Csound Manual - © Jean Piché & Peter J. Nix, 1994-97