modify MIDI message handling and sound peak gain setting.