# An Empirical Analysis of Piano Performance Skill Evaluation Based on Big Data

Authors: Yuyu Zhang
Journal: Mobile Information Systems
 (2022)

---

## Abstract

Teachers often guide the rhythm and coherence of piano performance in the teaching process. It is of great significance to use computer technology to automatically evaluate piano performance skills. In this paper, computer technology is used to automatically evaluate the accuracy of piano music classification based on the high-dimensional data collaborative filtering recommendation algorithm, and the K-means model algorithm is used for comparative testing. By comparing the classification results of the high-dimensional data collaborative filtering recommendation algorithm with the piano music classification results of the K-means algorithm, the piano learning burden can be reduced and the piano learning effect can be improved. The research results of this paper show that the accuracy rate of the automatic piano performance evaluation system based on the high-dimensional data collaborative filtering recommendation algorithm reaches 95%, which has a good evaluation effect.


---

## Body

## 1. Introduction

With the continuous development and deepening of China’s reform and opening up, people’s material living standards are rising, and people’s pursuit of spiritual quality of life is also getting higher and higher, and piano learning is also sought after by more and more people [1–3].According to the survey, about 20% of parents in the city want their children to learn to play piano, and the number of piano grade examinations is growing at a rate of 20% per year. It is difficult to improve the supply and demand of piano teachers in China in a short period of time.Although many parents in China would like their children to learn to play piano, the cost of piano education is actually high, and not only does an ordinary piano cost tens of thousands of dollars but piano instruction costs hundreds of dollars per hour. As a result, parents are often able to hire a teacher for only one hour a week, while the rest of the time, students are left to learn blindly, which leads to unsatisfactory piano learning results [4, 5].With the development of information technology, computers have been widely used in the field of music. From the early phonograph to the current electro-acoustic band are the products of the development of electronic technology [6]. At present, piano learners can download various piano scores, sound samples, and other piano learning materials from the Internet, which can reduce the pressure of piano learning and enhance the effect of piano learning. When learning piano, although you can use some piano learning materials to learn the basics and improve your playing proficiency by making more connections, these learning materials are not very helpful in grasping the emotion and timbre of the music when learning piano. Compared to teacher learning, music learning through computer-based learning materials is less interactive [7]. It is not only the accuracy of the notes played that makes a piano performance good or bad but also the rhythm and coherence of the piano performance that is usually instructed by the teacher in the process of teaching. Therefore, it is very important to use computer technology to automatically evaluate the piano playing technique so as to reduce the burden of piano learning and improve the piano learning effect [8].The computer recognition and automatic evaluation of piano performance involves various aspects of music theory, signal processing, pattern recognition, and piano performance technology, and it involves many fields such as music theory, electronics, computers and physics. At the same time, the automatic evaluation system of piano performance is also useful for the development of computerized composition, automatic score, and music feature recognition [9, 10].With the increasing popularity of computers, we develop a piano automatic identification and evaluation system by computer to automatically evaluate the performance level of piano players and replace professional music educators with “electronic teachers,” thus helping piano learners to understand piano music and improve their knowledge of music with the assistance of computers, and the system identifies and analyzes the piano performance music, extracts and processes the features, and compares them with the features of the music score to obtain the final evaluation results, thus giving the most realistic evaluation of the player’s piano level and allowing the piano learner to recognize the shortcomings of the performance more clearly.


## 2. Related Work

The Moorer system was the first polyphonic recognition system that supported the input of two voices. The early Moorer system required that the ranges of the two voices be staggered and that the fundamental frequency (pitch) ranges of the two voices to be input do not overlap with each other. By the late 1980s, efforts were made to develop the perception and extraction of music signals with the aim of creating a system similar to the one used by the human ear to perceive music. This project resulted in the design of two systems, one of which was able to perform recognition of three input voices while tolerating more errors, and the other was able to recognize monophonic melodies of Japanese folk songs and to recognize inaccurate or erroneous content in music according to the characteristics of Japanese music. In 1993, Blanco-Piñeiro et al. [11] proposed an algorithm for multipiano work recognition based on computer auditory pathway analysis and proved by practice that the algorithm has good performance of multipiano work recognition. Wallerstedt and Pramling [12] studied a music recognition system using the heuristic signal processing method, which can recognize organ ensemble music with as many as eight inputs. However, the system placed more emphasis on the perceptual consistency of the system recognition results by listening to input music and was not able to accurately identify the notes in the music. Gibson et al.’s [13] research group made a significant contribution to automatic music recognition by clearly analyzing the human auditory discrimination mechanism for the first time as well as introducing a process-based pitch modeling process, proposing an automatic pitch modeling algorithm and was able to automatically extract from the signal. The system was introduced in 1995.In 1995, the system was further improved by adopting the blackboard structure, which abandoned the global control module, and the organic integration of various types of prior knowledge greatly improved the effect of music recognition and made the system have better prior knowledge through the application of the blackboard structure in Bayesian probabilistic networks. Greenberg [14] also used the blackboard structure to study the music recognition system although the study did not establish the propagation network and probabilistic information, nor did it perform automatic pitch modeling, that is, by adding a perceptually weighted front-end and analyzing the correlation graph, thus supporting the analysis of multiple music signal inputs with a maximum number of pronunciations of four. Because of the short development time of computer technology in China, there is a lack of domestic research on piano music recognition. The research on piano music recognition, feature extraction, and automatic evaluation is lacking in China. However, in the field of automatic speech recognition, which is related to automatic piano recognition, many universities and research institutes have started to research on automatic speech recognition technology due to the high attention of the state.Due to the sensitivity of the human ear to sound and the ambiguity of emotion, it is not a perfect performance that requires the piano music to be exactly the same as the music in the score. Therefore, after extracting the characteristics of piano music, some intelligent evaluation methods are usually used to classify the performed piano music for the purpose of piano music evaluation. At present, the main classification and evaluation methods are neural network algorithms. The development of neural network can be traced back to 1890, Katayose et al. [15] clarified about the structure of human brain and its functions. In his academic journal, and Zhen[16] proposed a mathematical model for processing information by neuronal networks (i.e., the M-P model), which unveiled the research on neural networks to the world for the first time, and the research on neural networks entered the main topic. The learning rule emphasizing the change of connection strength between artificial neurons created a new situation in the research of neuronal networks and marked the period of neural networks entering the application [17].A system with self-learning capability was successfully developed, which started the first research boom of artificial neuronal networks [18, 19]and developed an adaptive linear unit Adaline. Adaline a two-layer variant of Adaline Madaline was applied in various fields, including speech recognition, character recognition, atmospheric forecasting, and adaptive control functions. This was the first application of neural networks to a practical problem. Katayose et al. [15] proposed a neural network for visual recognition called “Neocognitron,” which was compatible with biological vision theory and could perform pattern recognition without guidance, but the network structure was too complex to be generalized. The PDP group led by Wright et al. [18] developed a backpropagation network, which has been more widely used. This model introduced the LyaPunov function (i.e., computational energy function) gave the basis for determining the stability of the network and proved the principle that a neural network system with interconnected units would achieve minimum energy loss. The Hopfield model successfully solved the complex NP problem; that is, the Hopfield model successfully solves the complex NP problem, namely, the “salesman’s travel path” problem (computation increases exponentially with the number of cities N). Moreover, the model can be implemented by integrated circuits, which provides the basis for neuronal computers. Rumelhart and McClelland proposed an error propagation learning algorithm for multilayer networks which is referred to as the B-P model. This model introduced multilayer nodes to solve the problem of nonlinear samples. Many successful neural network models were also proposed by many researchers in the same period. These results have greatly contributed to the development of neuronal networks.


## 3. Architecture

The computerized evaluation system of the piano performance is a computerized system that automatically discriminates a piece of piano performance music, evaluates whether it meets the requirements of music performance according to the requirements of music performance and logic, and scores the performance according to certain rules.Of course, in the future further development work, the system will give textual evaluation of the performer’s performance and suggest improvements.Based on the system design idea, the overall framework of the designed system is shown in Figure1.Figure 1
Overall system structure.The detection of the end frame of piano music is similar to the detection of the beginning frame of piano music: search from the sound file backward to forward, find the first frame whose average amplitude or average energy exceeds ETL, and if the average amplitude or average energy in this frame forward does not have the next frame whose average amplitude or average energy drops below ETL before it exceeds ETU, then mark this frame as N2; if there are some consecutive frames in the 25-frame period in which the zero rate exceeds ZT, the last frame that meetsZ > ZT is the end frame of the piano tone (Ne) [20–22]; otherwise, N2 is the end frame of the piano tone. The endpoint detection flow of piano tone is shown in Figure 2.Figure 2
Endpoint detection flow chart for piano music.As shown in Figure2, in the practice of automatic piano sound evaluation, if the input signal is a piano sound signal collected directly through a microphone, the piano sound signal can still be detected very accurately by the method shown in Figure 2 under the interference of piano sound background noise.


## 4. Introduction to Collaborative Filtering Recommendation Algorithms for High-Dimensional Data

In the process of solving the similarity between high-dimensional data, the spatial vector method is mainly used to determine the value of weight information between high-dimensional data information [19] which set the corresponding threshold value according to the weight information to prevent the weight threshold value of high-dimensional data information from being too high, resulting in low similarity. The formula for calculating the weight of high-dimensional data information is as follows:(1)Weighttd=αtd+βtd×TFIDFt,where Weighttd denotes the weight of a data information t in the high-dimensional data d. The initial and ending weights of data information t in the data set d are αtd and βtd, respectively, for the TFIDF value of data information t in the data set d can be calculated by(2)TFIDFtd=TFtd×log10Nk/ni+0.01∑xdTFtd×log10Nk/ni+0.012.In the above equation,Nk denotes the amount of features in the information set of high-dimensional data, TFtd denotes the probability of existence of high-dimensional data t in dataset d, and ni denotes the number of all high-dimensional data in dataset d.By using the adaptive analysis method, the similarity between high-dimensional data is defined as(3)Simsi,sj=Ci∩CjCi∪Cj.In the above equation,C denotes the set of feature information between high-dimensional data. By solving the two high-dimensional data feature vectors s and s, we can obtain the contrast value about the high-dimensional data feature vectors so as to determine the similarity between high-dimensional data. The similarity between high-dimensional data can be determined by equtaion (3), where 0 means that there is no similarity between the two high-dimensional data information, and 1 means that the high-dimensional data information is completely similar.By calculating the similarity of high-dimensional data, the distribution of similarity of different high-dimensional data in the dataset is obtained, and the following matrix is used to express the meaning:(4)S=s11s12⋯s1ns21s22⋯s2n⋮⋮⋱⋮sn1sn2⋯snm,where snm denotes the similarity between sn and sm different high-dimensional data in the dataset.By analyzing the similarity of different high-dimensional data in the dataset, we set the similarity weight threshold value of high-dimensional data, obtain the similarity between high-dimensional data in the dataset by calculating the weight value, get the distribution of similarity between high-dimensional data information, and complete the calculation of similarity value between high-dimensional data [23–25].Using data mining technology, we preprocess the high-dimensional data information to realize the classification of information (2). We construct a collaborative filtering scoring model, which is expressed by them × n collaborative filtering scoring matrix, as follows:(5)Rm,n=r1r2⋯rnr11r12⋯r1n⋮⋮⋱⋮rm1rm2⋯rmn.In the above equation,m represents the number of rows of the scoring matrix in the collaborative filtering process for high-dimensional data, n is the number of columns of the scoring matrix in the collaborative filtering process, and the scoring result of high-dimensional data i on target data j is expressed as Rij. The evaluation level of the high-dimensional data is expressed by a constant from 0 to 5, which represents the rating of the collaborative filtering of the high-dimensional data.According to the collaborative filtering scoring model for high-dimensional data, the prediction of users’ preference scores is obtained by collaborative filtering for each collected high-dimensional data sampleT=q1,u1,⋯qn,un, where qi=q1i,⋯,qni, the jth high-dimensional data attribute of the first collaborative filtering training sample is denoted as q. According to the users’ evaluation system, the conditional probability of users’ collaborative filtering of high-dimensional data Pck is calculated using (6) and (7):(6)Pck=∑i=1NIckN,(7)Pqii|ck=∑i=1NIqij,ck∑i=1NIck,where N denotes the frequency of users clicking on preferences, Ick denotes the probability between users’ search results and ratings, and Iqij,ck denotes the conditional probability of users’ search; ∑i=1NIck denotes the probability of similarity between the training samples and users’ preferences in collaborative filtering of high-dimensional data. After training the model, the collaborative filtering inference can be performed on the high-dimensional data qj:(8)U=Pck∏j=1nPqij|ck.In the above equation, different user preferences are obtained depending on the characteristics of the high-dimensional data, and this value represents the relationship between user preferences and recommendation results [26–28].In the high-dimensional data collaborative filtering recommendation process, supposeu1,a1,…,un,an. denotes the data node information, where n recommendation results and m users search high-dimensional data bipartite graph as G, ai is the predicted value of high-dimensional data collaborative filtering results, then the user preferences collaborative filtering ai, summation, is(9)wqi=∑j=1najkuj,where kuj denotes the number of collaborative filtering of high-dimensional data, and aj denotes the predicted value of the collaborative filtering result. The prediction of the recommendation list according to the user’s preference is(10)wqi=∑j=1najkujclickuj,qiN,where clickuj,qi denotes the probability of high-dimensional data qi being recommended.In the final list of high-dimensional data recommendations, there are(11)vqi=∑j=1nclickui,qiNumqi+αq∩qiq∪qi,in which α represents the time influence factor, and different time factors are set according to different users’ preference coefficients. By collaborative filtering of user preferences qi, the high-dimensional data with the highest similarity are recommended to users:(12)N=∑j=1ntq,qi,where tq,qi indicates the correlation of q with qi.According to the above process, a collaborative filtering recommendation algorithm for high-dimensional data is designed to achieve collaborative filtering recommendation for high-dimensional data.


## 5. Results

In order to compare the accuracy of piano music classification based on the high-dimensional data collaborative filtering recommendation algorithm, theK-means model algorithm is used to verify the accuracy and feasibility of piano performance music classification using the high-dimensional data collaborative filtering recommendation algorithm and K-means algorithm.According to the requirements of the high-dimensional data collaborative filtering recommendation algorithm, the 1000 music works were divided into two data sets, train and test, which contain 400 piano music works and 600 piano music works, respectively.In order to obtain a better classification effect, the high-dimensional data collaborative filtering recommendation algorithm was tested four times; that is, 400 piano performance music were selected four times from 1000 piano works, respectively, and each time the piano performance music was demanded, in order to ensure the distribution of piano music evaluation after each random selection, the 1000 piano works were divided into five categories according to the evaluation, and each time when the selection was made, then in each category in order to ensure the distribution of piano music evaluation after each random selection, the 1000 piano works were divided into five categories according to the evaluation, and 80 piano works were selected in each category, thus ensuring that each randomly selected piano music collection contains 80 piano music with good evaluation, 80 piano music with average evaluation, 80 piano music with qualified evaluation, 80 piano music with unqualified evaluation, and 80 piano music with poor evaluation [29].In each test, the high-dimensional data collaborative filtering recommendation algorithm was trained to classify the remaining 600 piano performance music, and the error between the high-dimensional data collaborative filtering recommendation algorithm and the real evaluation of piano works was calculated for each test by comparing the design evaluation of these 600 piano performance music. The objective matrix of each test data set is shown in Table1.Table 1
Objective matrix.
GoodCommonlyQualifiedUnqualifiedDifferenceGood10000Commonly01000Qualified00100Unqualified00001Difference00010As shown in Table1, the horizontal rows represent the actual evaluation results of piano music, and the vertical rows represent the evaluation results of piano music by the high-dimensional data collaborative filtering recommendation algorithm. In the correct evaluation process, piano music with good evaluation is evaluated as good, piano music with average evaluation is evaluated as average, piano music with fair evaluation is evaluated as qualified, piano music with unqualified evaluation is evaluated as unqualified, and piano music with poor evaluation is evaluated as poor.In order to verify the effect of piano performance music classification based on the high-dimensional data collaborative filtering recommendation algorithm designed in this paper, the K-means clustering algorithm and high-dimensional data collaborative filtering recommendation algorithm were used for comparison and analysis in this research project. The k-means clustering algorithm trained by four randomly selected piano music training sets was used to classify the remaining 600 piano performance music in the following matrix. The result matrix obtained from the first K-means clustering algorithm test and the target matrix error are shown in Table2.Table 2
Error of the first test result matrix and the actual situation.
GoodCommonlyQualifiedUnqualifiedDifferenceGood0.0241.241.390.680.68Commonly−1.320.03−0.321.131.32Qualified1.83−0.820.04−1.31−0.21Unqualified−0.82−0.210.820.04−0.04Difference0.32−0.04−0.320.82−0.02As shown in Table2, the error between the results of the first K-means clustering algorithm test and the actual situation was calculated as error l = 3.2366.The error between the result matrix and the target matrix obtained from the second K-means clustering algorithm test is shown in Table3.Table 3
Error between the result matrix of the first test and the actual situation.
GoodCommonlyQualifiedUnqualifiedDifferenceGood0.07500.2701.83Commonly−0.54−0.0051.340.34−0.82Qualified1.321.210.0012.440.82Unqualified−0.23−0.004−0.670.08−0.31Difference1.340.60−0.420.26−0.01As shown in Table3, the error between the second K-means clustering algorithm test results and the actual situation is calculated as error 2 = 1.6053.The error between the result matrix and the target matrix obtained from the third K-means clustering algorithm test is shown in Table4.Table 4
Error between the result matrix of the third test and the actual situation.
GoodCommonlyQualifiedUnqualifiedDifferenceGood−0.0211.33−0.31−1.320.78Commonly1.210.08−0.181.840.82Qualified−0.001−0.3120.08−0.721−0.312Unqualified1.210.820.820.0260.82Difference0.60−0.19−0.420.310.027As shown in Table4, the error between the results of the third k-means clustering algorithm test and the actual situation was calculated as error 3 = 1.7832.The error between the result matrix and the target matrix obtained from the fourth K-means clustering algorithm test is shown in Table5.Table 5
Error between the result matrix and the actual situation for the fourth test.
GoodCommonlyQualifiedUnqualifiedDifferenceGood0.0250.781.321.271.21Commonly−0.310.01−1.321.34−0.004Qualified0.82−0.310.130.781.21Unqualified0.260.820.60−0.121.21Difference1.85−0.310.11−0.0040.03As shown in Table5, the error between the test results of the fourth K-means clustering algorithm and the actual situation was calculated as error 3 = 1.6472.The classification result matrix of the remaining 600 piano performance music by the high-dimensional data collaborative filtering recommendation algorithm trained by the four randomly selected piano music training sets is shown in the Table 6. The result matrix obtained from the first test of the high-dimensional data collaborative filtering recommendation algorithm with the target matrix error is shown in Table6.Table 6
Error between the result matrix and the actual situation for the fourth test.
GoodCommonlyQualifiedUnqualifiedDifferenceGood0.025−0.191.010.820.83Commonly0.560.0230.601.83−0.42Qualified0.82−1.320.024−0.8231.831Unqualified−0.0040.82−0.820.012-0.312Difference−0.0021.310.320.600.033As shown in Table6, the error between the results of the first test of collaborative filtering recommendation algorithm for high-dimensional data and the actual situation is calculated as error l = 0.6539.The error between the result matrix and the target matrix obtained from the second test of the collaborative filtering recommendation algorithm for high-dimensional data is shown in Table7.Table 7
Error between the result matrix of the second test and the actual situation.
GoodCommonlyQualifiedUnqualifiedDifferenceGood−0.0311.56−0.820.231.83Commonly0.820.011.2120.601.82Qualified1.320.820.0852.440.83Unqualified1.831.21−0.670.0470.82Difference0.600.611.420.260.068As shown in Table7, the error between the results of the second test of collaborative filtering recommendation algorithm for high-dimensional data and the actual situation is calculated as error 2 = 0.4076.The error between the result matrix and the target matrix obtained from the third test of high-dimensional data collaborative filtering recommendation algorithm is shown in Table8.Table 8
Error between the result matrix of the second test and the actual situation.
GoodCommonlyQualifiedUnqualifiedDifferenceGood−0.020.89−0.310.781.31Commonly0.82−0.03−0.190.821.14Qualified1.380.820.09−0.311.21Unqualified−0.310.231.830.0120.82Difference0.820.310.9120.60−0.119As shown in Table8, the error between the results of the third test of collaborative filtering recommendation algorithm for high-dimensional data and the actual situation is calculated as error 3 = 0.2652.The error between the result matrix and the target matrix of the fourth high-dimensional data collaborative filtering recommendation algorithm test is shown in Table9.Table 9
Error of the fourth test result matrix and the actual situation.
GoodCommonlyQualifiedUnqualifiedDifferenceGood1.121.321.210.61−0.32Commonly−0.0041.0050.822.440.82Qualified1.211.240.79−0.311.36Unqualified1.720.820.8020.821.84Difference0.261.321.340.870.60As shown in Table9, the error between the test results of the fourth high-dimensional data collaborative filtering recommendation algorithm and the actual situation is calculated as error 3 = 0.1606.Finally, the average error value of the K-means piano performance music classification was calculated with all data. It is shown that the piano music classification results by the high-dimensional data collaborative filtering recommendation algorithm are closer to the actual piano music classification results; that is, the classification results by the high-dimensional data collaborative filtering recommendation algorithm are better than the classification results by the K-means clustering algorithm.The piano music classification model designed by the high-dimensional data collaborative filtering recommendation algorithm is more accurate and allows better attention to the risks of piano music.


## 6. Conclusions

In order to compare the accuracy of piano music classification based on the high-dimensional data collaborative filtering recommendation algorithm studied in this paper, the K-means model algorithm was used to conduct a comparison test to verify the accuracy of piano performance music classification using the high-dimensional data collaborative filtering recommendation algorithm and K-means algorithm in this paper. The final results of the comparison experiments show that the piano music classification by the high-dimensional data collaborative filtering recommendation algorithm is not only accurate but also feasible. The final results show that the piano music classification model designed by the high-dimensional data collaborative filtering recommendation algorithm can improve the accuracy of the piano music classification results by more than six times, which can meet the demand of automatic piano evaluation.



---

*Source: 8566721-2022-08-27.xml*