Old fromMidi implementation replaced with new one.