Song adaptation method and its device, equipment, medium and product
By displaying the template notes of the target song on the graphical user interface and allowing users to replace notes within an optional range, the problems of complexity and high music theory requirements of existing song adaptation software are solved, and convenient song creation for non-professional users and user excitement for online music platforms are achieved.
Patent Information
- Application Number
- CN202210129473.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-11
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2042-02-11
AI Technical Summary
The existing song adaptation software is complex in operation and requires a certain reserve of music theory knowledge, which makes it difficult for non-professionals to use, with a high threshold, and it is impossible to easily create personalized songs.
Provide a song adaptation method, by obtaining the accompaniment information and melody information of the target song, visually displaying template notes using a graphical user interface, and determining the optional tuned notes in the background, allowing users to replace notes within the optional range and generate adapted songs.
It lowers the technical threshold for music theory knowledge, enables non-professional users to independently complete song creation, ensures the coordination of accompaniment and melody, stimulates user creative passion, and improves user traffic on online music platforms.
Smart Images

Figure CN114495873B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of music-assisted creation, and in particular to a song adaptation method and its corresponding apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] Nowadays, listening to music has become a habit in daily life. For this reason, after listening to many beautiful songs, more and more people want to create their own songs. However, the threshold for creating songs from scratch is too high. Most people choose to adapt existing songs to create new songs.
[0003] Most of the existing song adaptation-related software is complex to operate and requires a certain amount of music theory knowledge. The cost of understanding and familiarizing yourself with the software functions is high. It is generally suitable for people in the music field and is not convenient for non-professionals to use. Therefore, in order to lower the technical threshold of users' music theory knowledge and the threshold of users' operation and use, the applicant has made corresponding explorations based on these issues. Summary of the Invention
[0004] The primary purpose of this application is to solve at least one of the above problems and provide a song adaptation method and its corresponding device, computer equipment, computer-readable storage medium, and computer program product.
[0005] In order to meet the various objectives of this application, this application adopts the following technical solutions:
[0006] A song adaptation method provided for one of the purposes of this application comprises the following steps:
[0007] Obtaining song information corresponding to a target song selected by a user from a pre-selected song list, the song information including accompaniment information and melody information, the accompaniment information being rhythmically synchronized with the melody information, the accompaniment information including a key signature of the target song and a chord progression corresponding to the accompaniment, each chord progression including a plurality of chords;
[0008] Visually displaying the template notes included in the melody information on a graphical user interface, and determining that the optional in-key notes of each template note are displayed as optional notes of the template note;
[0009] In response to a selection instruction for selecting a corresponding optional note for any one of the template notes, replacing the template note with the selected optional note from the melody information;
[0010] In response to the target song adaptation submission instruction, an adapted target song is generated according to the modified melody information.
[0011] In a further embodiment, visually displaying the template notes included in the melody information on a graphical user interface and determining that the optional in-key notes of each template note are displayed as optional notes of the template note comprises the following steps:
[0012] Visually displaying the template notes included in the melody information in a creation area of a graphical user interface;
[0013] Determine the note set in the key of the target song according to the key signature in the accompaniment information;
[0014] determining, from the set of in-key notes, optional in-key notes on the rhythm of the rhythmically synchronized chords of each template note of the melody information;
[0015] Outputting the selectable notes in the key to corresponding positions in the creation area and displaying them as selectable notes of corresponding template notes;
[0016] In a further embodiment, in response to a selection instruction for selecting a corresponding optional note for any of the template notes, replacing the template note with the selected optional note from the melody information comprises the following steps:
[0017] In response to a press event applied to a template note, the pressed template note is highlighted and optional notes corresponding to the template note in rhythm are displayed;
[0018] In response to a move event applied to a pressed template note, the selectable notes corresponding to the corresponding move positions are highlighted;
[0019] In response to a release event triggered during the movement of the template note, the template note is displayed in place of an optional note corresponding to the movement position at the time of release, and the template note in the melody information is synchronously updated to the optional note.
[0020] In a further embodiment, in response to the target song adaptation submission instruction, generating an adapted target song according to the modified melody information includes the following steps:
[0021] In response to the target song adaptation submission instruction, repackaging the accompaniment information and melody information into adapted song information corresponding to the adapted target song;
[0022] Submitting the adapted song information to a server storing the song information for remote storage;
[0023] Obtaining a song playback file of the adapted target song generated by the server according to the song information;
[0024] Call the music player to play the song file.
[0025] In a further embodiment, after the step of visually displaying the template notes included in the melody information on a graphical user interface and determining that the optional in-key notes of each template note are displayed as optional notes of the template note, the following step is further included:
[0026] Displaying lyrics in the composition area according to lyrics information, so that each word in the lyrics is displayed in a note grid corresponding to its rhythm, wherein the lyrics information is included in the song information;
[0027] In response to a modification instruction acting on any one of the lyrics words, the corresponding word in the song information is modified to update the lyrics information when generating the adapted target song.
[0028] In an extended embodiment, the song playback file of the adapted target song is an audio file or a video file, and its audio playback effect includes the timbre effect and pitch effect of the virtual character pre-selected for the target song.
[0029] A song adaptation device provided to meet one of the purposes of the present application includes: a song acquisition module, an optional note module, a note replacement module, and a song adaptation module, wherein the song acquisition module is used to obtain song information corresponding to a target song selected by a user from a preselected song list, the song information including accompaniment information and melody information, the accompaniment information and the melody information being rhythmically synchronized, the accompaniment information containing the key signature of the target song and the chord progression corresponding to the accompaniment, each chord progression including multiple chords; the optional note module is used to visually display the template notes contained in the melody information on a graphical user interface, and determine that the optional in-key notes of each template note are displayed as optional notes of the template note; the note replacement module is used to respond to a selection instruction for selecting the corresponding optional note for any template note, and replace the template note with the selected optional note from the melody information; the song adaptation module is used to respond to an adaptation submission instruction of the target song and generate an adapted target song based on the modified melody information.
[0030] In a further embodiment, the optional note module includes: a template note submodule for visually displaying the template notes contained in the melody information in the creation area of the graphical user interface; a note set confirmation submodule for determining the in-key note set of the target song according to the key signature in the accompaniment information; a selectable in-key note submodule for determining the selectable in-key notes on the rhythm from the in-key note set according to the chords that are rhythmically synchronized with each template note in the melody information; and a selectable note display submodule for outputting the selectable in-key notes to corresponding positions in the creation area and displaying them as selectable notes of the corresponding template notes.
[0031] In a further embodiment, the note replacement module includes: a template note selection submodule, which is used to respond to a press event acting on a template note, highlight the pressed template note, and display an optional note corresponding to the template note in rhythm; an optional note acquisition submodule, which is used to respond to a move event acting on the pressed template note, highlight the optional note corresponding to its corresponding move position; and a note update submodule, which is used to respond to a release event triggered during the movement of the template note, replace the template note with the optional note corresponding to the move position at the time of release, and synchronously update the template note in the melody information to the optional note.
[0032] In a further embodiment, the song adaptation module includes: a song adaptation submodule, which is used to respond to the adaptation submission instruction of the target song and repackage the accompaniment information and melody information into adapted song information corresponding to the adapted target song; a remote storage submodule, which is used to submit the adapted song information to the server storing the song information for remote storage; a file acquisition submodule, which is used to obtain the song playback file of the adapted target song generated by the server according to the song information; and a song playback submodule, which is used to call a music player to play the song playback file.
[0033] In a further embodiment, the optional note module further includes: a lyrics display submodule, which is used to display the lyrics in the creation area according to the lyrics information, so that each word in the lyrics is displayed in the note grid corresponding to its rhythm, and the lyrics information is included in the song information; a lyrics modification submodule, which is used to respond to the modification instruction acting on any one of the lyrics words, modify the corresponding word in the song information, so as to realize the update of the lyrics information when generating the adapted target song.
[0034] A computer device provided to meet one of the purposes of the present application includes a central processing unit and a memory, wherein the central processing unit is used to call and run a computer program stored in the memory to execute the steps of the song adaptation method described in the present application.
[0035] A computer-readable storage medium is provided to meet another purpose of the present application, which stores a computer program implemented according to the song adaptation method in the form of computer-readable instructions. When the computer program is called and executed by a computer, the steps included in the method are executed.
[0036] A computer program product provided to meet another purpose of the present application includes a computer program / instruction, which, when executed by a processor, implements the steps of the method described in any embodiment of the present application.
[0037] Compared with the prior art, the advantages of this application are as follows:
[0038] First of all, this application allows the user to determine the target song for adaptation from a pre-selected song list. The target song has been pre-created with accompaniment information and melody information. On this basis, it is displayed in a visual form in a graphical user interface, and then the optional notes in the tune are determined for each template note in the melody information in the background, which are used to determine the optional notes corresponding to the template notes in the graphical user interface. When the user needs to adjust a template note, its selectable range is always controlled within the optional note range pre-customized in the background, thereby guiding the user's adaptation range of the melody, so that the user can adapt a personalized song only by relying on his own musical sense without relying on complex professional music theory knowledge, which lowers the technical threshold for music creation and facilitates ordinary users to participate in music creation.
[0039] Secondly, in the target song of this application, its accompaniment information is pre-standardized, and the accompaniment information and the melody information have established a synchronization relationship in rhythm, and the user-selectable note range is determined according to the key signature in the accompaniment information. Therefore, when the user adapts a template note, it can still maintain a vocal coordination relationship with the accompaniment information. In other words, there will be no disorder between the accompaniment information and the melody information due to the user's adaptation, thereby ensuring the smooth implementation of the adaptation.
[0040] In addition, this application lowers the technical threshold requirement for music theory knowledge for creative users, allowing non-professional users to participate in music creation. Such users do not need to rely on their own professional knowledge or collaborate with professional users online to independently complete the creation of song works. When applied to online music platforms, it can greatly inspire users' creative passion and thus stimulate the platform's user traffic, enabling online music platforms to achieve economies of scale. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0042] Figure 1 A schematic diagram of a typical network deployment architecture for implementing the technical solution of this application;
[0043] Figure 2 A flowchart of a typical embodiment of the song adaptation method of the present application;
[0044] Figure 3 This is a schematic diagram of a graphical user interface of a terminal device in an embodiment of the present application, illustrating an interface for a user to adapt a template note of a song melody;
[0045] Figure 4 A schematic diagram of a process for constructing optional editing items for song melodies in an embodiment of the present application;
[0046] Figure 5 A schematic diagram of the process of editing a song melody in an embodiment of the present application;
[0047] Figure 6 This is a schematic diagram of the process of playing adapted songs in an embodiment of the present application;
[0048] Figure 7 A schematic diagram of the process of editing lyrics in an embodiment of the present application;
[0049] Figure 8 This is a functional block diagram of the product information publishing device of this application;
[0050] Figure 9 This is a schematic diagram of the structure of a computer device used in this application. DETAILED DESCRIPTION
[0051] The following describes in detail embodiments of the present application, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and are not to be construed as limiting the present application.
[0052] It will be understood by those skilled in the art that, unless expressly stated otherwise, the singular forms "a", "an", "said" and "the" used herein may also include the plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, "connected" or "coupled" as used herein may include wireless connections or wireless couplings. The term "and / or" used herein includes all or any units and all combinations of one or more associated listed items.
[0053] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with their meanings in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless specifically defined as herein.
[0054] It will be understood by those skilled in the art that the terms "client," "terminal," and "terminal device" as used herein include both devices that are wireless signal receivers, i.e., devices that only have wireless signal receivers without transmission capabilities, and devices that have receiving and transmitting hardware capable of two-way communication over a two-way communication link. Such devices may include: cellular or other communication devices such as personal computers and tablet computers, which have single-line displays, multi-line displays, or cellular or other communication devices without multi-line displays; PCS (Personal Communications Service), which may combine voice, data processing, fax, and / or data communication capabilities; PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, Internet / Intranet access, a web browser, a notepad, a calendar, and / or a GPS (Global Positioning System) receiver; and conventional laptop and / or palmtop computers or other devices, which have and / or include a radio frequency receiver. As used herein, the terms "client," "terminal," or "terminal device" may be portable, transportable, or installed in a vehicle (air, sea, and / or land), or may be adapted and / or configured to operate locally and / or in a distributed manner at any other location on Earth and / or in space. As used herein, the terms "client," "terminal," or "terminal device" may also refer to a communication terminal, an Internet terminal, or a music / video playback terminal, such as a PDA, an MID (Mobile Internet Device), and / or a mobile phone with music / video playback capabilities, or may include a smart TV, a set-top box, or other device.
[0055] The hardware referred to by names such as "server", "client", and "service node" in this application is essentially an electronic device with capabilities equivalent to those of a personal computer. It is a hardware device that has the necessary components revealed by the von Neumann principle, such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, and an output device. Computer programs are stored in its memory, and the central processing unit loads the program stored in the external memory into the internal memory for execution, executes the instructions in the program, and interacts with the input and output devices to complete specific functions.
[0056] It should be noted that the concept of "server" referred to in this application can also be extended to server clusters. Based on the network deployment principles understood by those skilled in the art, the servers described should be logically divided. In physical space, these servers can be independent of each other but callable through interfaces, or integrated into a single physical computer or a computer cluster. Those skilled in the art should understand this flexibility and should not use it to constrain the implementation of the network deployment method of this application.
[0057] See also Figure 1 , the hardware foundation required for the implementation of the relevant technical solutions of this application can be deployed according to the architecture shown in the figure. The server 80 referred to in this application is deployed in the cloud. As a business server, it can be responsible for further connecting relevant data servers and other servers that provide relevant support, etc., to form a logically related service cluster to provide services for relevant terminal devices such as the smartphone 81 and personal computer 82 shown in the figure or a third-party server (not shown). The smartphone and personal computer can both access the Internet through a well-known network access method and establish a data communication link with the server 80 in the cloud to run terminal applications related to the services provided by the server.
[0058] For the server, the application is usually constructed as a service process, opening the corresponding program interface for remote calls by applications running on various terminal devices. The relevant technical solutions in this application that are suitable for running on the server can be implemented in the server in this way.
[0059] The application mentioned above refers to an application running on a server or terminal device. This application implements the relevant technical solutions of the present application in a programming manner. Its program code can be stored in a non-volatile storage medium that can be recognized by the computer in the form of computer-executable instructions, and can be loaded into the memory by the central processing unit for execution. The relevant device of the present application is constructed by the operation of this application on the computer.
[0060] Unless expressly specified, one or more technical features of the present application can be deployed on a server for implementation and accessed by a client through a remote call to obtain an online service interface provided by the server, or can be directly deployed and run on a client for implementation.
[0061] Unless expressly specified otherwise, the neural network models referenced or may be referenced in this application may be deployed on a remote server and remotely called on the client, or may be deployed and directly called on a client with sufficient device capabilities. In some embodiments, when it runs on the client, its corresponding intelligence may be obtained through transfer learning to reduce the requirements for the client's hardware operating resources and avoid excessive occupation of the client's hardware operating resources.
[0062] Unless explicitly specified, the various data involved in this application can be stored remotely on a server or on a local terminal device, as long as they are suitable for being called by the technical solution of this application.
[0063] Those skilled in the art should be aware that although the various methods of this application are described based on the same concept and thus exhibit commonality, unless otherwise specified, these methods can be independently executed. Similarly, the various embodiments disclosed in this application are all based on the same inventive concept. Therefore, concepts with the same expression, as well as concepts that are appropriately transformed for convenience despite different expression, should be understood as equivalent.
[0064] Unless expressly stated to be mutually exclusive, the various embodiments disclosed in this application may be cross-combined with the relevant technical features of the various embodiments to flexibly construct new embodiments, as long as such combination does not deviate from the creative spirit of this application and can meet the needs of the prior art or resolve certain deficiencies in the prior art. Those skilled in the art should be aware of such flexibility.
[0065] A song adaptation method of the present application can be programmed as a computer program product, which is mainly deployed and implemented by running in a terminal device, so that the method can be executed by accessing an interface opened after the computer program product is running and performing human-computer interaction with the computer program product through a graphical user interface.
[0066] See also Figure 2 The song adaptation method of the present application comprises the following steps:
[0067] Step S1100: Acquire song information corresponding to a target song selected by a user from a pre-selected song list, the song information including accompaniment information and melody information, the accompaniment information and melody information being rhythmically synchronized, the accompaniment information including the key signature of the target song and a chord progression corresponding to the accompaniment, each chord progression including multiple chords;
[0068] It is understood that a song has its corresponding accompaniment information and melody information, which generally follow a certain tonality. To this end, the accompaniment information and melody information are synchronized in rhythm. The accompaniment information includes the key signature of the target song and the chord progression corresponding to the accompaniment. The key signature is a major key, and there are usually twelve major keys: C major, G major, E major, B major (C flat major), D major, A major, F sharp major (G flat major), F major, B flat major, E flat major, A flat major, and D flat major (C sharp major). The chord progression refers to a fixed pattern from one chord to another, which is the main component of the song accompaniment and therefore includes multiple chords, for example, CG-AM-(G,Em,C / G)-F-(C,Em)-(F,Dm)-G, CG-Am-F, CFCG, etc. You can choose any chord in the brackets. The chord can be either a block chord or a broken chord, or in the entire song, some chords can be block chords and other chords can be broken chords. Alternatively, for the same chord progression, it can be a broken chord in the verse part of the song melody and a block chord in the chorus part. The melody information includes the notes corresponding to the song melody.
[0069] A database can be pre-constructed on the server side for collecting and storing the accompaniment information and melody information corresponding to the pre-selected songs, and the accompaniment information and melody information associated with the same pre-selected song can be stored as the song information of the pre-selected song. When the client device needs to call it, the corresponding pre-selected song can be downloaded from the server to the local storage. In this way, when the pre-selected song is selected by the client user, the pre-selected song is determined as the target song, and the song information corresponding to the target song can be called accordingly.
[0070] The user touches the song template control on the song adaptation graphical user interface of his terminal device, i.e., the client, to trigger the generation of a pre-selected song list display instruction, thereby displaying the pre-selected song list on the graphical user interface. The pre-selected song list lists multiple pre-selected songs in the form of a list. The pre-selected songs are songs downloaded from the server by the client end initiating a song acquisition request to the server. The arrangement order of the pre-selected songs listed in the list can be popularity order, time order, etc., which can be flexibly set by technical personnel in this field as needed. At the same time, the pre-selected song list arranges each pre-selected song according to the determined arrangement order strategy.
[0071] The popularity order arrangement strategy refers to the number of times each pre-selected song is selected as a target song by the user. The more times a pre-selected song is selected as a target song by the user, the higher the popularity of the pre-selected song, and vice versa. Therefore, the popularity order is used to sort the pre-selected songs in descending order of the number of times the pre-selected song is selected as a target song. The popularity of each pre-selected song can be determined by the server by collecting statistics on the historical records generated by a large number of users accessing the song information corresponding to the pre-selected songs. The pre-selected song list determined according to this strategy makes it convenient for users to quickly obtain popular songs.
[0072] The time sequence arrangement strategy refers to the update time corresponding to each pre-selected song downloaded from the server by the client, that is, the local storage time corresponding to the download of the song information of the pre-selected song. Generally, the client will periodically update the pre-selected song list and add new pre-selected songs. Specifically, after a period of time, the client triggers the generation of a pre-selected song list update request, pushes the request to the server, and downloads the new pre-selected song from the server. At the same time, the update time corresponding to the pre-selected song can also be obtained. In this way, the pre-selected songs are sorted in the time order from early to late or from late to early according to the update time corresponding to each pre-selected song. This is the time sequence sorting. Applying this method, the client device can pre-select and cache the pre-selected song list and ensure the timeliness of the pre-selected songs therein, which can improve the user's access efficiency and enable the user to obtain the latest dynamic pre-selected song list.
[0073] In order to provide users of the computer program product of the present application with an environment for creating music works by adapting the melody and lyrics of songs, the computer program product of the present application needs to determine the song information corresponding to the song used for song adaptation after it is run, including accompaniment information and melody information, so as to realize the navigation process of the user's adapted song on demand. Therefore, when the user selects a pre-selected song in the pre-selected song list as the target song, the client triggers the generation of a user selection instruction, determines the target song, and obtains its corresponding song information.
[0074] Step S1200: Visually displaying the template notes included in the melody information on a graphical user interface, and determining that optional in-key notes of each template note are displayed as optional notes of the template note;
[0075] The melody information includes the corresponding notes in the melody of the target song, namely the template notes, as well as the beat, tempo, and duration of the notes. The beat is the even alternation of strong and weak beats and is a factor that constitutes rhythm. Rhythm is the general name for the temporal organization of music. Commonly used beats include 4 / 4, 8 / 8, and 16 / 16. For example, a 4 / 4 beat is a quarter note per beat, with four beats per measure. The first beat of the first measure is strong, followed by weak beats. The first beat of the second measure is secondary, followed by weak beats, and so on. The tempo is related to the duration of the notes in the song melody, which serve as unit beats. The duration of the notes can be calculated based on the tempo and beat corresponding to the notes.
[0076] According to the template notes corresponding to the melody of the target song in the melody information, as well as the beat, duration, tempo and pitch of the template notes, the corresponding note grid in the creation area of the song adaptation graphical user interface is determined, and the note grid layer is rendered in gray as shown in FIG. Figure 3 As shown in 104, the template notes corresponding to the melody of the target song are identified to achieve the visual display. The song adaptation graphical user interface is as shown in FIG. Figure 3 As shown, it mainly includes a music keyboard area and a creation area. The creation area displays the beat and tempo of the corresponding notes in the key signature of the target song in the accompaniment information and the melody of the target song in the melody information, and formats and divides each note grid.
[0077] The music keyboard area includes a plurality of standard keys, and the standard key mark is used to indicate the corresponding note in the key of the note grid in the creation area. Specifically, when the user points to the note grid with the note FA in the key in the creation area, the key layer with the note FA in the key in the music keyboard area is rendered to highlight the key. Figure 3 As shown in 103, the note in the key corresponding to the note grid pointed to by the user is prompted.
[0078] The keys in the music keyboard area are standard keys, and the seven standard key pattern identifiers are DO, RE, MI, FA, SOL, LA, and SI. Those skilled in the art will understand that the standard key mapping is associated with the notes within the key corresponding to the key signature. For the front-end interface display, when the key signature of the target song changes, the seven standard key pattern identifiers can remain unchanged, and the background data undergoes further data processing. Specifically, when the key signature changes from C major to D major, the standard key mapping representing DO is associated with the note within the key of D major, which is equivalent to Re in C major, and the standard key mapping representing Re is associated with the note within the key of D major, which is equivalent to Mi in C major. Similarly, the remaining standard key patterns can be correspondingly associated with the note mapping within the key of D major. Therefore, no matter how the major key changes, the display content of the music keyboard remains unchanged, achieving the effect of a fixed style. For users, there is no need to re-adapt the layout of the music keyboard, and there is no need to consider changes caused by the major key. This makes it more convenient for non-professional users to compose melodies, reduces the technical threshold for users' music theory knowledge, and greatly improves the user experience of such users.
[0079] According to the key signature of the target song in the accompaniment information, the notes within the key corresponding to the key signature are determined. For example, if the key signature is C major, the notes within the key corresponding to it are DO, RE, MI, FA, SOL, LA, and SI. First, the song melody adaptation is to adapt the template notes. The adaptable notes corresponding to the template notes are the notes within the key corresponding to the key signature. Secondly, those skilled in the art should understand that, based on the notes corresponding to the chord progression corresponding to the accompaniment and basic music theory knowledge, while ensuring vocal coordination, the notes within the key that affect the vocal coordination of the target song due to large pitch differences or non-compliance with chord rules can be further excluded, thereby determining fewer notes within the key as optional notes within the key of each template note. Then, the note grid layer corresponding to the optional notes within the key is rendered red, as shown in FIG. Figure 3 As shown in 102, the highlighted notes are optional notes of the template note.
[0080] Step S1300: In response to a selection instruction for selecting a corresponding optional note for any of the template notes, the template note is replaced with the selected optional note from the melody information;
[0081] The user can visualize the template notes in the creation area of the song adaptation graphical user interface. Figure 3As shown in 104, any optional note corresponding to the template note is selected as needed to trigger the generation of the selection instruction. The client responds to the selection instruction to obtain the corresponding beat, duration, tempo, and pitch of the optional note selected by the user and the template note corresponding to the optional note. Based on this, those skilled in the art should understand that for background data processing, the template note and optional note in the melody information corresponding to the target song are determined, and the optional note is mapped to the template note to achieve addition; for the foreground interface display, the template note style attribute is set to invisible, so that the note grid corresponding to the template note is not displayed in the song adaptation graphical user interface, and the note grid layer corresponding to the optional note on the song adaptation graphical user interface is rendered in color to display the optional note, thereby achieving the interface display effect of replacing the template note with the selected optional note.
[0082] Step S1400: responding to the target song adaptation submission instruction, generating an adapted target song according to the modified melody information.
[0083] After the user completes the adaptation of the target song, they can click the Submit button on the song adaptation graphical interface to trigger the generation of an adaptation submission instruction for the target song. In response to the instruction, the client determines the optional note selected by the user in the melody information corresponding to the target song, uses the replacement identifier of the template note mapped to the optional note, and replaces the template note with the optional note to modify the melody information corresponding to the target song. The modified melody information is combined with the accompaniment information to generate the target song adapted by the user.
[0084] Through the disclosure of this exemplary embodiment, it can be seen that this application has many positive advantages, including but not limited to the following aspects:
[0085] First of all, this application allows the user to determine the target song for adaptation from a pre-selected song list. The target song has been pre-created with accompaniment information and melody information. On this basis, it is displayed in a visual form in a graphical user interface, and then the optional notes in the tune are determined for each template note in the melody information in the background, which are used to determine the optional notes corresponding to the template notes in the graphical user interface. When the user needs to adjust a template note, its selectable range is always controlled within the optional note range pre-customized in the background, thereby guiding the user's adaptation range of the melody, so that the user can adapt a personalized song only by relying on his own musical sense without relying on complex professional music theory knowledge, which lowers the technical threshold for music creation and facilitates ordinary users to participate in music creation.
[0086] Secondly, in the target song of this application, its accompaniment information is pre-standardized, and the accompaniment information and the melody information have established a synchronization relationship in rhythm, and the user-selectable note range is determined according to the key signature in the accompaniment information. Therefore, when the user adapts a template note, it can still maintain a vocal coordination relationship with the accompaniment information. In other words, there will be no disorder between the accompaniment information and the melody information due to the user's adaptation, thereby ensuring the smooth implementation of the adaptation.
[0087] In addition, this application lowers the technical threshold requirement for music theory knowledge for creative users, allowing non-professional users to participate in music creation. Such users do not need to rely on their own professional knowledge or collaborate with professional users online to independently complete the creation of song works. When applied to online music platforms, it can greatly inspire users' creative passion and thus stimulate the platform's user traffic, enabling online music platforms to achieve economies of scale.
[0088] See also Figure 4 In a further embodiment, step S1200, visually displaying the template notes included in the melody information on a graphical user interface, and determining that the optional in-key notes of each template note are displayed as optional notes of the template note, includes the following steps:
[0089] Step S1210: Visually displaying the template notes included in the melody information in the creation area of the graphical user interface;
[0090] The creation area of the song adaptation graphical user interface determines the distribution of the horizontal and vertical dimensions of the creation area on the graphical user interface according to the melody information and accompaniment information of the target song. For example, if the accompaniment information is C major, the vertical dimension of the creation area is the pitch corresponding to the C major, and the pitch corresponding to each pitch is arranged in order from low to high as the progressive direction of the vertical dimension; if the melody information is 4 / 4 beat and 90 tempo, the horizontal dimension of the creation area is distributed as 4 bars, 4 beats per bar, and the beat sequence is the progressive direction of the horizontal dimension. According to the distribution of the horizontal and vertical dimensions, the creation area is formatted and divided into multiple note grids, such as Figure 3 As shown in .
[0091] Furthermore, the notes in the melody information of the target song, that is, the note grids in the creation area corresponding to the template notes, are determined, and the layers of each note grid are rendered in color for visual display on the song adaptation graphical user interface.
[0092] Step S1220: determining a note set within the key of the target song according to the key signature in the accompaniment information;
[0093] A note table is searched according to the key signature in the accompaniment information to obtain the notes within the key corresponding to the key signature, and each note within the key is determined to construct a note set within the key. The note table within the key includes a list of multiple key-value pairs associated with the mapping, where the key is the key signature and the value is the note within the key corresponding to the key signature. For example, if the key in a pair of key-value pairs is C major, its corresponding note values within the key are DO, RE, MI, FA, SOL, LA, and SI.
[0094] Step S1230: determining optional in-key notes in the rhythm from the in-key note set according to the rhythmically synchronized chords of each template note of the melody information;
[0095] The chord is the chord corresponding to the accompaniment information, and the chord is rhythmically synchronized with each template note in the melody information. Thus, for each template note in the melody information, the chord synchronized with the template note can be determined based on the time information corresponding to the chord, and then, based on the chord, the in-key note within the consonant interval is determined from the in-key note set corresponding to the template note as the optional in-key note. Since the in-key notes within the consonant interval usually contain multiple, in order to further improve the creative efficiency and obtain high-quality creative effects, these in-key notes can be further filtered. Those skilled in the art can flexibly set the filtering preset rules based on their own understanding of music theory and for the purpose of improving auxiliary creative efficiency, so that the optional in-key notes within the consonant interval are filtered as much as possible. Therefore, it can be understood that the setting of these preset rules can be theoretical or empirical.
[0096] The basis for formulating the preset rules can be determined according to the fact that the template note of the next order after the current template note should be vocally coordinated with the template note of the previous order. Thus, the current optional note actually changes in association with the changes of the template notes of the previous order and the next order. For example, according to the corresponding pitch of the template notes of the previous order and the next order, based on this pitch, in order to coordinate vocally, the pitch of the optional note in the key corresponding to the current template note shall not be too high or too low. Based on this, the optional note in the key corresponding to the current template note can be further filtered.
[0097] Step S1240: outputting the selectable notes in the key to corresponding positions in the creation area and displaying them as selectable notes of corresponding template notes;
[0098] Confirm that these optional in-key notes correspond to the note grids in the creation area of the song adaptation graphical user interface, that is, the corresponding positions in the creation area, and the note grids corresponding to the optional in-key notes are rhythmically identical to the note grids of the template notes on the graphical user interface. Render the colors of the note grid layers of these optional in-key notes, so that the note grids are visually output and displayed on the graphical user interface as optional notes of the corresponding template notes, such as Figure 3 As shown in Figure 102.
[0099] Furthermore, a key-value data structure of the mapping association between the optional notes and their corresponding template notes is established, and an optional list of optional notes corresponding to each template note of each song melody is constructed based on this structure, and the optional list is stored in the client device cache to quickly call the optional notes corresponding to each template note.
[0100] This embodiment implements full-process navigation of user song adaptation with a simple process, efficiently and accurately screening out the optional notes that can be edited and modified corresponding to each note of the song melody. Users can select the optional notes based on their own musical sense without the need for extensive music theory knowledge, greatly reducing the threshold for users to adapt song melodies.
[0101] In the process of screening out optional notes corresponding to the template notes of the song melody, this embodiment first filters out optional in-key notes that match the vocal coordination through the chords in the song accompaniment corresponding to the template notes. Secondly, on this basis, the optional in-key notes that affect the vocal coordination of the song melody adaptation are further reduced through the music theory elements such as the pitch of the template notes that are adjacent to the template notes. Finally, the optional notes of the template notes are screened out to improve the quality and efficiency of the user's song melody adaptation.
[0102] See also Figure 5 In a further embodiment, step S1300, in response to a selection instruction for selecting a corresponding optional note for any of the template notes, replacing the template note with the selected optional note from the melody information includes the following steps:
[0103] Step S1310: In response to a pressing event on a template note, highlight the pressed template note and display optional notes corresponding to the template note in rhythm;
[0104] In response to a press event on a template note, the note grid corresponding to the template note pressed by the user on the song adaptation graphical user interface is determined, and the note grid layer color of the music grid is rendered, which is different from the note grid layer color corresponding to other template notes, so as to highlight the template note pressed by the user. Furthermore, the value corresponding to the key, i.e., the optional notes associated with the template note mapping, is obtained from the client device cache using the pressed template note as the key. According to the rhythm information of these optional notes, i.e., the beat in the measure in which they are located, and the duration of the optional notes calculated according to the tempo, the note grid positions corresponding to these optional notes in the creation area of the song adaptation graphical user interface are determined. Thus, after the user presses the template note to expand the optional note frame, the note grid layer color corresponding to the optional note corresponding to the template note is rendered, and the transparency attribute of the layer color is adjusted to display the optional note on the graphical user interface in a lighter style than the note grid color corresponding to the pressed template note. The optional note has the same rhythmic correspondence as the pressed template note. The highlight display styles of the optional note, optional note frame, and pressed template note in the song melody graphical user interface are respectively as follows: Figure 3 As shown in 102, 101, and 100.
[0105] Step S1320: In response to a move event acting on the pressed template note, highlight the optional note corresponding to the corresponding move position;
[0106] In response to a movement event acting on a pressed template note, it is determined that the user moves the note grid corresponding to the template note shown in the creation area of the song adaptation graphical user interface to point to the note grid corresponding to the optional note, render the note grid layer color corresponding to the optional note pointed to according to the note grid layer color corresponding to the template note, highlight the movement position corresponding to the template note, that is, the note grid of the optional note pointed to in the graphical user interface, call the client player to play the corresponding sound effect according to the pitch corresponding to the optional note, and render the key layer color corresponding to the pitch corresponding to the optional note in the music keyboard area of the song adaptation graphical user interface, and highlight the key as shown in FIG. Figure 3 As shown in 103, the user is prompted visually and auditorily to move the optional note corresponding to the pressed template note.
[0107] Step S1330: In response to a release event triggered during the movement of the template note, the template note is displayed in place of an optional note corresponding to the movement position at the time of the release, and the template note in the melody information is synchronously updated to the optional note.
[0108] In response to a release event triggered during the movement of the template note, the note grid corresponding to the moved position of the template note pressed by the user when it is released by the user is determined, the optional note corresponding to the note grid is obtained, the note grid layer style rendering of the released template note is stopped, and the note grid layer color corresponding to the optional note is re-rendered, and the layer color is different from the original layer color of the optional note, other template notes and the note grid layer color corresponding to the selected template note. Based on the above setting, the specific color selection can be flexibly set by those skilled in the art to show the replacement display effect in the creation area of the song melody graphical user interface, and the released template note in the melody information is synchronously obtained from the client device cache and updated to the optional note. Then, the updated melody information is saved to the client device cache.
[0109] In this embodiment, by setting a corresponding highlighting effect when the user operates the required template notes for adapting the melody of a song, it is convenient for the user to identify and select the required note grid, thereby enhancing the role of assisting the user in adapting and creating, and improving the efficiency of assisting creation.
[0110] See also Figure 6 In a further embodiment, step S1400, in response to the target song adaptation submission instruction, generating an adapted target song according to the modified melody information, includes the following steps:
[0111] Step S1410: responding to the target song adaptation submission instruction, repackaging the accompaniment information and melody information into adapted song information corresponding to the adapted target song;
[0112] After the user completes the song adaptation on the song adaptation graphical user interface, he clicks the submit button on the interface, which triggers the generation of the adaptation submission instruction of the target song. The client responds to the instruction, obtains the melody information and accompaniment information of the target song, and repackages and constructs the adapted song information corresponding to the adapted target song based on the corresponding rhythmic association between the two.
[0113] Step S1420: submitting the adapted song information to a server storing the song information for remote storage;
[0114] Furthermore, the client encapsulates and encodes the adapted song information in association with the user's unique identifier corresponding to the user, and submits it to a remote server for remote storage to store the song information of the adapted song, thereby facilitating other users to download the user's adapted song from the server for secondary creation.
[0115] Step S1430: Obtain a song playback file of the adapted target song generated by the server according to the song information;
[0116] After the client completes uploading the target song adapted by the user, it triggers the generation of a playback prompt, which is displayed in the song adaptation graphical user interface in the style of a confirmation box. The user clicks the confirmation option in the prompt, which triggers the download of the song information of the adapted target song from the server, and decodes the song information to generate the corresponding song playback file. The song playback file is an audio file or a video file, and its audio playback includes the timbre and pitch effects of the target song for the pre-selected virtual character. These effects depend on the electronic synthesis effect of the virtual character's voice. The singing ability of the virtual character can be achieved by those skilled in the art through AI artificial intelligence technology to include human voices and call the corresponding pre-trained to convergent acoustic model to realize electronic synthesis and construct the human voice singing ability of the virtual character, so that the virtual character can sing accordingly according to the notes of the song melody.
[0117] Step S1440: calling a music player to play the song file.
[0118] The song playback file is loaded into the local cache, and the music player preset on the client is called to play the song playback file.
[0119] In one embodiment, the song playback file can be played with predetermined instrument sound effects, such as piano playing sound effects, guitar playing sound effects, etc., to play the notes corresponding to the song melody in sequence, thereby playing the song melody and playing the vocal effect of playing the song melody with the instrument sound effects. The instrument sound effects are edited and organized by technicians in this field, including various sound effects in music theory of instrument performance, such as the scales and chords corresponding to each major key, and then mapping each sound effect to the corresponding note, so that the corresponding sound effect of the instrument performance associated with the mapping can be played according to the note. Similarly, the chords corresponding to the song accompaniment in the song playback file can also be played using instrument sound effects, and the accompaniment information and the melody information are both rhythmically coordinated.
[0120] In another embodiment, the song playback file can be played by the virtual character singing the notes corresponding to the melody of the song, and the chords corresponding to the song accompaniment in the song playback file can be played using instrument sound effects, thereby obtaining a music playback effect that has both chords as background music and vocal singing effects.
[0121] In this embodiment, users can download songs adapted and created by other users from the server to achieve the sharing of creative achievements. At the same time, they can also further create on this basis, stimulate users' creative passion, and create more excellent works.
[0122] See also Figure 7In a further embodiment, after step S1200 of visually displaying the template notes included in the melody information on a graphical user interface and determining that the optional in-key notes of each template note are displayed as optional notes of the template note, the following steps are further included:
[0123] Step S1201: displaying lyrics in the composition area according to lyrics information, so that each word in the lyrics is displayed in a note grid corresponding to its rhythm, wherein the lyrics information is included in the song information;
[0124] According to the lyrics information in the song information of the target song, the corresponding lyrics are displayed in the creation area of the song adaptation graphical user interface, and the lyrics are segmented so that each word in the lyrics is displayed in the corresponding note grid in rhythmic order. The lyrics information is the preset lyrics contained in the target song when the target song is pre-loaded in the creation area. The preset lyrics are written by the original author of the song, or there is no original author to edit it, so the default lyrics of the client are used. The default lyrics are onomatopeia such as "la" and "de". The preset lyrics can be edited by the user later.
[0125] Step S1202: In response to a modification instruction acting on any single word of the lyrics, the corresponding single word in the song information is modified to update the lyrics information when generating the adapted target song.
[0126] Furthermore, a lyrics editing control, which may be a text box, is added to each note grid. Then, the text corresponding to the lyrics is displayed in the lyrics editing control to indicate the lyrics text with the same rhythm corresponding to the note grid. Thus, the user is allowed to edit the lyrics text in the lyrics editing control in the required note grid. The word length input of the text control can be constrained to a single word. When the user touches the lyrics editing control to edit the lyrics text input therein, a lyrics editing event of the corresponding character grid can be triggered. In response to the editing event, the single word modified and input by the user in the lyrics editing control can be obtained, and the single word is used to replace and update the original lyrics text in the lyrics editing control. Then, the updated lyrics text is saved to the lyrics information according to the rhythm information of the corresponding note grid. The lyrics information is cached so that when the user generates the adapted target song, the lyrics information is uploaded to the server for corresponding update and storage, thereby updating the lyrics information in the server.
[0127] In this embodiment, the content of the lyrics text can be modified through the composition area, which provides a more flexible and convenient control method for the lyrics writing work in song adaptation and creation, enriches the technical means of music-assisted creation, and correspondingly improves the efficiency of the lyrics writing work.
[0128] See also Figure 8A song adaptation device provided to meet one of the purposes of the present application includes: a song acquisition module 1100, an optional note module 1200, a note replacement module 1300, and a song adaptation module 1400, wherein the song acquisition module 1100 is used to obtain song information corresponding to a target song selected by a user from a pre-selected song list, the song information including accompaniment information and melody information, the accompaniment information and the melody information being rhythmically synchronized, the accompaniment information including the key signature of the target song and the chord progression corresponding to the accompaniment, each chord progression including multiple chords; the optional note module 1200 is used to visually display the template notes contained in the melody information on a graphical user interface, and determine that the optional notes in the key of each template note are displayed as optional notes of the template note; the note replacement module 1300 is used to respond to a selection instruction for selecting the corresponding optional notes for any of the template notes and replace the template note with the selected optional notes from the melody information; the song adaptation module 1400 is used to respond to the adaptation submission instruction of the target song and generate an adapted target song based on the modified melody information.
[0129] In a further embodiment, the optional note module 1200 includes: a template note submodule for visually displaying the template notes included in the melody information in the composition area of the graphical user interface; a note set confirmation submodule for determining the in-key note set of the target song based on the key signature in the accompaniment information; a selectable in-key note submodule for determining the selectable in-key notes on the rhythm from the in-key note set based on the chords that are rhythmically synchronized with each template note in the melody information; and a selectable note display submodule for outputting the selectable in-key notes to corresponding positions in the composition area and displaying them as selectable notes of the corresponding template notes.
[0130] In a further embodiment, the note replacement module 1300 includes: a template note selection submodule, which is used to respond to a press event acting on a template note, highlight the pressed template note, and display an optional note corresponding to the template note in rhythm; an optional note acquisition submodule, which is used to respond to a move event acting on the pressed template note, highlight the optional note corresponding to its corresponding move position; and a note update submodule, which is used to respond to a release event triggered during the movement of the template note, replace the template note with the optional note corresponding to the move position at the time of release, and synchronously update the template note in the melody information to the optional note.
[0131] In a further embodiment, the song adaptation module 1400 includes: a song adaptation submodule, which is used to respond to the adaptation submission instruction of the target song and repackage the accompaniment information and melody information into adapted song information corresponding to the adapted target song; a remote storage submodule, which is used to submit the adapted song information to the server storing the song information for remote storage; a file acquisition submodule, which is used to obtain the song playback file of the adapted target song generated by the server according to the song information; and a song playback submodule, which is used to call a music player to play the song playback file.
[0132] In a further embodiment, the optional note module 1200 further includes: a lyrics display submodule, which is used to display the lyrics in the creation area according to the lyrics information, so that each word in the lyrics is displayed in the note grid corresponding to its rhythm, and the lyrics information is included in the song information; a lyrics modification submodule, which is used to respond to the modification instruction acting on any one of the lyrics words, and modify the corresponding words in the song information to realize the update of the lyrics information when generating the adapted target song.
[0133] In order to solve the above technical problems, the embodiment of the present application also provides a computer device. Figure 9 As shown, a schematic diagram of the internal structure of a computer device. The computer device includes a processor, a computer-readable storage medium, a memory, and a network interface connected via a system bus. Among them, the computer-readable storage medium of the computer device stores an operating system, a database, and computer-readable instructions, and the database may store a control information sequence, and when the computer-readable instructions are executed by the processor, the processor may implement a song adaptation method. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The memory of the computer device may store computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor may execute the song adaptation method of the present application. The network interface of the computer device is used to connect and communicate with a terminal. Those skilled in the art will understand that Figure 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0134] In this embodiment, the processor is used to execute Figure 8The memory stores the program code and various data required to execute the modules and submodules. The network interface is used to transmit data between user terminals or servers. The memory in this embodiment stores the program code and data required to execute all modules / submodules in the song adaptation device of the present application. The server can call the server's program code and data to execute the functions of all submodules.
[0135] The present application also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the song adaptation method of any embodiment of the present application.
[0136] The present application also provides a computer program product, comprising a computer program / instruction, which implements the steps of the method described in any embodiment of the present application when executed by one or more processors.
[0137] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments of the present application can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiments of the method. The aforementioned storage medium can be a computer-readable storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0138] To sum up, this application lowers the technical threshold requirements for music theory knowledge of creative users and improves the simplicity and ease of song adaptation operations, so that non-professional users can complete music creation independently. When applied to online music platforms, it can greatly inspire users' creative passion and thus stimulate the platform's user traffic, enabling online music platforms to achieve economies of scale.
[0139] Those skilled in the art will appreciate that the steps, measures, and schemes in the various operations, methods, and processes discussed in this application may be interchanged, modified, combined, or deleted. Furthermore, other steps, measures, and schemes in the various operations, methods, and processes discussed in this application may also be interchanged, modified, rearranged, decomposed, combined, or deleted. Furthermore, steps, measures, and schemes in the prior art that are similar to those disclosed in this application may also be interchanged, modified, rearranged, decomposed, combined, or deleted.
[0140] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A song adaptation method, characterized in that: The steps include: Obtaining song information corresponding to a target song selected by a user from a pre-selected song list, the song information including accompaniment information and melody information, the accompaniment information being rhythmically synchronized with the melody information, the accompaniment information including a key signature of the target song and a chord progression corresponding to the accompaniment, each chord progression including a plurality of chords; Visually displaying the template notes included in the melody information on a graphical user interface, and determining that the optional in-key notes of each template note are displayed as optional notes of the template note; In response to a selection instruction for selecting a corresponding optional note for any one of the template notes, replacing the template note with the selected optional note from the melody information; In response to the target song adaptation submission instruction, an adapted target song is generated according to the modified melody information.
2. The song arrangement method according to claim 1, characterized in that: Visually displaying the template notes included in the melody information on a graphical user interface, and determining that the optional in-key notes of each template note are displayed as optional notes of the template note, comprises the following steps: Visually displaying the template notes included in the melody information in a creation area of a graphical user interface; Determine the note set in the key of the target song according to the key signature in the accompaniment information; determining, from the set of in-key notes, optional in-key notes on the rhythm of the rhythmically synchronized chords of each template note of the melody information; Output these optional in-key notes to the corresponding positions of the creation area and display them as optional notes of the corresponding template notes.
3. The song arrangement method according to claim 1, characterized in that: In response to a selection instruction for selecting a corresponding optional note for any of the template notes, replacing the template note with the selected optional note from the melody information comprises the following steps: In response to a press event applied to a template note, the pressed template note is highlighted and optional notes corresponding to the template note in rhythm are displayed; In response to a move event applied to a pressed template note, the selectable notes corresponding to the corresponding move positions are highlighted; In response to a release event triggered during the movement of the template note, the template note is displayed in place of an optional note corresponding to the movement position at the time of release, and the template note in the melody information is synchronously updated to the optional note.
4. The song arrangement method according to claim 1, wherein: In response to the target song adaptation submission instruction, generating an adapted target song according to the modified melody information includes the following steps: In response to the target song adaptation submission instruction, repackaging the accompaniment information and melody information into adapted song information corresponding to the adapted target song; Submitting the adapted song information to a server storing the song information for remote storage; Obtaining a song playback file of the adapted target song generated by the server according to the song information; Call the music player to play the song file.
5. The song arrangement method according to claim 1, characterized in that: After the step of visually displaying the template notes included in the melody information on the graphical user interface and determining that the optional in-key notes of each template note are displayed as optional notes of the template note, the following step is also included: Displaying lyrics in the composition area according to lyrics information, so that each word in the lyrics is displayed in a note grid corresponding to its rhythm, the lyrics information being included in the song information; In response to a modification instruction acting on any one of the lyrics words, the corresponding word in the song information is modified to update the lyrics information when generating the adapted target song.
6. The song arrangement method according to claim 1, characterized in that: The song playback file of the adapted target song is an audio file or a video file, and its audio playback effect includes the timbre effect and pitch effect of the virtual character pre-selected for the target song.
7. A song adaptation device, characterized in that: include: a song acquisition module, configured to acquire song information corresponding to a target song selected by a user from a pre-selected song list, the song information including accompaniment information and melody information, the accompaniment information being rhythmically synchronized with the melody information, the accompaniment information including the key signature of the target song and a chord progression corresponding to the accompaniment, each chord progression including a plurality of chords; An optional note module is used to visually display the template notes contained in the melody information on a graphical user interface, and to determine that the optional in-key notes of each template note are displayed as optional notes of the template note; a note replacement module for responding to a selection instruction for selecting a corresponding optional note for any of the template notes, and replacing the template note with the selected optional note from the melody information; The song adaptation module is used to respond to the adaptation submission instruction of the target song and generate an adapted target song according to the modified melody information.
8. A computer device comprising a central processing unit and a memory, characterized in that: The central processing unit is configured to call and run a computer program stored in the memory to execute the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that It stores a computer program implemented according to the method described in any one of claims 1 to 6 in the form of computer-readable instructions, and when the computer program is called and executed by a computer, the steps included in the corresponding method are executed.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Audio editing method and device, equipment and readable storage medium
CN113407275A
Music composing device
US20060230910A1