File: divi.html

package info (click to toggle)
csound-doc 3.47b2-2
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 1,492 kB
  • ctags: 272
  • sloc: makefile: 36
file content (118 lines) | stat: -rw-r--r-- 4,346 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<HTML>
<TITLE>DIVISI</TITLE>
<CENTER><P><A NAME="Divisi"></A>
<HR><B><A HREF="../REFER.html">QUICK-REF</A></B> - <B><A HREF="../TITLE.html"><FONT SIZE=+1>C</FONT>soundManual</A></B>
- <B><A HREF="./SCOT.html">Top of this section</A></B> - <A HREF="./pfield.html">Previous</A>-
<A HREF="../CONTENTS.html">Contents</A> - <A HREF="../INDEX.html">Index</A>
- <A HREF="./other.html">Next</A> 
<HR></P></CENTER>

<H2>Divisi</H2>

<P>Notes may be stacked on top of each other by using a back arrow (`&lt;')
between the notes of the divisi. Each time <B>Scot</B> 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. </P>

<P>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 <B>Scot</B> program will mis-interpret
the measure duration length. </P>

<H4><U>Scot EXAMPLE II:</U></H4>

<P><IMG SRC="eg2.gif" ></P>

<P><B>Scot</B> encoding: </P>

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

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

<H4><U>Numeric score output:</U></H4>

<PRE><TT>     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</TT>


</PRE>

<P>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 <A NAME="3"></A><A HREF="./other.html" NAME="3">Additional
Features</A>. </P>

<CENTER><P>
<HR><B><A HREF="../REFER.html">QUICK-REF</A></B> - <B><A HREF="../TITLE.html"><FONT SIZE=+1>C</FONT>soundManual</A></B>
- <B><A HREF="./SCOT.html">Top of this section</A></B> - <A HREF="./pfield.html">Previous</A>-
<A HREF="../CONTENTS.html">Contents</A> - <A HREF="../INDEX.html">Index</A>
- <A HREF="./other.html">Next</A> 
<HR></P></CENTER>


<P><CENTER>
<B><I><FONT COLOR="#006600">HTML Csound Manual - <FONT SIZE=-1>&copy;
Jean Pich&eacute; &amp; Peter J. Nix, 1994-97</FONT></FONT></I></B>&nbsp;
</CENTER>
</HTML>