CN110544411B - Staff fingering quick marking method and system - Google Patents

Staff fingering quick marking method and system Download PDF

Info

Publication number
CN110544411B
CN110544411B CN201910826578.5A CN201910826578A CN110544411B CN 110544411 B CN110544411 B CN 110544411B CN 201910826578 A CN201910826578 A CN 201910826578A CN 110544411 B CN110544411 B CN 110544411B
Authority
CN
China
Prior art keywords
fingering
staff
note
labeling
sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910826578.5A
Other languages
Chinese (zh)
Other versions
CN110544411A (en
Inventor
王晓伟
管伯良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
September Music Technology Beijing Co ltd
Original Assignee
September Music Technology Beijing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by September Music Technology Beijing Co ltd filed Critical September Music Technology Beijing Co ltd
Priority to CN201910826578.5A priority Critical patent/CN110544411B/en
Publication of CN110544411A publication Critical patent/CN110544411A/en
Application granted granted Critical
Publication of CN110544411B publication Critical patent/CN110544411B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B15/00Teaching music

Abstract

The invention relates to a staff notation quick marking method and a staff notation quick marking system, which comprise the following steps: s1: converting the music score information to be played into music score data in MusicXML format; s2: analyzing the music score MuiscXML data to generate a fingering marking position of each note, wherein the fingering marking position is positioned above the note head and is not overlapped with the staff; s3: generating fingering position sequences of all notes of each vocal part; s4: inputting the fingering mark symbol corresponding to each note into the corresponding fingering position sequence, and displaying the fingering mark symbol on the fingering position. The method has the advantages of accurate marking position, high marking efficiency, high speed, easy modification and the like, is suitable for different playing modes, and has wide application prospect.

Description

Staff fingering quick marking method and system
Technical Field
The invention relates to the technical field of music basic education, in particular to a staff fingering quick labeling method and a staff fingering quick labeling system.
Background
In the field of instrumental music teaching of music, the performance of keyboard instruments needs to perform staff according to a certain fingering rule, and the purchased staff is not marked with fingering and needs to be guided by teachers to perform according to the specified fingering requirements. The traditional fingering method is that a teacher uses a pen to perform fingering on a paper music score, usually, a number sequence of 1, 2, 3, 4 and 5 is adopted to mark each finger, and then a student plays according to the marked sequence. The teacher needs to repeat the labeling for different students.
With the application of computer technology to the music industry, electronic music scores, i.e., traditional paper music scores, have been developed. Technical staff can label fingering together when making electronic music scores, but the labeling process requires a music score maker to drag labeled fingering symbols to corresponding note positions continuously, so that the operation is very complicated. And after the labeling is finished, the fingering on the exported electronic music score is fixed and cannot be modified. Such techniques ignore the problem that fingering habits of different people for the same piece of music may be different, and thus such labeling methods are too rigid to be suitable for all people.
Of course, some software labels the music score in a man-machine interaction manner, for example, drawing on the music score with a stylus or a finger, but the use of these software functions is not very friendly. Firstly, the marking position is not accurate enough, and the marked fingering mark is not beautiful enough; secondly, the modification is difficult, and a virtual eraser is needed for wiping modification, which is not much different from wiping the paper music score by using a traditional eraser.
Disclosure of Invention
In order to solve the technical problem, the invention provides a staff fingering fast labeling method which can realize fast input fingering on an electronic music score and can be repeatedly modified without influencing the neatness of a staff surface.
The invention provides the following technical scheme:
a staff notation quick labeling method comprises the following steps:
s1: converting the music score information to be played into music score data in MusicXML format;
s2: analyzing the music score MuiscXML data to generate a fingering marking position of each note, wherein the fingering marking position is positioned above the note head and is not overlapped with the staff;
s3: generating fingering position sequences of all notes of each vocal part;
s4: inputting the fingering mark symbol corresponding to each note into the corresponding fingering position sequence, and displaying the fingering mark symbol on the fingering position.
Preferably, step S2 includes the steps of:
s21: analyzing the staff MuiscXML file through an XML analysis library to obtain electronic data information of the staff;
s22: traversing each note from beginning to end according to different vocal parts, extracting coordinate information of each note in the staff and the vocal part of each note, grouping according to x coordinate information, and if the x coordinates are the same, dividing into the same group, and finally obtaining different x-axis coordinate grouping sequences;
s23: and extracting the y coordinate value of each note head in each x-axis coordinate grouping sequence, comparing the y coordinate value with the y coordinate value of the fifth line of the staff, and then generating the fingering marking position of each note.
Preferably, if the y coordinate value of the note head in the x-axis coordinate grouping sequence is smaller than the y coordinate value of the fifth line, the fingering marking position of the note is the y coordinate value + position floating value of the fifth line; if the y coordinate value of the note head in the x-axis coordinate grouping sequence is larger than the y coordinate value of the fifth line, the fingering marking position of the note is the y coordinate value + the position floating value of the note head.
Preferably, the position floating value is 1-3 pixel points.
Preferably, in the same x-axis coordinate grouping sequence, fingering marking positions of corresponding notes are sequentially determined according to the sequence from small to large of y coordinate values of the notes, and the subsequent fingering marking position is 1-3 pixel points higher than the adjacent previous fingering marking position.
Preferably, step S3 includes: and extracting fingering labeling positions of the same x-axis coordinate grouping sequence to generate a fingering position sequence.
Preferably, step S4 includes the steps of:
s41: correspondingly allocating a fingering mark symbol to each finger;
s42: and entering a fingering position sequence, inputting corresponding fingering marks according to the notes on the staff and the set playing fingering, and displaying the fingering marks at the corresponding fingering marks.
Preferably, after the labeling of the current fingering position sequence is completed, the fingering input cursor automatically enters the next group of sequences, and then the user continues to label until the labeling of the last group of sequences is completed.
Preferably, the fingering label is information that can be deleted, and the user deletes the fingering label that has been input by the deletion instruction for re-labeling.
According to another aspect of the present invention, there is provided a staff notation fast labeling system, comprising a processor and a memory, wherein the memory stores computer program instructions, and the computer program instructions are executed by the processor to execute the staff notation fast labeling method.
The traditional dragging fingering marking is slow in speed and poor in accuracy of marking positions. Because the fingering is input in a virtual keyboard playing mode, the method has the advantages of accurate marking position, high marking efficiency, high speed, easy modification and the like, is suitable for different playing modes, and has wide application prospect.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention;
FIG. 2 is a diagram of an exemplary first music score of the present invention;
FIG. 3 is a diagram of an example of a music score of the present invention;
FIG. 4 is a diagram of an example of a music score of the present invention;
FIG. 5 is a schematic diagram of the present invention during fast staff notation.
Detailed Description
The invention is further illustrated by the following figures and examples.
As shown in fig. 1, a staff notation fast labeling method includes the following steps:
s1: converting the music score information to be played into music score data in MusicXML format;
s2: analyzing the music score MuiscXML data to generate a fingering marking position of each note, wherein the fingering marking position is positioned above the note head and is not overlapped with the staff, and the method specifically comprises the following steps:
s21: analyzing the staff MuiscXML file through an XML analysis library to obtain electronic data information of the staff;
s22: traversing each note from beginning to end according to different vocal parts, extracting coordinate information of each note in the staff and the vocal part of each note, grouping according to x coordinate information, and if the x coordinates are the same, dividing into the same group, and finally obtaining different x-axis coordinate grouping sequences;
s23: extracting the y coordinate value of each note head in each x-axis coordinate grouping sequence, comparing the y coordinate value with the y coordinate value of the fifth line of the staff, and then generating the fingering marking position of each note, wherein the specific judgment standard is as follows:
if the y coordinate value of the note head in the x-axis coordinate grouping sequence is smaller than the y coordinate value of the fifth line, as shown in fig. 2, the fingering position of the note is the y coordinate value + the position floating value of the fifth line. The position float value generally selects 1-3 pixels.
If the y coordinate value of the note head in the x-axis coordinate grouping sequence is greater than the y coordinate value of the fifth line, as shown in fig. 3, the fingering position of the note is the y coordinate value + position floating value of the note head. The position float value generally selects 1-3 pixels.
For chord notes, as shown in fig. 4, the chord notes are in the same x-axis coordinate grouping sequence, and at this time, fingering labeling positions of corresponding notes are sequentially determined according to the sequence from small to large of y coordinate values of the note heads, the minimum y coordinate value is used as an initial labeling position, and the large y coordinate value is sequentially determined as a labeling position from bottom to top. Gaps of 1-3 pixel points are formed between adjacent method labeling positions.
S3: and extracting fingering labeling positions of the same x-axis coordinate grouping sequence to generate a fingering position sequence.
S4: inputting the fingering mark symbol corresponding to each note into the corresponding fingering position sequence, and displaying the fingering mark symbol on the fingering mark position, wherein the method specifically comprises the following steps:
s41: correspondingly allocating a fingering mark symbol to each finger;
s42: and entering a fingering position sequence, inputting corresponding fingering marks according to the notes on the staff and the set playing fingering, and displaying the fingering marks at the corresponding fingering marks.
And if the current fingering position sequence is labeled, automatically entering the next group of sequences by the fingering input cursor, and continuing labeling by the user until the last group of sequences is labeled.
It is particularly noted that the fingering callout is information that can be deleted, and the user deletes the fingering callout that has been input through a delete instruction and marks again.
Example 1
The method of the embodiment comprises the following steps:
the method comprises the following specific steps:
1. music scores are made through file software, and music score data in a MusicXML format is derived from the printed music scores.
2. And uploading the MuiscXML format data of the music score to a server.
3. Selecting a certain music by using a control terminal (such as iPad), and requesting music score data from a server.
4. After receiving the request, the server starts to analyze the music score MuiscXML data to generate a fingering marking position of each note, the fingering is generally marked above the note head and is not superposed with the staff, one key of the invention is to calculate the highest point (note head position) of each note, and how to calculate the highest point of the combined note when a plurality of notes are combined together (such as chord), the calculation process is as follows:
a) and analyzing the staff MuiscXML file through an XML analysis library of Python to obtain the electronic data information of the staff.
b) And extracting the coordinates and the sound parts of each note in the staff from the MuiscXML, grouping according to the coordinates of X, and if the coordinates of X are the same, dividing into the same group.
c) And traversing each note from beginning to end according to different vocal parts, grouping according to the coordinates of X, and if the coordinates of X are the same, grouping into the same group so as to obtain a sequence grouped by the coordinates of X.
d) Traversing each group from head to tail according to the X sequence generated in the step c, if the current group has only 1 note, obtaining the head position of the note in the staff, if the head of the current note is in the staff (as shown in fig. 2), taking the Y value of the uppermost part of the staff, namely the 5 th line, as the peak of the group of notes, and if the head is on the 5 th line of the staff or above the staff (as shown in fig. 3), taking the Y value of the note head as the peak of the group of notes; if there are multiple notes currently grouped (as shown in FIG. 4), the note with the highest Y value in the set of notes is taken as the highest point of the set of notes. The highest point should be understood as referring to the starting position of the nominal marking.
5. The sequence of fingered positions for each group of notes in each part (a line of staff, i.e., a part) is generated according to step 4.
6. And loading the music score picture exported by file, and opening a fingering virtual keyboard marked by the user, as shown in fig. 5.
7. The input cursor of the fingering keyboard initially stays on the first group of notes of the first vocal part, and the fingering keyboard comprises 5 fingering marks which are respectively as follows: 1. 2, 3, 4 and 5, which finger is used to play (for example, the relationship with the right finger is thumb, index finger, middle finger, ring finger and little finger).
8. And the user uses the fingers to be played to strike the corresponding fingering mark symbols on the virtual keyboard according to the musical notes on the staff.
9. The system labels the same set of notes according to the label struck by the user, from the highest point of the set of notes (obtained by step 4), in the order from bottom to top.
10. And the user continuously taps the fingering keyboard, if the fingering of the currently grouped notes is full, the fingering cursor automatically enters the next group of notes, and then the user continues to label the notes until the last group of notes.
11. If the user taps the virtual keyboard in error, the user can click a delete key to delete the finger method just entered.
12. The whole process is similar to that the user performs one-time performance on a virtual keyboard sample by looking at the music score.
13. After fingering is recorded, clicking and storing are carried out, the recorded fingering can be labeled with a name, and the name can be shared by multiple users. The input fingering information is stored in an XML data format, and is convenient to modify and copy. And can be resolved on different systems.
14. The shared users can automatically load the shared fingering marks when the users punch the own music scores.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention are equivalent to or changed within the technical scope of the present invention.

Claims (7)

1. A staff notation quick labeling method comprises the following steps:
s1: converting the music score information to be played into music score data in MusicXML format;
s2: analyzing the music score MuiscXML data to generate a fingering marking position of each note, wherein the fingering marking position is positioned above the note head and is not overlapped with the staff;
s3: generating fingering position sequences of all notes of each vocal part;
s4: inputting the fingering mark symbol corresponding to each note into the corresponding fingering position sequence, and displaying the fingering mark symbol on the fingering position;
step S4 includes the following steps:
s41: correspondingly allocating a fingering mark symbol to each finger;
s42: loading a music score picture derived from file, opening a fingering virtual keyboard marked by a user, entering a fingering position sequence, inputting a corresponding fingering mark symbol according to a set fingering method and musical notes on a staff, and displaying the fingering mark symbol at a corresponding fingering mark position;
if the current fingering position sequence is marked, the fingering input cursor automatically enters the next group of sequences, and then the user continues marking until the last group of sequences is marked;
the fingering annotation symbols are information which can be deleted, and the user deletes the fingering annotation symbols which are input through a deleting instruction and labels again.
2. The staff notation quick labeling method of claim 1, wherein the step S2 comprises the steps of:
s21: analyzing the staff MuiscXML file through an XML analysis library to obtain electronic data information of the staff;
s22: traversing each note from beginning to end according to different vocal parts, extracting coordinate information of each note in the staff and the vocal part of each note, grouping according to x coordinate information, and if the x coordinates are the same, dividing into the same group, and finally obtaining different x-axis coordinate grouping sequences;
s23: and extracting the y coordinate value of each note head in each x-axis coordinate grouping sequence, comparing the y coordinate value with the y coordinate value of the fifth line of the staff, and then generating the fingering marking position of each note.
3. The staff fingering quick labeling method according to claim 2, wherein if the y coordinate value of the note head in the x-axis coordinate grouping sequence is smaller than the y coordinate value of the fifth line, the fingering labeling position of the note is the y coordinate value of the fifth line + the position floating value; if the y coordinate value of the note head in the x-axis coordinate grouping sequence is larger than the y coordinate value of the fifth line, the fingering marking position of the note is the y coordinate value + the position floating value of the note head.
4. The staff notation fingering fast labeling method according to claim 3, characterized in that in the same x-axis coordinate grouping sequence, fingering labeling positions of corresponding notes are determined in sequence from small to large according to the y coordinate values of the notes' heads, and the subsequent fingering labeling position is 1-3 pixel points higher than the adjacent previous fingering labeling position.
5. The method for fast labeling by staff notation as claimed in claim 3 or 4, wherein said position floating value is 1-3 pixel points.
6. The staff notation quick labeling method of claim 1, wherein step S3 comprises: and extracting fingering labeling positions of the same x-axis coordinate grouping sequence to generate a fingering position sequence.
7. A staff notation fast labeling system, comprising a processor and a memory, wherein the memory stores computer program instructions, and the computer program instructions are used for executing any one of the staff notation fast labeling methods 1-6 when the processor runs.
CN201910826578.5A 2019-09-03 2019-09-03 Staff fingering quick marking method and system Active CN110544411B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910826578.5A CN110544411B (en) 2019-09-03 2019-09-03 Staff fingering quick marking method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910826578.5A CN110544411B (en) 2019-09-03 2019-09-03 Staff fingering quick marking method and system

Publications (2)

Publication Number Publication Date
CN110544411A CN110544411A (en) 2019-12-06
CN110544411B true CN110544411B (en) 2020-10-02

Family

ID=68711063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910826578.5A Active CN110544411B (en) 2019-09-03 2019-09-03 Staff fingering quick marking method and system

Country Status (1)

Country Link
CN (1) CN110544411B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022143679A1 (en) * 2020-12-28 2022-07-07 新加坡鱼尾狮音乐教育品牌有限公司 Sheet music analysis and marking method and apparatus, and electronic device
CN112579818B (en) * 2020-12-29 2021-08-13 玖月音乐科技(北京)有限公司 Staff voice annotation method and system
CN113362788A (en) * 2021-06-03 2021-09-07 北京洲洋华乐科技有限公司 Program, method, apparatus, and computer-readable storage medium for generating fingerboard
CN113516999A (en) * 2021-07-05 2021-10-19 武汉市景明云乐网络科技有限公司 Method for demonstrating instrumental fingering and intelligently scoring
CN116343720B (en) * 2023-04-10 2023-11-21 广州感音科技有限公司 Multi-sound part music score note grouping method, system, medium and computer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1343130A2 (en) * 2002-03-08 2003-09-10 Yamaha Corporation Apparatus, method and computer program for controlling music score display to meet user's musical skill
US7453036B1 (en) * 2007-06-05 2008-11-18 Beverly Henkel System and method for teaching piano
CN101556742A (en) * 2001-10-20 2009-10-14 哈尔·C·索尔特 An interactive game providing instruction in musical notation and in learning an instrument

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080163742A1 (en) * 2007-01-09 2008-07-10 Oliver Janet L Rainbow method for stringed instruments
CN101814247A (en) * 2009-12-12 2010-08-25 张汉钟 Comprehensive prompting method for teaching of fingering instruments such as piano and the like
CN103150940B (en) * 2013-03-17 2015-11-04 浙江大学 A kind of keyboard instrument teaching system and teaching method
US9406241B2 (en) * 2013-04-10 2016-08-02 Peter Declan Cosgrove Apparatus and method of teaching musical notation
CN103646247B (en) * 2013-09-26 2016-11-23 惠州学院 A kind of music score recognition method
TW201719628A (en) * 2015-11-27 2017-06-01 Hai Ma Music Studio Co Ltd Music score production method with fingering marks and system for the same allowing a player to perform by referring to fingering marks
CN108806394A (en) * 2018-05-23 2018-11-13 朱风明 A kind of piano playing software fingering display methods and fingering storage device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556742A (en) * 2001-10-20 2009-10-14 哈尔·C·索尔特 An interactive game providing instruction in musical notation and in learning an instrument
EP1343130A2 (en) * 2002-03-08 2003-09-10 Yamaha Corporation Apparatus, method and computer program for controlling music score display to meet user's musical skill
US7453036B1 (en) * 2007-06-05 2008-11-18 Beverly Henkel System and method for teaching piano

Also Published As

Publication number Publication date
CN110544411A (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN110544411B (en) Staff fingering quick marking method and system
JP3927407B2 (en) Method and system for writing common music notation (CMN) using a digital pen
Forsberg et al. The music notepad
CN105830011B (en) For overlapping the user interface of handwritten text input
CN109906431B (en) Action-enabled inking tool
JP2006065754A (en) Information processor, information processing method, and program
Anstice et al. The design of a pen-based musical input system
CN101667173A (en) Music numerical notation input editing system
JP6136967B2 (en) Information processing system, information processing method, and program
CN111492423B (en) Keyboard for creating music score
CN108806394A (en) A kind of piano playing software fingering display methods and fingering storage device
CN102339535A (en) System and method for learning text
Ng et al. Improvements to a pen-based musical input system
JP4802689B2 (en) Information recognition apparatus and information recognition program
WO2000034942A1 (en) Method and system for recognizing musical notations using a compass-direction user interface
US20160300554A1 (en) Musical score displaying and performing program, and musical score displaying and performing device
US20090111077A1 (en) Computerized system and method using a symbolic language for dance
JP4613817B2 (en) Fingering display device and program
JP5324193B2 (en) Music score display apparatus, music score display method and program
KR102228019B1 (en) Guitar learning system using augmented reality
KR102569219B1 (en) Instrument Performance Tracking Systems and Methods
US11880507B1 (en) Automated musical-score-referenced evaluation of haptic-based rhythmic performance
JP4963633B2 (en) Information processing apparatus and information processing method
JP2000338952A (en) Character animation editing device and character animation reproduction display device
Tan et al. MusicFlow: an interactive music composition system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant