We made our first Sonic Pi song yesterday. We went into Sonic Pi and copied some of the code they gave us. Then I tried changing numbers to make the sound different. We don't know yet what most of it means, but I made a cool relaxed song:
Today, we made a short part of a song called "Try Everything," from the movie Zootopia:
Today, we made a short part of a song called "Try Everything," from the movie Zootopia:
Here is what my code looks like for this song. play tells the computer to play a note, and the number says how high or how low the note is. sleep tells the computer how long to rest before the next note.
play 72
sleep 0.5
play 72
sleep 0.25
play 72
sleep 0.5
play 72
sleep 0.25
play 73
sleep 1
play 72
sleep 0.5
play 72
sleep 0.25
play 72
sleep 0.5
play 72
sleep 0.25
play 70
sleep 1
play 72
sleep 0.5
play 72
sleep 0.25
play 72
sleep 0.5
play 72
sleep 0.25
play 73
sleep 1
play 72
sleep 0.5
play 72
sleep 0.25
play 70
sleep 0.5
play 70
sleep 0.25
play 72
No comments:
Post a Comment