User:Amy Suo Wu/assignment 1
< User:Amy Suo Wu
Revision as of 12:16, 19 October 2010 by Amy Suo Wu (talk | contribs)
Digital cycle. Work in progress <source lang="bash">
cat << end
@head {
$tempo 200 $time_sig 4/4
} @body {
@channel 1 { \$patch 5 \$length 12 \$octave 3 \$pan 40
end
for ((i=0; i<12; i++)) do echo c c c c c r r r r r r r r r r r r r r r r r r r r r r r
done cat << end
}
@channel 2 { \$patch 17 \$length 12 \$octave 2 \$pan 5
end
echo c c c c c c c c d e f g a b c4 d4 e4 f4 g4 a4 b4 c5 d5 e5 f5 g5 a5 b5 c6 d6 e6 d6 c6 b5 a5 g5 f5 e5 d5 c5 b4 a4 g4 f4 e4 d4 c4 b3 a3 g3 f3 e3 d3 echo c c c c c c d e f g a b c4 d4 e4 f4 g4 a4 b4 c5 b4 a4 g4 f4 e4 d4 c4 b3 a3 g3 f3 e3 d3 echo c c c c c c c c d e f g a b c4 d4 e4 f4 g4 a4 b4 c5 c5 b4 a4 g4 f4 e4 d4 c4 b3 a3 g3 f3 e3 d3
cat << end
} } end