fixed array to midi structure