1<CsOptions>
2</CsOptions>
3
4<CsInstruments>
5sr      =           44100
6nchnls 	= 		2
7
8gi1 ftgen 1, 0, 4096, 10, 1
9gi2 ftgen 2, 0, 4096, 7, -1, 4096, 1    ; sawtooth
10gi3 ftgen 3, 0, 4096, 7,  0, 1024, 1, 2048, -1, 1024, 0  ;triangle
11
12instr 101,102,103
13  iamp =      ampdbfs(p5)
14  a1   oscil  iamp, p4, p1-100
15  kenv expseg 1, p3, .01
16  a1   =      a1 * kenv
17       outs   a1, a1
18endin
19
20</CsInstruments>
21<CsScore bin="csbeats">
22; by Brian Baughn 3-14-05
23; bbaughn@berklee.net
24
25beats = 100
26permeasure = 4
27
28i101    m1 b1   q    mp   D3
29i101                      F3
30i101                      D3
31
32i101    m2 b1             D3
33i101       b3             D3
34
35i101    m3 b1             D3
36i101                      F3
37i101                      D3
38
39i101    m4 b1             D3
40i101       b3             D3
41
42i101    m5 b1              D3
43i101       b4              G5
44
45i101    m6 b1              E5
46i101       b2              F5
47i101       b3     e      Eb5
48i101       b3.5   e
49i101       b4     q
50
51i101    m7 b1     e       D5
52i101
53i101                q
54i101                e      Db5
55i101
56i101                q
57
58i101    m8 b1     q       D5
59i101                         E5
60i101                         D5
61
62i102    m1 b2      q      D4
63i102       b4              E4
64i102       b4             Bb3
65
66i102    m2 b2              F4
67i102       b2              B3
68i102       b4             C#4
69i102       b4             Bb3
70
71i102    m3 b2      q      D4
72i102       b4              E4
73i102       b4             Bb3
74
75i102    m4 b2              F4
76i102       b2              B3
77i102       b4             C#4
78i102       b4             Bb3
79
80i103    m5 b2      e     F6
81i103       b2      e     A5
82i103       b2.5    e     D6
83i103       b3      e     F6
84i103       b3      e     A5
85i103       b4      e     E6
86
87i103    m6 b1      q     C#6
88i103               q     D6
89i103               e     C6
90i103
91i103               q
92
93i103    m7 b1      e     B5
94i103
95i103                 q
96i103                 e    Bb5
97i103
98i103                 q
99
100i103     m8 b1     e     F5
101i103        b1     e     A5
102i103        b1.5   e     D6
103i103        b2     e    Bb5
104i103        b2.5   e     D6
105i103        b3     q     F5
106i103        b3           A5
107end
108</CsScore>
109
110</CsoundSynthesizer>
111