Skip to Content

How can I reuse musical patterns with code in Scratch?

Reuse Musical Patterns with Scratch

  1. Take a look at the following project in Scratch
    1. Look at the blocks for each part of the song. Each part is called a phrase. 
    2. You can drag one block to play the entire musical phrase rather than having to type it many times
    3. Read the comments in the code to see how the code works
    4. You can also watch this video that explains how the code works:

Now:

  1. Experiment with the blocks
  2. Create something different

Not sure what a block does?

  1. When you are looking at the Scratch project, click on the question mark on the top of the screen
  2. Then click on a block for an explanation of what the block does

scratchblockhelp

 

Share What you Learned

If you are using the LRNG platform:

  • Go back, find out what to submit, and complete the XP

If you are not using the LRNG platform: