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.

    EFFECT DISPLAY METHOD AND APPARATUS, DEVICE, STORAGE MEDIUM, AND PROGRAM PRODUCT

    公开(公告)号:US20240377880A1

    公开(公告)日:2024-11-14

    申请号:US18783864

    申请日:2024-07-25

    Abstract: The present disclosure relates to a special effect display method and apparatus, a device, a storage medium, and a program product. The method comprises: setting a physical property of a target effect object, wherein the physical property comprises a gravity parameter of the target effect object; determining a current position and a target position of the target effect object; determining a floating force parameter based on the current position and the target position; and controlling the target effect object to float to display a floating animation effect of the target effect object, based on the physical property and the floating force parameter and according to a kinematic model, wherein the kinematic model is configured to analyze a motion state of an object with the physical property under a floating force indicated by the floating force parameter.

Patent Agency Ranking