This add on, will show you how to use Scratch
to create your own song.
Click on the stage, so that you'll be programming
in the background to play the song.
Then, click the play note block
and drag it into the scripts area.
This block plays a note.
(piano note repeats)
Place another play note block under the first,
to change the note being played.
Now you can click on the code again to test it.
(alternating piano notes)
Now change the number in the beat part of the block
from point 25 to point five.
Click the code again to test it.
(alternating piano notes)
The note plays faster now, than it did before.
Putting a lot of these play note blocks together,
builds a melody.
(piano melody)
And you can use repeat blocks,
to make parts of the melody play again and again.
(piano melody)
When you have a melody you like,
change the speed of your song with the set tempo to block.
To change the sound, you can use the set instrument block.
Tinker with the different instruments
from the drop down menu until you like the sound.
(organ melody)
Finally, it's time to tell the program
when to play this song.
This example plays the song
while the main character dances.
So it starts with the when I receive dancing block.
(organ melody)
Now it's your turn.
Build a melody using several play note blocks
with different notes and beats.
Use the set instrument block to change the sound.
Use the set tempo block to change the speed.
Add an event block, with the message that you want
to start playing the song.