When we make music, we need to define a set of tuning-frequencies. Such a set of frequencies often called a scale. Before get into the topic MIDI & equal tempered scale we will discuss on basics.
In western music, the most popular scale is the equal tempered scale which is based on starting at some reference-frequency. The equal tempered scale is relatively fixed scale used for the tuning of pianos and other instruments.