# Study on Intelligent Online Piano Teaching System Based on Deep Learning Recurrent Neural Network Model

Authors: Yuhan Li
Journal: Mobile Information Systems
 (2022)

---

## Abstract

This study has been conducted to solve the problem of repetitive piano lessons and to bring a personalized experience for each piano learner. The application of deep learning (DL) technology for children’s piano teaching has a positive effect on their interest in the subject and improves the teaching quality. Music instruments were identified in the system using an instrument recognition model that was developed using deep learning techniques. It was also utilized to help children learn to play the piano by giving them direction and boosting their excitement for it. The proposed model’s ability to recognize and acquire features has been improved. The recurrent neural network (RNN) demonstrated instrument recognition accuracy of 96.4%, and the model’s recognition error rate decreased and stabilized as the number of iterations increased. The proposed RNN for musical instruments recognizes instruments by using DL to accurately identify musical properties.


---

## Body

## 1. Introduction

As society progresses, greater emphasis is being placed on ensuring that students receive a high-quality education. Music education may cultivate children’s emotions, help them grow physically and mentally, and help them acquire a sense of perseverance [1]. Emotional music plays a key role in preschool education, which aims to enhance children’s cultural achievements and general quality of life. As a result, children’s piano lessons can serve as an instructional tool. It is a problem, too, because children may grow bored with the tiresome keyboard practice [2]. The piano is an important musical instrument that can cultivate people’s sentiments. It has two modes which are social music education and school music education. A joint venture of these two modes advances the development of piano education. Online education for piano teaching is a network that brings quick lessons to learners and solves existing problems in piano education. Repetitive online classes for piano teaching are not enough to promote piano education and keep children and adults alike entertained. Online piano education can be as effective as face-to-face teaching if it caters to a student’s specific instrument and learning style. However, in an online class that caters to all sorts of learners of piano education, there are many who will find themselves bored.Researchers in the United States and abroad have devoted a great deal of time and attention to the topic of piano instruction. An algorithm was constructed using an intelligent network for identifying piano notes and analyzing them [3]. Through the use of AR technology, it was necessary to transcribe, assess, perform case analyses, and gather experience for AR-based piano education. According to the survey results [4], it was found that AR-based piano education was very practical. Music lessons for children aged 3–12 can enhance a child’s emotional capability. According to the research [5], EQ, academic achievement, and the development of social skills were all found to be enhanced by music. Piano training was made more effective and more enjoyable for the students by utilizing DL-based instrument identification technology. This, in turn, increased student achievement and improved the educational experience for everyone involved. With the goal of increasing student interest in music, identifying kid-written songs, assisting kids with their piano performances, and motivating them to take charge of their own musical education, innovative use of learning theory (DL) in children’s piano lessons has been made. Scientific models have been devised to build an online teaching system for piano education that can adapt to a student’s musical instrument and devise a model for learning based on the instrument’s features. Children who have access to musical instrument recognition technologies may be more likely to pursue piano education.Hence, there is a need for an intelligent online piano teaching system in which children’s ages, relevant pedagogical material, and educational psychology should all be taken into consideration when teachers devise scientific piano learning procedures [6]. Individualized piano instruction can be tailored to the needs of individual students by incorporating deep learning (DL) technology into the classroom, and the combination of children’s psychological issues ensures that each child receives personalized attention [7]. In this paper, a DL algorithm based on a recurrent neural network is being utilized to produce a musical instrument recognition technology for use in children’s piano lessons, with the goal of enhancing the intellectualization of piano training. The effectiveness of teaching piano can be improved by using the piano education model to create piano education patterns. Using this research as a guide, piano teaching for children can be made more intelligent. A recurrent neural network is an effective approach for instrument recognition systems because they are useful in sequence prediction problems due to their feature extraction capabilities. A music signal from a piano comes over a specific time series; hence, a recurrent neural network can be useful in the prediction of instruments based on high-level features of instruments. By implementing DL theory in practice, this study focused on designing an intelligent online teaching piano system using recurrent neural networks.This research discusses the related works to the online piano teaching system and presents the methodology based on the deep learning recurrent neural network approach. After the methodology, the results are presented and a comparison is shown between different data sets. In the end, the conclusion of the study and the scope of future work in the research have been mentioned.


## 2. Literature Review

Piano teachers can work with students one-on-one, in small groups, or large groups. As a coach, you cannot watch and critique every performance at once. There is a strict limit on the number of students to ensure a lively classroom atmosphere and personal attention for each student [8]. When it comes to learning a subject, it has long been considered that students benefit most from listening to what their teachers have to say. The emotional content of the piano performance may be difficult to comprehend for students who are solely focused on piano theory and technique. It may be difficult for them to become excited about playing a musical instrument [9]. Teachers could reinvent and enhance piano education for youngsters by employing an interesting course design that encourages the children to become excited about the process of learning and playing.Some claim that students benefit from a positive school environment and that developing their performance abilities should not just rely on repetition. Parents play a crucial role in their children’s piano practice since their children lack self-control and willpower. In order to get through the entire process, parental support is essential [10]. By working with parents and instructors to tailor piano lessons to each child’s educational psychology, you may help them establish a positive attitude toward music. When teaching youngsters how to play the piano, it is important to remember that humans learn through cognitive processes. It is possible to improve teaching methods through educational psychology by studying children’s educational mental health. As a child grows, he or she is classified into several age groups: infancy, early childhood, preschool, elementary school, and middle school [11]. A common practice in China is to classify children under the age of seven as preschoolers. When children are young, they are thought to be at their most intelligent. Thus, preschool education can help children develop and strengthen their cognitive capacities. Creative expression and acting onstage are two skills that can be learned by preschoolers through music. There is no doubt that the music industry benefits greatly from children’s enthusiasm for creating and performing music [12].Children’s piano education focuses on developing pupils’ personalities in order to foster their inventiveness. According to some, pupils might profit from tailored piano lessons based on their personalities and be fostered thoroughly. It takes musical awareness to be able to feel this emotion when listening to piano music [13]. Solfeggio and ear training, which emphasizes rhythm and tone, have been suggested to help children develop their musical senses. Through singing and playing, children’s tone and spectrum awareness should be cultivated in the beginning. It is imperative that children learn to discern any erroneous tones in piano music by listening attentively to established melodies. As a result, youngsters will have a sense of success and self-confidence as a result of piano practice. Instrument recognition technology can be employed to categorize the emotions expressed in music [14]. Annotate musical texts in order to facilitate transcription and visualization, as well as extract melodies and instrument names from them. The tones produced by the instrument can be used to create a new digital music evaluation model. To distinguish between the different tones produced by musical instruments, one must be able to discriminate between them. Concerning computer technology, it is now possible to discriminate between different instruments. The effectiveness of this concept is dependent on the tone analysis method used. Therefore, CT instrument recognition requires the precise acoustic extraction of the instrument tone [15].A strong understanding of timbre is important when listening to instrumental music. The most commonly utilized techniques can be the Mel cepstrum, orthogonal matching, probability and timbre descriptor feature representation. Instrumental music is distinct from other forms of music by the quantity of time and frequency of content it contains [16]. We filter sound impulses into an auditory spectrum, reflect harmonic information back to our ears, and process sound frequencies and times through multi-scale visual modulation as a result of these processes. This nonlinear relationship between frequency and the Mel spectrum is due to aspects of the human ear’s auditory properties. With this connection, it is possible to determine the frequency spectrum characteristic, also known as the (MFCC) that is Mel Frequency Cepstrum Coefficient [17]. The timbre characteristics and classifiers used in the past instrumental rhythm recognition method fall under the shallow structural category. But when dealing with complex themes, aforesaid models are unable to learn music elements like percussion or symphony instruments since they are too simple [18].There is a range of instruments from various manufacturers in the University of Iowa Electronic Music Studio’s experimental sample collection has a wide range of instruments from various manufacturers, as well as monophonic parts by a variety of artists. Other sorts of instruments include brass, woodwind, and bow-string instruments that can be plucked, pounded, or otherwise manipulated [19]. There are various experimental instruments that can be utilized for the study such as bassoon, flute, guitar, piano, violin, cellophone, xylophone, and saxophone. All of the training samples are single-channel 16-bit digital signals with a sampling rate of 44.1 kHz in order to ensure uniformity among instruments [20]. For the suggested deep learning instrument recognition technology, the alteration of neural network topology was shown to have an impact on the model’s ability to recognize instruments [21]. The suggested model beats both SDA and DBM in terms of recognition accuracy while utilizing the same number of neural network layers as the other two. The more layers in the neural network, the lower the training set’s error rate will be. The instrument recognition model as a whole has a recognition accuracy of more than 88%, which is better than any other music model [22]. The possibility of using an automated method to estimate the buried layer and the number of neurons in DBN is investigated by researchers [23]. As demonstrated by the experimental results [24], restrictive Boltzmann machines can only accept approximate input values in order to prevent over-fitting. Experimentation has shown that the proposed technology has better classification accuracy than many other technologies [25]. Neural networks with different layers can be used to determine the best network topology, which can then be used to meet the practical application requirements. Machine learning algorithms have been used to develop effective and robust classifications. For the diagnosis of breast cancer, the researcher proposed a hybrid smart classification model [26]. The study results revealed that the supervised term weighting model outperformed sentiment analysis in Turkish [27].Sentiment analysis is considered a significant research area within text mining, language processing, and web mining that focuses on determining the main information contained in source materials. The feature selection model is used for sentiment classification [28]. The sentiment analysis is helpful for governments, business organizations, and individual decision-makers [29]. Another study used text mining for evaluating the massive open online courses and also evaluated the high predictive performance using a deep learning approach [30]. A study employed a sentiment analysis machine learning approach to assess students’ capabilities in higher education institutions [31].This study focused on developing an intelligent teaching piano system using deep learning. Many children have expressed an interest in learning how to play the piano because of the novel teaching method, which has a beneficial effect on both pupils and their parents. Parents and teachers will benefit from the new piano education method for children that have been devised [32]. The deep learning instrument recognition technology has been deemed effective in instrument teaching systems and other scientific music models. The study focused on designing an intelligent online teaching piano system using deep learning.


## 3. Methodology

The recurrent neural network method uses an AI with audio signal data as input signals to build a viable framework for tracking pirate frequency transmitters. This approach has been employed to identify the permitted transmitters after the hostile transmitters have been found and destroyed. Deep learning is effective in instrument recognition because it quickly learns high-level features to aid in predictive modeling. Our approach is based on RNN and piano education acquisition methodologies, such as teaching by example, coaching, learning without a teacher, and learning with a divine instructor.The proposed work refers to a piano music audio’s intensity to create an intelligent teaching system. It is a measure of the tonality as well as spatial frequency components of a music signal. The deep learning algorithm will be devised for music instrument recognition to detect a specific instrument by its spatial frequency. It is calculated using(1)Centroid=∑q=1MqEq∑q=1MEq,where Eq is the amplitude.The sequence-v spectral bandwidth is calculated as(2)Bandwidth=∑qYqfq−fdv1v,where Yq is the spatial magnitude.The piano music frequency is calculated as follows:(3)Ap=12∑msignalbo−signalbo−1gp−o,(4)signalbp=1Pp≥0,−1Pp<0.The bearing is represented bygf, the paranoid time is represented by bf, the input variable just at a specific frequency is represented by bt, and the outside situation at the original period is represented by rt. The transistor of information piano music can be written as(5)ft=σgf.r.bt+bj,where g denotes the matrix associated with the input entrance and bi denotes the paranoid period associated with the input entrance. The throughput entrance is denoted as(6)σt=σgo.rt−1,bt+b0.The bearing corresponding to a piano music arbitrary value is denoted bygo, as well as the paranoid concept is denoted by bo. The correlating equation representation and computation for the province dt˜ are as follows:(7)dt˜=tanrgd.rt−1,bt+bc,d˜t describes the current nation on the inside. The ultimate production target of the CNN model is the music of a complex action of otanddt, which can be demonstrated in(8)rt=ottanr⊙dt.Reset entrancert in the equation expression and calculation of the update entrance at is given in equation (8). Refresh entrance rt, in which the notification entrance At is represented in(9)At=σgabt+Vart−1.In whichbtga is the eigenvector but instead gaandVa are indeed the strength matrices. The refresh entrance rt equation affirmation, as well as estimation, can be demonstrated as(10)rt=σgτbt−1.At the moment, the equation representation, as well as estimation of a corresponding applicant nationdt in this channel, is(11)dt˜=tanrgbt+rt⊙VJt−1.In whichbt is the eigenvector, rt−1 is the applicant nation corresponding to piano music present time, as well as gandV are the musical matrices. The update in the latest national rt, which corresponds to the channel’s desired outcome, can be demonstrated as(12)rt=At⊙rt−1+1−at⊙dt˜.The given Figure1 above represents the proposed model that explains the teaching style for online piano music while using the wireless sensor network. The piano music database that contains online training, an online music class library, online music teaching evaluation system can be accessed by the teacher. This database can be accessed via wireless sensor networks. In general, music data has three essential characteristics, which emits from audio signals. They are time, frequency, and power. To evaluate the performance of music, the recurrent neural network algorithm has been implemented.Figure 1
Intelligent piano teaching system.


## 4. Results and Discussion

A variety of self-contained wireless network deployments has emerged as a result of recent improvements in wireless technology. The nodes from diverse systems should coexist, so all broadcasters and receivers should be aware of their audio signal surroundings so that transmitter and receiver parameters can be adjusted to fit their needs. As they have the capability to learn, analyze, and estimate transmitter signals and associated parameters that characterize the frequency domain, machine learning systems have risen in prominence.The recurrent neural network method uses artificial intelligence with audio signal data as input signals to build a viable framework for tracking pirate frequency transmitters. This recurrent neural network is used to identify the permitted transmitters after the hostile transmitters have been found and destroyed. It is based on neural network learning and acquisition methodologies, which include teaching by example teaching and learning without a teacher and learning with an instructor. When we look at them, we can see that these neural network strategies are beneficial for differentiating teaching and learning on a spectrum. The music dataset was examined in this study. We will notice the generation and transmission of audio signals when we analyze the music dataset. A frequency spectrum can be seen which is a significant aspect that needs to be considered in the analysis.Figure2 shows the frequency analysis represented in the form of a wave signal. Power and time will be considered for this frequency spectrum analysis.Figure 2
Piano data 1 frequency analysis result for online piano music.Result of the frequency analysis for online piano music education.Table1 represents the frequency analysis and accuracy of the piano music while considering the factors of time, power, and frequency. It shows the dataset of music 1 has 94.5% efficiency.Table 1
Piano music data 1.
Signal datasetRNN algorithmPiano musicdataTime (s)Power(dB)FrequencyOverallaccuracy (%)Piano data 10.612165 sec0.00010.987194.57Figure3 represents the frequency spectrum analysis of the Piano data 2 dataset. In this scenario, the medium-level signal characteristics make up the temporal and spectral parameters of an audio signal. The distinctiveness of a signal in the temporal or frequency domain cannot be characterized.Figure 3
Piano data 2 frequency analysis for online piano music.Table2 represents the accuracy of the Piano data 2 when considering time, power, and frequency as parameters and the frequency analysis of online piano. It indicates that the Piano data 2 dataset has 97.81%.Table 2
Piano data 2 frequency analysis for online piano music.
Signal datasetRNNPiano music dataTime (s)Power (dB)FrequencyOverall accuracy in percentagePiano data 20.714666 sec0.00120.931697.81Figure4 depicts the frequency analysis of Piano data 3. In this scenario, the high-level signal characteristics make up the temporal and spectral parameters of an audio signal. Music 1, Piano data 2, and Piano data 3 generated effective results when power and frequency are considered, and it can be helpful in the efficient transfer of data without any noise.Figure 4
Piano data 3 frequency analysis for online piano music.Table3 represents the frequency analysis and accuracy of the piano music while considering the factors of time, power, and frequency. It shows the piano data 3 dataset has 94.5% efficiency.Table 3
Piano data 3 frequency analysis for online piano music education.
Signal datasetRNNChinese Traditional musicTime (s)Power (dB)FrequencyOverall accuracy in percentagePiano data 30.512165 sec0.00010.924799.04Figure5 represents the frequency analysis of Piano data 4. It indicates that the spectral and temporal parameters of an audio signal are made with different music transmitter signal features. In addition to time, frequency, and power, the other significant parameters like audio signal and spectrum were analyzed. It was observed that the spectrum is highly accurate which can generate the acoustic signature of the musical note.Figure 5
Piano data 4 frequency analysis for online piano music.Table4 represents the frequency analysis of online piano music and the accuracy of the music 5 while considering the parameters of time and power. It indicates that the Piano data 5 dataset has 91.36%.Table 4
Piano data 4 frequency analysis for online piano music.
Signal datasetRNNMusic data of pianoTime (s)Power (dB)FrequencyOverall accuracy in percentagePiano data 40.607738 sec0.00150.959491.36Figure6 represents the graphical representation of the Piano data 5 dataset. Here, in this case, we can see different music signal aspects make up the parameters of an audio signal. The spectrum and audio signal have highly precise than other parameters.Figure 6
Piano data 5 frequency analysis for online piano music.Table5 represents the frequency analysis of online piano music. The accuracy of the Piano data 5 has been displayed when considering the parameters of time and power. It indicates that the Piano data 5 dataset has 97.8%.Table 5
Piano data 5 frequency analysis for online piano.
Signal datasetRNNPiano music dataTime (s)Power (dB)FrequencyOverall accuracy in percentagePiano data 50.570271 sec0.00140.989197.81Table6 shows the overall accuracy using the proposed neural network algorithm. It can be predicted from the results that the algorithm helps in transmitting the signal with high frequency and power. As a result, the signal quality is improved by employing a recurrent neural network, allowing teachers to teach the piano without interruptions or noise.Table 6
Overall accuracy.
Signal datasetRNNPiano music dataTime (s)Power (dB)FrequencyOverall accuracy (%)Piano data 10.612165 seconds0.00010.987194.57Piano data 20.714666 seconds.0.00120.931697.81Piano data 30.512165 seconds0.00010.924799.04Piano data 40.607738 seconds.0.00150.959491.36Piano data 50.570271 seconds0.00140.989197.81Accuracy96.24The results show that the recurrent neural network algorithm performs well on all the applied datasets, which helps in monitoring and enhancing the accuracy and acoustic signature of the music note.


## 5. Conclusions and Future Works

This study’s purpose was to motivate children to play the piano by proposing an intelligent piano teaching system that is not repetitive. An instrument recognition model built using DL technology is used to educate children on how to play the piano. Piano education for children is planned and improved based on relevant educational psychology theories so that their initiative for piano learning and teaching can be increased. A musical instrument recognition system is developed by combining models in order to improve the model’s ability to identify and acquire features. Results from the experiments reveal that the suggested model is capable of identifying music’s distinct characteristics. Musical instrument identification technology can help children’s enthusiasm for learning the piano grow and their piano education become more effective. Modeling musical instrument recognition using a neural network and then refining the model’s structure improves its accuracy, specifically in terms of musical instrument recognition. According to testing data, children’s interest in piano learning was increased by using an instrument identification model based on the technology DL. The future scope for this research can include improving the design of the deep learning algorithm to improve the accuracy of the instrument recognition model. This will aid in developing an effective and intelligent piano teaching system that can devise different methodologies for teaching piano.



---

*Source: 9469975-2022-07-21.xml*