CN109192185B - Music score processing method and device and computer readable storage medium - Google Patents

Music score processing method and device and computer readable storage medium Download PDF

Info

Publication number
CN109192185B
CN109192185B CN201810950680.1A CN201810950680A CN109192185B CN 109192185 B CN109192185 B CN 109192185B CN 201810950680 A CN201810950680 A CN 201810950680A CN 109192185 B CN109192185 B CN 109192185B
Authority
CN
China
Prior art keywords
line
score
music score
music
performance
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
CN201810950680.1A
Other languages
Chinese (zh)
Other versions
CN109192185A (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.)
China Mobile Communications Group Co Ltd
MIGU Digital Media Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Digital Media Co Ltd
MIGU Culture 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 China Mobile Communications Group Co Ltd, MIGU Digital Media Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810950680.1A priority Critical patent/CN109192185B/en
Publication of CN109192185A publication Critical patent/CN109192185A/en
Application granted granted Critical
Publication of CN109192185B publication Critical patent/CN109192185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10GREPRESENTATION OF MUSIC; RECORDING MUSIC IN NOTATION FORM; ACCESSORIES FOR MUSIC OR MUSICAL INSTRUMENTS NOT OTHERWISE PROVIDED FOR, e.g. SUPPORTS
    • G10G1/00Means for the representation of music
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2220/00Input/output interfacing specifically adapted for electrophonic musical tools or instruments
    • G10H2220/005Non-interactive screen display of musical or status data
    • G10H2220/015Musical staff, tablature or score displays, e.g. for score reading during a performance.

Abstract

The application discloses a processing method of a music score, which comprises the following steps: collecting audio data during the process of a music score being performed; identifying the collected audio data to obtain corresponding music score symbols; based on the obtained score symbol, detecting whether to perform one line of score in the currently displayed score to obtain a detection result; when the detection result represents that one line of music score is performed, one line of music score which is currently performed is not displayed. The application also discloses a processing device of the music score and a computer readable storage medium.

Description

Music score processing method and device and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and apparatus for processing a music score, and a computer readable storage medium.
Background
Currently, music score display is mainly black and white, and redundant other colors are not needed, so that an electronic ink screen can be used as a display to display electronic music scores.
However, the current refreshing of the electronic ink screen is full screen refreshing, and as the speed of full screen refreshing is high, subtle miscellaneous points which are not completely refreshed are easily left on the display page. Thus, when applied to the scene of an electronic musical score, the miscellaneous points may cause the notes to be mistakenly interpreted as having the accessory points and become accessory point notes, which may affect the reading and playing of the musical composition by the user.
Therefore, it is needed to find a technical solution that can not display miscellaneous points in the music score of the displayed page.
Disclosure of Invention
In view of this, it is desirable for embodiments of the present application to provide a processing method, apparatus, and computer-readable storage medium for a musical score, which are capable of displaying no miscellaneous points in the musical score of a displayed page.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a processing method of a music score, which comprises the following steps:
collecting audio data during the process of a music score being performed;
identifying the collected audio data to obtain corresponding music score symbols;
based on the obtained score symbol, detecting whether to perform one line of score in the currently displayed score to obtain a detection result;
when the detection result represents that one line of music score is performed, one line of music score which is currently performed is not displayed.
In the above-mentioned scheme, the detecting whether to perform a line of the currently displayed score based on the obtained score symbol includes:
for each currently displayed line of music score, judging whether each first music score symbol in the corresponding line of music score is identical to each second music score symbol in the obtained music score symbols;
when the same, the corresponding line of the music score is taken as the line of the music score of which the current performance is completed, and the detection result of the line of the music score in the current display of which the performance is completed is obtained.
In the scheme, the Nth line of music score is a line of music score of which the current performance is completed; the step of not displaying a line of score currently performed includes:
not displaying part of the N-th line score;
detecting whether the performance is completed on the (n+1) th line of music score;
when it is determined that the n+1st line music score performance is completed, the rest of the N-th line music score is not displayed;
wherein N is a positive integer greater than 1.
In the above scheme, the method further comprises:
when it is determined that the performance of the n+1-th line music score is completed, a part of the n+1-th line music score is not displayed;
when it is determined that the n+2-th line musical score performance is completed, not displaying the remaining part of the n+1-th line musical scores, not displaying part of the n+2-th line musical scores, displaying the N-th line musical score of the first display page; the first display page is different from the current display page.
In the above scheme, the method further comprises:
detecting whether rest marks meeting preset conditions exist in the obtained music score symbols or not;
searching for the rest from the currently displayed score when it is determined that the rest exists;
and when the rest is found, not displaying the music score of the current display page.
The embodiment of the application provides a processing device for music scores, which comprises the following components:
the acquisition module is used for acquiring audio data in the process of playing the music score;
the identification module is used for carrying out identification processing on the collected audio data to obtain corresponding music score symbols;
the detection module is used for detecting whether to play one line of music score in the currently displayed music score based on the obtained music score symbol to obtain a detection result;
and the display module is used for not displaying one line of music score of which the current performance is finished when the detection result represents that one line of music score is finished.
In the above scheme, the detection module is specifically configured to determine, for each currently displayed line of music score, whether each first score symbol in the corresponding line of music score is the same as each second score symbol in the obtained score symbols; when the same, the corresponding line of the music score is taken as the line of the music score of which the current performance is completed, and the detection result of the line of the music score in the current display of which the performance is completed is obtained.
In the above scheme, the display module is specifically configured to not display a part of the N-th line of music score; detecting whether the performance is completed on the (n+1) th line of music score; when it is determined that the n+1st line music score performance is completed, the rest of the N-th line music score is not displayed; wherein N is a positive integer greater than 1.
An embodiment of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the processing method of any of the above-mentioned musical scores.
The embodiment of the application provides a processing device for music scores, which comprises the following components: a memory, a processor, and a computer program stored on the memory and executable on the processor;
wherein the processor is adapted to execute the computer program to perform the steps of the method of processing any score as described above.
The processing method, the processing device and the computer readable storage medium for the music score provided by the embodiment of the application collect audio data in the process of playing the music score; identifying the collected audio data to obtain corresponding music score symbols; based on the obtained score symbol, detecting whether to perform one line of score in the currently displayed score to obtain a detection result; when the detection result represents that one line of music score is performed, one line of music score which is currently performed is not displayed. In the embodiment of the application, for each currently displayed line of music score, when it is determined that performance is completed, the corresponding line of music score is not displayed. Therefore, before the music score of the next display page is displayed, each line of music score of the current page is erased, and further, the miscellaneous points cannot be displayed in the next display page, and the problem that the music score performance is affected due to the fact that the miscellaneous points are left on the display page due to too high refreshing speed in full screen refreshing can be avoided.
Drawings
FIG. 1 is a schematic diagram of an implementation flow of a processing method of a music score according to an embodiment of the present application;
fig. 2 is a schematic diagram of the hardware composition structure of the processing device of the music score according to the embodiment of the application;
FIG. 3 is a schematic diagram of the hardware composition of the processing device of the music score according to the embodiment of the application;
FIG. 4 is an initial display state of an electronic musical score in a current display interface according to an embodiment of the present application;
fig. 5 is a schematic diagram of erasing a first part of a line of score after a performance according to an embodiment of the present application;
fig. 6 is a schematic diagram of erasing the remaining part of a line of score after a performance according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a musical score showing a first display page according to an embodiment of the present application;
fig. 8 is a schematic diagram of the composition structure of a processing device for music score according to the embodiment of the application;
fig. 9 is a schematic diagram of a processing device for music score according to the second embodiment of the present application.
Detailed Description
In the embodiment of the application, audio data are collected in the process of playing a music score; identifying the collected audio data to obtain corresponding music score symbols; based on the obtained score symbol, detecting whether to perform one line of score in the currently displayed score to obtain a detection result; when the detection result represents that one line of music score is performed, one line of music score which is currently performed is not displayed.
So that the manner in which the features and aspects of the embodiments of the present application can be understood in more detail, a more particular description of the application, briefly summarized below, may be had by reference to the appended drawings, which are merely illustrative, and not intended to be limiting of the application.
As shown in fig. 1, a processing method of a music score according to an embodiment of the present application is described in detail, and the method is applied to a client, and includes the following steps:
step 101: collecting audio data during the process of a music score being performed; the musical score may be displayed on a currently displayed page of an electronic ink screen of the client.
Wherein the score is an electronic score, which is a music score for singing or playing, such as a staff, a numbered musical notation, etc. Here, the musical score may be displayed in pages using an electronic ink screen, and a plurality of lines of musical scores may be displayed in a current display page. Wherein the electronic ink screen is a screen using electronic ink.
In practical application, the audio data can be collected through a microphone installed on the client. The audio data may be audio data transmitted from a user collecting musical instruments while performing a score using the musical instruments; the audio data sent by the user can be collected when the user sings according to the music score.
Step 102: and carrying out recognition processing on the collected audio data to obtain corresponding music score symbols.
Wherein, the music notation is a common notation in the music score, namely a music notation, and the music notation is a recorded tone with different lengths.
Here, the recognition process of the score symbol includes: preprocessing the collected audio data, such as analog-to-digital conversion processing, and extracting features of the preprocessed audio data, namely extracting fundamental tone frequency data from the preprocessed audio data; the identified score symbols are determined based on the extracted pitch frequency data using a preset recognition model, such as a hidden markov model (HMM, hidden Markov Model) model. The preset recognition model is obtained through machine learning by utilizing pitch frequency sample data.
Step 103: based on the obtained score symbol, whether to perform one line of the currently displayed score is detected, and a detection result is obtained.
In order to perform a refresh process for a line of score without affecting the user's viewing of the score during performance, it is necessary to determine a line of score after performance according to the identified score symbol.
In practice, the user performs the score in conditions including, but not limited to, the following:
1. the user can perform according to the proficiency of the music score displayed by the electronic ink screen, and can perform continuously in the performance process;
2. the user may interrupt performance due to other things during performance of the score;
3. the user cannot perform the music score displayed by the electronic ink screen skillfully, and performance can be repeated in the performance process;
4. the user is a novice who has just learned the score, and may jump to perform during performance.
In an embodiment, when the user can continuously perform the score, the detecting whether the performance is completed for a line of the currently displayed score based on the obtained score symbol includes: for each currently displayed line of music score, judging whether each first music score symbol in the corresponding line of music score is identical to each second music score symbol in the obtained music score symbols; when the same, the corresponding line of the music score is taken as the line of the music score of which the current performance is completed, and the detection result of the line of the music score in the current display of which the performance is completed is obtained.
In practical application, when the user can continuously play the score, the user can preset the time for playing one line of score, so that the client can judge whether to play one line of score according to the acquired time for playing one line of score by the user. For example, assuming that the duration of a user playing a line of a score is 10 seconds, a timer is started when the acquisition of audio data emitted by the user or an instrument used by the user is started; when the timing reaches 10 seconds, the stored 10 seconds of audio data are identified, and a second music score symbol is obtained; when the timing reaches the first 10 seconds, the count is 1, and each first music score symbol in the currently displayed first line of music scores is compared with each identified second music score symbol to obtain a comparison result; when the comparison result indicates that each first score symbol is identical to each second score symbol, it is determined that the first line of scores has been performed.
When the user interrupts performance during performance, the detecting whether performance is completed for a line of the currently displayed score based on the obtained score symbol, comprising: judging whether a first music score symbol section is contained in the music score symbols identified based on the audio data acquired after the pause; the first music score symbol section consists of the last N first music score symbols in the music score of the corresponding line and the first M first music score symbols in the music score of the next line of the corresponding line; when the inclusion is determined, the score of the corresponding line is regarded as the score of the line where the current performance is completed. Wherein N is a positive integer greater than 1, M is a positive integer greater than 1, and the N, M value can be adjusted according to practical conditions.
Here, the process of the client determining that the user interrupts the performance includes: when no score symbol is recognized based on the audio data, the client determines that the user has occurred to interrupt performance during performance.
When the user performs repeatedly during the performance, the detecting whether the performance is completed for a line of the currently displayed score based on the obtained score symbol includes: for each currently displayed line of music score, judging whether each first music score symbol in the corresponding line of music score is the same as each third music score symbol; the third score symbol is a score symbol identified based on audio data collected after repetition; when the same, the score of the corresponding line is regarded as the score of the line where the current performance is completed.
Here, the process of the client determining the user repeating performance includes: when a music score symbol is identified, the client can compare the currently identified music score symbol with the last identified music score symbol to obtain a comparison result; when the comparison result indicates that the two score symbols are identical, it is determined that the user has repeatedly performed during the performance.
When the user performs a skip performance during the performance, the detecting whether the performance is completed for one line of the currently displayed score based on the obtained score symbol includes: determining at least one line score corresponding to each second score symbol from currently displayed scores based on each second score symbol identified by the audio data; judging whether a second music score symbol section is contained in the music score symbol identified based on the audio data; the second score symbol segment is composed of the last N score symbols of the last line of the at least one line of scores; when the inclusion is determined, it is determined that the user has occurred a skip performance during the performance.
Here, the process of determining the user skip performance by the client includes: determining the number of the line music score corresponding to the second music score symbol from the currently displayed music score based on the second music score symbol identified by the audio data; and when the number of the line music spectrums is larger than two lines, determining that the user plays in a jumping manner in the playing process.
Step 104: when the detection result represents that one line of music score is performed, one line of music score which is currently performed is not displayed.
In order to achieve a line-by-line erase of the score, when a line of score is performed, the line of score is not displayed, i.e. erased. Thus, by erasing row by row, the problem of erasing too fast and leaving miscellaneous points when erasing the whole display page can be avoided.
In order to thoroughly erase a line of currently performed music score to avoid leaving miscellaneous points, each line of the performed music score can be divided into at least two parts; and determining the erasing time of each part of the music score according to the performance time of the non-performed music score; and carrying out partial erasure processing on the corresponding part music score according to the erasure time determined by each part music score.
In one embodiment, the dividing the performed score line into at least two parts includes: dividing a line of music score after being played into at least two parts according to a staff composing the current line of music score; alternatively, a line of the score after the performance is divided into at least two parts according to the measure in the current line of the score.
For example, when a line of score after performance is made up of two sheets, the score symbol in the first sheet is taken as a first partial score and the score symbol in the second sheet is taken as a second partial score. When a line of the score after the performance is composed of four subsections, the score symbol in the first subsection is used as a first part of the score, the score symbol in the second subsection is used as a second part of the score, the score symbol in the third subsection is used as a third part of the score, and the score symbol in the fourth subsection is used as a fourth part of the score.
When a line of the music score after the performance is divided according to a staff, the line of the music score after the performance can be erased line by line; when dividing a line of the score after performance by measures, it is possible to achieve erasure of a line of the score after performance by measures. Therefore, the music score is erased line by line or the music score is erased section by section, and the problem that miscellaneous points are left on a display interface due to too fast erasing time can be avoided.
In an embodiment, the nth line of music score is a line of music score of which the current performance is completed, and the determining the erasing time of each part of music score according to the performance time of the non-performed music score includes: determining a first line number of the non-performed music score according to the number of the partial music scores divided by the Nth line music score; the difference between the first number of lines and the partial score number is 1; determining at least two lines of the first line of the music score from the non-performed music score; each line of music score in the at least two lines of music scores is separated from the Nth line of music score by a preset line number; and determining the erasing time of each part of the music score according to the time when each line of music score in the at least two lines of music scores is performed. The preset number of lines, the erasing time and the division score are required to be adjusted according to actual conditions.
Here, it is assumed that the nth line music score is divided into three parts of music scores; determining that the first line number of the non-performed score is 2; from the non-performed scores, a score of 2 lines apart from the nth line of music score, i.e., an n+2-th score, and a score of 4 lines apart from the nth line of music score, i.e., an n+4-th score, are determined; the first partial score is not displayed when the N-th row performance is completed, the second partial score is not displayed when the n+2-th row performance is completed, and the third partial score is not displayed when the n+4-th row music score performance is completed.
In an embodiment, when the nth line score is divided into two parts of score; the step of not displaying a line of score currently performed includes: not displaying part of the N-th line score; detecting whether the performance is completed on the (n+1) th line of music score; when it is determined that the n+1st line music score performance is completed, the rest of the N-th line music score is not displayed; wherein N is a positive integer greater than 1.
Here, it is assumed that the nth row of music score is composed of two sheets, and thus a score symbol in a first sheet of the nth row of music score may be taken as a first partial score and a score symbol in a second sheet as a second partial score; determining that the first line number of the non-performed score is 1; from the non-performed score, a score 1 line apart from the nth score, i.e., an n+1th score, is determined; the first partial score is not displayed when the N-th row performance is completed, and the second partial score is not displayed when the n+1-th row performance is completed.
In an embodiment, when the nth line score is divided into two parts of score; the method further comprises the steps of: when it is determined that the performance of the n+1-th line music score is completed, a part of the n+1-th line music score is not displayed; when it is determined that the n+2-th line musical score performance is completed, not displaying the remaining part of the n+1-th line musical scores, not displaying part of the n+2-th line musical scores, displaying the N-th line musical score of the first display page; the first display page is different from the current display page. The first display page is the next display page to the current display page.
Here, the process from the full display to the erasing of the part, i.e., the fade display, is required for each line of the score until the full process is erased.
In order to display the musical score content of the next display page, after one line of musical scores after being played is completely erased, the musical score content of the next display page corresponding to the current line may be displayed.
In an embodiment, the method further comprises: detecting whether rest marks meeting preset conditions exist in the obtained music score symbols or not; searching for the rest from the currently displayed score when it is determined that the rest exists; and when the rest is found, not displaying the music score of the current display page.
Wherein, the rest characters meeting the preset conditions comprise a binary rest character and a full rest character.
Here, since the probability of occurrence of the half rest and the full break in each line of the score in the current display page is small, when the half rest or the full break is detected, the whole screen refresh can be performed, that is, the score of all lines of the current display page is not displayed. Therefore, the refreshing processing of the progressive music score is not affected, the ghost can be removed through the whole screen refreshing, the user performance is facilitated, and the user performance experience is improved.
By adopting the technical scheme of the embodiment of the application, each line of music spectrum of the current page can be erased completely before the music score of the next display page is displayed, so that the miscellaneous points cannot be displayed in the next display page, and the problem that the music score performance is affected due to the fact that the miscellaneous points are left on the display page due to too high refreshing speed in full screen refreshing can be avoided.
The following describes the implementation process and principle of the present application in practical application by taking specific embodiments as examples.
Fig. 2 is a schematic diagram of the hardware constitution of the processing means of the score. As shown in fig. 2, includes:
a processor for executing the steps of the processing method of the electronic score.
A microphone for collecting audio data when the electronic score is performed.
Memory and/or non-volatile storage medium for storing a computer program of the operating system, the database and the processing method of the electronic score.
And the display is an electronic ink screen and is used for displaying electronic music scores.
Fig. 3 is a specific implementation flow of the processing method of the music score according to the embodiment of the present application, and in combination with a schematic diagram of a hardware composition structure of the processing device of the music score shown in fig. 2, the specific implementation process includes the following steps:
step 301: displaying an electronic music score by using an electronic ink screen; collecting audio data in the process of playing the electronic music score, and identifying the collected audio data to obtain corresponding music score symbols; and determining a line of currently performed music score according to the obtained music score sign.
The method comprises the steps of collecting audio data through a microphone, and identifying and processing the collected audio data through a processor to obtain corresponding music score symbols; and according to the obtained score symbols, determining the performance progress of the electronic score, namely determining a row of electronic scores which are completely played by the user.
Fig. 4 is an initial display state of an electronic musical score in the current display interface. As shown in fig. 4, four lines of electronic musical scores are displayed in total on the current display interface, each line of electronic musical scores being in a full display state.
Step 302: and when the music score of the nth row in the current display page is determined to be performed, the music score of the nth row is desalted and displayed.
Assuming that the current display page is page 1, line 1 of the nth row, when it is determined that the music score on page 1, line 1 is performed, the processor controls the display to erase a first portion of the music score on line 1 according to the generated fade instruction, as shown in fig. 5. Wherein, the part of the 2 nd subsection, 4 th subsection and 5 th subsection in the 1 st line of music score can be used as a first part of music score, and the rest of the 1 st subsection, 3 rd subsection and 5 th subsection in the 1 st line of music score can be used as a second part of music score.
Step 303: when it is determined that the n+1th score in the current page is performed, the n+1th score is faded out and displayed, and the N-th score is cleared.
When it is determined that the music score on the 1 st page and the 2 nd line is performed, the processor controls the display to fade and display the music score on the 2 nd line according to the generated fade instruction and the clear instruction, and clears the second part of the music score on the 1 st line, namely the rest part of the music score, as shown in fig. 6.
Step 304: when it is determined that the music score of the n+2 th line of the current page is performed, the music score of the n+2 th line is desalted and displayed, the music score of the n+1 th line is cleared, and the music score of the N th line of the next page is displayed on the N th line.
When it is determined that the music score on page 1 and line 3 is performed, the processor controls the display to fade and display the music score on line 3, clear the music score on line 2 and display the music score on page 2 and line 1 according to the generated fade instruction, clear instruction and display instruction, as shown in fig. 7.
Step 305: and searching rest characters meeting preset conditions according to the obtained music score symbols, and refreshing the whole screen when the rest characters are searched.
And comparing the music score symbols obtained by the processor according to the identification audio data with the music score symbols displayed on the current page, and refreshing the whole screen of the music score of all lines in the current page to remove the ghost if the preset rest, such as the half rest or the full rest, is identified.
When the score is in the half rest or the full rest, the player has low dependence on the score, and the whole screen refreshing can not influence the player and can remove the ghost.
Based on the processing method of the music score provided by each embodiment of the present application, the embodiment of the present application further provides a processing device of the music score, as shown in fig. 8, where the device includes:
a collection module 81 for collecting audio data during a process in which a score is performed;
the recognition module 82 is used for performing recognition processing on the collected audio data to obtain corresponding music score symbols;
a detection module 83, configured to detect whether a line of a currently displayed score is performed based on the obtained score symbol, so as to obtain a detection result;
and a display module 84 for not displaying a line of the score currently being performed when the detection result indicates that the line of the score is performed.
In an embodiment, the detecting module 83 is specifically configured to determine, for each currently displayed line of music score, whether each first score symbol in the corresponding line of music score is identical to each second score symbol in the obtained score symbols; when the same, the corresponding line of the music score is taken as the line of the music score of which the current performance is completed, and the detection result of the line of the music score in the current display of which the performance is completed is obtained.
In one embodiment, the display module 84 is specifically configured to divide each line of the score into at least two parts after the score is played; determining the erasing time of each part of the music score according to the performance time of the non-performed music score; and carrying out partial display processing on the corresponding partial music score according to the determined erasing time of each partial music score.
Specifically, a line of the score after the performance is divided into at least two parts according to a staff constituting the current line of the score; alternatively, a line of the score after the performance is divided into at least two parts according to the measure in the current line of the score. Determining a first line number of the non-performed music score according to the partial music score number divided by the current line music score; the difference between the first number of lines and the partial score number is 1; determining at least two lines of the first line of the music score from the non-performed music score; each line of music score in the at least two lines of music scores is separated from the current line of music score by a preset line number; and determining the erasing time of each part of the music score according to the time when each line of music score in the at least two lines of music scores is performed.
In an embodiment, when the nth line score is divided into two parts of score; the display module 84 is specifically configured to not display a part of the N-th line musical score; detecting whether the performance is completed on the (n+1) th line of music score; when it is determined that the n+1st line music score performance is completed, the rest of the N-th line music score is not displayed; when it is determined that the performance of the n+1-th line music score is completed, a part of the n+1-th line music score is not displayed; when it is determined that the n+2-th line musical score performance is completed, not displaying the remaining part of the n+1-th line musical scores, not displaying part of the n+2-th line musical scores, displaying the N-th line musical score of the first display page; the first display page is different from the current display page. The first display page is the next display page to the current display page. Wherein N is a positive integer greater than 1.
The detection module 83 is further configured to detect whether a rest symbol satisfying a preset condition exists in the obtained music score symbol; searching for the rest from the currently displayed score when it is determined that the rest exists; when the rest is found, not displaying all the lines of music scores of the current display page.
It should be noted that: in the processing device for music score provided in the above embodiment, only the division of the program modules is used for illustration, and in practical application, the processing allocation may be performed by different program modules according to needs, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the processing device of the music score provided in the foregoing embodiment and the processing method embodiment of the music score belong to the same concept, and specific implementation processes of the processing device of the music score are detailed in the method embodiment, and are not repeated here.
In practical application, the acquisition module 81 is implemented by a network interface located on the processing means of the score; the recognition module 82, the detection module 83 may be implemented by a processor located on the processing means of the score, such as a central processing unit (CPU, central Processing Unit), a microprocessor (MPU, micro Processor Unit), a digital signal processor (DSP, digital Signal Processor), or a field programmable gate array (FPGA, field Programmable Gate Array), etc.; the display module 84 is implemented by a network interface located on the processing means of the score in combination with a processor.
Fig. 9 is a schematic structural view of a processing apparatus for a musical score according to the present application, and the processing apparatus 900 for a musical score shown in fig. 9 includes: at least one processor 901, memory 902, a user interface 903, at least one network interface 904. The various components in the processing means 900 of the score are coupled together by a bus system 905. It is appreciated that the bus system 905 is employed to enable connected communications between these components. The bus system 905 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled as bus system 905 in fig. 9.
The user interface 903 may include, among other things, a display, keyboard, mouse, trackball, click wheel, keys, buttons, touch pad, or touch screen, etc.
The memory 902 in the embodiment of the present application is used to store various types of data to support the operation of the processing apparatus 900 of the score. Examples of such data include: any computer program for operating on the processing means 900 of the score, such as an operating system 9021 and application programs 9022; the operating system 9021 contains various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 9022 may contain various applications for implementing various application services. A program for implementing the method of the embodiment of the present application may be included in the application 9022.
The method disclosed in the above embodiment of the present application may be applied to the processor 901 or implemented by the processor 901. Processor 901 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 901 or instructions in the form of software. The processor 901 may be a general purpose processor, a digital signal processor, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 901 may implement or perform the methods, steps and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiment of the application can be directly embodied in the hardware of the decoding processor or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium in a memory 902 and the processor 901 reads information in the memory 902, in combination with its hardware, performing the steps of the method as described above.
It is to be appreciated that the memory 902 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Wherein the nonvolatile Memory may be Read Only Memory (ROM), programmable Read Only Memory (PROM, programmable Read-Only Memory), erasable programmable Read Only Memory (EPROM, erasable Programmable Read-Only Memory), electrically erasable programmable Read Only Memory (EEPROM, electrically Erasable Programmable Read-Only Memory), magnetic random access Memory (FRAM, ferromagnetic random access Memory), flash Memory (Flash Memory), magnetic surface Memory, optical disk, or compact disk Read Only Memory (CD-ROM, compact Disc Read-Only Memory); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be random access memory (RAM, random Access Memory), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static Random Access Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access memory (DRAM, dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (ddr SDRAM, double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random access memory (ESDRAM, enhanced Synchronous Dynamic Random Access Memory), synchronous link dynamic random access memory (SLDRAM, syncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, direct Rambus Random Access Memory). The memory 902 described by embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
Based on the processing method of the music score provided by the embodiments of the present application, the present application further provides a computer readable storage medium, referring to fig. 9, the computer readable storage medium may include: a memory 902 for storing a computer program executable by the processor 901 of the processing device 900 of the score to perform the steps of the method as described above. The computer readable storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
It should be noted that: the technical schemes described in the embodiments of the present application may be arbitrarily combined without any collision.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the present application.

Claims (8)

1. A method of processing a score, the method comprising:
collecting audio data during the process of a music score being performed;
identifying the collected audio data to obtain corresponding music score symbols;
based on the obtained score symbol, detecting whether to perform one line of score in the currently displayed score to obtain a detection result;
when the detection result represents that one line of music score is performed, one line of music score which is performed currently is not displayed;
wherein, the step of not displaying a line of music score of which the current performance is completed includes:
dividing the current music score of a line which is performed completely into at least two parts, and determining the erasing time corresponding to each part of music score according to the performance time of the music score which is not performed in the music score;
according to the erasing time, carrying out partial erasing treatment on the corresponding partial music score;
the Nth line of music score is the line of music score of which the current performance is completed; the process of performing the partial erasing process on the corresponding partial score includes:
not displaying part of the N-th line score;
detecting whether the performance is completed on the (n+1) th line of music score;
when it is determined that the n+1st line music score performance is completed, the rest of the N-th line music score is not displayed;
wherein N is a positive integer greater than 1;
wherein, the determining the erasing time corresponding to each part of the music score according to the performance time of the non-performed music score in the music score comprises:
determining a first line number of the non-performed music score according to the partial music score number divided by the Nth line music score, wherein the difference between the first line number and the partial music score number is 1;
determining at least two lines of music scores of the first line from the non-performed music scores, wherein each line of music score in the at least two lines of music scores is separated from an Nth line of music score by a preset line;
and determining the erasing time of each part of the music score according to the time when each line of music score in the at least two lines of music scores is performed.
2. The method of claim 1, wherein the detecting whether the performance is completed for a line of the currently displayed score based on the obtained score symbol comprises:
for each currently displayed line of music score, judging whether each first music score symbol in the corresponding line of music score is identical to each second music score symbol in the obtained music score symbols;
when the same, the corresponding line of the music score is taken as the line of the music score of which the current performance is completed, and the detection result of the line of the music score in the current display of which the performance is completed is obtained.
3. The method according to claim 1, wherein the method further comprises:
when it is determined that the performance of the n+1-th line music score is completed, a part of the n+1-th line music score is not displayed;
when it is determined that the n+2-th line musical score performance is completed, not displaying the remaining part of the n+1-th line musical scores, not displaying part of the n+2-th line musical scores, displaying the N-th line musical score of the first display page; the first display page is different from the current display page.
4. The method according to claim 1, wherein the method further comprises:
detecting whether rest marks meeting preset conditions exist in the obtained music score symbols or not;
searching for the rest from the currently displayed score when it is determined that the rest exists;
and when the rest is found, not displaying the music score of the current display page.
5. A processing apparatus for a score, the apparatus comprising:
the acquisition module is used for acquiring audio data in the process of playing the music score;
the identification module is used for carrying out identification processing on the collected audio data to obtain corresponding music score symbols;
the detection module is used for detecting whether to play one line of music score in the currently displayed music score based on the obtained music score symbol to obtain a detection result;
the display module is used for not displaying one line of music score which is currently performed when the detection result represents that one line of music score is performed;
the display module is specifically configured to divide the current performed line of music score into at least two parts, and determine an erasure time corresponding to each part of music score according to performance time of a music score which is not performed in the music score; according to the erasing time, carrying out partial erasing treatment on the corresponding partial music score; the Nth line of music score is the line of music score of which the current performance is completed;
the display module is specifically used for not displaying part of the music scores in the Nth line of music scores; detecting whether the performance is completed on the (n+1) th line of music score; when it is determined that the n+1st line music score performance is completed, the rest of the N-th line music score is not displayed; wherein N is a positive integer greater than 1;
the display module is specifically configured to determine a first number of lines of an uneperformance score according to the number of partial scores divided by the nth line score, where a difference between the first number of lines and the number of partial scores is 1;
determining at least two lines of music scores of the first line from the non-performed music scores, wherein each line of music score in the at least two lines of music scores is separated from an Nth line of music score by a preset line;
and determining the erasing time of each part of the music score according to the time when each line of music score in the at least two lines of music scores is performed.
6. The apparatus of claim 5, wherein the device comprises a plurality of sensors,
the detection module is specifically configured to determine, for each currently displayed line of music score, whether each first score symbol in the corresponding line of music score is the same as each second score symbol in the obtained score symbols; when the same, the corresponding line of the music score is taken as the line of the music score of which the current performance is completed, and the detection result of the line of the music score in the current display of which the performance is completed is obtained.
7. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 4.
8. A musical score processing apparatus, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor;
wherein the processor is adapted to perform the steps of the method of any of claims 1 to 4 when the computer program is run.
CN201810950680.1A 2018-08-20 2018-08-20 Music score processing method and device and computer readable storage medium Active CN109192185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810950680.1A CN109192185B (en) 2018-08-20 2018-08-20 Music score processing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810950680.1A CN109192185B (en) 2018-08-20 2018-08-20 Music score processing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109192185A CN109192185A (en) 2019-01-11
CN109192185B true CN109192185B (en) 2023-10-20

Family

ID=64918544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810950680.1A Active CN109192185B (en) 2018-08-20 2018-08-20 Music score processing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109192185B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112447155B (en) * 2019-09-05 2023-08-15 中移(苏州)软件技术有限公司 Electronic music score page turning method, device and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10254434A (en) * 1997-01-10 1998-09-25 Roland Corp Electronic musical instrument
JPH1124648A (en) * 1997-07-04 1999-01-29 Casio Comput Co Ltd Data display method, data display device, musical score display method and musical score display device
JP2001265325A (en) * 2000-03-22 2001-09-28 Yamaha Corp Score display device and document display device
JP2003345346A (en) * 2003-05-22 2003-12-03 Kawai Musical Instr Mfg Co Ltd Music paper editor
TWI229845B (en) * 2003-10-15 2005-03-21 Sunplus Technology Co Ltd Electronic musical score apparatus
JP2005301049A (en) * 2004-04-14 2005-10-27 Yamaha Corp Musical score display device and program
CN1953044A (en) * 2006-09-26 2007-04-25 中山大学 Present and detection system and method of instrument performance based on MIDI file
JP2013063334A (en) * 2004-05-07 2013-04-11 Regents Of The Univ Of Minnesota Multi-current elements for magnetic resonance radio frequency coil
CN203773930U (en) * 2013-06-27 2014-08-13 叶滨 Electrical piano
CN104517591A (en) * 2013-09-20 2015-04-15 卡西欧计算机株式会社 Music score display device and music score display method
CN107039024A (en) * 2017-02-10 2017-08-11 美国元源股份有限公司 Music data processing method and processing device
CN107067878A (en) * 2017-02-10 2017-08-18 美国元源股份有限公司 User is guided to carry out the method and device of playing practice
CN108045127A (en) * 2017-12-15 2018-05-18 惠州市敦雅科技有限公司 A kind of music-score automatic-turning-page method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7649134B2 (en) * 2003-12-18 2010-01-19 Seiji Kashioka Method for displaying music score by using computer
US20130042746A1 (en) * 2011-08-17 2013-02-21 David Shau Electrical Music Books
JP6682953B2 (en) * 2016-03-30 2020-04-15 ヤマハ株式会社 Music score display control method, music score display control device, music score display control program

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10254434A (en) * 1997-01-10 1998-09-25 Roland Corp Electronic musical instrument
JPH1124648A (en) * 1997-07-04 1999-01-29 Casio Comput Co Ltd Data display method, data display device, musical score display method and musical score display device
JP2001265325A (en) * 2000-03-22 2001-09-28 Yamaha Corp Score display device and document display device
JP2003345346A (en) * 2003-05-22 2003-12-03 Kawai Musical Instr Mfg Co Ltd Music paper editor
TWI229845B (en) * 2003-10-15 2005-03-21 Sunplus Technology Co Ltd Electronic musical score apparatus
TW200514020A (en) * 2003-10-15 2005-04-16 Sunplus Technology Co Ltd Electronic musical score apparatus
JP2005301049A (en) * 2004-04-14 2005-10-27 Yamaha Corp Musical score display device and program
JP2013063334A (en) * 2004-05-07 2013-04-11 Regents Of The Univ Of Minnesota Multi-current elements for magnetic resonance radio frequency coil
CN1953044A (en) * 2006-09-26 2007-04-25 中山大学 Present and detection system and method of instrument performance based on MIDI file
CN203773930U (en) * 2013-06-27 2014-08-13 叶滨 Electrical piano
CN104517591A (en) * 2013-09-20 2015-04-15 卡西欧计算机株式会社 Music score display device and music score display method
CN107039024A (en) * 2017-02-10 2017-08-11 美国元源股份有限公司 Music data processing method and processing device
CN107067878A (en) * 2017-02-10 2017-08-18 美国元源股份有限公司 User is guided to carry out the method and device of playing practice
CN108045127A (en) * 2017-12-15 2018-05-18 惠州市敦雅科技有限公司 A kind of music-score automatic-turning-page method

Also Published As

Publication number Publication date
CN109192185A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN102663423B (en) Method for automatic recognition and playing of numbered musical notation image
Margulis Musical repetition detection across multiple exposures
CN110111761B (en) Method for real-time following musical performance and related product
CN108986841B (en) Audio information processing method, device and storage medium
US20130186258A1 (en) Musical performance training apparatus, musical performance training method, and computer readable medium
US20170221377A1 (en) Musical performance assistance apparatus and method
WO2019205383A1 (en) Electronic device, deep learning-based music performance style identification method, and storage medium
Sabathé et al. Deep recurrent music writer: Memory-enhanced variational autoencoder-based musical score composition and an objective measure
Hsieh et al. Addressing the confounds of accompaniments in singer identification
CN109979257A (en) A method of partition operation is carried out based on reading English auto-scoring and is precisely corrected
CN109192185B (en) Music score processing method and device and computer readable storage medium
JP2006243673A (en) Data retrieval device and method
Edge et al. Tip tap tones: mobile microtraining of mandarin sounds
CN105118490A (en) Polyphonic musical instrument note positioning method and polyphonic musical instrument note positioning device
Seshadri et al. Improving music performance assessment with contrastive learning
JP4738135B2 (en) Music score recognition apparatus and music score recognition program
JP3915428B2 (en) Music analysis apparatus and program
CN112802439B (en) Performance data identification method, device, equipment and storage medium
CN111210841B (en) Musical instrument phoneme recognition model establishing method and musical instrument phoneme recognition method
CN114267318A (en) Method for generating Midi music file, storage medium and terminal
JP2008083434A (en) Voice learning support apparatus and voice learning support program
Lee Rethinking of the regularity and consistency effects in reading
CN111179890B (en) Voice accompaniment method and device, computer equipment and storage medium
Huang et al. Automatic Assessment of Sight-reading Exercises.
CN112231512A (en) Song annotation detection method, device and system and storage medium

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