A method and system for quick operation of musical scores
By utilizing multi-style line display and drag-and-drop recognition technology for ideographic elements in the digital music score editing interface, combined with detection rules and visual guidance, the problem of insufficient editing efficiency and convenience in existing technologies has been solved, achieving a more efficient and convenient music score creation experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GRANMUS STAFF TECHNOLOGIES (CHONGQING) CO LTD
- Filing Date
- 2026-01-16
- Publication Date
- 2026-07-28
AI Technical Summary
Existing digital music score editing methods are inadequate in terms of editing efficiency and convenience. In particular, touch screen operation is prone to accidental touches or incorrect selections, affecting the accuracy of adjustments and leading to low editing efficiency and frustration.
This paper provides a digital music score editing method and system. By using multiple line styles and ideographic elements in the music score editing interface, and using drag signals to identify key features, combined with detection rules and visual guidance, the system automatically determines the intended position and adds elements, thereby reducing the requirements for user operation precision.
It improves the fluency and accuracy of music composition through fuzzy operations, reduces the difficulty of operation and learning threshold, and provides a more natural user experience and an efficient way of composing music.
Smart Images

Figure CN122474032A_ABST
Abstract
Description
[0001] Divisional application This application is a divisional application of Chinese Invention Patent Application No. 202610056102.8, filed on January 16, 2026, entitled "A Digital Music Score Editing Method and System". Technical Field
[0002] This invention relates to the field of digital music score technology, and in particular to a method and system for quick music score operation. Background Technology
[0003] With more and more people learning musical instruments, digital sheet music has key advantages over traditional paper sheet music, such as easier access, portability, and storage. Traditional technologies have also proposed solutions to lower the barriers to digital sheet music creation and editing.
[0004] For example, patent application CN102014195A discloses a mobile phone capable of generating music and its implementation method. The phone recognizes the input sound and generates a simplified blank score that only records the rhythm. The user then fills in the rhythm with musical notation and instrument effects, and can then save / play the music. Furthermore, it can be edited at any time. This invention simplifies music creation, turning the entire process into a simple and easy game.
[0005] For example, patent CN106097830A discloses a music score recognition method and apparatus. The method includes: receiving the input trajectory graphic of a note on a pre-displayed staff input interface; and recognizing the shape of the corresponding note and the position of the note in the staff based on the input trajectory graphic.
[0006] However, the applicant noted that the above editing methods still have significant shortcomings in terms of editing efficiency and ease of use. Summary of the Invention
[0007] The purpose of this invention is to provide a digital music score editing method and system that partially solves or alleviates the above-mentioned shortcomings in the prior art, and helps to improve the efficiency of digital music score editing and the creative experience.
[0008] To solve the aforementioned technical problems, the present invention specifically adopts the following technical solution: A first aspect of the present invention is to provide a digital music score editing method, comprising the steps of: S201, a music score editing interface is provided, the music score editing interface including: a music score writing area and a function selection area; wherein, the music score writing area includes: multiple lines, and the multiple lines include: staff lines and bar lines displayed in a first style, and multiple auxiliary lines displayed in a second style, and the first style and the second style are different; the function selection area includes: an element selection area, and the element selection area provides multiple ideographic elements; wherein, the ideographic elements have at least one key feature; S202, when the user selects one of the semantic elements, the semantic element is identified as the element to be edited, and the user's drag signal for the element to be edited is received; S203, determine the pixel position where the key feature is set based on the drag signal; S204, determine the intended position based on the pixel position and spectral information; wherein, the spectral information includes: the coordinates of the line; wherein, S204 includes: S2041, Obtain the intention line, wherein the intention line is the line adjacent to the pixel position; S2042, Determine the intention position based on the intention line; S205, add the element to be edited to the score writing area according to the intended position.
[0009] In some embodiments, the score writing area includes: pre-added edited elements, which are displayed in a first form, and the elements to be edited are displayed in a second form.
[0010] In some embodiments, S2041 includes: Identify temporary lines adjacent to the key feature, wherein the temporary line is a spectral line or auxiliary line whose distance from the key feature is less than a preset distance threshold; When two temporary lines exist, two temporary positions are generated based on the two temporary lines. The temporary location is scored using recommendation rules; Select the temporary line corresponding to the temporary position with the higher score as the intention line.
[0011] In some embodiments, S2041 includes the step of: Multiple detection rules are provided, and the detection rules are set with detection priorities; The detection rule corresponding to the priority is selected as the recommended rule.
[0012] In some embodiments, the priority is set by user data.
[0013] In some embodiments, the detection rules include: tonality detection rules, beat detection rules, harmony detection rules, melody detection rules, tempo detection rules, pitch value detection rules, chord detection rules, stepwise priority detection rules, and / or augmented line detection rules.
[0014] In some embodiments, the style is defined by at least one visual element, including color, brightness, or line width.
[0015] In some embodiments, the function selection area includes a shortcut operation area; the shortcut operation area provides at least one of the following shortcut options: cursor movement option, element movement option, operation undo option, operation redo option, and delete option.
[0016] In some embodiments, the function selection area provides a pitch adjustment area, which includes: an indicator line and a slider disposed on the indicator line. When the user slides the slider, the intended position of the element to be edited is determined based on the position of the slider on the indicator line.
[0017] A second aspect of the present invention is to provide a digital music score editing system, comprising: An editing interface module is provided to offer a music score editing interface, which includes: a music score writing area and a function selection area; wherein, the music score writing area includes: multiple lines, and the multiple lines include: staff lines and bar lines displayed in a first style, and multiple auxiliary lines displayed in a second style, wherein the first style and the second style are different; the function selection area includes: an element selection area, and the element selection area provides multiple ideographic elements; wherein, the ideographic elements have at least one key feature; The drag signal receiving module is used to identify the ideographic element as an element to be edited when the user selects one of the ideographic elements, and to receive the drag signal from the user for the element to be edited. A pixel position determination module is used to determine the pixel position where the key feature is set based on the drag signal; An intent location determination module is used to determine the intent location based on the pixel location and spectral information; wherein the spectral information includes the coordinates of the line; wherein the intent location determination module includes: An intent line acquisition unit is used to acquire an intent line, wherein the intent line is the line adjacent to the pixel position; An intent location determination unit is used to determine the intent location based on the intent line; The element adding module is used to add the element to be edited to the score writing area according to the intended position.
[0018] Beneficial technical effects: This invention provides a fuzzy operation mechanism for music score editing. Users only need to drag and drop symbolic elements to understand the user's operation intention (i.e., the specific position and height at which the user intends to place the notes in the music score writing area) through the transformation of pixel position-intention line-intention position. Thus, symbolic elements can be placed more accurately through a simple and convenient operation.
[0019] From another perspective, this invention is particularly suitable for touch and gesture-operated touch interfaces. It eliminates the need for cumbersome operations that require high levels of expertise, such as inputting precise coordinates of musical notes. Through direct and simple operation steps (such as drag and drop), it greatly improves the smoothness of music composition, provides users with a more natural operating experience, and reduces the difficulty and learning threshold for users to edit music scores.
[0020] Alternatively, this invention also provides a convenient way for professional piano arrangers to arrange music, giving users enough freedom to unleash their inspiration while ensuring the basic accuracy of the arrangement based on personalized testing rules, thus allowing users to focus more of their attention and time on the artistic creation itself. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. In all the drawings, similar elements or parts are generally identified by similar reference numerals. The elements or parts in the drawings are not necessarily drawn to scale. Obviously, the drawings described below are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative effort.
[0022] Figure 1 A flowchart illustrating a digital music score editing method provided by the present invention; Figure 2 This is a schematic diagram of the music score editing interface provided by the present invention; Figure 3 This is a schematic diagram of the structure of the digital music score editing system provided by the present invention; Figure 4 A schematic block diagram of the structure of a computer device provided by the present invention; Figure 5 This is a partial schematic diagram of the music score editing interface provided by the present invention.
[0023] Summary of attached image labels: 1. Quick Operation Area; 2. Element Selection Area; 3. Pitch Adjustment Area; 4. Score Editing Area; 5. Symbolic Elements; 6. Cursor; 7. Staff Lines; 8. Auxiliary Lines. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0025] In this document, suffixes such as "module," "part," or "unit" used to denote elements are used only for the purpose of illustrative purposes and have no specific meaning in themselves. Therefore, "module," "part," or "unit" may be used interchangeably.
[0026] In this document, the terms "upper," "lower," "inner," "outer," "front," "rear," "one end," and "the other end," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the present invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0027] In this document, unless otherwise explicitly specified and limited, the terms "installed," "equipped with," "connected," etc., should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, a direct connection, or an indirect connection through an intermediate medium; it can be a connection within two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0028] In this document, "and / or" includes any and all combinations of one or more of the listed related items.
[0029] In this article, "multiple" means two or more, that is, it includes two, three, four, five, etc.
[0030] As used in this specification, the term "about" typically means + / -5% of the value, more typically + / -4% of the value, more typically + / -3% of the value, more typically + / -2% of the value, even more typically + / -1% of the value, and even more typically + / -0.5% of the value.
[0031] In this specification, certain embodiments may be disclosed in a range-bound format. It should be understood that this "range-bound" description is merely for convenience and brevity and should not be construed as a rigid limitation on the disclosed range. Therefore, the description of a range should be considered as having specifically disclosed all possible subranges and the individual numerical values within those ranges. For example, a description of the range 1-6 should be considered as having specifically disclosed subranges such as from 1 to 3, from 1 to 4, from 1 to 5, from 2 to 4, from 2 to 6, from 3 to 6, etc., and the individual numbers within those ranges, such as 1, 2, 3, 4, 5, and 6. This rule applies regardless of the breadth of the range.
[0032] Example 1: Traditional digital music score editing methods are mostly passive operation modes, which rely heavily on the user's own musical literacy and proficient score-making experience.
[0033] This passive operation mode becomes particularly problematic when user interaction methods change. Especially in sheet music editing via touchscreen, the large touch area of the finger makes it easy to accidentally touch or select the wrong note when precisely selecting and dragging notes (such as dotted notes and other small ideographic elements) on the dense staff. At the same time, the finger itself can obscure the element being manipulated and the surrounding sheet music, preventing the user from seeing the positioning details in real time, affecting the accuracy of adjustments, and leading to low editing efficiency and frustration.
[0034] To address this, the present invention proposes an auxiliary music score editing operation mode, which does not rely entirely on the level of user operation commands, but is able to understand the operation intentions behind the user's ambiguous operations, thus combining convenience and accuracy.
[0035] The auxiliary music score editing operation mode proposed in this invention will be introduced below. Please refer to [link / reference]. Figure 1 This invention provides a digital music score editing method, including the following steps: S201, a music score editing interface is provided, the music score editing interface including: a music score writing area 4 and a function selection area; wherein, the music score writing area 4 includes: multiple lines, and the multiple lines include: staff lines 7 and bar lines displayed in a first style, and multiple auxiliary lines 8 displayed in a second style, and the first style and the second style are different; the function selection area includes: an element selection area 2, and the element selection area 2 provides multiple ideographic elements 5; wherein, the ideographic element 5 has at least one key feature; S202, when the user selects one of the semantic elements 5, the semantic element 5 is identified as the element to be edited, and the user's drag signal for the element to be edited is received; S203, determine the pixel position where the key feature is set based on the drag signal; S204, determine the intended position based on the pixel position and spectral information; wherein, the spectral information includes: the coordinates of the line; wherein, S204 includes: S2041, Obtain the intention line, wherein the intention line is the line adjacent to the pixel position; S2042, Determine the intention position based on the intention line; S205, add the element to be edited to the score writing area 4 according to the intended position.
[0036] In some embodiments, see Figure 2 A screenshot of the provided sheet music editing interface.
[0037] The sheet music editing area 4 can be used to visually represent the user's sheet music editing operations (such as adding and moving notes). The form of the visualization (such as background, color, and font) can be customized by the user.
[0038] In some embodiments, the score writing area 4 can also support users to perform partial (such as a single note or a musical phrase) or overall (such as all added notes) playback, storage and other operations.
[0039] For example, the music score editing area 4 can receive a selection signal from the user for at least one edited element (e.g., by clicking with a mouse or touchscreen), and identify the selected element as the selected element. Furthermore, it can receive a playback signal or a storage signal triggered by the user's selection of the element, and accordingly play or store the selected element.
[0040] For example, visual effects (such as through a graphic box) can be added to the selected element to highlight the ideographic element that is currently being edited to the user; see cursor 6 for a specific example.
[0041] It should be understood that the cursor mentioned in this invention can be a common positioning cursor in user interfaces (such as a short vertical line), or it can refer to an interactive identifier in a music score editing interface, presented in a highlighted form (such as color block coverage or outline emphasis). Its core function is to intuitively highlight the specific semantic element currently selected to the user.
[0042] In some embodiments, see Figure 5 The music score editing area 4 can overlay and display the score framework (such as 7, bar lines, auxiliary lines 8), ideographic elements 5 (such as notes, rests, symbols, etc.), and interactive states (such as cursor 6, current selection area).
[0043] The styles (first style, second style) are defined by at least one visual element, which includes color, brightness or line width.
[0044] In some embodiments, the method further includes adding visual emphasis elements of different degrees to different styles and / or different forms, the visual emphasis elements including static graphic markers, dynamic visual effects, color changes, and animation effects.
[0045] Visual emphasis elements refer to various visual elements used to highlight specific information, guide viewers' attention, or enhance the viewing experience, thereby enabling viewers to obtain key information through intuitive visual cues. For example, visual emphasis elements can be static graphic markers, dynamic visual effects, or a combination of both. Specifically, they can include color changes (e.g., highlighting, gradient colors), flashing effects (e.g., periodic flashing, pulse light effects, water ripple effects), arrow indicators (e.g., directional guidance, dynamic paths), icons and symbols, text labels (e.g., brief descriptions, numerical labels), shadows and outlines (e.g., projection effects, halo design, bold outlines), animation effects (e.g., explosions, floating bubbles), thickened or highlighted lines, etc., without further limitation.
[0046] Among them, the element selection area 2 in the function selection area can include a variety of expressive elements 5 such as notes, rests, and performance technique symbols. Element selection area 2 can meet the user's various personalized music score editing needs.
[0047] In some embodiments, the ideographic elements 5 provided in the element selection area 2 can be selected by the user in advance from a preset library of ideographic elements 5. For example, users with higher playing skills can select more ideographic elements 5 to meet their richer creative needs; while novice users can select fewer ideographic elements 5 for editing, thereby avoiding too many high-level ideographic elements 5 that may cause operational difficulties or creative frustration (such as novices may not understand higher-level accidentals).
[0048] In some embodiments, the key features may include: a notehead, an accidental, and / or a dot.
[0049] In some embodiments, the present invention utilizes key features as a unified visual anchor point during spectral preparation. When the ideographic element 5 visually spans multiple spectral lines 7, it can avoid positional recognition deviations caused by using dragged random touchpoints (such as stems or edge positions of the ideographic element 5) to align the spectral lines 7.
[0050] For example, taking the notehead (i.e., the corresponding key feature) of a note (i.e., a symbolic element 5) as an example, the pitch of the note (corresponding to the spectral line 7 that the user drags and places) is determined by its notehead or the center point of the notehead and the spectral line 7 or space that it is aligned with.
[0051] In other words, even if the user's dragging operation is ambiguous, the present invention can use key features as the position reference for displaying the ideographic element 5, thereby achieving precise alignment of the score editing to a certain extent and reducing the difficulty of operation.
[0052] From another perspective, the present invention determines the intended location based on key features, which can reduce the consumption of computing resources for flexible operation while ensuring the degree of freedom of music score editing operation.
[0053] Specifically, when a user triggers a selection signal for a certain ideographic element in the element selection area, regardless of whether the user actually presses any part of the display area of any ideographic element (such as the stem or the edge of the display area), the key features can be used as a reference to determine the position of the intent. This avoids the deviation between the touch point and the user's true intent caused by the user's high degree of freedom operation (especially touch screen operation), thereby improving the accuracy of score editing while maintaining operational flexibility.
[0054] In some embodiments, a user can select the ideographic element 5 by holding down the mouse or touching the screen.
[0055] Furthermore, after selecting symbolic element 5, users can trigger a drag signal by moving the mouse or touchscreen position.
[0056] In some embodiments, the pixel position of the key feature at the corresponding moment can be determined based on the moment when the user stops triggering the drag signal.
[0057] Alternatively, the pixel position of key features can be predicted based on drag signals (such as the touch point coordinates, instantaneous velocity, and instantaneous acceleration at the moment the user stops triggering the drag signal).
[0058] For example, in some cases, a user may exhibit a clear sliding tendency at the moment they end dragging a symbolic element (e.g., a rapid swipe followed by a sudden stop). In this situation, the user's intention may not be limited to keeping the symbolic element at the position where their finger left, but rather they may want the element to continue moving a further distance along the sliding direction based on the inertia from the initial swipe. Therefore, this invention can predict the ideal target position after the user stops dragging by analyzing the dynamic data of the user's dragging (such as speed, acceleration, and direction), and automatically and smoothly move the symbolic element to that predicted coordinate.
[0059] In some embodiments, spectral information may include the coordinates of lines, such as spectral lines, bar lines, or auxiliary lines.
[0060] For example, spectral information may include the coordinates of the line corresponding to the pixel position of the center point of the key feature when the user stops triggering the drag signal.
[0061] For example, taking the coordinates of spectral line 7 as an example, the spectral information can include the height of spectral line 7, or in other words, the pixel position of the key feature in the specific line or space of the corresponding spectral line.
[0062] Alternatively, in some embodiments, the spectrum information may also include information about edited elements. This information includes the position and orientation of the edited elements (e.g., stem facing up or stem facing down).
[0063] In some embodiments, pixel positions are used to define the overall display area occupied by the ideographic element 5 in the score writing area 4, that is, one ideographic element 5 corresponds to several pixel position groups. Alternatively, pixel positions may include pixel positions of key features or pixel positions of non-key features.
[0064] In some embodiments, the abscissa of the intended position can be determined based on the abscissa of the center point of the pixel position of the key feature (e.g., it can represent the time order in which the element to be edited appears in the measure as expected by the user); the intention line adjacent to the pixel position can be determined based on the coordinates of the line in the spectral information, and the ordinate of the intended position can be determined based on the intention line (e.g., it can represent the pitch of the element to be edited as expected by the user).
[0065] For example, in some embodiments, the process of determining the intended location is as follows: Recommended display intervals are pre-set for the score. For instance, within a measure, the intervals between notes can be set according to the note size, interface display specifications, etc. Therefore, the horizontal coordinate of the notes can be directly determined based on the recommended display intervals.
[0066] In some embodiments, the x-coordinate of a pixel position can be automatically fine-tuned to achieve the intended position that aligns with the overall rhythm. For example, the x-coordinate of the center point of a key feature's pixel position may be any value (such as the midpoint between two auxiliary lines). In this case, the x-coordinate can be snapped to the nearest auxiliary line to ensure that the element to be edited is placed on the correct beat (such as the second beat).
[0067] It should be understood that, for sheet music editing operations with a high degree of freedom, this invention provides a fuzzy operation mechanism. Users only need to drag the ideographic element 5 to understand the user's operation intention (i.e., the user intends to place the note at the specific position and height in the sheet music writing area 4) through the conversion of pixel position-intention line-intention position, so as to place the ideographic element 5 more accurately through a simple and convenient operation.
[0068] From another perspective, this invention is particularly suitable for touch and gesture-operated touch interfaces. It eliminates the need for cumbersome operations that require high levels of expertise, such as inputting precise coordinates of musical notes. Through direct and simple operation steps (such as drag and drop), it greatly improves the smoothness of music composition, provides users with a more natural operating experience, and reduces the difficulty and learning threshold for users to edit music scores.
[0069] In other words, the auxiliary music score editing operation mode provided in this invention is highly suitable for small touch interfaces, and it can greatly improve the arrangement efficiency of professional music arrangers. For example, professional music arrangers can directly perform arrangement operations on a tablet, and the more experience a user has in arranging, the faster their arrangement operation speed tends to be.
[0070] The auxiliary music score editing mode provided in this embodiment helps users maintain a highly smooth operating state. Specifically, this auxiliary mode provides users with dual guidance for editing through visual and functional aspects. On the one hand, it provides intuitive visual guidance for users' touch editing by using the diverse displays of the auxiliary interface (i.e., the music score editing interface based on multiple types of lines). On the other hand, it can combine lines as a reference to provide users with relatively reliable position recommendations when the user's expression is ambiguous (or when the operation is not precise enough).
[0071] Furthermore, it is worth noting that, in cases where the user's meaning is ambiguous, this embodiment preferably employs a limited detection rule to detect or predict the user's meaning, thereby minimizing the interruption of editing operations by erroneous or inaccurate operations while respecting the user's intent as much as possible.
[0072] In some embodiments, the score writing area 4 further includes: pre-added edited elements, which are displayed in a first form and the elements to be edited are displayed in a second form.
[0073] The first and second forms can set different visual effects in terms of color, transparency, or background texture, thereby more prominently distinguishing between edited and unedited elements for the user. This visual distinction can provide clear operational feedback to the user, allowing them to intuitively understand whether the current element is completed or under adjustment, avoiding accidental operations; at the same time, it can also establish smooth visual guidance. For example, semi-transparent unedited elements can reduce obstruction and interference with the existing score, allowing the user to focus more on the positioning of the current unedited element, improving the smoothness and immersion of score editing.
[0074] In some embodiments, S2041 includes: Identify temporary lines adjacent to the key feature, wherein the temporary lines are spectral lines 7, auxiliary lines 8, and / or bar lines whose distance from the key feature is less than a preset distance threshold; When two temporary lines exist, two temporary positions are generated based on the two temporary lines. The temporary location is scored using recommendation rules; The temporary line corresponding to the temporary position with the higher score is selected as the intention line.
[0075] In some embodiments, the temporary position may be the pixel coordinates corresponding to when the ideographic element is set on the temporary line.
[0076] In some embodiments, a temporary line may include multiple temporary locations.
[0077] In some embodiments, if there is only one temporary line, the temporary line can be directly used as the intended line.
[0078] Furthermore, if there is only one temporary line, a score can be given for the corresponding temporary position, and a recommendation signal can be given based on the score (such as "It is not recommended to add a rising tone mark here").
[0079] In some embodiments, the recommendation signal may further include: displaying an error message icon, such as “×”, when the score is low; and displaying a recommendation icon, such as “√”, when the score is high.
[0080] Alternatively, if the temporary location has a low rating, the device can vibrate or the screen can shake when the user adds it, to warn the user that there may be a music theory problem.
[0081] Alternatively, in some embodiments, the temporary line may also be a segment line.
[0082] In some embodiments, a temporary line adjacent to a key feature may refer to a spectral line 7 where the distance between the ordinate and the ordinate of the key feature is less than a preset distance threshold.
[0083] For example, if the center point of the key feature is located in the middle of a space between two spectral lines 7, then the two adjacent spectral lines 7 forming that space are two temporary lines.
[0084] The preset spacing threshold can be set by the user according to their needs.
[0085] In some embodiments, two temporary positions can be determined based on the x-coordinate of the intended position and the y-coordinates of the two temporary lines, from which a recommended intended position can be selected subsequently.
[0086] It should be understood that by using recommendation rules to score temporary positions, the system can recommend choices that better align with the composition logic of the score to the user between two temporary positions (such as between two staff lines, between two auxiliary lines, or between two bar lines). In other words, when the user triggers a fuzzy operation signal, a visual attraction effect can be created (such as automatically moving notes closer to the high-scoring position and pre-displaying them), thereby ensuring basic accuracy in score creation while maintaining creative freedom.
[0087] In some embodiments, S2041 includes the step of: Multiple detection rules are provided, and the detection rules are set with detection priorities; The detection rule corresponding to the priority is selected as the recommended rule.
[0088] For example, a user can pre-set the priority of the hierarchical priority detection rule to the highest priority, and then score the two temporary positions according to the hierarchical priority detection rule, and take the temporary position with the higher score as the intent position.
[0089] In some embodiments, the priority is set by user data. For example, it can be set by the user; or it can be determined based on the user's historical data.
[0090] In some embodiments, users can set the priority of each detection rule in the detection rule base.
[0091] In some embodiments, if a higher-priority detection rule cannot distinguish the scores of two temporary positions (e.g., the score difference is not significant), the next lower-priority detection rule can be invoked.
[0092] In some embodiments, the following steps may be included: a. Score the first temporary position and the second temporary position according to the first detection rule, and obtain the corresponding first score and second score respectively; b. Calculate the score difference between the first score and the second score; c. If the score difference is less than or equal to the preset score difference, the second detection rule can be invoked and step a can be re-executed until the score difference is greater than the preset score difference.
[0093] The first detection rule has a higher priority than the second detection rule.
[0094] For example, users can manually set tonality detection to the highest priority to ensure the overall tonality of the score is consistent; or they can set line addition detection to the lowest priority to allow for temporary line addition, thus adapting to more dynamic score styles; or the system can automatically lower the priority of the beat detection rules based on the user's historical behavior (such as frequently ignoring abnormal prompts for beat detection), thereby dynamically adapting to the user's score editing habits.
[0095] In some embodiments, the detection rules include: tonality detection, beat detection, harmony detection, melody detection, tempo detection, pitch rules, chord detection, stepwise priority detection, and / or augmented line detection.
[0096] Stepwise priority detection can refer to prioritizing the temporary position with a smaller interval span (such as only one scale difference) compared to the previous note when choosing between two temporary positions as the intended position.
[0097] Preferably, when stepwise priority detection is applied, the closer the interval between the element to be edited and the previous note, the higher the score; the farther the interval, the lower the score.
[0098] For example, if temporary position A is determined to be the intended position, the relationship between the element to be edited and the previous note is stepwise; if temporary position B is determined to be the intended position, the relationship between the element to be edited and the previous note is leapwise (i.e., a large interval span); in this case, according to the stepwise priority detection rule, temporary position A will receive a higher score, corresponding to a higher priority, and is more likely to be used as the final intended position.
[0099] It should be understood that during the sheet music editing process, when a user's dragging operation results in multiple possible temporary positions, it may indicate that their intention is unclear. In this case, a stepwise priority detection rule can be used, taking the naturalness and coherence of the melody as the core decision-making basis, prioritizing temporary positions that form a stepwise relationship with the preceding and following notes. This not only aligns with the general rules of melody composition, ensuring the smoothness and fluency of musical phrases, but also provides reliable references for hesitant or inexperienced users at the interactive level. By automatically recommending options that better fit the context of the musical phrase, it plays a role in assisting the creation process, helping users quickly create choices that conform to music theory, thereby improving the efficiency of sheet music editing and the creative experience.
[0100] Among them, the addition line detection can mean that if a new spectral line 7 needs to be added when using one of the temporary positions, it means that the temporary line is not recommended as the intended line, so as to avoid adding lines without limit and causing difficulties in reading the spectrum.
[0101] Preferably, when applying line augmentation detection, the fewer spectral lines need to be added when adding the element to be edited, the higher the score; conversely, the more lines need to be added, the lower the score.
[0102] For example, if choosing temporary position C requires drawing an additional ledger line, but choosing temporary position D does not, then position D, which does not require a ledger line, can be chosen as the intended position. This ensures that the notation is as simple as possible while maintaining the basic pitch accuracy, thus avoiding the difficulty of reading the score due to excessive ledger lines.
[0103] In some embodiments, tonality detection can be an intelligent rule that ensures that the notes entered by the user conform to the scale relationships specified in the current key of the score (such as C major), in order to prevent out-of-key errors.
[0104] Preferably, when applying tone detection, the more the element to be edited conforms to the established tone requirements, the higher the score; conversely, the lower the score.
[0105] For example, if this temporary line is used as an intentional line, does it conform to the requirements of the key already formed in the current musical information (such as C major)?
[0106] In some embodiments, beat detection can be a rule that checks whether the sum of the time values of all notes and rests in each measure is strictly equal to the time value specified by the time signature, in order to prevent dragging or rushing the beat.
[0107] Preferably, when applying beat detection, the smaller the difference between the actual time value corresponding to the element to be edited and the specified time value of the determined beat number, the higher the score; conversely, the larger the difference, the lower the score.
[0108] For example, if the temporary line is used as the intention line, will it lead to a delay (such as exceeding the time value specified for the auction number) or a rush (not reaching the specified time value)?
[0109] In some embodiments, harmony detection can be used to analyze whether combinations of notes that are pronounced simultaneously or continuously conform to the rules of harmonic connection logic and consonance principles, in order to provide early warning of dissonant intervals or incorrect voice progressions.
[0110] Preferably, when applying harmony detection, the more the element to be edited conforms to the harmonic connection logic and the principle of consonance, the higher the score; conversely, the lower the score.
[0111] For example, in some embodiments, different harmonic rules are used for different musical styles, such as classical, jazz, or baroque.
[0112] In some embodiments, melody detection can be an intelligent rule that evaluates whether a sequence of notes flows smoothly, naturally, and stylistically consistently during performance, in order to optimize the musical expressiveness of the melody.
[0113] Preferably, when applying melody detection, the smoother the melody formed after adding the elements to be edited, the higher the score; conversely, the lower the score.
[0114] For example, in some embodiments, melody primarily refers to the changes in intervals within a musical score. An interval can refer to the pitch distance between two notes.
[0115] Specifically, melody detection can be used to detect whether large intervals in a melody are reversed. For example, if the span of an interval is greater than or equal to a certain threshold, the direction of movement of the next interval is checked. If, after a large interval, the next interval reverses rather than continues in the same direction (e.g., if the previous large interval was upward, the next interval is preferably downward), then melody detection can obtain a relatively high score, and the melody is generally considered more balanced and easier to perceive.
[0116] In some embodiments, tempo detection can be a normative rule that checks the tempo markings and terminology in a musical score to ensure they are logically sound and playably feasible, and to provide warnings of extreme or unrealistic tempo settings.
[0117] Preferably, when applying speed detection, the smaller the speed change, the higher the score; conversely, the larger the speed change, the lower the score.
[0118] For example, in some embodiments, tempo detection can detect whether tempo changes between adjacent passages are reasonable. For instance, if there is a significant difference in tempo markings between adjacent passages (such as a direct switch from Presto to Larghissimo), it may be an unreasonable tempo change in terms of mood and performance, and therefore a lower score may be given.
[0119] In some embodiments, note value rules can be the basic rules for verifying whether the note values themselves conform to compositional conventions (such as legato) and playability, and are used to identify and correct unreasonable combinations of note values.
[0120] Preferably, when applying pitch value detection, the more the pitch value conforms to compositional conventions, the higher the score; conversely, the lower the score.
[0121] For example, in some embodiments, for a group of notes labeled “triplets”, the sum of the durations of all the notes within it should be equal to the total duration of an equal number of regular notes in the same beat.
[0122] Alternatively, in some embodiments, the absolute duration (in seconds) of the shortest note is calculated at a given tempo. If this duration is less than the physiological limit (empirical threshold) that allows a human finger to play reliably and clearly, an alert is issued.
[0123] In some embodiments, chord detection can be a specialized rule for identifying whether a particular set of notes constitutes a named chord (such as a major triad or dominant seventh chord) and evaluating its connection canonicity, in order to assist in the correct construction of a harmonic framework.
[0124] Preferably, when applying chord detection, the element to be edited that best matches a chord combination receives a higher score; conversely, the less suitable the chord combination, the lower the score.
[0125] For example, in some embodiments, it can be identified whether the arrangement of chords on the piano is within a reasonable range of performance and hearing. Where the distance between voices is too great, it may result in a hollow, weak sound; where the distance is too small, it may result in a muddy, unclear sound.
[0126] Specifically, chord detection can include the following process: Identify a chord; for the identified chord (e.g., a C major triad), check the interval between its highest note (melody part) and the tenor part. If this interval exceeds an octave, it is marked as "part too wide," resulting in a relatively low score.
[0127] In some embodiments, if multiple recommendation rules are selected, a temporary location may receive multiple ratings. In this case, the average of the multiple ratings can be calculated and used as the final rating of the temporary location.
[0128] It should be understood that the detection rules mentioned in this invention can all be understood in conjunction with basic music theory knowledge, and will not be elaborated here.
[0129] Furthermore, users can customize the detection rules to suit different application scenarios or detection needs.
[0130] It should be noted that when the user's drag position is inaccurate or there are multiple reasonable temporary positions, this invention avoids forcing the user to make secondary adjustments, preventing the user from getting stuck in a dilemma or frequently making corrections and undoings. Instead, it automatically makes the optimal choice based on personalized recommendation rules (such as stepwise priority), lowering the threshold for sheet music editing, and is especially user-friendly for non-professional users. Furthermore, unlike general recommendations, this invention preferably configures the priority of the detection rules based on the user's own choices to better adapt to the user's personalized sheet music creation habits.
[0131] In some embodiments, see Figure 2 The function selection area includes: a shortcut operation area 1; the shortcut operation area 1 provides at least one of the following shortcut options: cursor movement option, element movement option, operation undo option, operation redo option, and delete option.
[0132] The cursor movement options (such as the "Move Cursor Back" option) are used to adjust the selected target element within the score writing area 4. For example, if the cursor 6 moves to an edited element, the edited element can be selected as an element to be edited.
[0133] In some embodiments, the cursor movement option is used to move the user's current editing position (or the element to be edited) by a fixed amount. For example, when the user triggers an operation signal (such as a mouse or touch screen click) in the "Move Cursor Back" option, the editing position can be moved from the current musical phrase to the corresponding position in the previous musical phrase (such as moving from the fourth beat of the current musical phrase to the fourth beat of the previous musical phrase).
[0134] The element movement option allows you to move the symbolic element 5 (including edited and unedited elements) by clicking, thereby changing its position on the score.
[0135] The "Undo" option is used to cancel the most recent or multiple editing operations, restoring the score to its state before editing.
[0136] The "Operation Restore" option allows you to re-execute the canceled editing operation after an undo operation, restoring the score to its state before the undo.
[0137] The delete option is used to remove one or more selected edited elements from the score writing area 4.
[0138] In some embodiments, please participate Figure 2 The function selection area provides a pitch adjustment area 3, which includes an indicator line and a slider on the indicator line. When the user slides the slider, the intended position of the element to be edited is determined according to the position of the slider on the indicator line.
[0139] It should be understood that the present invention allows users to precisely, quickly and without visual obstruction (such as the obstruction caused by a finger when touching the screen) fine-tune the pitch (i.e. the intention line where the element to be edited is located) by dragging a slider on the indicator line, thereby further improving the efficiency of the score editing operation and optimizing the user experience.
[0140] In some embodiments, see Figure 3 The present invention also proposes a digital music score editing system, comprising: The editing interface module provides a music score editing interface, which includes: a music score writing area 4 and a function selection area; wherein, the music score writing area 4 includes: multiple lines, and the multiple lines include: staff lines 7 and bar lines displayed in a first style, and multiple auxiliary lines 8 displayed in a second style, and the first style and the second style are different; the function selection area includes: an element selection area 2, and the element selection area 2 provides multiple ideographic elements 5; wherein, the ideographic element 5 has at least one key feature; The drag signal receiving module is used to identify the ideographic element 5 as an element to be edited when the user selects one of the ideographic elements 5, and to receive the drag signal from the user for the element to be edited. A pixel position determination module is used to determine the pixel position where the key feature is set based on the drag signal; An intent location determination module is used to determine the intent location based on the pixel location and spectral information; wherein the spectral information includes the coordinates of the line; wherein the intent location determination module includes: An intent line acquisition unit is used to acquire an intent line, wherein the intent line is the line adjacent to the pixel position; An intent location determination unit is used to determine the intent location based on the intent line; The element adding module is used to add the element to be edited to the score writing area 4 according to the intended position.
[0141] It should be understood that the digital music score editing system proposed in this invention can be used to implement the digital music score editing method described in any of the above embodiments, and will not be repeated here.
[0142] Beneficial technical effects: This invention provides a fuzzy operation mechanism for music score editing. Users only need to drag the ideographic element 5 to understand the user's operation intention (i.e., the user intends to place the note at the specific position and height in the music score writing area 4) through the conversion of pixel position-intention line-intention position. Thus, the ideographic element 5 can be placed more accurately through a simple and convenient operation.
[0143] From another perspective, this invention is particularly suitable for touch and gesture-operated touch interfaces. It eliminates the need for cumbersome operations that require high levels of expertise, such as inputting precise coordinates of musical notes. Through direct and simple operation steps (such as drag and drop), it greatly improves the smoothness of music composition, provides users with a more natural operating experience, and reduces the difficulty and learning threshold for users to edit music scores.
[0144] Alternatively, this invention also provides a convenient way for professional piano arrangers to arrange music, giving users enough freedom to unleash their inspiration while ensuring the basic accuracy of the arrangement based on personalized testing rules, thus allowing users to focus more of their attention and time on the artistic creation itself.
[0145] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0146] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a computer terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0147] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.
[0148] In some embodiments, this application also provides a schematic block diagram of the structure of a computer device, please see... Figure 4 Computer programs can be used in situations such as Figure 4 It runs on the computer device shown. Figure 4 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The memory may include a non-volatile storage medium and internal memory. The non-volatile storage medium may store an operating system and a computer program. The computer program includes program instructions that, when executed, cause the processor to perform the digital music score editing method described in any embodiment. The processor provides computational and control capabilities to support the operation of the entire computer device. The internal memory provides an environment for the execution of the computer program in the non-volatile storage medium. When executed by the processor, the computer program causes the processor to perform the digital music score editing method described in any embodiment. The network interface is used for network communication, such as sending assigned tasks. Those skilled in the art will understand that... Figure 4The structures shown are merely block diagrams of a portion of the structure related to the present application and do not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than shown in the figures, or combine certain components, or have different component arrangements. It should be understood that the processor may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
Claims
1. A method for quickly operating musical scores, characterized in that, Including the following steps: S201 provides a music score editing interface, which includes: a music score writing area and a function selection area; wherein, the music score writing area includes: multiple lines, and the multiple lines include: staff lines and bar lines displayed in a first style, and multiple auxiliary lines displayed in a second style, wherein the first style and the second style are different; the function selection area includes: an element selection area, and the element selection area provides multiple ideographic elements; wherein, the ideographic elements have at least one key feature; wherein, the ideographic elements include at least one of note, rest, and performance technique marking; the key feature includes at least one of notehead, accidental, and dotted note; S202, when the user selects one of the semantic elements, the semantic element is identified as the element to be edited, and the user's drag signal for the element to be edited is received; S203, determine the pixel position where the key feature is set based on the drag signal; S204, determine the intended position based on the pixel position and spectral information; wherein, the spectral information includes: the coordinates of the line; wherein, S204 includes: S2041, Obtain the intention line, wherein the intention line is the line adjacent to the pixel position; S2042, Determine the intention position based on the intention line; S205, add the element to be edited to the score writing area according to the intended position.
2. The method according to claim 1, characterized in that, The music score editing area includes: pre-added edited elements, which are displayed in a first form, and the elements to be edited are displayed in a second form.
3. The method according to claim 2, characterized in that, S2041 includes: Identify temporary lines adjacent to the key feature, wherein the temporary line is a spectral line or auxiliary line whose distance from the key feature is less than a preset distance threshold; When two temporary lines exist, two temporary positions are generated based on the two temporary lines. The temporary location is scored using recommendation rules; Select the temporary line corresponding to the temporary position with the higher score as the intention line.
4. The method according to claim 3, characterized in that, S2041 includes the following steps: Multiple detection rules are provided, and the detection rules are set with detection priorities; The detection rule corresponding to the priority is selected as the recommended rule.
5. The method according to claim 4, characterized in that, The priority is set by user data.
6. The method according to claim 4, characterized in that, The detection rules include: tonality detection rules, meter detection rules, harmony detection rules, melody detection rules, tempo detection rules, pitch value detection rules, chord detection rules, stepwise priority detection rules, and / or augmented line detection rules.
7. The method according to claim 1, characterized in that, The style is defined by at least one visual element, which includes color, brightness, or line width.
8. The method according to claim 1, characterized in that, The function selection area includes a shortcut operation area; the shortcut operation area provides at least one of the following shortcut options: cursor movement option, element movement option, operation undo option, operation redo option, and delete option.
9. The method according to claim 1, characterized in that, The function selection area provides a pitch adjustment area, which includes an indicator line and a slider on the indicator line. When the user slides the slider, the intended position of the element to be edited is determined according to the position of the slider on the indicator line.
10. A music score shortcut operating system, characterized in that, include: The editing interface module provides a music score editing interface, which includes: a music score writing area and a function selection area; wherein, the music score writing area includes: multiple lines, and the multiple lines include: staff lines and bar lines displayed in a first style, and multiple auxiliary lines displayed in a second style, wherein the first style and the second style are different; the function selection area includes: an element selection area, and the element selection area provides multiple ideographic elements; wherein, the ideographic elements have at least one key feature; wherein, the ideographic elements include at least one of note, rest, and performance technique marking; the key feature includes at least one of notehead, accidental, and dotted note; The drag signal receiving module is used to identify the ideographic element as an element to be edited when the user selects one of the ideographic elements, and to receive the drag signal from the user for the element to be edited. A pixel position determination module is used to determine the pixel position where the key feature is set based on the drag signal; An intent location determination module is used to determine the intent location based on the pixel location and spectral information; wherein the spectral information includes the coordinates of the line; wherein the intent location determination module includes: An intent line acquisition unit is used to acquire an intent line, wherein the intent line is the line adjacent to the pixel position; An intent location determination unit is used to determine the intent location based on the intent line; The element adding module is used to add the element to be edited to the score writing area according to the intended position.