User:Megan Hoogenboom/assignment2: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<source lang="text">
== Clapping Music With Arduino ==
cat << END
@head {
\$time_sig 4/4
\$tempo 120
}


@body {


@channel 1 {
<source lang="c">
\$patch 16
lalalala
\$octave 7
\$length 2
END
 
 
        for ((i=0; i<=10; i++))
        do
        echo g
        done
       
cat << END
    }
     
@channel 2 {
\$patch 16
\$octave 5
\$length 16
END
 
        ja="a b b c"
        nee="g g f c"
        oke="a b c d e f g"
        oja="g f e d c b a"
       
        for ((i=0; i<=3; i++))
        do
        echo $ja $nee
        done
 
        for ((i=0; i<=3; i++))
        do
        echo $oke $oja
        done
 
cat << END
}
}
END
</source>
</source>
[[Category: 2011 P1.01]]

Latest revision as of 12:48, 2 November 2010

Clapping Music With Arduino

lalalala