METHOD AND APPARATUS FOR GENERATING MUSIC FILE, AND ELECTRONIC DEVICE AND STORAGE MEDIUM

    公开(公告)号:US20240127777A1

    公开(公告)日:2024-04-18

    申请号:US18545825

    申请日:2023-12-19

    CPC classification number: G10H1/0066 G10H1/0008

    Abstract: The present application relates to the technical field of computers, and discloses a method and apparatus for generating a music file, and an electronic device and a storage medium. The method for generating a music file comprises: obtaining a first image; performing feature extraction on the first image to obtain a salient feature of the first image; mapping the salient feature to a musical instrument digital interface (MIDI) information coordinate system on the basis of the position of the salient feature in the first image, so as to determine MIDI information corresponding to the salient feature, the MIDI information coordinate system being used for indicating a correspondence between MIDI information and time; and generating a music file on the basis of the correspondence between the MIDI information and the time.

Patent Agency Ranking