Instrument in Scratch | Music Extension in Scratch

Updated By

Rahul Lath

Reviewed By

Nipun Bindal
Contents
instrument in scratch

Instrument in Scratch is a sound block that is teal in color and used to produce notes and play notes and chords. There are a total of 131 notes available in Scratch, ranging from note 0, a low C to note 10, a high B.

You can use the Instrument block to create your own songs or add sound effects to your projects. For adding the Instrument block to your project, you first need to add the “Music” extension to the block palette.


This is Chapter 2.15 in the
Advanced Scratch Tutorial


Available Instrument in Scratch

Currently, there are a total of 21 instruments available in the latest version of Scratch. They are:

  1. Piano
  2. Electric Piano
  3. Guitar
  4. Electric Guitar
  5. Bass 
  6. Organ 
  7. Pizzicato 
  8. Cello 
  9. Trombone 
  10. Clarinet 
  11. Saxophone 
  12. Flute 
  13. Wooden flute 
  14. Bassoon 
  15. Choir
  16. Vibraphone
  17. Music Box
  18. Steel Drum
  19. Marimba
  20. Synth Lead
  21. Synth Pad

How to Add Music Extension in Scratch?

To add the “Music” extension in Scratch, you must follow the following steps:

Step 1: Click on the blue color icon available at the bottom-left corner of the Scratch interface.

scratch extensions block

Step 2: Once you click on the blue color icon, the following screen will appear.

click on the blue color icon

Step 3: Click on “Music” to add the Music extension to the block palette.

Click on “Music”

Step 4: Once you click on the “Music” option, the Music block will be added to the block palette.

Music block will be added

How to Add the Instrument Block in Scratch?

To add the Instrument block in Scratch, you must follow the following steps:

Step 1: Click on the “Music” block available on the left side of the screen in the block palette.

Click on the “Music” block

Step 2: Once you click on the “Music” option, all the music blocks will appear, as shown below.

click on the “Music” option

Step 3: Select the “set instrument to ( )” block and drag it to the code screen.

“set instrument to ( )” block

Music Blocks in Scratch

There are a total 7 music blocks available in Scratch, they are:

play drum ( )  for ( ) beats

This block allows users to play a particular percussion sound for a given number of beats. You can choose whatever sound you want to play from the dropdown in the block. By default, the number of beats is set to 0.25.

play drum ( )  for ( ) beats

rest for ( ) beats

This block allows users to add some silence to the music or in between the playing of music. You can enter the values of your choice in the block. By default, the number of beats is set to 0.25.

rest for ( ) beats

play note ( ) for ( )  beats

This block allows users to play a particular note for a given number of beats. You can enter the values of your choice in the block. By default, this plays the notes of a piano and the numbers of notes and beats are set to 60 and 0.25, respectively. When you select and run this particular block, a graphic keyboard will appear on the screen.

play note ( ) for ( )  beats

set instrument to ( )

This block allows users to set a particular instrument that the user wants to play. You can choose whatever sound you want to play from the dropdown in the block.  By default, the instrument is set to piano. There are 21 different instruments available in Scratch to choose from, they are piano, electric piano, guitar, organ, bass, electric guitar, pizzicato, cello, trombone, clarinet, saxophone, flute, wooden flute, bassoon, choir, vibraphone, music box, steel drum, marimba, synth lead, and synth pad.

set instrument to ( )

set tempo to ( )

This block allows users to speed up and speed down the music they want to play. You can enter the values of your choice in the block. By default, the value is set to 60.

set tempo to ( )

change tempo by ( )

This block allows users to change the tempo values which they have set earlier. You can enter the values of your choice in the block. By default, the value is set to 20.

change tempo by ( )

tempo

This block allows users to play the music according to the tempo values.

tempo

Uses of Instrument Block in Scratch

There are plenty of uses for the Instrument block in Scratch, such as:

  1. It helps the user in adding the sounds of different instruments to their projects.
  2. It helps the users to create their own songs or add sound effects to their projects.
  3. It helps the users to learn to work with music blocks.

Frequently Asked Questions (FAQs)

What is Instrument in Scratch?
In Scratch, the Instrument is a sound block used to produce notes and play notes and chords.

How many instruments are available to add in Scratch?
In Scratch, there is a total of 21 instruments available to add to the projects. They are piano, electric piano, guitar, organ, bass, electric guitar, pizzicato, cello, trombone, clarinet, saxophone, flute, wooden flute, bassoon, choir, vibraphone, music box, steel drum, marimba, synth lead, synth pad.

What is the use of the Instrument block in Scratch?
In Scratch, the Instrument block helps the user in adding the sounds of different instruments to their projects. It also helps the users to learn to work with music blocks.

Which block is required to add the Instrument block in Scratch?
In Scratch, to add the Instrument block, the user first needs to add the “Music” block to the lock palette.

How many total notes are available to add in Scratch?
In Scratch, there are a total of 131 notes available, ranging from note 0, a low C to note 10, a high B.

We hope you understand what Instrument in Scratch is and its types and uses. If you have any doubts, you can ask your doubts in the comment section.

Get 1-on-1 online Scratch classes

Related Posts

Do you want to learn from the top 1-on-1 tutors?

Concepts | Test-prep | Homework help

4.6/5

4.8/5