User:Amy Suo Wu/assignment: Difference between revisions
Amy Suo Wu (talk | contribs) No edit summary |
Amy Suo Wu (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
Line 5: | Line 4: | ||
@head { | @head { | ||
$tempo | $tempo 200 | ||
$time_sig 4/4 | $time_sig 4/4 | ||
Line 12: | Line 11: | ||
@channel 1 { | @channel 1 { | ||
\$patch | \$patch 5 | ||
\$length | \$length 12 | ||
\$octave 3 | \$octave 3 | ||
\$pan | \$pan 40 | ||
end | end | ||
for ((i=0; i< | for ((i=0; i<12; i++)) | ||
do | do | ||
echo c c c | 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 | done | ||
cat << end | |||
} | |||
@channel 2 { | @channel 2 { | ||
\$patch 17 | \$patch 17 | ||
\$length | \$length 12 | ||
\$octave | \$octave 2 | ||
\$pan | \$pan 5 | ||
Line 43: | Line 38: | ||
end | 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 | cat << end | ||
} | } | ||
} | } | ||
end | end | ||
Revision as of 11:11, 19 October 2010
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