User:Renee Oldemonnikhof/assignment

From XPUB & Lens-Based wiki

Title is Jingle Bells

cat << end

@head {
    $tempo 120
    $time_sig 4/4
}
@body {
 
    @channel 1 {
        \$patch 17
        \$length 25
        \$octave 3
        \$pan 0
end

for ((i=0; i<13; i++))
do
echo b b b b b b b d g a b c c c c c b b b b a a b a d b b b b b b b d g a b c c c c c b b b d d c a g 
echo b b b b b b b d g a b c c c c c b b b b a a b a d b b b b b b b d g a b c c c c c b b b d d c a g 
echo b b b b b b b d g a b c c c c c b b b b a a b a d b b b b b b b d g a b c c c c c b b b d d c a g 
echo b b b b b b b d g a b c c c c c b b b b a a b a d b b b b b b b d g a b c c c c c b b b d d c a g 
done

cat << end
    }

 @channel 2 {
        \$patch 17
        \$length 25
        \$octave 3
        \$pan 127

end
pat="b b b b b b b d g a b c c c c c b b b b a a b a d b b b b b b b d g a b c c c c c b b b d d c a g"
pat=$pat$pat$pat$pat

for ((i=0; i<18; i++))
do
echo $pat
pat=${pat:2:0}${pat:0:2}

done

cat << end

}
}
end