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

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...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: XUE, Yufan, YUAN, Xin, CHEN, Yuezhao, HUANG, Hao, LI, Na, ZHOU, Xubin, GUO, Guanjun
Format: Patent
Sprache:chi ; eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung: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, and determining 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. According to the present application, on the one hand, the threshold for music creation is lowered, so that a "green hand" user who does not have music theory knowledge can also construct correspon