diff --git a/src/blocks/scratch3_sound.js b/src/blocks/scratch3_sound.js index c67108ff..8e177957 100644 --- a/src/blocks/scratch3_sound.js +++ b/src/blocks/scratch3_sound.js @@ -84,6 +84,7 @@ Scratch3SoundBlocks.prototype.restForBeats = function (args, util) { Scratch3SoundBlocks.prototype.setInstrument = function (args, util) { var instNum = Cast.toNumber(args.INSTRUMENT); + instNum -= 1; return util.target.audioPlayer.setInstrument(instNum); };