Revision as of 16:35, 6 September 2022 by GoingLobster387 (talk | contribs) (Added April Fools Template!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Set Instrument to ()
set instrument to ( v)
Category Music
Type Stack

The Set Instrument to () block is a Music block and a Stack block. The block changes the instrument that the Play Note () for () Beats block will play. In Scratch 1.x, this could be any of the 128 General MIDI instruments; since then, that block has been replaced with an identically named one with 21 instruments.[1] (The Play Drum () for () Beats block is not affected by the Set Instrument to () block; it has its own instruments in a drop-down menu.)

A sprite can play only one instrument at a time. In order to play multiple instruments at once, it is necessary to have multiple sprites or clones of a single sprite.

Available Instruments

The Set Instrument to () block has a drop-down menu where users can select a instrument available to this specific block, each having their own unique number, visible in a (#) format before the common name of the instrument. Those instruments include:

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

Example Uses

As this block changes the instrument, it is mainly used in projects that require multiple instruments.

Some common uses for the Set Instrument to () block:

  • Projects where a change of instrument is needed
  • Projects where you control instruments
  • Making music with multiple instruments
  • Making sound effects

See Also

References

Cookies help us deliver our services. By using our services, you agree to our use of cookies.