CN108389468A - A kind of error correction method and device that note is played - Google Patents

A kind of error correction method and device that note is played Download PDF

Info

Publication number
CN108389468A
CN108389468A CN201810182961.7A CN201810182961A CN108389468A CN 108389468 A CN108389468 A CN 108389468A CN 201810182961 A CN201810182961 A CN 201810182961A CN 108389468 A CN108389468 A CN 108389468A
Authority
CN
China
Prior art keywords
current
note
user
piano key
plays
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.)
Pending
Application number
CN201810182961.7A
Other languages
Chinese (zh)
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.)
Anhui Huasha Technology Co Ltd
Original Assignee
Anhui Huasha Technology 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 Anhui Huasha Technology Co Ltd filed Critical Anhui Huasha Technology Co Ltd
Priority to CN201810182961.7A priority Critical patent/CN108389468A/en
Publication of CN108389468A publication Critical patent/CN108389468A/en
Pending legal-status Critical Current

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education

Abstract

The invention discloses a kind of error correction method and device that note is played, method includes:Obtain the corresponding midi files of song to be played;Using midi protocol analysis midi files, the staff of song to be played is restored;For each note in staff, the identification information that user plays the current piano key pressed when current note is obtained;According to the difference between the identification information of current piano key and the identification information of the corresponding target piano key of current note, judge whether the current piano key that user presses is correct;If so, display current note plays correct information;If it is not, display current note plays the information of mistake;It sets next note of current note to current note, and executes and obtain the step of user plays the identification information for the current piano key pressed when current note.Using the embodiment of the present invention, carry out error correction can be played to note.

Description

A kind of error correction method and device that note is played
Technical field
The present invention relates to a kind of the note playing method and device of intelligent piano, be more particularly to that a kind of note plays entangles Wrong method and device.
Background technology
As the improvement of people's living standards, people are in terms of pursuing except material life and more and more to pursue spirit It enjoys, especially in the enjoyment of connection music.Piano is also increasingly liked by people as the representative of classical musical instrument, learns steel The people of qin is also more and more.
When learning piano, in order to ensure learning effect, need whether correctly to judge the happy symbol played, for one It is can not be very accurate and quickly to judge whether the note played is correct for a new hand.Therefore, it is necessary to piano teachers to exist One side error correction.But in practical applications, some students have the demand be in and practiced on the piano, piano teacher that can not possibly follow every One student is to student's family error correction, therefore, plays progress error correction to note and is a technical problem to be solved urgently.
Invention content
Technical problem to be solved by the present invention lies in a kind of error correction method and device that note is played is provided, to reach The purpose for carrying out error correction is played to note.
The present invention is to solve above-mentioned technical problem by the following technical programs:
An embodiment of the present invention provides a kind of error correction method that note is played, the method includes:
Obtain the corresponding midi files of song to be played;
Using midi files described in midi protocol analysis, the staff of the song to be played is restored;
For each note in the staff, obtains user and play the current piano key pressed when current note Identification information;
According to the mark of the identification information of the current piano key and the corresponding target piano key of the current note Difference between information judges whether the current piano key that the user presses is correct, wherein the target piano is pressed Key is corresponding piano key when the current note is correctly played;
If so, showing that the current note plays correct information;
If it is not, showing that the current note plays the information of mistake;
It sets next note of the current note to current note, and executes the acquisition user and play current note When press current piano key identification information the step of.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, it is described judge that the user presses described in The whether correct judging result of current piano key is in the case of being, the method further includes:
It obtains the user and presses corresponding current start time and the current note correspondence when the current button Targeted start times;
According to the difference between the current start time and the targeted start times, judge the user whether in institute It states targeted start times and presses the current piano key;
If so, executing the display current note plays correct information;
If it is not, executing the information that the display current note plays mistake.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, it is described judge that the user presses described in The whether correct judging result of current piano key is in the case of being, the method further includes:
Corresponding current finish time and the current note when user discharges the current button is obtained to correspond to Target finish time;
According to the difference between the current finish time and the target finish time, judge the user whether in institute State the target finish time release current piano key;
If so, executing the display current note plays correct information;
If it is not, executing the information that the display current note plays mistake.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, it is described judge that the user presses described in The whether correct judging result of current piano key is in the case of being, the method further includes:
It obtains the user to press corresponding current start time when the current button, user's release is described current Corresponding current finish time and the current note corresponding note duration information when button;
According to the current start time and the current finish time, being pressed for the current piano key is calculated Duration;
According to the duration of the current piano key being pressed note duration information corresponding with the current note Difference, judges whether the user plays correctly the duration of the current note;
If so, executing the display current note plays correct information;
If it is not, executing the information that the display current note plays mistake.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, the method further includes:
For each note, according to the corresponding each corresponding weight of assessment item of the current note and the current sound The scoring score value of symbol calculates the user and plays the corresponding scoring of the current note, wherein the assessment item includes:With Whether the current piano key that family is pressed correct, user whether the targeted start times press the current piano by Whether key, user in the target finish time discharge the duration of the current piano key and user to the current note Whether play correct;
According to the summation of the corresponding scoring of each note, calculates user and play the corresponding score of the song to be played.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, the method further includes:According to user's bullet Play correct note quantity and the song to be played in include note quantity ratio, calculate what the user played The accuracy of note.
The embodiment of the present invention additionally provides a kind of error correction device that note is played, and described device includes:First acquisition module, Recovery module, the second acquisition module, the first judgment module, the first display module, the second display module and setup module, wherein
First acquisition module, for obtaining the corresponding midi files of song to be played;
The recovery module, for using midi files described in midi protocol analysis, restoring the song to be played Staff;
Second acquisition module, for for each note in the staff, obtaining user and playing current note When the identification information of current piano key pressed;
First judgment module, for being corresponded to according to the identification information of the current piano key and the current note Target piano key identification information between difference, judge the current piano key that the user presses whether just Really, wherein the target piano key is corresponding piano key when the current note is correctly played;
First display module, in the case where the judging result of first judgment module is to be, showing institute It states current note and plays correct information
Second display module, in the case where the judging result of first judgment module is no, showing institute State the information that current note plays mistake;
The setup module for setting next note of the current note to current note, and triggers second and obtains Modulus block.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, described device further includes:Third acquisition module and Second judgment module, wherein
The third acquisition module, when for obtaining corresponding current beginning when the user presses the current button Quarter and the corresponding targeted start times of the current note;
Second judgment module, for according to the difference between the current start time and the targeted start times It is different, judge whether the user in the targeted start times presses the current piano key;
First display module is additionally operable in the case where the judging result of second judgment module is to be, display The current note plays correct information
Second display module is additionally operable in the case where the judging result of second judgment module is no, display The current note plays the information of mistake.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, described device further includes:4th acquisition module and Third judgment module, wherein
4th acquisition module, for obtain when the user discharges the current button it is corresponding it is current at the end of Quarter and the current note corresponding target finish time;
The third judgment module, for according to the difference between the current finish time and the target finish time It is different, judge the user whether in the target finish time release current piano key;
First display module is additionally operable in the case where the judging result of the third judgment module is to be, display The current note plays correct information
Second display module is additionally operable in the case where the judging result of the third judgment module is no, display The current note plays the information of mistake.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, described device further includes:5th acquisition module, Computing module, the 4th judgment module, wherein
5th acquisition module, when for obtaining corresponding current beginning when the user presses the current button It carves, corresponding current finish time and when the current note corresponding note when the user discharges the current button Value information;
The computing module calculates the current piano according to the current start time and the current finish time The duration of button being pressed;
4th judgment module, for according to the duration being pressed of the current piano key and the current note The difference of corresponding note duration information, judges whether the user plays correctly the duration of the current note;
First display module is additionally operable in the case where the judging result of the 4th judgment module is to be, display The current note plays correct information
Second display module is additionally operable in the case where the judging result of the 4th judgment module is no, display The current note plays the information of mistake.
The present invention has the following advantages compared with prior art:
Using the embodiment of the present invention, when the current piano key that user presses is not correct target piano key, Display note plays the information of mistake, and carry out error correction can be played to note.
Description of the drawings
Fig. 1 is the flow diagram for the error correction method that the first note provided in an embodiment of the present invention is played;
Fig. 2 is the flow diagram for the error correction method that second of note provided in an embodiment of the present invention is played;
Fig. 3 is the flow diagram for the error correction method that the third note provided in an embodiment of the present invention is played;
Fig. 4 is the flow diagram for the error correction method that the 4th kind of note provided in an embodiment of the present invention is played;
Fig. 5 is the flow diagram for the error correction method that the 5th kind of note provided in an embodiment of the present invention is played;
Fig. 6 is the structural schematic diagram for the error correction device that the first note provided in an embodiment of the present invention is played;
Fig. 7 is the structural schematic diagram for the error correction device that second of note provided in an embodiment of the present invention is played;
Fig. 8 is the structural schematic diagram for the error correction device that the third note provided in an embodiment of the present invention is played;
Fig. 9 is the structural schematic diagram for the error correction device that the 4th kind of note provided in an embodiment of the present invention is played.
Specific implementation mode
It elaborates below to the embodiment of the present invention, the present embodiment is carried out lower based on the technical solution of the present invention Implement, gives detailed embodiment and specific operating process, but protection scope of the present invention is not limited to following implementation Example.
To solve prior art problem, an embodiment of the present invention provides a kind of error correction method and device that note is played, under First just a kind of error correction method that note is played provided in an embodiment of the present invention is introduced kept man of a noblewoman.
The embodiment of the present invention is preferably applied to intelligent piano.
Fig. 1 is the flow diagram for the error correction method that the first note provided in an embodiment of the present invention is played, such as Fig. 1 institutes Show, the method includes:
S101:Obtain the corresponding midi files of song to be played.
Specifically, should be stored before user plays song to be played, in intelligent piano need to be played song it is corresponding Midi (Musical Instrument Digital Interface, musical instrument digital interface) file.The midi files can be User is copied to by flash disk in intelligent piano, the midi texts that can also be obtained by internet by user's operation intelligence piano Part.
It is understood that midi files be made according to midi agreements, can be by the music file of machine recognition.
S102:Using midi files described in midi protocol analysis, the staff of the song to be played is restored.
Intelligent piano parses the midi files in S101 steps according to pre-set midi agreements in itself, Parse staff, user be then shown to by display screen, user according to the staff of display to the note in staff into Row is played.
S103:For each note in the staff, obtains user and play the current piano pressed when current note The identification information of button.
Specifically, it includes note 1, note 2, note 3, note 4, note 5, note 6, note to assume song to be played successively 7 and note 8.Intelligent piano according to pitch 21-108 there are 88 piano keys, each piano key to have unique mark Know information, when user presses one of button, intelligent piano can read out the identification information of the piano key, and send out with The corresponding sound of the piano key.
S104:According to the identification information of the current piano key and the corresponding target piano key of the current note Difference between identification information judges whether the current piano key that the user presses is correct, wherein the target steel Qin button is corresponding piano key when the current note is correctly played;If so, executing S105;If it is not, executing S106.
Illustratively, if the current note that intelligent piano plays is note 1, user presses current in S103 steps Piano key is piano key 18, and 1 corresponding target piano key of note is piano key 15.
According to the difference between piano key 18 and piano key 15, judge whether user presses target piano key, Obviously, the current piano key that user presses is not target piano key, and judging result is no.
S105:Show that the current note plays correct information.
If the judging result of S104 steps is yes, display note 1 is played correctly.For example, not carrying out any mark to note 1 Know, or selects the symbol head of note 1 using the rectangle circle of green.
S106:Show that the current note plays the information of mistake.
Since the judging result of S104 steps is no, user plays note 1 and plays mistake, and display note 1 is played correctly, example Such as, it can use red rectangle circle that the symbol head of note 1 is selected to be shown.
S107:It sets next note of the current note to current note, and executes S103 steps;
Illustratively, after the completion of judging note 1, continue the judgement of note 2.Note 2 is set as working as Then preceding note executes S103 steps.
Using embodiment illustrated in fig. 1 of the present invention, the current piano key that user presses is not correct target piano When button, display note plays the information of mistake, and carry out error correction can be played to note.
Fig. 2 is the flow diagram for the error correction method that second of note provided in an embodiment of the present invention is played, such as Fig. 2 institutes Show, embodiment illustrated in fig. 2 of the present invention is yes in the judging result of S104 steps on the basis of embodiment illustrated in fig. 1 of the present invention In the case of, the method further includes:
S108:It obtains the user and presses corresponding current start time and the current sound when the current button Accord with corresponding targeted start times.
Illustratively, user is the 100th millisecond the corresponding current start time when pressing piano key 18;Note 1 is right The targeted start times answered are 100 milliseconds.
In practical applications, for the ease of user's operation, targeted start times can be that the corresponding target of current note is opened The time range of preset duration after the preceding preset duration to targeted start times at moment that begins;For example, targeted start times can Think positive and negative 5 milliseconds of 100 milliseconds, 95-105 milliseconds;Or positive and negative 10 milliseconds, 90-110 milliseconds.
S109:According to the difference between the current start time and the targeted start times, judge that the user is It is no to press the current piano key in the targeted start times;If so, executing S105;If it is not, executing S106.
Illustratively, according in S108 steps, user corresponding current start time, note when pressing piano key 18 The difference of 1 corresponding targeted start times, judges whether user in targeted start times presses current piano key.For example, working as Preceding start time is identical with targeted start times, or current start time in the corresponding time range of targeted start times, It is considered that current start time is identical as targeted start times, and then judge that user presses current steel in targeted start times Qin button.If user presses current piano key in targeted start times, S105 steps are executed, if user is not in mesh Mark start time presses current piano case, executes S106 steps.
S105:It executes the display current note and plays correct information.
The step is identical as the S105 step contents in embodiment illustrated in fig. 1 of the present invention, and which is not described herein again.
S106:Execute the information that the display current note plays mistake.
The step is identical as the S106 step contents in embodiment illustrated in fig. 1 of the present invention, and which is not described herein again.
Using embodiment illustrated in fig. 2 of the present invention, it can be determined that whether user in targeted start times presses current piano Button.
Fig. 3 is the flow diagram for the error correction method that the third note provided in an embodiment of the present invention is played, such as Fig. 3 institutes Show, embodiment illustrated in fig. 3 of the present invention is yes in the judging result of S104 steps on the basis of embodiment illustrated in fig. 1 of the present invention In the case of, the method further includes:
S1010:Obtain corresponding current finish time and the current sound when user discharges the current button Accord with corresponding target finish time.
Illustratively, user is the 100th millisecond the corresponding current finish time when pressing piano key 18;Note 1 is right The target finish time answered is 100 milliseconds.
In practical applications, for the ease of user's operation, target finish time can be the corresponding target knot of current note The time range of preset duration after the preceding preset duration to target finish time at beam moment;For example, target finish time can Think positive and negative 5 milliseconds of 100 milliseconds, 95-105 milliseconds;Or positive and negative 10 milliseconds, 90-110 milliseconds.
S1011:According to the difference between the current finish time and the target finish time, judge that the user is It is no to discharge the current piano key in the target finish time;If so, executing S105;If it is not, executing S106.
Illustratively, according in S108 steps, user corresponding current finish time, note when discharging piano key 18 Whether the difference of 1 corresponding target finish time judges user in the current piano key of target finish time release.For example, working as Preceding finish time is identical with target finish time, or current finish time in target finish time corresponding time range, It is considered that current finish time is identical as target finish time, and then judge that user releases current steel in target finish time Qin button.If user releases current piano key in target finish time, S105 steps are executed, if user is not in mesh The current piano case of finish time release is marked, S106 steps are executed.
S105:It executes the display current note and plays correct information.
The step is identical as the S105 step contents in embodiment illustrated in fig. 1 of the present invention, and which is not described herein again.
S106:Execute the information that the display current note plays mistake.
The step is identical as the S106 step contents in embodiment illustrated in fig. 1 of the present invention, and which is not described herein again.
Using embodiment illustrated in fig. 3 of the present invention, it can be determined that whether user in target finish time releases current piano Button.
Fig. 4 is the flow diagram for the error correction method that the 4th kind of note provided in an embodiment of the present invention is played;Such as Fig. 4 institutes Show, embodiment illustrated in fig. 4 of the present invention is yes in the judging result of S104 steps on the basis of embodiment illustrated in fig. 1 of the present invention In the case of, the method further includes:
S1012:It obtains the user to press corresponding current start time when the current button, the user discharges institute State corresponding current finish time and the current note corresponding note duration information when current button.
Illustratively, the user of acquisition is the 100th millisecond the corresponding current start time when pressing piano key 18;With Family corresponding current finish time when discharging piano key 18 is the 500th millisecond;1 corresponding target duration of note is 600 millis Second.
S1013:According to the current start time and the current finish time, the quilt of the current piano key is calculated The duration pressed.
Illustratively, according to user, when pressing piano key 18, corresponding current start time is the 100th millisecond;User When discharging piano key 18, corresponding current finish time calculates the duration that current piano key is pressed for the 500th millisecond It is 400 milliseconds.
S1014:According to the duration of the current piano key being pressed note duration corresponding with the current note The difference of information, judges whether the user plays correctly the duration of the current note;If so, executing S105;If it is not, holding Row S106.
In the duration and S1012 steps that are pressed according to the current piano key calculated in S1013 steps, with current note The difference of corresponding duration, judges whether user is maintained at the state pressed by current piano key and has reached current note correspondence Duration, if it is, can be determined that user to the duration of the current note play correctly, execute S105;If not, can be with Judgement user plays mistake to the duration of current note, executes S106.
S105:It executes the display current note and plays correct information.
The step is identical as the S105 step contents in embodiment illustrated in fig. 1 of the present invention, and which is not described herein again.
S106:Execute the information that the display current note plays mistake.
The step is identical as the S106 step contents in embodiment illustrated in fig. 1 of the present invention, and which is not described herein again.
Using embodiment illustrated in fig. 4 of the present invention, it can be determined that whether user plays correctly for the duration of current note.
In a kind of specific implementation mode of the embodiment of the present invention, the method further includes:
For each note, according to the corresponding each corresponding weight of assessment item of the current note and the current sound The scoring score value of symbol calculates the user and plays the corresponding scoring of the current note, wherein the assessment item includes:With Whether the current piano key that family is pressed correct, user whether the targeted start times press the current piano by Whether key, user in the target finish time discharge the duration of the current piano key and user to the current note Whether play correct.
Illustratively, whether correct, user is described for the current piano key that user presses in assessment item Targeted start times press the current piano key, user whether the target finish time discharge the current piano by Key and user are 0.2,0.3,0.4,0.1 to whether the duration of the current note plays correct corresponding weight, and The corresponding scoring score value of each note is 1, and the current piano key mistake that user presses, user does not press in targeted start times Current piano key, user are target finish time discharges current piano key, user plays just the duration of current note down Really, then the corresponding scoring of current note that user plays is 1*0+1*0+1*0.4+1*0.1=0.5.
According to the summation of the corresponding scoring of each note, calculates user and play the corresponding score of the song to be played.
Illustratively, song to be played has 8 notes, and the summation of the scoring of 8 notes is played as user and waits for bullet Play the score of song.
Using the above embodiment of the present invention, the qualification that user plays song to be played can be quantified.
Fig. 5 is the flow diagram for the error correction method that the 5th kind of note provided in an embodiment of the present invention is played, such as Fig. 5 institutes Show, embodiment illustrated in fig. 5 of the present invention increases S1015 on the basis of embodiment illustrated in fig. 1 of the present invention:According to user's bullet Play correct note quantity and the song to be played in include note quantity ratio, calculate what the user played The accuracy of note.
Illustratively, user's musical notes 1 be scored at 0.4, note 2 be scored at 0.4, note 3 be scored at 0.1, Note 4, which is scored at 1, note 5 and is scored at 0.5, note 6 and is scored at 0.7, note 7 and is scored at 1, note 8, to be scored at 1;Then user plays song to be played and is scored at:
0.4+0.4+0.1+1+0.5+0.7+1+1=5.1.
Using embodiment illustrated in fig. 5 of the present invention, the qualification that user plays song to be played can be quantified.
Fig. 6 is the structural schematic diagram for the error correction device that the first note provided in an embodiment of the present invention is played, such as Fig. 6 institutes Show, described device includes:First acquisition module 601, recovery module 602, the second acquisition module 603, the first judgment module 604, First display module 605, the second display module 606 and setup module 607, wherein
First acquisition module 601, for obtaining the corresponding midi files of song to be played;
The recovery module 602, for using midi files described in midi protocol analysis, restoring the song to be played Staff;
Second acquisition module 603, for for each note in the staff, obtaining user and playing current sound The identification information for the current piano key pressed when symbol;
First judgment module 604 is used for the identification information according to the current piano key and the current note Difference between the identification information of corresponding target piano key judges whether is the current piano key that the user presses Correctly, wherein the target piano key is corresponding piano key when the current note is correctly played;
First display module 605, in the case of for being in the judging result of first judgment module 604, Show that the current note plays correct information
Second display module 606 is used in the case where the judging result of first judgment module 601 is no, Show that the current note plays the information of mistake;
The setup module 607 for setting next note of the current note to current note, and triggers second Acquisition module.
Using embodiment illustrated in fig. 6 of the present invention, the current piano key that user presses is not correct target piano When button, display note plays the information of mistake, and carry out error correction can be played to note.
Fig. 7 is the structural schematic diagram for the error correction device that second of note provided in an embodiment of the present invention is played, such as Fig. 7 institutes Show, embodiment illustrated in fig. 7 of the present invention increases on the basis of embodiment illustrated in fig. 6 of the present invention:Third acquisition module 608 and Two judgment modules 609, wherein
The third acquisition module 608, for obtaining corresponding current beginning when the user presses the current button Moment and the corresponding targeted start times of the current note;
Second judgment module 609, for according between the current start time and the targeted start times Difference, judges whether the user in the targeted start times presses the current piano key;
First display module 605 is additionally operable to the case where the judging result of second judgment module 609 is to be Under, show that the current note plays correct information
Second display module 606 is additionally operable to the situation for being no in the judging result of second judgment module 609 Under, show that the current note plays the information of mistake.
Using embodiment illustrated in fig. 7 of the present invention, it can be determined that whether user in targeted start times presses current piano Button.
Fig. 8 is the structural schematic diagram for the error correction device that the third note provided in an embodiment of the present invention is played, figure Fig. 8 institutes Show, embodiment illustrated in fig. 8 of the present invention increases on the basis of embodiment illustrated in fig. 6 of the present invention:4th acquisition module, 6010 He Third judgment module 6011, wherein
4th acquisition module 6010, it is corresponding when for obtaining user's release current button currently to terminate Moment and the current note corresponding target finish time;
The third judgment module 6011, for according between the current finish time and the target finish time Whether difference judges the user in the target finish time release current piano key;
First display module 605 is additionally operable to the case where the judging result of the third judgment module 6011 is to be Under, show that the current note plays correct information
Second display module 606 is additionally operable to the situation for being no in the judging result of the third judgment module 6011 Under, show that the current note plays the information of mistake.
Using embodiment illustrated in fig. 8 of the present invention, it can be determined that whether user in target finish time releases current piano Button.
Fig. 9 is the structural schematic diagram for the error correction device that the 4th kind of note provided in an embodiment of the present invention is played, such as Fig. 9 institutes Show, embodiment illustrated in fig. 9 of the present invention increases on the basis of embodiment illustrated in fig. 6 of the present invention:5th acquisition module 6012, meter Calculate module 6013, the 4th judgment module 6014, wherein
5th acquisition module 6012, for obtaining corresponding current beginning when the user presses the current button Moment, corresponding current finish time and the current note corresponding note when the user discharges the current button When value information;
The computing module 6013 calculates described current according to the current start time and the current finish time The duration of piano key being pressed;
4th judgment module 6014, for according to the duration being pressed of the current piano key with it is described current The difference of the corresponding note duration information of note, judges whether the user plays correctly the duration of the current note;
First display module 605 is additionally operable to the case where the judging result of the 4th judgment module 6014 is to be Under, show that the current note plays correct information
Second display module 606 is additionally operable to the situation for being no in the judging result of the 4th judgment module 6014 Under, show that the current note plays the information of mistake.
Using embodiment illustrated in fig. 4 of the present invention, it can be determined that whether user plays correctly for the duration of current note.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement etc., should all be included in the protection scope of the present invention made by within refreshing and principle.

Claims (10)

1. a kind of error correction method that note is played, which is characterized in that the method includes:
Obtain the corresponding midi files of song to be played;
Using midi files described in midi protocol analysis, the staff of the song to be played is restored;
For each note in the staff, the mark that user plays the current piano key pressed when current note is obtained Information;
According to the identification information of the identification information of the current piano key and the corresponding target piano key of the current note Between difference, judge whether the current piano key that the user presses correct, wherein the target piano key is The current note corresponding piano key when correctly being played;
If so, showing that the current note plays correct information;
If it is not, showing that the current note plays the information of mistake;
Set next note of the current note to current note, and execute when the acquisition user plays current note by Under current piano key identification information the step of.
2. the error correction method that a kind of note according to claim 1 is played, which is characterized in that judge the user described The whether correct judging result of the current piano key pressed is in the case of being, the method further includes:
It obtains the user and presses corresponding current start time and the current note corresponding mesh when the current button Mark start time;
According to the difference between the current start time and the targeted start times, judge the user whether in the mesh Mark start time presses the current piano key;
If so, executing the display current note plays correct information;
If it is not, executing the information that the display current note plays mistake.
3. the error correction method that a kind of note according to claim 1 is played, which is characterized in that judge the user described The whether correct judging result of the current piano key pressed is in the case of being, the method further includes:
Obtain corresponding current finish time and the current note corresponding mesh when the user discharges the current button Mark finish time;
According to the difference between the current finish time and the target finish time, judge the user whether in the mesh Mark the finish time release current piano key;
If so, executing the display current note plays correct information;
If it is not, executing the information that the display current note plays mistake.
4. the error correction method that a kind of note according to claim 1 is played, which is characterized in that judge the user described The whether correct judging result of the current piano key pressed is in the case of being, the method further includes:
It obtains the user to press corresponding current start time when the current button, the user discharges the current button When the corresponding current finish time and corresponding note duration information of the current note;
According to the current start time and the current finish time, calculate the current piano key be pressed when It is long;
According to the difference of the duration of the current piano key being pressed note duration information corresponding with the current note, Judge whether the user plays correctly the duration of the current note;
If so, executing the display current note plays correct information;
If it is not, executing the information that the display current note plays mistake.
5. according to a kind of error correction method that note is played of claim 1-4 any one of them, which is characterized in that the method is also Including:
For each note, according to the corresponding each corresponding weight of assessment item of the current note and the current note Score score value, calculates the user and plays the corresponding scoring of the current note, wherein the assessment item includes:User presses Under whether the current piano key correct, user whether the targeted start times press the current piano key, Whether user discharges the current piano key and user in the target finish time It is no to play correctly;
According to the summation of the corresponding scoring of each note, calculates user and play the corresponding score of the song to be played.
6. the error correction method that a kind of note according to claim 1 is played, which is characterized in that the method further includes:Root According to the user play correct note quantity and the song to be played in include note quantity ratio, calculate institute State the accuracy for the note that user plays.
7. a kind of error correction device that note is played, which is characterized in that described device includes:First acquisition module, recovery module, Two acquisition modules, the first judgment module, the first display module, the second display module and setup module, wherein
First acquisition module, for obtaining the corresponding midi files of song to be played;
The recovery module, for using midi files described in midi protocol analysis, restoring five lines of the song to be played Spectrum;
Second acquisition module, for for each note in the staff, obtain when user plays current note by Under current piano key identification information;
First judgment module, for the identification information and the corresponding mesh of the current note according to the current piano key The difference between the identification information of piano key is marked, judges whether the current piano key that the user presses is correct, In, the target piano key is corresponding piano key when the current note is correctly played;
First display module, in the case where the judging result of first judgment module is to be, working as described in display Preceding note plays correct information
Second display module, in the case where the judging result of first judgment module is no, working as described in display Preceding note plays the information of mistake;
The setup module for setting next note of the current note to current note, and triggers second and obtains mould Block.
8. the error correction device that a kind of note according to claim 7 is played, which is characterized in that described device further includes:The Three acquisition modules and the second judgment module, wherein
The third acquisition module, for obtaining corresponding current start time when the user presses the current button, with And the corresponding targeted start times of the current note;
Second judgment module, for according to the difference between the current start time and the targeted start times, sentencing Whether the user of breaking in the targeted start times presses the current piano key;
First display module is additionally operable in the case where the judging result of second judgment module is to be, described in display Current note plays correct information
Second display module is additionally operable in the case where the judging result of second judgment module is no, described in display Current note plays the information of mistake.
9. the error correction device that a kind of note according to claim 7 is played, which is characterized in that described device further includes:The Four acquisition modules and third judgment module, wherein
4th acquisition module, corresponding current finish time when for obtaining user's release current button, with And the current note corresponding target finish time;
The third judgment module, for according to the difference between the current finish time and the target finish time, sentencing Whether the user of breaking is in the target finish time release current piano key;
First display module is additionally operable in the case where the judging result of the third judgment module is to be, described in display Current note plays correct information
Second display module is additionally operable in the case where the judging result of the third judgment module is no, described in display Current note plays the information of mistake.
10. the error correction device that a kind of note according to claim 1 is played, which is characterized in that described device further includes:The Five acquisition modules, computing module, the 4th judgment module, wherein
5th acquisition module, for obtaining corresponding current start time, institute when the user presses the current button State corresponding current finish time and the current note corresponding note duration letter when user discharges the current button Breath;
The computing module calculates the current piano key according to the current start time and the current finish time The duration being pressed;
4th judgment module, it is corresponding with the current note for the duration being pressed according to the current piano key Note duration information difference, judge whether the user plays correctly the duration of the current note;
First display module is additionally operable in the case where the judging result of the 4th judgment module is to be, described in display Current note plays correct information
Second display module is additionally operable in the case where the judging result of the 4th judgment module is no, described in display Current note plays the information of mistake.
CN201810182961.7A 2018-03-06 2018-03-06 A kind of error correction method and device that note is played Pending CN108389468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810182961.7A CN108389468A (en) 2018-03-06 2018-03-06 A kind of error correction method and device that note is played

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810182961.7A CN108389468A (en) 2018-03-06 2018-03-06 A kind of error correction method and device that note is played

Publications (1)

Publication Number Publication Date
CN108389468A true CN108389468A (en) 2018-08-10

Family

ID=63070300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810182961.7A Pending CN108389468A (en) 2018-03-06 2018-03-06 A kind of error correction method and device that note is played

Country Status (1)

Country Link
CN (1) CN108389468A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111223355A (en) * 2020-01-16 2020-06-02 深圳大学 Musical instrument fingering correction device, system and method and musical instrument
CN111933097A (en) * 2020-08-17 2020-11-13 玖月音乐科技(北京)有限公司 Intelligent error correction method for double-row key teaching
CN113658481A (en) * 2021-08-06 2021-11-16 安徽多效信息科技有限公司 Piano playing identification method based on deep learning
CN114613232A (en) * 2022-03-21 2022-06-10 四川雅蓉科技有限公司 Intelligent error correction method and system for piano practice

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6211452B1 (en) * 1994-11-10 2001-04-03 Yamaha Corporation Electronic musical instrument having a function of dividing performance information into phrases and displaying keys to be operated for each phrase
CN103021389A (en) * 2011-09-22 2013-04-03 卡西欧计算机株式会社 Musical performance evaluating device and musical performance evaluating method
CN104464701A (en) * 2013-09-20 2015-03-25 卡西欧计算机株式会社 Playing practice device and method
CN106228961A (en) * 2016-07-21 2016-12-14 赵洪云 Play evaluation methodology and device
CN106340286A (en) * 2016-09-27 2017-01-18 华中科技大学 Universal real-time musical instrument playing evaluation system
CN106935226A (en) * 2017-02-14 2017-07-07 捷开通讯(深圳)有限公司 Piano with scoring function and its method for being scored
CN107123334A (en) * 2017-06-27 2017-09-01 小叶子(北京)科技有限公司 A kind of intelligent piano learning machine and its control method
CN107424476A (en) * 2017-08-01 2017-12-01 上海破破飞网络科技有限公司 A kind of instrumental music training mate system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6211452B1 (en) * 1994-11-10 2001-04-03 Yamaha Corporation Electronic musical instrument having a function of dividing performance information into phrases and displaying keys to be operated for each phrase
CN103021389A (en) * 2011-09-22 2013-04-03 卡西欧计算机株式会社 Musical performance evaluating device and musical performance evaluating method
CN104464701A (en) * 2013-09-20 2015-03-25 卡西欧计算机株式会社 Playing practice device and method
CN106228961A (en) * 2016-07-21 2016-12-14 赵洪云 Play evaluation methodology and device
CN106340286A (en) * 2016-09-27 2017-01-18 华中科技大学 Universal real-time musical instrument playing evaluation system
CN106935226A (en) * 2017-02-14 2017-07-07 捷开通讯(深圳)有限公司 Piano with scoring function and its method for being scored
CN107123334A (en) * 2017-06-27 2017-09-01 小叶子(北京)科技有限公司 A kind of intelligent piano learning machine and its control method
CN107424476A (en) * 2017-08-01 2017-12-01 上海破破飞网络科技有限公司 A kind of instrumental music training mate system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111223355A (en) * 2020-01-16 2020-06-02 深圳大学 Musical instrument fingering correction device, system and method and musical instrument
CN111933097A (en) * 2020-08-17 2020-11-13 玖月音乐科技(北京)有限公司 Intelligent error correction method for double-row key teaching
CN113658481A (en) * 2021-08-06 2021-11-16 安徽多效信息科技有限公司 Piano playing identification method based on deep learning
CN113658481B (en) * 2021-08-06 2023-02-14 安徽多效信息科技有限公司 Piano playing identification method based on deep learning
CN114613232A (en) * 2022-03-21 2022-06-10 四川雅蓉科技有限公司 Intelligent error correction method and system for piano practice

Similar Documents

Publication Publication Date Title
CN108389468A (en) A kind of error correction method and device that note is played
KR100458746B1 (en) Recording medium recording music teaching system, music teaching method, and program for realizing the same
US8294016B2 (en) Computer aided system for teaching reading
JP3842403B2 (en) Music learning system, music learning method, and recording medium on which a program for realizing the method is recorded
JP2006276333A (en) Electronic musical instrument and velocity display program
US7939740B2 (en) Ensemble system
JP2001154668A (en) Methods for synthesizing musical sound, selecting playing information, controlling playing, recording playing information, evaluating playing information, playing practice device and recording medium
US4506580A (en) Tone pattern identifying system
CN106228961A (en) Play evaluation methodology and device
JP2005062827A (en) Musical instrument
CN108711337B (en) Keyboard instrument auxiliary exercise method and device
CN107424476A (en) A kind of instrumental music training mate system
US8227679B2 (en) Musical stave reader for children
CN108806394A (en) A kind of piano playing software fingering display methods and fingering storage device
JP4140887B2 (en) Performance judgment device
JP2006031041A (en) Karaoke machine sequentially changing score image based upon score data outputted for each phrase
JP3582320B2 (en) Music training system, music training method, and recording medium recording program for realizing the method
JP3767612B2 (en) Music learning system, music learning method, and computer-readable recording medium recording a music learning program
Schoonderwaldt et al. IMUTUS–an interactive system for learning to play a musical instrument
CN111354327A (en) Auxiliary playing method, medium and intelligent piano
JPH01309087A (en) Tone series pattern extracting method and play result display device and play result grading device using same
JP4354546B2 (en) Apparatus and method for detecting musical instrument performance and guiding musical instrument performance, and recording medium recording the program
JP4743615B2 (en) Electronic musical instrument with practice function
JP2019180445A (en) Sound hitting quiz system, program and recording medium with program recorded thereon
JPH03184076A (en) Performance navigation device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180810

RJ01 Rejection of invention patent application after publication