I. Introduction
Musical Instrument Digital Interface (MIDI) files are a crucial pillar in the ever-changing landscape of music creation and technology. MIDI has evolved from its modest beginnings as a standard for connecting electronic musical instruments in the early 1980s to become a universal language for the digital representation of musical ideas. MIDI files do not contain audio recordings; instead, they contain instructions that direct MIDI-compatible devices on how to make sound. This information includes musical notes, duration, pitch, velocity, and many control parameters. It is difficult for machines to recognize the patterns and structure of a specific style of music such as extraction of melody, rhythm, timbre, and chords from musical works.