Eng:MIDI Notes

MIDI stands for Musical Instrument Digital Interface, and is a standardized coding that allows Scratch to create Sounds. A Scratcher can create their own MIDI sequences using Sound Blocks.

How it Works in Scratch
MIDI sounds in Scratch are created by certain Sound Blocks. These are mainly the Play Note for  Beats and Play Drum blocks, with volume, tempo, and instrument values being set by other blocks. Put together, a whole range of sounds can be created.

Scratch 1.3 was able to generate MIDI from the microphone, via the note block.

MIDI Note System
The MIDI Note System can be seen at work when you use the Play Note for  Beats block. When selecting the note, you either type in a number or press a key on the virtual piano. The number represents the MIDI note. 60 is the " Middle C ". Adding or subtracting 1 is the equivalent to moving 1 " half step ". Adding or subtracting 12 changes the note by 1 octave.

Notation
MIDI can sometimes be tricky to use on Scratch since it does not have the regular notation for notes and durations. These diagrams might help:

Beats
This table shows the beat number values for the most common rhythms in the most common time signatures, interpreted in the most basic way.

Pros and Cons
Using MIDI in Scratch is a useful feature, but it has a few flaws:

Pros

 * A Scratcher can easily create and mix music.
 * Once a MIDI File has been created, it is very easy to change certain aspects of the sounds such as instrument, volume, tempo, and note.
 * Many songs can be replicated thanks to the MIDI note system.
 * The use of blocks makes MIDI note simple and effective.

Cons

 * Sounds created with MIDI files may sound repetitive, low quality, or incorrect.
 * Users with little musical knowledge may have trouble understanding how the MIDI Note System works.
 * Scratch offers no method for exporting the MIDI Notes.

Troubleshooting
Sometimes MIDI sounds do not work. If this happens, the most likely solution to the problem is to turn up the MIDI sounds on your computer, which is most commonly found in the volume control panel. It may also be called SW Synth. If this is turned up and the MIDI sounds still do not work, try restarting your computer.

Differences
In Scratch, the Java Player, and the Flash Player, the MIDI notes all sound different.

Soundfont Download
Scratch 2.0's Soundbank as a Soundfont can be downloaded here.