Method and apparatus for determining audio, electronic device, and storage medium
Abstract
Provided are a method and apparatus for determining an audio, an electronic device, and a storage medium. The method includes: a chord corresponding to an input audio is determined in response to receiving the input audio; at least one to-be-selected arrangement style is determined according to the chord and/or a melody attribute of the input audio; at least one to-be-selected arrangement template associated with a target arrangement style is displayed based on a trigger operation to the at least one to-be-selected arrangement style; and a target audio is played based on a trigger operation to the at least one to-be-selected arrangement template.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method for determining an audio, comprising:
in response to receiving an input audio, determining a chord corresponding to the input audio; determining at least one to-be-selected arrangement style according to at least one of the chord or a melody attribute of the input audio; displaying, based on a trigger operation to the at least one to-be-selected arrangement style, at least one to-be-selected arrangement template associated with a target arrangement style; and playing a target audio based on a trigger operation to the at least one to-be-selected arrangement template; wherein the target audio is an audio obtained after the input audio is merged to a target arrangement template, and the at least one to-be-selected arrangement template comprises the target arrangement template.
2 . The method of claim 1 , further comprising:
collecting audio information of a target user in response to a special effect trigger operation, and using the audio information as the input audio; or in response to detecting that an audio collection control is triggered, using collected audio information as the input audio.
3 . The method of claim 1 , wherein after determining the chord, the method further comprises:
displaying a preview interface of the chord; and presenting an arrangement control in a target region of the preview interface to determine the at least one to-be-selected arrangement style based on a trigger operation to the arrangement control.
4 . The method of claim 1 , wherein the melody attribute comprises a tempo and a meter, and determining the at least one to-be-selected arrangement style according to the melody attribute of the input audio comprises:
determining the at least one to-be-selected arrangement style from a plurality of to-be-matched arrangement styles according to at least one of the tempo or the meter.
5 . The method of claim 1 , wherein determining the at least one to-be-selected arrangement style according to the melody attribute of the input audio and the chord comprises:
determining the at least one to-be-selected arrangement style from a plurality of to-be-matched arrangement styles according to the tempo, the meter and the chord.
6 . The method of claim 1 , wherein after determining the at least one to-be-selected arrangement style, the method further comprises:
jumping to a style template presentation interface to present the at least one to-be-selected arrangement style in a first display region of the style template presentation interface, and to present musical instrument information constituting each of the at least one to-be-selected arrangement template and an articulation corresponding to each meter in a second display region of the style template presentation interface.
7 . The method of claim 6 , wherein a presentation order of the at least one to-be-selected arrangement style in the first display region is determined based on at least one of the following manners:
a matching degree of each of the at least one to-be-selected arrangement style and the input audio; historical selection data of a target user for the at least one to-be-selected arrangement style; or a frequency at which the at least one to-be-selected arrangement style is selected by the target user.
8 . The method of claim 6 , further comprising:
updating the musical instrument information in the second display region and the articulation corresponding to each meter in the second display region are updated in response to detecting that the at least one to-be-selected arrangement template is updated.
9 . The method of claim 6 , further comprising:
updating a display content of the second display region based on a trigger operation to at least one of the musical instrument information in the second display region or the articulation corresponding to each meter in the second display region.
10 . The method of claim 9 , wherein the trigger operation to the at least one of the musical instrument information in the second display region or the articulation corresponding to the each meter in the second display region comprises at least one of deleting, switching or adding.
11 . The method of claim 6 , further comprising:
presenting, in a third display region of the style template presentation interface, at least one to-be-selected arrangement template associated with a to-be-selected arrangement style first presented in the first display region.
12 . The method of claim 6 , wherein displaying, based on the trigger operation to the at least one to-be-selected arrangement style, the at least one to-be-selected arrangement template associated with the target arrangement style comprises:
in response to detecting that the at least one to-be-selected arrangement style in the first display region is triggered, determining the target arrangement style; and updating and displaying the at least one to-be-selected arrangement template associated with the target arrangement style in the third display region.
13 . The method of claim 1 , wherein a first display region further comprises a folding presentation control, and the method further comprises:
in response to detecting that the folding presentation control is triggered, adjusting a presentation size of a style template presentation interface in a display interface, and presenting, at a preset position of the display interface, a target interface comprising a plurality of to-be-matched arrangement styles.
14 . The method of claim 1 , wherein a first display region further comprises a folding presentation control, and the method further comprises:
in response to detecting that the folding presentation control is triggered, jumping from a style template presentation interface to a target interface comprising a plurality of to-be-matched arrangement styles.
15 . The method of claim 13 , further comprising:
in response to detecting that a use control corresponding to a to-be-matched arrangement style of the plurality of to-be-matched arrangement styles is triggered, presenting, in the first display region of the style template presentation interface, a triggered to-be-matched arrangement style, and presenting, in a third display region, a to-be-selected arrangement template associated with the to-be-matched arrangement style of the plurality of to-be-matched arrangement styles; or in response to detecting that an acquisition control corresponding to a to-be-matched arrangement style of the plurality of to-be-matched arrangement styles is triggered, acquiring a to-be-selected arrangement template corresponding to the to-be-matched arrangement style of the plurality of to-be-matched arrangement styles, displaying the to-be-matched arrangement style in the first display region, and displaying the to-be-selected arrangement template corresponding to the to-be-matched arrangement style in a third display region.
16 . The method of claim 15 , wherein presenting, in the first display region of the style template presentation interface, the triggered to-be-matched arrangement style, comprises:
placing the triggered to-be-matched arrangement style at a first position of the at least one to-be-selected arrangement style in the first display region, and adjusting the at least one to-be-selected arrangement style according to a number of presentations of the first display region.
17 . An electronic device, comprising:
at least one processor; a storage apparatus, which is configured to store at least one program;
wherein the at least one program, when executed by the at least one processor, causes the at least one processor to implement the method for determining the audio of claim 1 .
18 . A non-transitory storage medium comprising a computer-executable instruction, wherein the computer-executable instruction is configured to perform, when executed by a computer processor, the method for determining the audio of claim 1 .Join the waitlist — get patent alerts
Track US2024169961A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.