Comment MIDI library.
Divide properly.
Avoid warnings.
Use a smaller indentation.
More explicit variable names in equalise.
Command join function.
Comment other Analyse functions.