Audio display method, device, electronic device and computer storage medium
By obtaining the beat data of the vocal audio and performing a visual display of the corresponding rhythm during the audio playback process, the problem in the existing technology of being unable to accurately display the rhythm of a cappella songs is solved, and the user experience is improved.
Patent Information
- Application Number
- CN201911199903.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-29
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2039-11-29
AI Technical Summary
It is difficult for the existing technology to accurately display audio that lacks accompaniment, especially for a cappella songs, and cannot effectively express the rhythm of the music, which reduces the user experience.
By obtaining beat data from the target audio containing human voice audio, a visual display corresponding to the rhythm is performed during the audio playback process, and the beat data is used to control changes in the display content to achieve accurate display of the rhythm of the human voice audio.
There is no need to use other accompaniment audio, and the visual display is only based on the beat data of the vocal audio, which improves the user's feeling and overall experience of the rhythm of a cappella songs.
Smart Images

Figure CN112883223B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of data processing technology, and in particular to an audio presentation method, device, electronic device, and computer storage medium. Background Art
[0002] In existing music playback, in order to better show the music effect to users, most of them will display the corresponding spectrogram while playing the music. When the accompaniment and vocals of the music are very full, multiple sounds can be distinguished according to bass, mid-bass, mid-range, mid-high, and high, so that a spectrogram is formed based on the many distinguished sounds, and then the rhythm and rhythm of the music are displayed by displaying the picture corresponding to the spectrogram.
[0003] However, some existing music does not include accompaniment. For example, some a cappella songs only have vocals but no accompaniment. It is difficult to distinguish the vocals according to bass, mid-bass, alto, mid-high and treble, resulting in the inaccurate expression of the rhythm of the music when displayed through a spectrum graph, which reduces the user experience. Summary of the invention
[0004] In view of this, one of the technical problems solved by the embodiments of the present application is to provide an audio presentation method, device, electronic device and computer storage medium to overcome the defect in the prior art that the rhythm of audio without accompaniment cannot be accurately presented.
[0005] An embodiment of the present application provides an audio display method, which includes: obtaining beat data corresponding to the human voice audio from target audio including human voice audio; during the playback of the target audio, performing a first visual display corresponding to the rhythm of the beat data according to the beat data.
[0006] An embodiment of the present application provides an audio display device, which includes: an acquisition module, used to obtain beat data corresponding to the human voice audio from a target audio containing human voice audio; a display module, used to perform a first visual display corresponding to the rhythm of the beat data according to the beat data during the playback of the target audio.
[0007] An embodiment of the present application provides an electronic device, including: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the audio presentation method described above.
[0008] An embodiment of the present application provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the audio presentation method as described above is implemented.
[0009] The solution provided by the present embodiment obtains the beat data corresponding to the human vocal audio from the target audio including the human vocal audio, and then during the playback of the target audio, performs a first visual display corresponding to the rhythm of the beat data according to the beat data, thereby eliminating the need to use other accompaniment audio, and performing the first visual display only according to the beat data corresponding to the human vocal audio. The first visual display allows the user to accurately feel the rhythm of the human vocal audio, thereby improving the user experience. In particular, when the target audio is a cappella song, the solution provided by the present embodiment can still perform the first visual display corresponding to the rhythm of the cappella song according to the beat data, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Hereinafter, some specific embodiments of the present application will be described in detail in an exemplary and non-limiting manner with reference to the accompanying drawings. The same reference numerals in the accompanying drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the accompanying drawings:
[0011] Figure 1a This is a schematic diagram of the audio display method in Example 1 of the present application;
[0012] Figure 1b A schematic diagram of a usage scenario in Example 1;
[0013] Figure 1c This is a schematic diagram of another usage scenario in Embodiment 1;
[0014] Figure 1d for Figure 1b and Figure 1c A schematic diagram of a visual display effect in the illustrated usage scenario;
[0015] Figure 2a This is a schematic diagram of the audio display method in Embodiment 2 of the present application;
[0016] Figure 2b A schematic diagram of a usage scenario;
[0017] Figure 2c for Figure 2b A schematic diagram of a visual display effect in the illustrated usage scenario;
[0018] Figure 3a A schematic diagram of an interface during song playback;
[0019] Figure 3b A schematic diagram of a visual display effect during the playing of a song;
[0020] Figure 3cA schematic diagram of another visual display effect during the playing of a song;
[0021] Figure 3d A schematic diagram of another visual display effect during the playing of a song;
[0022] Figure 3e A schematic diagram of the corresponding relationship between the moving distance threshold of a playing and singing note and the musical note;
[0023] Figure 4 This is a schematic diagram of the structure of the audio display device in the fourth embodiment of the present application;
[0024] Figure 5 A schematic diagram of the hardware structure of some electronic devices that implement the audio presentation method of this application. DETAILED DESCRIPTION
[0025] The implementation of any technical solution of the embodiments of the present application does not necessarily require achieving all of the above advantages at the same time.
[0026] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.
[0027] The specific implementation of the embodiment of the present application is further explained below in conjunction with the accompanying drawings of the embodiment of the present application.
[0028] Embodiment 1
[0029] Figure 1a Schematic diagram of the audio display method in Example 1 of the present application; Figure 1a As shown, it includes the following steps:
[0030] S102: Obtain beat data corresponding to the human voice audio from the target audio including the human voice audio.
[0031] In this embodiment, the target audio can be audio containing human voice obtained by any means. The human voice audio included in the target audio can be original vocal audio, cover vocal audio, vocal audio of self-created songs, etc. This embodiment does not limit this.
[0032] The beat data corresponding to the human voice audio is used to represent the beat of the human voice audio. The beat refers to a beat with a certain strength that appears periodically and is a unit of measuring rhythm.
[0033] In this embodiment, the method for obtaining the beat data corresponding to the human voice audio can be, for example: if the target audio is an audio that has been released and known to the public, the beat data of the target audio can be obtained through any resource channel, and the obtained beat data can be used as the beat data corresponding to the human voice audio; if the target audio is audio recorded by the user himself, the beat data corresponding to the human voice audio can be obtained according to the user's settings, and can also be obtained by performing rhythm analysis on the target audio through any appropriate algorithm.
[0034] S104: During the playback of the target audio, a first visual display corresponding to the rhythm of the beat data is performed according to the beat data.
[0035] Since the beat data is used to characterize the beat of the human voice audio, and the beat can be used to measure the rhythm, during the playback of the target audio, a first visual display corresponding to the rhythm of the beat data can be performed according to the beat data, so that the content displayed to the user according to the beat data changes as the target audio is played, so that the display content of the first visual display corresponds to the rhythm of the human voice audio, thereby improving the user experience.
[0036] Among them, the first visual display can be any form of visual display as long as it can correspond to the rhythm of the beat data. For example, the animation content that changes with the beat data can be directly displayed on the screen for the first visual display, or the first visual display can be performed through lights that change with the rhythm of the beat data.
[0037] For example, when user X wants to play song A, he can request song A from the cloud through his terminal A. Figure 1b As shown; after receiving the request from user X, the cloud returns corresponding data to terminal A, including the audio data of song A and the beat data of song A; after receiving the data returned by the cloud, terminal A plays song A through the corresponding application APP, and during the playing process of song A, corresponding special effects are displayed according to the beat data of song A. The playing interface is as shown Figure 1b As shown in, Figure 1b The special effect shown is schematically shown in the dotted frame. In one feasible manner, the display effect of the special effect is as follows: Figure 1d shown.
[0038] For example, Figure 1cAs shown, when user X triggers recording song A through terminal A, the cloud can first send the beat data corresponding to song A to terminal A in step S1, so that the corresponding application APP that can record songs can obtain the beat data corresponding to song A, and then in step S2, user X sings song A and records the human voice audio to terminal A, and terminal A can display the recording page through interface 1. When user X finishes recording, the terminal can display the recording completion page through interface 2, and can execute step S3 to send the recorded target audio (including human voice audio and beat data) to the cloud for storage by the cloud.
[0039] When playing the target audio through terminal B, step S4 can be executed first, and the target audio (including vocal audio and beat data) is sent from the cloud to terminal B. The song-playing application APP in terminal B can make a visual display of the corresponding rhythm according to the beat data in the target audio, as shown in the dotted box part in interface 3 of terminal B. Figure 1c The terminal A and the terminal B in the example can be the same terminal or different terminals.
[0040] An example of a first visual display shown in the dashed box in the interface 3 of the terminal B is as follows: Figure 1d The first visual display is a vertical bar graph, which changes with the beat data, and the order of change is from top to bottom. Figure 1d As can be seen from the change process shown in , the number of vertical bar graphics gradually increases, and expands to both sides with the user's head portrait as the center. Of course, the above description is only based on the vertical bar graphics as an example, but it is not intended to be a limitation of the present application.
[0041] The solution provided by the present embodiment obtains the beat data corresponding to the human vocal audio from the target audio including the human vocal audio, and then during the playback of the target audio, performs a first visual display corresponding to the rhythm of the beat data according to the beat data, thereby eliminating the need to use other accompaniment audio, and performing the first visual display only according to the beat data corresponding to the human vocal audio. The first visual display allows the user to accurately feel the rhythm of the human vocal audio, thereby improving the user experience. Especially when the target audio is a cappella song, the solution provided by the present embodiment can still perform the first visual display corresponding to the rhythm of the cappella song according to the beat data, thereby improving the user experience.
[0042] The audio presentation method of this embodiment can be executed by any appropriate electronic device with data processing capabilities, including but not limited to: mobile terminals (such as tablet computers, mobile phones, etc.) and PCs, etc.
[0043] Embodiment 2
[0044] Figure 2aSchematic diagram of the audio display method in the second embodiment of the present application; Figure 2a As shown, it includes the following steps:
[0045] S202. From the target audio including the vocal audio and the musical note audio, obtain the beat data corresponding to the vocal audio, and obtain the musical note time data corresponding to the musical note audio.
[0046] The method of obtaining the beat data corresponding to the human voice audio is shown in the above embodiment, which will not be repeated in this embodiment.
[0047] In this embodiment, the target audio may include not only vocal audio but also note audio. The note audio may be audio generated according to the user's playing operation when generating the vocal audio. For example, when singing a cappella, although there is no complete accompaniment, in order to achieve a better a cappella effect, the singer will play some notes during the singing process through the playing function provided by the application APP to make the song more pleasant to listen to. Then, note audio may be generated according to some of the notes played by the singer. After the note audio is determined, it may be added to the target audio. Based on this, some target audios contain both vocal audio and note audio.
[0048] In the prior art, even if the target audio includes note audio, if the note audio includes less audio, for example, each line of lyrics only corresponds to one or two notes, resulting in fewer notes corresponding to the entire target audio, and human voice audio is not easy to distinguish multiple sounds according to bass, mid-bass, mid-range, mid-high, and high pitch. As a result, even if the target audio includes note audio, the spectrum diagram of the target audio cannot be determined, and the user cannot effectively feel the effect and rhythm of the audio.
[0049] In this embodiment, the above-mentioned problem can be effectively overcome by performing corresponding processing and visual display according to the note time data corresponding to the note audio. The note time data corresponding to the note audio can be determined according to the output time of the note in the target audio. For example, if the third note is output when the target audio is played to the 5th second, the 5th second can be the audio time data corresponding to the third note. In addition, the note time data can correspond to one note or multiple notes, which is not limited in this embodiment.
[0050] S204. During the playback of the target audio, a first visual display corresponding to the rhythm of the beat data is performed according to the beat data, and a second visual display corresponding to the time of the note time data is performed according to the note time data.
[0051] The specific content of the first visual display can be referred to the above embodiment, and will not be repeated in this embodiment.
[0052] A second visual display corresponding to the time of the note time data is performed according to the note time data, that is, at the time corresponding to the note time data, the content displayed to the user is controlled to change, so that the user can intuitively determine the notes in the target audio according to the second visual display. In order to form beautiful music, the time of note output is generally matched with the beat of the human voice audio, so that the user can intuitively feel the rhythm of the human voice audio according to the second visual content.
[0053] The second visual display can also be any form of visual display, as long as it can correspond to the time of the note time data. For example, the screen can display the animation content corresponding to the note at the time corresponding to the note time data to perform the second visual display, or the light can be controlled to switch between light and dark states at the time corresponding to the note time data to perform the second visual display. By combining the first visual display with the second visual display, the user can visually feel the rhythm of the human voice audio and the effect of the note audio, further improving the user experience.
[0054] For example, Figure 2b As shown, Figure 2b Refer to steps S1-S4 in Figure 1c Steps S1-S4 in Figure 2b The interface 1 of the terminal A is as described above. Figure 1c Interface 1 of terminal A Figure 2b Refer to the interface 3 of terminal A in Figure 1c Interface 2 of terminal A, Figure 2b Interface 4 of terminal B refers to Figure 1c The interface 3 of the middle terminal B will not be described in detail in this embodiment. Figure 2b The terminal A and the terminal B in the example can be the same terminal or different terminals.
[0055] Figure 2b With the above Figure 1c The difference is:
[0056] A) During the recording process, as shown in interface 2 displayed by terminal A, user X can play icon 1 in the dotted box on the left side of the interface at the 5th second after starting recording, and execute step S3. When terminal A sends the recorded target audio (including vocal audio, beat data, note audio, and note time data) to the cloud, the note audio generated by the user's playing operation and its corresponding note time data are added to the sent target audio.
[0057] B) During the playback process, step S4 is executed, and when the recorded target audio (including vocal audio, beat data, note audio, and note time data) is sent from the cloud to terminal B, the note audio generated by the user's playing operation and its corresponding note time data are added to the sent target audio. When displayed, as shown in interface 5 in terminal B, from the 5th second after the start of playback, the content displayed in the playback interface adds a second visual display corresponding to the note time data.
[0058] A detailed schematic diagram of the first visual display and the second visual display indicated in the dotted box of the playback interface is shown in 2c. Figure 2c The middle part of the figure shows the superposition effect of the first visual display and the second visual display, which changes with the playback progress, and the order of change is from top to bottom. Among them, the vertical bar represents the first visual display, and the solid block represents the second visual display. Figure 2b "Playback Progress" in middle interface 5 and Figure 2c The “5th second” under the solid block table is used to indicate that the display time of the solid block is the 5th second from the start of playback, rather than the actual display content.
[0059] In the following, each playback interface involved in the above process is exemplarily described.
[0060] like Figure 3a As shown, Figure 3a The interface of a song playing is shown, with the lyrics content displayed at the top of the interface; a rhythm bar is included below the lyrics content, and a first visual display and / or a second visual display can be performed in the rhythm bar; in addition, the playing progress of the song is also displayed below the rhythm bar.
[0061] During the song playing process, the third object, the user avatar, is displayed in the middle of the rhythm bar, and the first object, the vertical bar graphics on the left and right of the user avatar, are displayed. Each vertical bar graphic corresponds to a beat point of the beat data. As the progress of the song playing changes, a new vertical bar graphic corresponding to the beat point is generated at the position of the user avatar and moves in a straight line away from the user avatar. At the same time, the user avatar is scaled, such as Figure 3b shown.
[0062] Of course, the above description only uses vertical bar graphics as an example, but it is not a limitation of the present application. In other implementations of the present application, the first object can be other graphics, such as bubble graphics, note graphics, etc. As long as the first object changes with the change of beat data, this embodiment does not limit this.
[0063] For example, when the first object is a musical note graphic, as the progress of the song playing changes, a new musical note graphic corresponding to the beat point is generated at the position of the user avatar and moves away from the user avatar along the line staff in the figure. At the same time, the user avatar is scaled, such as Figure 3c shown.
[0064] The specific graphic of the first object and the way to move the first object can be set by those skilled in the art as needed, and will not be described in detail in this embodiment.
[0065] When the playback reaches the time corresponding to the note time data, Figure 3d As shown in the rhythm bar, the user's avatar is used as the starting point to control the singing note (second visual display) corresponding to the note to move along a straight line away from the user's avatar and disappear when it moves to the moving distance threshold (1 cm). The moving distance threshold of the singing note corresponding to different notes is different, and the disappearance position can also be different. Specifically, it can be as follows Figure 3e As shown, the disappearing positions of the playing and singing Notes corresponding to Note 1 and Note 2 are different.
[0066] The first visual display includes the zoom display of the user's avatar and the moving display of the vertical bar graphics. The second visual display includes the movement of the singing and playing notes. The combination of the three allows users to feel a strong sense of rhythm by viewing the interface, thereby improving the user experience.
[0067] In addition, since the music score and lyrics are generally created separately when composing a song, and through the solution provided by this embodiment, if the target audio is the audio generated by the process of composing the music score, then the solution provided by this embodiment, through the first visual display and the second visual display, can more clearly show the creation process of the music score through visual display.
[0068] Of course, the above Figure 3a , Figure 3b , Figure 3c , Figure 3d , Figure 3e The display method is only for illustration and is not intended to be a limitation of this application.
[0069] In an optional solution, the display area of the first visual display partially overlaps or completely overlaps the display area of the second visual display, so as to superimpose the first visual display and the second visual display, thereby achieving a stronger visual effect. Figure 2c The middle part of the diagram is shown in Figure 1.
[0070] When overlaying is performed specifically, if the second visual display is performed above the first visual display, the transparency of the display content corresponding to the second visual display can be adjusted, so that the user can still observe the content corresponding to the first visual display through the content corresponding to the second visual display; if the overlay position is opposite, the transparency of the display content corresponding to the first visual display can be adjusted.
[0071] In an optional solution, performing a first visual display corresponding to the rhythm of the beat data according to the beat data includes: moving a first object corresponding to the beat point of the beat data along a first preset path. Thus, the displayed first object directly corresponds to the beat point of the beat data, and the first object is moved along the first preset path, forming a visual effect that the first object changes with the change of the playback progress, so that the user can intuitively feel the change of the beat point by observing the appearance and movement process of the first object, thereby improving the user experience.
[0072] For example, a movement of a first object such as Figure 1c As shown, the first preset path is a straight path centered on the user avatar, then the first object can take the user avatar as the starting point, move along the straight path in the horizontal direction away from the user avatar, and hide when it moves to the interface boundary (the left and right sides of the dotted box). Of course, the first preset path can also be a wavy path, a parabolic path, etc. Optionally, the first preset path can include at least two sub-paths, then at least two first objects corresponding to the same beat point can be moved along the at least two sub-paths. As mentioned above, the straight path centered on the user avatar can be divided into a straight sub-path on the left side of the user avatar and a straight sub-path on the right side of the user avatar. Of course, the two sub-paths can be different, such as a straight sub-path on the left side of the user avatar, a wavy sub-path on the right side of the user avatar, and so on.
[0073] In an optional solution, the second visual display corresponding to the time of the note time data according to the note time data includes: if the target audio is played to the time corresponding to the note time data, the second object is moved along a second preset path. Thus, the generation time of the note is more clearly displayed through the second object corresponding to the note, and the second object is moved along the second preset path to form a visual effect that the second object changes with the playback progress, so that the user can intuitively feel the corresponding note by observing the appearance and movement of the second object, thereby improving the user experience.
[0074] The movement mode of the second object may be similar to the movement mode of the first object, and will not be described in detail in this embodiment.
[0075] In a further optional solution, the first preset path and the second preset path partially overlap or completely overlap, so that the first object being moved may overlap with the second object being moved, and then the first visual effect and the second visual effect may be superimposed during display, thereby achieving a stronger visual effect. In actual use, the second preset path may completely overlap with the first preset path, or all of the second preset paths may overlap with a portion of the first preset path, and this is not limited in this embodiment. For example, a visual effect superposition interface is shown as follows: Figure 2c shown.
[0076] In a further optional solution, the method further includes: determining the note corresponding to the current playing time from the note audio, and determining the current moving distance threshold according to the note; if the moving distance of the second object along the second preset path matches the current moving distance threshold, hiding the second object. An example of the above process is as follows Figure 3b As shown, assuming that the current moving distance threshold is 1cm, such as Figure 3b As shown in the right interface, the second object moves symmetrically in a straight line to both sides with the user portrait as the center in the direction away from the user portrait. When the moving distance of the second object without moving the second preset path reaches 1 cm, the second object is hidden.
[0077] Since different notes have different sound characteristics, such as different volumes and durations, by determining the moving distance threshold corresponding to the note and controlling the hiding of the second object according to the moving distance threshold, the sound characteristics of the corresponding note can be directly felt according to the moving distance of the second object, so as to further improve the user experience. In addition to determining the moving distance threshold corresponding to the second object according to the note, the moving speed of the second object can also be determined according to the note.
[0078] For another example, all corresponding moving distance thresholds can be determined based on the second preset path. Assume that the second preset path is a straight path from the left side of the interface to the right side of the interface, then the moving distance thresholds corresponding to each trisection point from left to right and the rightmost endpoint of the path are 1, 2, and 3 respectively. If the volume of a certain note is high, its corresponding moving distance threshold is determined to be 3, and the second object corresponding to the note is moved to the rightmost side close to the second preset path and hidden. If the volume of another note is low, its corresponding moving distance threshold is determined to be 1, and the second object corresponding to the note is moved to the trisection point close to the left side of the second preset path and hidden.
[0079] In a further optional scheme, before the target audio is played to the time corresponding to the note time data and the second object is moved along a second preset path, the method also includes: determining the note corresponding to the current playback time from the note audio, and determining the color of the corresponding second object according to the note, so that the second object is displayed according to the color, thereby directly feeling the sound characteristics of the corresponding note according to the color of the second object, so as to further improve the user experience.
[0080] For example, if a note is played by a piano, the color of the corresponding second object may be blue; if it is played by a guitar, the color of the corresponding second object may be orange, and so on.
[0081] In a further optional solution, a third object can be displayed at the starting position of the first preset path according to the beat data, that is, the display position of the third object overlaps with the starting position of the first preset path. By displaying the third object at the starting position of the first preset path, a visual effect of the third object and the first object being linked can be generated, so that the user feels a stronger sense of rhythm, thereby improving the user experience.
[0082] For example, when performing the first visual display, the third object can be controlled to produce a vibration effect and / or the color switching of the third object can be controlled according to the beat data, and at the same time, the first object can be moved from the position of the third object (the starting position of the first preset path), thereby generating a visual effect of the first object and the third object being linked.
[0083] In a further optional solution, based on the first visual display, other contents that interact with the user can be expanded to allow the user to obtain an immersive experience.
[0084] In a specific optional solution, after step S204, the method may further include:
[0085] S206. During the first visual display, obtain the user's input operation, and determine a matching result between the input operation and the beat data.
[0086] During the first visual display process, the user can understand the beat corresponding to the target audio according to the first visual effect. Based on this, the user can perform input operations in response to the learned beat.
[0087] The user's input operation may include: triggering an operation on a fixed position on the screen according to the first visual display, pressing an operation on a preset key, etc. In addition, the user's input operation may also include an operation of the user inputting voice, etc.
[0088] After obtaining the user's input operation, the input operation can be matched with the beat data, and the matching result can be determined, and then the matching result can be displayed in step S208. By determining and displaying the matching result, the degree of user participation can be improved so that the user can obtain an immersive experience. Of course, those skilled in the art can set corresponding matching rules according to actual needs, and this embodiment does not limit this.
[0089] S208: Display the matching result.
[0090] In a specific usage scenario, when performing the first visual display, the displayed content may include a first object corresponding to a beat point in the beat data, and the first object moves along a first preset path. When the user's input operation is obtained, the matching degree between the input operation and the beat point in the beat data is determined according to the distance between the first object and the preset fixed position, and the closer the distance, the higher the matching degree.
[0091] When displaying the matching result, a matching prompt color may be displayed above the first object or at other locations, and the matching degree may be divided into multiple ranges, and different matching degrees in different ranges may correspond to different matching prompt colors. Thus, through the displayed matching prompt color, the user may intuitively understand the matching degree between his / her input operation and the beat data.
[0092] In addition, since the matching results can be used to measure the user's sense of rhythm, in addition to displaying the matching results, statistical analysis can be performed on the matching results corresponding to multiple users to sort multiple users according to their own sense of rhythm, or to select the user with the best sense of rhythm from multiple users.
[0093] In this embodiment, by obtaining the beat data corresponding to the vocal audio and the audio time data corresponding to the note audio from the target audio including the vocal audio and the note audio, and then during the playback of the target audio, a first visual display corresponding to the rhythm of the beat data is performed according to the beat data, and a second visual display corresponding to the time of the audio time data is performed according to the audio time data. There is no need to use other accompaniment audio, and the first visual display can be performed only according to the beat data corresponding to the vocal audio, and the second visual display can be performed according to the note time data. The first visual display allows the user to accurately feel the rhythm of the vocal audio, and the second visual display can enhance the rhythm felt by the user, thereby improving the user experience.
[0094] The audio presentation method of this embodiment can be executed by any appropriate electronic device with data processing capabilities, including but not limited to: mobile terminals (such as tablet computers, mobile phones, etc.) and PCs, etc.
[0095] Embodiment 3
[0096] Figure 4 Schematic diagram of the structure of the audio display device in the fourth embodiment of the present application; Figure 4 As shown, it includes: an acquisition module 402 and a rhythm display module 404.
[0097] The acquisition module 402 is used to acquire the beat data corresponding to the human voice audio from the target audio including the human voice audio.
[0098] The rhythm display module 404 is used to perform a first visual display corresponding to the rhythm of the beat data according to the beat data during the playback of the target audio.
[0099] Optionally, in any embodiment of the present application, the target audio also includes note audio, and the acquisition module 402 is further used to obtain note time data corresponding to the note audio from the target audio including the note audio; the device also includes: a note display module, which is used to perform a second visual display corresponding to the time of the note time data according to the note time data during the playback of the target audio.
[0100] Optionally, in any embodiment of the present application, a display area of the first visual display partially overlaps or completely overlaps with a display area of the second visual display.
[0101] Optionally, in any embodiment of the present application, the rhythm display module 404 is specifically configured to move a first object corresponding to a beat point of the beat data along a first preset path.
[0102] Optionally, in any embodiment of the present application, the first object includes: a vertical bar graphic, a bubble graphic, or a musical note graphic.
[0103] Optionally, in any embodiment of the present application, the note display module is specifically used to move the second object along a second preset path if the target audio is played to the time corresponding to the note time data.
[0104] Optionally, in any embodiment of the present application, the first preset path partially overlaps or completely overlaps with the second preset path.
[0105] Optionally, in any embodiment of the present application, the device also includes: a distance threshold determination module, used to determine the note corresponding to the current playback time from the note audio, and determine the current moving distance threshold based on the note; correspondingly, the note display module is also used to hide the second object if the moving distance of the second object along the second preset path matches the current moving distance threshold.
[0106] Optionally, in any embodiment of the present application, the device further includes: a color determination module, used to determine the note corresponding to the current playback time from the note audio, and determine the color of the corresponding second object according to the note, so that the second object is displayed according to the color.
[0107] Optionally, in any embodiment of the present application, the rhythm display module 404 is further used to: display a third object at the starting position of the first preset path according to the beat data.
[0108] Optionally, in any embodiment of the present application, the device further includes: a matching module, used to obtain the user's input operation and determine the matching result between the input operation and the beat data during the first visual display; and a matching display module, used to display the matching result.
[0109] The solution provided by the present embodiment obtains the beat data corresponding to the human vocal audio from the target audio including the human vocal audio, and then during the playback of the target audio, performs a first visual display corresponding to the rhythm of the beat data according to the beat data, thereby eliminating the need to use other accompaniment audio, and performing the first visual display only according to the beat data corresponding to the human vocal audio. The first visual display allows the user to accurately feel the rhythm of the human vocal audio, that is, the rhythm of the human vocal audio corresponding to the beat data, thereby improving the user experience. In particular, when the target audio is a cappella song, the solution provided by the present embodiment can still perform the first visual display corresponding to the rhythm of the cappella song according to the beat data, thereby improving the user experience.
[0110] Embodiment 4
[0111] Figure 5 Schematic diagram of the hardware structure of some electronic devices that implement the audio presentation method of this application. Figure 5 As shown, the device includes:
[0112] Processor (processor) 502 , Communications Interface (Communications Interface) 504 , memory (memory) 506 , and communication bus 508 .
[0113] in:
[0114] The processor 502 , the communication interface 504 , and the memory 506 communicate with each other via a communication bus 508 .
[0115] The communication interface 504 is used to communicate with other terminal devices or servers.
[0116] The processor 502 is used to execute the program 510, and specifically can execute the relevant steps in the above-mentioned audio presentation method embodiment.
[0117] Specifically, the program 510 may include program codes, which include computer operation instructions.
[0118] The processor 502 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiment of the present invention; the processor may also be a field programmable gate array (FPGA), a graphics processor (GPU), an embedded neural network processor (NPU), etc. The one or more processors included in the terminal device may be processors of the same type, such as one or more CPUs; or they may be processors of different types, such as one or more CPUs and one or more ASICs.
[0119] The memory 506 is used to store the program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0120] The above electronic device can execute the method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided in the above embodiment of the present application.
[0121] The electronic devices of the embodiments of the present application exist in various forms, including but not limited to:
[0122] (1) Mobile communication devices: These devices are characterized by their mobile communication functions and their main purpose is to provide voice and data communications. These terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
[0123] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, such as iPad.
[0124] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players (such as iPods), handheld game consoles, e-books, as well as smart toys and portable car navigation devices.
[0125] (4) Cloud: Equipment that provides computing services. The cloud consists of processor 502, hard disk, memory, system bus, etc. The cloud is similar to the general computer architecture, but because it needs to provide highly reliable services, it has higher requirements in terms of processing power, stability, reliability, security, scalability, manageability, etc.
[0126] (5) Other electronic devices with data interaction functions.
[0127] Thus far, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve the desired results. Additionally, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing may be advantageous.
[0128] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0129] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0130] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0131] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0132] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0133] The present application is described with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, and the combination of the process and / or box in the flowchart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.
[0134] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0135] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0136] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0137] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0138] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0139] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0140] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0141] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific transactions or implement specific abstract data types. The present application may also be practiced in distributed computing environments where transactions are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0142] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0143] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. An audio display method, It is characterized in that include: Obtaining beat data corresponding to the human voice audio from the target audio including the human voice audio; During the playback of the target audio, performing a first visual display corresponding to the rhythm of the beat data according to the beat data; Wherein, the target audio further includes note audio, and the method further includes: Obtaining note time data corresponding to the note audio; During the playback of the target audio, performing a second visual display corresponding to the time of the note time data according to the note time data; Furthermore, the performing of the first visual display corresponding to the rhythm of the beat data according to the beat data includes: moving a first object corresponding to the beat point of the beat data along a first preset path; The second visual display corresponding to the time of the note time data according to the note time data includes: if the target audio is played to the time corresponding to the note time data, moving the second object along a second preset path.
2. The method according to claim 1, It is characterized in that The display area of the first visual representation partially overlaps or completely overlaps with the display area of the second visual representation.
3. The method according to claim 1, It is characterized in that The first object includes: a vertical bar graphic, a bubble graphic or a musical note graphic.
4. The method according to claim 1, It is characterized in that The first preset path partially overlaps or completely overlaps with the second preset path.
5. The method according to claim 1, It is characterized in that The method further comprises: Determine the note corresponding to the current playing time from the note audio, and determine the current moving distance threshold according to the note; If the moving distance of the second object along the second preset path matches the current moving distance threshold, the second object is hidden.
6. The method according to claim 1, It is characterized in that Before the target audio is played to the time corresponding to the note time data and the second object is moved along the second preset path, the method further includes: The note corresponding to the current playing time is determined from the note audio, and the color of the corresponding second object is determined according to the note, so that the second object is displayed according to the color.
7. The method according to claim 1, It is characterized in that The method further comprises: According to the beat data, a third object is displayed at a starting position of the first preset path.
8. The method according to claim 1, It is characterized in that After performing the first visual display corresponding to the rhythm of the beat data according to the beat data, the method further includes: During the first visual display, obtaining an input operation of a user, and determining a matching result between the input operation and the beat data; The matching results are displayed.
9. An audio display device, It is characterized in that include: An acquisition module, used to acquire beat data corresponding to the human voice audio from the target audio containing the human voice audio; A rhythm display module, used for performing a first visual display corresponding to the rhythm of the beat data according to the beat data during the playback of the target audio; Wherein, the target audio also includes note audio; The acquisition module is further used to acquire the note time data corresponding to the note audio; The device further comprises: a note display module for performing a second visual display corresponding to the time of the note time data according to the note time data during the playback of the target audio; The rhythm display module is specifically used to: move a first object corresponding to a beat point of the beat data along a first preset path; The note display module is specifically used to: if the target audio is played to the time corresponding to the note time data, move the second object along a second preset path.
10. An electronic device, include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the audio presentation method described in any one of claims 1-8.
11. A computer storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the audio presentation method according to any one of claims 1 to 8 is implemented.
