Fixed a typo.
Updated computations in midi_files.rst.