Hardware Reference
In-Depth Information
FIGURE 7-4 Creating sounds using Sonic Pi
2. The error panel should remain empty, because the application was able to run
your code. Change your line of code so that it looks like this:
pley 60
Click the Play button. You will not hear anything, as Sonic Pi found a syntax
error in your code because you misspelled play . You will see in the error panel
that some information has appeared (as in Figure 7-5). Sonic Pi is letting you
know there is an error.
3. Fix the error by changing pley to play . Now try playing a few notes one after
the other in sequence by typing the following underneath your first note:
play 67
play 69
Click the Play button. It will sound like the notes are being played almost at the
same time, like a chord. This is no good if you want to play Twinkle Twinkle Little
Star , as all music is played to a beat. You need to introduce delays between each
of the notes in the sequence.
Search WWH ::




Custom Search