Method for generating a jam session score, electronic device and storage medium
By generating custom medley scores within the music instrument app, the problem of tedious playing music through the app is solved, enabling efficient interaction between musical instruments and smart instruments and enhancing the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN SUIDAN TECHNOLOGY CO LTD
- Filing Date
- 2026-03-17
- Publication Date
- 2026-06-12
AI Technical Summary
Existing musical instrument apps lack fun and playability during performance, resulting in a poor user experience.
This paper provides a method for generating medley scores, which allows users to obtain multiple score fragments through the selection interface of a musical instrument APP, and allows users to customize the medley order and adjust the arrangement to generate a structured data file that can be played in real time by a smart musical instrument.
It enhances the fun and playability of musical instrument apps, lowers the barrier to music creation, enables efficient interaction between musical instruments and smart instruments, and improves the user experience.
Smart Images

Figure CN122201226A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of audio processing technology, and in particular to a method for generating medley scores, an electronic device, and a storage medium. Background Technology
[0002] Currently, most smart musical instruments (such as smart guitars) can be used with a dedicated instrument app via Bluetooth or Wi-Fi. These apps offer a vast library of songs and sheet music for users to choose from. However, current instrument apps typically involve playing a single song from beginning to end, which is rather tedious, offers limited playability, and results in a poor user experience. Summary of the Invention
[0003] This application provides a method for generating medley scores, aiming to enable musical instrument apps to support the generation of custom medley scores for users to play, increasing fun and playability, and improving the user experience.
[0004] To achieve the above objectives, the method for generating medley scores proposed in this application includes: An application for musical instruments, characterized by comprising: In response to the user's selection operation on the music score fragment selection interface, multiple target music score fragments are obtained. The selection interface has a selected display bar, which is used to display the target music score fragments selected by the user and their arrangement order in real time. In response to the user's operation to adjust the order of the target musical score segments in the selected display bar, the concatenation order of each target musical score segment is determined; The sheet music data of each target musical score fragment is sequentially spliced together according to the concatenation order to generate a medley sheet music file that can be played by intelligent musical instruments.
[0005] In some embodiments, the target musical score fragment is structured musical score data, including note sequences, rhythm information, and chord information, and the medley score file is a structured data file that can be parsed and played by intelligent musical instruments in real time.
[0006] In some embodiments, after the step of generating a medley score file that can be played on a smart musical instrument, the medley score generation method further includes: Upon receiving a release request, the medley sheet music file will be uploaded and released to the music library and / or personal music library; And / or, The target musical score fragment also includes drum beats.
[0007] In some embodiments, after the step of concatenating the individual target musical score fragments according to the concatenation order to form a medley score, the method further includes... Upon receiving a release request, the medley sheet music will be uploaded and published to the music library and / or personal music library.
[0008] In some embodiments, the target musical score fragment may further include drum beats.
[0009] In some embodiments, determining the concatenation order of the target musical score fragments includes: Obtain the current arrangement order of each target musical score fragment, and use the arrangement order as the concatenation order; Alternatively, determining the concatenation order of each target musical score fragment includes: Determine the user's requirements for the medley sheet music; A preset concatenation order recommendation model is invoked, and audio feature analysis is performed on each target score segment based on the requirements of the medley score to derive a concatenation order that meets the requirements of the medley score.
[0010] In some embodiments, after the step of acquiring multiple target musical score fragments in response to a user's selection operation on the musical score fragment selection interface, the method further includes: When an editing command for any target musical score segment is detected, a settings interface for that target musical score segment pops up, allowing users to modify the score parameters of that segment; the score parameters include BPM, style, and / or rhythm pattern.
[0011] In some embodiments, after the step of acquiring multiple target musical score fragments in response to a user's selection operation on the musical score fragment selection interface, the method further includes: Once the selection of target musical scores is complete, switch to the editing interface, arrange and display the selected target musical scores in order in the editing interface, and execute the step of obtaining the multiple target musical scores to be concatenated. The editing interface has a name editing box, which allows users to edit the name of the medley score.
[0012] In some embodiments, after the step of switching to the editing operation interface, the method further includes: When a test play request is received, the process of connecting the various target score fragments in the specified sequence to form a medley score is executed, and the user is switched to the test play interface of the medley score for the user to test play the medley score.
[0013] In some embodiments, after the step of switching to the test play interface of the medley score, the method further includes: When a parameter setting request is received, a parameter setting interface pops up, allowing the user to at least modify the style and / or rhythm of the medley score.
[0014] In some embodiments, after the step of switching to the test play interface of the medley score, the method further includes: Upon receiving a release request, the medley sheet music will be uploaded and published to the music library and / or personal music library.
[0015] In some embodiments, the target musical score fragment includes at least one of the following: a chorus score fragment of a complete musical score, an opening fragment, an ending fragment, or a user-defined segment.
[0016] This application also proposes an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps of the medley score generation method described in any of the above embodiments.
[0017] This application also proposes a storage medium storing a computer program, which, when executed by a processor, implements the steps of the medley score generation method described in any of the above embodiments.
[0018] The technical solution of this application's method for generating medley scores simplifies the process by providing a selection interface with a selected display panel, allowing users to intuitively see the selected score fragments and their order. Users can also adjust the sequence through simple drag-and-drop operations. Furthermore, by defining the score fragments as structured data suitable for performance on smart instruments rather than as audio files, the generated medley scores can interact with smart instruments in real time, achieving a "what you see is what you get" creative experience. Compared to traditional audio splicing software, this application's technical solution is more suited to instrument performance scenarios, lowers the barrier to music creation, and enhances the practicality and fun of instrument apps. It also increases the playability of using instrument apps with smart instruments, thereby improving the user experience. Attached Figure Description
[0019] Figure 1 This is a flowchart illustrating an embodiment of the method for generating medley scores according to this application; Figure 2 This is a flowchart illustrating an embodiment of the method for generating medley scores according to this application; Figure 3 This is a flowchart illustrating an embodiment of the method for generating medley scores according to this application; Figure 4 This is a flowchart illustrating an embodiment of the method for generating medley scores according to this application; Figure 5 This is a schematic diagram of the structure of an electronic device in the hardware operating environment involved in the embodiments of this application. Detailed Implementation
[0020] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0021] It should be noted that all directional indicators (such as up, down, left, right, front, back, etc.) in the embodiments of this application are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicator will also change accordingly.
[0022] It should also be noted that when a component is described as "fixed to" or "set on" another component, it can be directly on the other component or there may be an intervening component present. When a component is described as "connected to" another component, it can be directly connected to the other component or there may be an intervening component present.
[0023] Furthermore, the use of terms such as "first" and "second" in this application is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. When the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed in this application.
[0024] Currently, most smart musical instruments (such as smart guitars) come with a dedicated instrument app, connected via Bluetooth or Wi-Fi. These apps typically have extensive music libraries with numerous songs and sheet music for users to choose from. However, most current instrument apps involve playing a single song from beginning to end, leading to boredom and a lack of engaging gameplay, resulting in a poor user experience.
[0025] To address the aforementioned issues, the inventors of this application have developed a solution: a method for generating medley scores for musical instrument applications (i.e., musical instrument apps). This method effectively enhances the fun of musical instrument apps, making them more playable when used in conjunction with smart musical instruments, thereby improving the user experience.
[0026] The inventors of this application have developed a method for generating medley scores, applicable to a musical instrument app. The implementation of this medley score generation method is carried out by an electronic device, which can be a musical instrument controller, a mobile terminal (such as a smartphone, smartwatch, or tablet), or a computing device such as a desktop computer, laptop, PDA, or server.
[0027] like Figure 1 As shown, Figure 1 This is a flowchart illustrating an embodiment of the method for generating medley scores according to this application.
[0028] In this embodiment, the method for generating the medley score includes: Step S10: In response to the user's selection operation on the music score fragment selection interface, multiple target music score fragments are obtained.
[0029] In this embodiment, the music library of the instrument app contains a large number of sheet music fragments. These fragments can be chorus segments of a complete sheet music, or opening segments, closing segments, or any other segment of a complete sheet music. The sheet music fragments in the library can include those officially created and uploaded, or those uploaded by users after extracting and / or editing complete sheet music. That is, the sheet music fragment is at least one of the following: chorus segments, opening segments, closing segments, or user-defined segments of a complete sheet music. The target sheet music file refers to the sheet music file selected by the user. It should be noted that the sheet music fragments are not audio files and cannot produce sound when played; rather, they are intended for the user to play via a smart instrument connected to the instrument app (e.g., via Bluetooth or Wi-Fi).
[0030] The music library contains at least BPM (Beat Per Minute) and rhythmic patterns in its score fragments; of course, score fragments may also include more score information, such as drum beats. In some embodiments, the target score fragment is structured score data containing note sequences, rhythmic information, and chord information, and the medley score file is a structured data file that can be parsed and played by intelligent musical instruments in real time.
[0031] The selection interface includes a selected display panel, which shows in real time the various target musical score fragments selected by the user and their order. For example... Figure 2 As shown, in some embodiments, before step S10, the medley score generation method may further include: step S01, when a medley creation request is received, entering the score fragment selection interface, allowing the user to select the target score fragment to be medleyed based on the selection interface.
[0032] In this embodiment, the electronic device may have a medley control on its display interface (such as the main page or creation page of a musical instrument APP) for generating a medley creation request, or the electronic device may have a medley button. When the user triggers the medley control or presses the medley button, a medley creation request is generated. When the electronic device receives the medley creation request, it enters the selection interface for the music score segment. Alternatively, the electronic device may enter the selection interface for the music score segment when it receives a medley creation request from the user's voice.
[0033] The selection interface can display a large number of sheet music fragments or popular sheet music fragments, as well as sheet music fragments created and / or collected by the current user. The selection interface can have a search bar so that users can search for the sheet music fragments they need.
[0034] The selection interface includes a selected display panel to show the various target musical score fragments already selected by the user. This allows users to clearly see which score fragments have been selected, preventing them from missing desired fragments and improving the user experience. The selected display panel can consist of several horizontally arranged option boxes, each displaying information about a selected score fragment (such as the score name, singer, etc.). Swiping left or right on the selected display panel will slide each option box to the left or right, allowing users to view the information in each option box.
[0035] In this way, each musical fragment in the final medley sheet music file is selected by the user, which perfectly satisfies the user's need for custom medley sheet music and increases the playability and fun of the music instrument app.
[0036] In some embodiments, a user can select multiple (at least two) musical score fragments on a musical instrument app to generate a medley of sheet music files. The selected musical score fragments are the target musical score fragments (i.e., the musical score fragments to be medleyed). After the user selects multiple musical score fragments, the electronic device acquires these selected musical score fragments, i.e., acquires the target musical score fragments to be medleyed.
[0037] In some embodiments, the multiple target musical score fragments to be concatenated can also be selected from the music library based on user input information, choosing a preset number (e.g., 10) of the most relevant musical score fragments (i.e., the target musical score fragments to be concatenated). For example, the user input information could be: "martial arts + action", "Chinese style + tranquility", "rock + cheerful", etc.
[0038] Step S20: In response to the user's operation to adjust the order of the target musical score segments in the selected display bar, determine the concatenation order of each target musical score segment.
[0039] After acquiring the target musical score fragments to be concatenated, the electronic device further determines the concatenation order of these fragments. Users can adjust the position of each musical score fragment in the selected display area to change the order of the target musical score fragments. The electronic device detects these adjustments and responds accordingly to update the determined concatenation order. These adjustments may include, for example, dragging a beat segment of the target musical score, or interactively repositioning a segment.
[0040] In some embodiments, determining the concatenation order of each target musical score fragment may include: obtaining the current arrangement order of each target musical score fragment and using the arrangement order as the concatenation order.
[0041] The order in which the target musical score fragments are arranged can be either the order in which the user selected them or the order in which the user rearranged their positions. This allows users to customize the order of the target musical score fragments in the medley according to their creative ideas, making the medley better suit their preferences.
[0042] Reference Figure 3 In some embodiments, determining the concatenation order of the various target musical score fragments may also include: Step S22: Determine the user's requirements for the medley sheet music; Step S23: Call the preset concatenation order recommendation model, and perform audio feature analysis on each target score segment based on the requirements of the medley score to obtain the concatenation order that meets the requirements of the medley score.
[0043] Musical instrument apps can pre-set various medley requirements (e.g., smooth transitions, rhythmic progression, rhythmic variation, etc.) for users to choose from. The user's medley requirements can be determined by determining one or more of the user's selected preset medley requirements. Alternatively, the user's medley requirements can be extracted through semantic analysis of the user's input speech or text. Electronic devices or the cloud have preset medley order recommendation models. After determining the user's medley requirements, the electronic device calls this model and, based on these requirements, performs audio feature analysis on the selected music segments to provide the optimal medley order that meets the requirements.
[0044] The scheme for determining the sequence order in this embodiment is intelligently analyzed and recommended by the model based on the user's requirements for the medley sheet music. This allows even novice users who have no knowledge of music theory to create pleasing medley sheet music, thus lowering the barrier to entry for creating medley sheet music.
[0045] Step S30: The sheet music data of each target musical score segment are sequentially spliced together according to the concatenation order to generate a medley sheet music file that can be played by intelligent musical instruments.
[0046] Once the concatenation order of the target musical score fragments is determined, the electronic device concatenates these fragments according to that order. Specifically, it appends each subsequent fragment to the end of the preceding fragment, thus creating a medley score file. For example, if the user selects the target musical score fragments A, B, C, D, and E, and the electronic device determines the concatenation order to be D, B, A, E, and C, then it will concatenate them starting with D, appending B to the end of D, A to the end of B, E to the end of A, and C to the end of E, creating the medley score DBAEC.
[0047] After creating the medley sheet music file, users can choose to play it to hear the musical effect of the piece. If satisfied with the performance, users can choose to publish the medley sheet music file to the music library. Alternatively, users can directly publish the medley sheet music file to the music library after it has been created.
[0048] The technical solution of the medley sheet music generation method in this embodiment, by setting up a selection interface with a selected display bar, allows users to intuitively see the selected sheet music fragments and their arrangement order, and supports users to adjust the splicing order through simple drag-and-drop operations, greatly simplifying the process of creating medley sheet music files. Simultaneously, by defining the sheet music fragments as structured data that can be played by intelligent musical instruments rather than audio files, the generated medley sheet music files can interact and play with intelligent musical instruments in real time, achieving a "what you see is what you get" creative experience. Compared to traditional audio splicing software, the technical solution of this embodiment is more suitable for musical instrument performance scenarios, lowers the threshold for music creation, and enhances the practicality and fun of musical instrument apps; it also makes the use of musical instrument apps with intelligent musical instruments more playable, thereby improving the user experience.
[0049] In some embodiments, after the step of generating a medley score file that can be played on a smart musical instrument (i.e., step S30), the medley score generation method further includes: when a publishing request is received, uploading and publishing the medley score file to a music library and / or a personal music library.
[0050] In this embodiment, the electronic device may have a publishing control (i.e., a control for generating a publishing request) on its display interface, or the electronic device may have a publishing button. When the user triggers (e.g., touches or clicks) the publishing control or presses the publishing button, a publishing request is generated. Upon receiving the publishing request, the electronic device uploads and publishes the generated medley sheet music file to the music library or the user's personal music library, or simultaneously to both. In this way, the user can share the medley sheet music file with other users or save it to their personal music library for their own performance.
[0051] Reference Figure 4 In some embodiments, after entering the selection interface for musical score fragments (i.e., step S01), the medley score generation method further includes: Step S02: When an editing command for any target musical score segment is detected, the settings interface for that target musical score segment pops up, allowing users to modify and set the score parameters of that target musical score segment.
[0052] In this embodiment, each target musical score fragment in the selection interface may have an editing control. When the user triggers the editing control of any target musical score fragment, a corresponding editing command is generated. When the electronic device detects the editing command, it will pop up the settings interface for the target musical score fragment corresponding to the editing command. The settings interface contains the score parameter information of the target musical score fragment, and the user can modify the score parameters of the target musical score fragment in the settings interface. Alternatively, the selection interface may have a single editing control. When the user selects a target musical score fragment and triggers the editing control, an editing command corresponding to the currently selected target musical score fragment is generated. When the electronic device detects the editing command, it will pop up the settings interface for the target musical score fragment corresponding to the editing command, allowing the user to modify the score parameters of the target musical score fragment. The score parameters may include parameters such as BPM, style, and rhythm.
[0053] When the setting of the score parameters for the target score segment is completed, if a setting completion command or a return command is detected, the selection interface will be returned.
[0054] The solution in this embodiment adds a function to modify the parameters of the target score fragment in the selection interface, allowing users to adapt and adjust the target score fragment according to their own ideas. This makes the target score fragment better meet the user's needs, expands the freedom of creating medley score files, and improves the user experience.
[0055] In some embodiments, after entering the selection interface for a musical score segment (i.e., step S01), the method further includes: When the selection of target musical scores is completed, switch to the editing operation interface, arrange and display the selected multiple target musical scores in the editing operation interface in order, and execute the step of obtaining multiple target musical scores to be concatenated (i.e., step S10). For example, the selection interface may include a "Next" control. When the user clicks the "Next" control, a selection completion instruction is generated. The electronic device detects this instruction and confirms that the selection of the target musical score fragment is complete. At this point, it switches to the editing interface (the interface for the next step). Alternatively, if the number of target musical score fragments (i.e., the fragments selected by the user) reaches the maximum allowed number (e.g., 10), and no more fragments can be added, the electronic device determines that the selection of the target musical score fragments is complete and automatically switches to the editing interface.
[0056] After switching to the editing interface, the electronic device displays the multiple target score fragments selected by the user in sequence on the editing interface. The information displayed here may include the song name, lyrics, and singer of the target score fragments; of course, it may also display information such as BPM. Furthermore, when the electronic device confirms that the selection of the target score fragments is complete, it confirms that the user has completed the selection operation, and at this time, it executes step S10, which obtains the multiple target score fragments to be concatenated (i.e., the various target score fragments selected by the user).
[0057] The editing interface includes a name edit box for users to name the medley sheet music file. Clicking the name edit box brings up an input method interface, allowing users to enter or change the song names in the medley sheet music file. This ensures that the generated medley sheet music file has corresponding song names. Later, if a user wants to recommend it to other users or play it themselves, they only need to search for the song names in the medley sheet music file to quickly find it in the music library.
[0058] In some embodiments, after switching to the editing operation interface (i.e., step S03), the medley score generation method further includes: When a test play request is received, the step of sequentially splicing the score data of each target score fragment in the order of concatenation to generate a medley score file that can be played by the smart instrument is executed (i.e., step S30). The user is then switched to the test play interface of the medley score for test play.
[0059] In this embodiment, the editing interface may have a first control for generating a test play request. When the user triggers the first control, a test play request is generated. Upon receiving the request, the electronic device sequentially splices the sheet music data of each target musical score segment according to the concatenation order, generating a medley sheet music file that can be played by the smart instrument. Then, it switches to the test play interface of the medley sheet music, displaying it in performance mode for the user to try playing. This allows the user to preview the performance effect and sound of the medley sheet music to determine if it meets their requirements and expectations. Of course, test play requests can also be generated in other ways; for example, the electronic device may have a test play button (physical button), which generates a test play request when pressed; or, the user may generate a test play request via voice.
[0060] In some embodiments, after the step of switching to the test play interface of the medley score, the medley score generation method further includes: when a parameter setting request is received, popping up a parameter setting interface to allow the user to modify at least the style and / or rhythm pattern of the medley score.
[0061] In this embodiment, the test play interface may have a second control for generating parameter setting requests; when the user triggers the second control, a parameter setting request is generated. When the electronic device receives the parameter setting request, a parameter setting interface pops up. The parameter setting interface displays the overall style and / or rhythm pattern of the medley score, or it may display the style and / or rhythm pattern of each target score segment.
[0062] In this embodiment, when a user tries to play a medley of music and is dissatisfied with the performance or the music, the user can trigger a parameter setting request to enter the parameter setting interface. The user can then adjust and modify the style and / or rhythm of the medley of music. After the adjustment, the user can try playing it again. This allows the user to adjust the medley of music more quickly and obtain a higher quality medley of music file.
[0063] In some embodiments, after the step of switching to the test play interface of the medley score, the medley score generation method further includes: when a release request is received, uploading and releasing the medley score to the music library and / or personal music library.
[0064] In this embodiment, the test play interface may have a third control for generating release commands. When the user triggers the third control, a release request is generated. Upon receiving the release request, the electronic device uploads and publishes the medley sheet music file to the music library so that other users can play their own medley sheet music, and / or uploads and publishes the medley sheet music file to a personal music library for personal performance or for other users to perform when accessing the music library, thereby enhancing user interaction.
[0065] It should be noted that, in the absence of any contradictions or conflicts between the above embodiments of the method for generating medley scores in this application, the above embodiments can be arbitrarily combined or combined to form new embodiments.
[0066] This application also proposes an electronic device, see reference. Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device in the hardware operating environment involved in the embodiments of this application.
[0067] The electronic devices in this application embodiment can be mobile terminals such as smartphones and tablets, or computing devices such as desktop computers, laptops, handheld computers, and servers. Figure 5 As shown, the electronic device may include: a processor 1001 (e.g., a CPU), a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit, such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0068] Those skilled in the art will understand that Figure 5 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0069] like Figure 5 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and computer programs.
[0070] exist Figure 5 In the electronic device shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the computer program stored in the memory 1005. When the computer program is called and executed by the processor 1001, it implements the steps of the above-mentioned medley score generation method.
[0071] Based on the computer program proposed in the foregoing embodiments, this application also proposes a storage medium storing a computer program, which, when executed by a controller, implements the medley score generation method described in the foregoing embodiments.
[0072] Since the electronic device and storage medium of this application can implement the steps of the above-described medley score generation method, they at least have all the beneficial effects brought about by the technical solutions of the above-described medley score generation method embodiments, which will not be elaborated here.
[0073] In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between devices or modules, and may be electrical, mechanical, or other forms.
[0074] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0075] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0076] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0077] The above description is only a part or preferred embodiment of this application. Neither the text nor the drawings should limit the scope of protection of this application. All equivalent structural transformations made using the content of this application's specification and drawings under the overall concept of this application, or direct / indirect applications in other related technical fields, are included within the scope of protection of this application.
Claims
1. A method for generating medley scores, applied to a musical instrument application, characterized in that, include: In response to the user's selection operation on the music score fragment selection interface, multiple target music score fragments are obtained. The selection interface has a selected display bar, which is used to display the target music score fragments selected by the user and their arrangement order in real time. In response to the user's operation to adjust the order of the target musical score segments in the selected display bar, the concatenation order of each target musical score segment is determined; The sheet music data of each target musical score fragment is sequentially spliced together according to the concatenation order to generate a medley sheet music file that can be played by intelligent musical instruments.
2. The method for generating medley scores according to claim 1, characterized in that, The target musical score fragment is structured musical score data, containing note sequences, rhythm information, and chord information; the medley score file is a structured data file that can be parsed and played by intelligent musical instruments in real time. And / or, after the step of generating a medley score file that can be played on a smart musical instrument, the medley score generation method further includes: Upon receiving a release request, the medley sheet music file will be uploaded and released to the music library and / or personal music library; And / or, The target musical score fragment also includes drum beats.
3. The method for generating medley scores according to claim 1, characterized in that, Determining the concatenation order of each target musical score fragment includes: Obtain the current arrangement order of each target musical score fragment, and use the arrangement order as the concatenation order; Alternatively, determining the concatenation order of each target musical score fragment includes: Determine the user's requirements for the medley sheet music; A preset concatenation order recommendation model is invoked, and audio feature analysis is performed on each target score segment based on the requirements of the medley score to derive a concatenation order that meets the requirements of the medley score.
4. The method for generating medley scores according to claim 1, characterized in that, After the step of acquiring multiple target musical score fragments in response to the user's selection operation on the musical score fragment selection interface, the method further includes: When an editing command for any target musical score segment is detected, the settings interface for that target musical score segment pops up, allowing users to modify and set the score parameters of that target musical score segment. The music score parameters include BPM, style, and / or rhythmic pattern.
5. The method for generating medley scores according to claim 1, characterized in that, After the step of acquiring multiple target musical score fragments in response to the user's selection operation on the musical score fragment selection interface, the method further includes: Once the selection of target musical scores is complete, switch to the editing interface, arrange and display the selected target musical scores in order in the editing interface, and execute the step of obtaining the multiple target musical scores to be concatenated. The editing interface has a name editing box, which allows users to edit the name of the medley score.
6. The method for generating medley scores according to claim 5, characterized in that, Following the step of switching to the editing interface, the following is also included: When a test play request is received, the process of connecting the various target musical score fragments in the specified sequence to form a medley score is executed, and the user is switched to the test play interface of the medley score so that the user can test play the medley score using the smart instrument.
7. The method for generating medley scores according to claim 6, characterized in that, After the step of switching to the test play interface of the medley score, the following is also included: When a parameter setting request is received, a parameter setting interface pops up, allowing the user to at least modify the style and / or rhythm of the medley score. And / or, After the step of switching to the test play interface of the medley score, the following is also included: Upon receiving a release request, the medley sheet music will be uploaded and published to the music library and / or personal music library.
8. The method for generating medley scores according to claim 1, characterized in that, The target musical score fragment includes at least one of the following: a chorus score fragment of a complete musical score, an opening fragment, an ending fragment, or a user-defined segment.
9. An electronic device, characterized in that, The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps of the medley score generation method as described in any one of claims 1 to 8.
10. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the steps of the medley score generation method as described in any one of claims 1 to 8.