Zheng training teaching method and system based on sound recognition
Through adaptive feature selection and deep reinforcement learning technology, the accuracy and stability of the sound recognition system are improved, solving the problem of insufficient recognition under complex music and high performance skills, realizing real-time personalized guidance, and enhancing the guzheng learning experience and Effect.
Patent Information
- Application Number
- CN202410753762.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Voice recognition technology has insufficient accuracy and stability when dealing with complex music or high performance skills, and requires a large amount of training data and computing resources. It cannot completely replace traditional manual teaching, especially in terms of emotional expression and personalized guidance.
It uses adaptive feature selection and deep reinforcement learning technology to dynamically adjust feature extractors and weights, combines machine learning and transfer learning, and is integrated into the interactive real-time guzheng performance learning assistance system to provide real-time feedback and personalized guidance.
It improves the accuracy and stability of sound recognition, reduces computing resource requirements, realizes real-time personalized guidance, enhances the learning experience and effect, and can more effectively improve students' performance skills.
Smart Images

Figure CN118588045A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of sound recognition, and more specifically, to a guzheng training teaching method and system based on sound recognition. Background Art
[0002] The guzheng training teaching method and system based on sound recognition came into being in the context of modern science and technology. With the continuous development of artificial intelligence and machine learning technology, sound recognition technology has been widely used in the field of music education. This method uses computers to analyze and identify the guzheng audio played by students in real time to help students improve their playing skills and music comprehension. The sound recognition system can accurately identify the notes and musical elements in the performance by extracting audio features, pattern matching and machine learning algorithm technology, and provide students with timely feedback and guidance. The usefulness of this method is that it can realize personalized learning guidance and provide targeted practice and improvement suggestions according to the students' playing level and needs. At the same time, the sound recognition system can record the students' performance history and progress, helping them track their learning progress and continue to improve. However, this method also has some shortcomings. First, the accuracy and stability of sound recognition technology still have certain limitations, especially when dealing with complex music or high playing skills. Second, the sound recognition system usually requires a large amount of training data and computing resources to achieve the desired effect, which may have a certain threshold for some schools or individual users. In addition, the sound recognition system may not be able to completely replace the traditional manual teaching method, because music education involves not only technical training, but also emotional expression and personalized guidance. Therefore, although the Guzheng training teaching method and system based on sound recognition has many advantages, in practical applications it is still necessary to comprehensively consider its technical capabilities, applicable scenarios and teaching needs to ensure the best teaching results. Summary of the invention
[0003] Technical issues to be solved: First, the accuracy and stability of sound recognition technology still have certain limitations, especially when dealing with complex music or high-level performance skills. Second, sound recognition systems usually require a large amount of training data and computing resources to achieve the desired effect, which may be a certain threshold for some schools or individual users. In addition, sound recognition systems may not be able to completely replace traditional manual teaching methods, because music education involves not only technical training, but also emotional expression and personalized guidance.
[0004] Technical solution:
[0005] The guzheng training and teaching method based on sound recognition comprises the following steps:
[0006] S1. Data collection and preprocessing: first, a large number of guzheng performance recordings of different notes are collected, and the guzheng performance recordings are digitized for subsequent processing;
[0007] S2. Perform feature extraction and analysis, establish a sound recognition model, and extract sound features from the digitized Guzheng performance recording, including spectrum features and time-frequency features;
[0008] S3. Perform model training and optimization, using machine learning technology to train the sound recognition model based on the extracted sound features;
[0009] During the training process, the sound recognition model is tuned and optimized;
[0010] S4. Perform system integration to integrate the trained sound recognition model into an interactive learning software application called Guzheng Performance Real-time Learning Assistance System;
[0011] S5. Provide real-time feedback and evaluation, and students practice and train Guzheng performance through the Guzheng performance real-time learning auxiliary system;
[0012] The Guzheng performance real-time learning assistance system provides real-time feedback and guidance based on the students' performance, helping them improve their performance skills while they are performing.
[0013] S6. Carry out continuous improvement and optimization;
[0014] Collect user feedback and performance data, and continuously improve the performance and functionality of the system based on the user feedback and the performance data.
[0015] Preferably, the S1 sound recognition model adopts adaptive feature selection;
[0016] The sound recognition model dynamically selects and adjusts feature extractors according to the characteristics of different music styles and playing techniques to meet the needs of sound analysis in different scenarios;
[0017] For fast-tempo tracks, the sound recognition model selects a feature extractor with higher frequency resolution.
[0018] Preferably, the adaptive feature selection of the sound recognition model comprises the following steps:
[0019] S1-1-1. Dynamically adjust the weights of different features according to the current performance situation;
[0020] The sound recognition model uses an adaptive weighting method to automatically adjust the weight of features according to the importance of different notes in the performance;
[0021] S1-1-2. Using reinforcement learning technology, the sound recognition model dynamically selects the optimal feature combination during the performance;
[0022] Through interactive learning with the environment, the sound recognition model selects the most representative features in different scenarios;
[0023] S1-1-3. The sound recognition model uses an adaptive feature extractor designed to dynamically adjust the extracted feature type and parameter settings according to the performance;
[0024] Automatically adjust the window size and frequency resolution of spectrum analysis according to the performance speed and range;
[0025] S1-1-4. The sound recognition model uses transfer learning and domain adaptation technology to apply the learned feature knowledge to new performance scenarios;
[0026] By training and optimizing on datasets of different musical styles and playing techniques;
[0027] S1-1-5. The sound recognition model integrates multiple different feature selection and extraction methods to form a unified adaptive feature selection framework;
[0028] Dynamically select and adjust the most suitable feature selection strategy and model combination according to the current performance situation and needs.
[0029] Preferably, S1 analyzes the collected sound including the following steps:
[0030] S1-2-1. Preprocessing the collected sound, including removing noise, smoothing the signal, and normalizing;
[0031] S1-2-2. Perform time domain analysis, using a waveform diagram to analyze the sound in the time domain to provide information about the amplitude and timing characteristics of the sound;
[0032] S1-2-3. Perform frequency domain analysis, wherein the frequency domain analysis reveals the frequency components of the sound, and the frequency domain analysis methods include Fourier transform, short-time Fourier transform, and power spectral density;
[0033] S1-2-4. Verify and tune the sound characteristics;
[0034] S1-2-5. Perform visual analysis, using waveform graphs, spectrum graphs, and waterfall graphs to analyze and display sound features through visualization tools.
[0035] Preferably, the model training and optimization in S3 includes the following steps:
[0036] S3-1. Perform model selection;
[0037] When processing local features of audio data, choose convolutional neural network;
[0038] When processing audio data of different lengths, choose recurrent neural networks;
[0039] When modeling and classifying audio signals, choose long short-term memory networks;
[0040] Selecting a hybrid model to improve classification performance on audio data
[0041] Select an attention mechanism model to dynamically adjust the model's attention to different time steps or different frequency components;
[0042] S3-2. Perform model training, using the labeled data set to train the selected model; during the training process, the selected model learns the relationship between the input features and the labels;
[0043] S3-3. Perform model evaluation and use an independent validation set to evaluate the trained model; the independent validation set includes accuracy, recall, and F1 score to test the generalization ability of the trained model on unseen data;
[0044] S3-4. Perform hyperparameter tuning. According to the evaluation results, adjust the model’s learning rate, regularization parameters, number of network layers, and number of nodes to optimize the performance and generalization ability of the evaluated model.
[0045] Preferably, the S4 Guzheng playing real-time learning assistance system includes a user interface, audio input, sound recognition module, feedback and prompts, practice mode module, learning resources, learning progress tracking and social functions;
[0046] During the audio input, the Guzheng performance real-time learning auxiliary system obtains the audio input of the student's performance from the microphone in real time;
[0047] The sound recognition module integrates the sound recognition module to recognize the notes played by the students in real time;
[0048] The sound recognition module includes sound feature extraction, pattern matching, and real-time evaluation functions;
[0049] The feedback and prompts are based on the results of the sound recognition module. The real-time learning auxiliary system for zither playing provides real-time feedback and prompts to students;
[0050] Point out wrong notes and give suggestions for improvement;
[0051] The practice mode module has multiple practice modes, including single-note practice, music performance practice, and rhythm practice;
[0052] The learning resources include a musical note library, a music library, and teaching videos to help students learn the basic knowledge and skills of Guzheng performance;
[0053] The learning progress tracking records students’ learning progress and grades, and provides students with personalized learning suggestions and guidance;
[0054] The social functions enable students to communicate and share experiences with other students.
[0055] Preferably, the implementation of the real-time feature of the Guzheng performance real-time learning auxiliary system includes the following steps:
[0056] S4-1. Set the buffer, the guzheng playing real-time learning auxiliary system sets a buffer of appropriate size to store the audio data fragment to be processed;
[0057] The size of the buffer can accommodate a sufficiently long audio clip;
[0058] S4-2 real-time audio stream processing, when the guzheng playing real-time learning auxiliary system receives new audio data, it is appended to the set buffer, and real-time processing and analysis;
[0059] S4-3. Perform low latency processing;
[0060] S4-4 performs a streaming processing algorithm, using a streaming processing algorithm to gradually process the audio data;
[0061] S4-5. Perform parallel processing and use parallelization technology and multi-threading to increase processing speed;
[0062] S4-6. Perform system optimization, including algorithm optimization, hardware optimization and software optimization;
[0063] S4-7. Provide real-time feedback and prompts to users in a timely manner based on the results of real-time processing;
[0064] During the performance, the system displays the recognized notes in real time or gives improvement suggestions to help users adjust their performance in time.
[0065] Preferably, the Guzheng playing real-time learning assistance system also includes the feature of personalized guidance, which includes learner model, personalized practice recommendation, real-time feedback and adjustment, personalized practice plan and customized guidance content;
[0066] The Guzheng playing real-time learning assistance system establishes a learner model by analyzing the student's learning history, playing performance, and personal preference information;
[0067] The learner model includes characteristics of the student's skill level, learning style, and preferred music;
[0068] According to the learner model, the guzheng performance real-time learning assistance system recommends personalized practice content and music to students;
[0069] Recommend appropriate music and practice repertoire based on students’ skill levels and interests;
[0070] The Guzheng performance real-time learning assistance system adjusts the personalized guidance strategy in real time according to the student's performance;
[0071] Provide real-time feedback while students are playing, and adjust the instruction content and difficulty according to the accuracy and performance of the performance;
[0072] The real-time guzheng playing learning assistance system generates a personalized practice plan according to the student's learning goals and schedule;
[0073] The personalized plan arranges appropriate practice content and time allocation according to the student's skill level and learning progress;
[0074] The Guzheng performance real-time learning assistance system customizes the guidance content according to the students' individual needs and preferences;
[0075] Provides specialized instruction and practice content tailored to students' needs in specific techniques and music.
[0076] Preferably, a guzheng training and teaching system based on sound recognition relates to a guzheng training and teaching method based on sound recognition as recited in any one of claims 1 to 8, and is characterized in that the guzheng training and teaching system based on sound recognition is designed according to a guzheng training and teaching method based on sound recognition, and is divided into an audio input module, a sound recognition module, a learning resource module, a user interface module, a data management module, an audio output module, and a management and setting module.
[0077] Compared with the prior art, the advantages of the present invention are:
[0078] (1) Real-time and personalized guidance: The streaming processing algorithm can analyze and provide feedback on students' performances in real time. Traditional methods may require waiting until the students finish their performances before evaluation and guidance can be provided. This real-time feedback can help students adjust their performance skills in a timely manner, and personalized guidance can be provided based on their performance, thereby more effectively improving learning outcomes.
[0079] (2) Adaptive feature selection and dynamic weight adjustment: The system uses an adaptive feature extractor and deep reinforcement learning technology to dynamically select the optimal feature combination and adaptively adjust the feature weights based on the performance. This adaptability enables the system to better adapt to the characteristics and needs of different students and improve the personalization of training.
[0080] (3) Innovative interactive learning system: The system combines an innovative interactive learning system to provide a richer, more intuitive and interactive learning experience through the expansion of the user interface and personalized guidance. This interactive learning system includes functions such as a visual learning interface, real-time learning feedback, and personalized learning path planning, which can stimulate students' interest in learning and enhance the learning effect and experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] Figure 1 It is a schematic diagram of the overall process of a guzheng training and teaching method based on sound recognition of the present invention;
[0082] Figure 2 It is a schematic diagram of the overall process of a guzheng training and teaching system based on sound recognition according to the present invention; DETAILED DESCRIPTION
[0083] Example: See Figure 1-Figure 2 , 1. A guzheng training teaching method and system based on sound recognition, characterized in that a guzheng training teaching method based on sound recognition comprises the following steps:
[0084] S1. Perform data collection and preprocessing. First, collect a large number of Guzheng performance recordings of different notes, and digitize the Guzheng performance recordings for subsequent processing;
[0085] S2. Perform feature extraction and analysis, establish a sound recognition model, and extract sound features from the digitized Guzheng performance recording, including spectrum features and time-frequency features;
[0086] S3. Perform model training and optimization, using machine learning technology to train the sound recognition model based on the extracted sound features;
[0087] During the training process, the sound recognition model is tuned and optimized;
[0088] S4. Perform system integration to integrate the trained sound recognition model into an interactive learning software application called Guzheng Performance Real-time Learning Assistance System;
[0089] S5. Provide real-time feedback and evaluation. Students can practice and train Guzheng performance through the Guzheng performance real-time learning assistance system.
[0090] The Guzheng Performance Real-time Learning Assistance System provides real-time feedback and guidance based on students’ performances, helping them improve their playing skills while they are playing.
[0091] S6. Carry out continuous improvement and optimization;
[0092] Collect user feedback and performance data, and continuously improve the performance and functionality of the system based on user feedback and performance data.
[0093] The S1 sound recognition model uses adaptive feature selection;
[0094] The sound recognition model dynamically selects and adjusts feature extractors according to the characteristics of different music styles and playing techniques to meet the needs of sound analysis in different scenarios;
[0095] For fast-tempo tracks, the sound recognition model chooses a feature extractor with higher frequency resolution.
[0096] The adaptive feature selection of the sound recognition model includes the following steps:
[0097] S1-1-1. Dynamically adjust the weights of different features according to the current performance situation;
[0098] The sound recognition model uses an adaptive weighting method to automatically adjust the weight of features based on the importance of different notes in the performance;
[0099] Specifically, the adaptive weighting method operates as follows:
[0100] Initialize weights: First, for each feature, give an initial weight value. This can be a uniformly distributed weight or a weight set based on prior knowledge or experience.
[0101] Feature weighting: During model training, feature weights are introduced into the loss function to influence the degree to which the model utilizes features. This can be achieved in the following ways:
[0102] Weighted loss function: The error terms corresponding to each feature in the loss function are weighted and summed according to the weights to affect the update direction and amplitude of the model parameters.
[0103] Sample weighting: When calculating the loss function, the error term of each sample is weighted according to the feature weight, so that the model pays more attention to the features that contribute more to the task.
[0104] Gradient weighting: When calculating the gradient, the gradients of each feature are weighted and summed, which affects the update direction and step size of the parameters.
[0105] Weight update: In each iteration of training, the feature weights are dynamically updated according to the training results and performance of the model. Usually, an optimization algorithm such as gradient descent can be used to optimize the feature weights by minimizing the loss function, so that the performance of the model on the training set and the validation set is optimal.
[0106] Convergence test: During the training process, the performance of the model needs to be monitored and evaluated to determine whether the feature weights need to be adjusted further. You can use methods such as cross-validation or early stopping strategy to monitor the performance changes of the model on the validation set and stop training when the performance no longer improves.
[0107] S1-1-2. Using reinforcement learning technology, the sound recognition model dynamically selects the optimal feature combination during the performance;
[0108] Through interactive learning with the environment, the sound recognition model selects the most representative features in different scenarios;
[0109] S1-1-3. The sound recognition model uses a designed adaptive feature extractor, which dynamically adjusts the extracted feature type and parameter settings according to the performance situation;
[0110] Specifically, the operation of designing an adaptive feature extractor is as follows:
[0111] Initialize the feature extractor: First, initialize a feature extractor that contains multiple feature extraction methods, such as Mel spectrum features, power spectral density features, time domain features, etc.
[0112] Define an adaptability criterion: Define an adaptability criterion to evaluate the adaptability and importance of each feature in the current environment. This criterion can be a performance evaluation based on real-time performance data, such as recognition accuracy, error rate, etc.
[0113] Feature weight learning: Use machine learning or optimization algorithms to learn the weight of each feature. You can use supervised learning, reinforcement learning, or evolutionary algorithms to dynamically adjust the weight of features based on adaptability criteria and feedback information, so that the feature extractor can adaptively select the optimal feature combination.
[0114] Real-time feature selection: During the performance, the optimal feature combination is selected in real time based on the learned feature weights. The selection and weight of features can be dynamically adjusted according to the current performance environment and needs to maximize the performance and adaptability of the feature extractor.
[0115] Model training and updating: The feature extractor is continuously trained and updated during system operation. Based on real-time feedback and performance evaluation, feature weights and selection strategies are continuously optimized to adapt to different performance scenarios and data distributions.
[0116] Automatically adjust the window size and frequency resolution of spectrum analysis according to the performance speed and range;
[0117] S1-1-4. The sound recognition model uses transfer learning and domain adaptation technology to apply the learned feature knowledge to new performance scenarios;
[0118] By training and optimizing on datasets of different musical styles and playing techniques;
[0119] S1-1-5. The sound recognition model integrates multiple different feature selection and extraction methods to form a unified adaptive feature selection framework;
[0120] Dynamically select and adjust the most suitable feature selection strategy and model combination according to the current performance situation and needs.
[0121] S1 analyzes the collected sound in the following steps:
[0122] S1-2-1. Preprocess the collected sound, including removing noise, smoothing signals, and normalizing;
[0123] S1-2-2. Perform time domain analysis, using a waveform diagram to analyze the sound in the time domain to provide information about the amplitude and timing characteristics of the sound;
[0124] Specifically, the time domain analysis operation process is as follows:
[0125] Waveform: The waveform is the most basic representation of time domain analysis, which shows the amplitude of the sound signal changing over time. By observing the waveform, you can intuitively understand the shape, fluctuation, rhythm and other characteristics of the sound.
[0126] Time domain feature extraction: Time domain analysis can also describe sound signals by extracting some basic time domain features, such as time domain energy, time domain average amplitude, time domain zero-crossing rate, etc. These features can be used to represent the basic characteristics and dynamic changes of sound signals.
[0127] Time domain filtering: Time domain filtering is a commonly used signal processing method to remove noise from sound signals or enhance the signal components of interest. Common time domain filtering methods include mean filtering, median filtering, Gaussian filtering, etc.
[0128] Time domain correlation analysis: Time domain correlation analysis is used to analyze the correlation and similarity between sound signals. By calculating the correlation coefficient or cross-correlation function of sound signals in the time domain, the similarity and correlation between different signals can be evaluated.
[0129] Temporal dynamic range compression: Temporal dynamic range compression is a commonly used signal processing technology used to adjust the dynamic range of sound signals so that the loudness of the signal is more balanced and stable during playback or recording.
[0130] S1-2-3. Perform frequency domain analysis. Frequency domain analysis reveals the frequency components of the sound. Frequency domain analysis methods include Fourier transform, short-time Fourier transform, and power spectral density;
[0131] Specifically, Fourier transform is a signal processing technique used to convert a signal in the time domain into a spectrum representation in the frequency domain. Through Fourier transform, a continuous time domain signal can be decomposed into a superposition of sine and cosine waves of different frequencies, thereby revealing the components and characteristics of the signal in the frequency domain.
[0132] Specifically, short-time Fourier transform is a technology developed based on Fourier transform, which is used to perform spectrum analysis on time-varying signals. STFT divides the signal into small blocks and performs Fourier transform on each small block to obtain the spectrum information of the signal in the local time domain and frequency domain. By adjusting the size and overlap rate of the small blocks, the signal can be finely analyzed at different times and frequencies.
[0133] Specifically, power spectral density is an important concept in spectrum analysis, which indicates the power distribution of a signal at different frequencies. In the case of a continuous signal, the power spectral density can be calculated by taking the square of the modulus of the Fourier transform of the signal. In the case of a discrete signal, it can be obtained by taking the square of the modulus of the Fourier transform of the signal and then averaging it. Power spectral density can be used to analyze the energy distribution and frequency components of a signal in the frequency domain, and is often used in the fields of spectrum analysis and noise characteristic analysis.
[0134] S1-2-4. Verify and tune the sound characteristics;
[0135] S1-2-5. Perform visual analysis, using waveform graphs, spectrum graphs, and waterfall graphs to analyze and display sound features through visualization tools.
[0136] S3 model training and optimization includes the following steps:
[0137] S3-1. Perform model selection;
[0138] When processing local features of audio data, choose convolutional neural network;
[0139] When processing audio data of different lengths, choose recurrent neural networks;
[0140] When modeling and classifying audio signals, choose long short-term memory networks;
[0141] Selecting a hybrid model to improve classification performance on audio data
[0142] Select an attention mechanism model to dynamically adjust the model's attention to different time steps or different frequency components;
[0143] Specifically, Convolutional Neural Network (CNN): CNN is usually used to extract spectral features when processing audio data. It has good feature extraction capabilities and parameter sharing mechanisms, and is suitable for processing local features of audio data. A one-dimensional convolutional layer can be used to process the time domain features or frequency domain features of audio signals.
[0144] Specifically, recurrent neural network (RNN): RNN can process sequence data and is suitable for temporal modeling of audio data. By using a cyclic structure, RNN can capture the temporal relationship in audio signals and is suitable for processing audio data of different lengths.
[0145] Specifically, Long Short-Term Memory Network (LSTM): LSTM is a variant of RNN. It solves the problems of gradient vanishing and gradient exploding through a gating mechanism. It is suitable for processing long sequence data and can be used for modeling and classification of audio signals.
[0146] Specifically, hybrid model: A hybrid model that combines CNN and RNN / LSTM can make full use of the spectral features extracted by CNN and the time series modeling capabilities of RNN / LSTM to improve the classification performance of audio data. For example, CNN can be used to extract spectral features, and then the extracted features can be input into RNN / LSTM for sequence modeling.
[0147] Specifically, attention mechanism model: The attention mechanism-based model can dynamically adjust the model's attention to different time steps or different frequency components, thereby improving the efficiency and accuracy of the model in processing audio sequences.
[0148] S3-2. Perform model training, using the labeled data set to train the selected model; during the training process, the selected model learns the relationship between the input features and the labels;
[0149] S3-3. Perform model evaluation and use an independent validation set to evaluate the trained model; the independent validation set includes accuracy, recall, and F1 score to test the generalization ability of the trained model on unseen data;
[0150] S3-4. Perform hyperparameter tuning. According to the evaluation results, adjust the model’s learning rate, regularization parameters, number of network layers, and number of nodes to optimize the performance and generalization ability of the evaluated model.
[0151] The S4 Guzheng playing real-time learning assistance system includes a user interface, audio input, sound recognition module, feedback and prompts, practice mode module, learning resources, learning progress tracking and social functions;
[0152] During audio input, the Guzheng performance real-time learning assistance system obtains the audio input of the student's performance from the microphone in real time;
[0153] Sound recognition module, integrated sound recognition module, real-time recognition of the notes played by students;
[0154] The sound recognition module includes sound feature extraction, pattern matching, and real-time evaluation functions;
[0155] Feedback and prompts Based on the results of the sound recognition module, the real-time learning assistance system for guzheng performance provides students with real-time feedback and prompts;
[0156] Point out wrong notes and give suggestions for improvement;
[0157] Practice mode module has multiple practice modes, including single-note practice, music performance practice, and rhythm practice;
[0158] Learning resources include a note library, a music library, and teaching videos to help students learn the basic knowledge and skills of Guzheng performance;
[0159] Learning progress tracking, recording students’ learning progress and grades, and providing students with personalized learning suggestions and guidance;
[0160] Social features allow students to communicate and share experiences with other students.
[0161] The implementation of the real-time features of the Guzheng performance real-time learning auxiliary system includes the following steps:
[0162] S4-1. Set the buffer, the guzheng playing real-time learning assistance system sets a buffer of appropriate size to store the audio data fragments to be processed;
[0163] The buffer size should be large enough to hold a sufficiently long audio clip;
[0164] S4-2 real-time audio stream processing, when the guzheng playing real-time learning assistance system receives new audio data, it is appended to the set buffer, and real-time processing and analysis;
[0165] S4-3. Perform low latency processing;
[0166] S4-4 performs a streaming processing algorithm, using a streaming processing algorithm to gradually process the audio data;
[0167] Specifically, the streaming algorithm gradually processes audio data operation framework as follows:
[0168] Data stream reception: First, establish a data stream receiver to receive audio data streams in real time. This can be receiving audio data from sources such as microphones, audio files, network data streams, etc.
[0169] Data block processing: Divide the continuous audio data stream into fixed-length data blocks (or batches) for step-by-step processing. Typically, the length of the data block can be set according to the specific task and algorithm, and the common length is from hundreds of milliseconds to a few seconds.
[0170] Feature extraction and analysis: Perform feature extraction and analysis operations on each data block. This includes steps such as preprocessing the audio data, feature extraction, and model inference. For example, you can use short-time Fourier transform (STFT) to extract spectral features, or use a deep learning model for audio recognition or classification.
[0171] Real-time output or storage: After each data block is processed, the processing results can be output in real time, such as real-time display of spectrum graphs, recognized text or classification labels, etc. In addition, the processing results can also be stored in a database, file or network for subsequent analysis or use.
[0172] Continuous processing:
[0173] The above steps are repeated continuously to realize continuous processing of the continuously generated audio data stream. By continuously receiving, processing and outputting, streaming processing of audio data is realized.
[0174] S4-5. Perform parallel processing and use parallelization technology and multi-threading to increase processing speed;
[0175] S4-6. Perform system optimization, including algorithm optimization, hardware optimization and software optimization;
[0176] S4-7. Provide real-time feedback and prompts to users in a timely manner based on the results of real-time processing;
[0177] During the performance, the system displays the recognized notes in real time or gives improvement suggestions to help users adjust their performance in time.
[0178] The Guzheng performance real-time learning assistance system also includes the features of personalized guidance, which includes learner models, personalized practice recommendations, real-time feedback and adjustments, personalized practice plans, and customized guidance content;
[0179] The Guzheng performance real-time learning assistance system builds a learner model by analyzing students’ learning history, performance, and personal preference information;
[0180] The learner model includes characteristics of the student in terms of skill level, learning style, and preferred music;
[0181] Based on the learner model, the Guzheng performance real-time learning assistance system recommends personalized practice content and music to students;
[0182] Recommend appropriate music and practice repertoire based on students’ skill levels and interests;
[0183] The Guzheng performance real-time learning assistance system adjusts the personalized guidance strategy in real time according to the student's performance;
[0184] Provide real-time feedback while students are playing, and adjust the instruction content and difficulty according to the accuracy and performance of the performance;
[0185] The Guzheng performance real-time learning assistance system generates personalized practice plans based on students’ learning goals and schedules;
[0186] Personalized plan arranges appropriate practice content and time allocation according to students' skill level and learning progress;
[0187] The Guzheng performance real-time learning assistance system customizes the guidance content according to the students' individual needs and preferences;
[0188] Provides specialized instruction and practice content tailored to students' needs in specific techniques and music.
[0189] A guzheng training and teaching system based on sound recognition relates to a guzheng training and teaching method based on sound recognition as recited in any one of claims 1 to 8, and is characterized in that a guzheng training and teaching system based on sound recognition is designed according to a guzheng training and teaching method based on sound recognition, and is divided into an audio input module, a sound recognition module, a learning resource module, a user interface module, a data management module, an audio output module, and a management and setting module.
[0190] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A guzheng training and teaching method based on sound recognition, It is characterized in that The guzheng training teaching method based on sound recognition comprises the following steps: S1. Data collection and preprocessing: first, a large number of guzheng performance recordings of different notes are collected, and the guzheng performance recordings are digitized for subsequent processing; S2. Perform feature extraction and analysis, establish a sound recognition model, and extract sound features from the digitized Guzheng performance recording, including spectrum features and time-frequency features; S3. Perform model training and optimization, using machine learning technology to train the sound recognition model based on the extracted sound features; During the training process, the sound recognition model is tuned and optimized; S4. Perform system integration to integrate the trained sound recognition model into an interactive learning software application called Guzheng Performance Real-time Learning Assistance System; S5. Provide real-time feedback and evaluation, and students practice and train Guzheng performance through the Guzheng performance real-time learning auxiliary system; The Guzheng performance real-time learning assistance system provides real-time feedback and guidance based on the students' performance, helping them improve their performance skills while they are performing. S6. Carry out continuous improvement and optimization; Collect user feedback and performance data, and continuously improve the performance and functionality of the system based on the user feedback and the performance data.
2. A guzheng training teaching method based on sound recognition according to claim 1, It is characterized in that The S1 sound recognition model uses adaptive feature selection; The sound recognition model dynamically selects and adjusts feature extractors according to the characteristics of different music styles and playing techniques to meet the needs of sound analysis in different scenarios; For fast-tempo tracks, the sound recognition model selects a feature extractor with higher frequency resolution.
3. A guzheng training teaching method based on sound recognition according to claim 2, It is characterized in that The sound recognition model adaptive feature selection comprises the following steps: S1-1-1. Dynamically adjust the weights of different features according to the current performance situation; The sound recognition model uses an adaptive weighting method to automatically adjust the weight of features according to the importance of different notes in the performance; S1-1-2. Using reinforcement learning technology, the sound recognition model dynamically selects the optimal feature combination during the performance; Through interactive learning with the environment, the sound recognition model selects the most representative features in different scenarios; S1-1-3. The sound recognition model uses an adaptive feature extractor designed to dynamically adjust the extracted feature type and parameter settings according to the performance; Automatically adjust the window size and frequency resolution of spectrum analysis according to the performance speed and range; S1-1-4. The sound recognition model uses transfer learning and domain adaptation technology to apply the learned feature knowledge to new performance scenarios; By training and optimizing on datasets of different musical styles and playing techniques; S1-1-5. The sound recognition model integrates multiple different feature selection and extraction methods to form a unified adaptive feature selection framework; Dynamically select and adjust the most suitable feature selection strategy and model combination according to the current performance situation and needs.
4. A guzheng training teaching method based on sound recognition according to claim 1, It is characterized in that S1 analyzes the collected sound in the following steps: S1-2-1. Preprocessing the collected sound, including removing noise, smoothing the signal, and normalizing; S1-2-2. Perform time domain analysis, using a waveform diagram to analyze the sound in the time domain to provide information about the amplitude and timing characteristics of the sound; S1-2-3. Perform frequency domain analysis, wherein the frequency domain analysis reveals the frequency components of the sound, and the frequency domain analysis methods include Fourier transform, short-time Fourier transform, and power spectral density; S1-2-4. Verify and tune the sound characteristics; S1-2-5. Perform visual analysis, using waveform graphs, spectrum graphs, and waterfall graphs to analyze and display sound features through visualization tools.
5. A guzheng training teaching method based on sound recognition according to claim 1, It is characterized in that The S3 model training and optimization includes the following steps: S3-1. Perform model selection; When processing local features of audio data, choose convolutional neural network; When processing audio data of different lengths, choose recurrent neural networks; When modeling and classifying audio signals, choose long short-term memory networks; Selecting a hybrid model to improve classification performance on audio data Select an attention mechanism model to dynamically adjust the model's attention to different time steps or different frequency components; S3-2. Perform model training, using the labeled data set to train the selected model; during the training process, the selected model learns the relationship between the input features and the labels; S3-3. Perform model evaluation and use an independent validation set to evaluate the trained model; the independent validation set includes accuracy, recall, and F1 score to test the generalization ability of the trained model on unseen data; S3-4. Perform hyperparameter tuning. According to the evaluation results, adjust the model’s learning rate, regularization parameters, number of network layers, and number of nodes to optimize the performance and generalization ability of the evaluated model.
6. A guzheng training teaching method based on sound recognition according to claim 1, It is characterized in that The S4 Guzheng playing real-time learning assistance system includes a user interface, audio input, sound recognition module, feedback and prompts, practice mode module, learning resources, learning progress tracking and social functions; During the audio input, the Guzheng performance real-time learning auxiliary system obtains the audio input of the student's performance from the microphone in real time; The sound recognition module integrates the sound recognition module to recognize the notes played by the students in real time; The sound recognition module includes sound feature extraction, pattern matching, and real-time evaluation functions; The feedback and prompts are based on the results of the sound recognition module. The real-time learning auxiliary system for zither playing provides real-time feedback and prompts to students; Point out wrong notes and give suggestions for improvement; The practice mode module has multiple practice modes, including single-note practice, music performance practice, and rhythm practice; The learning resources include a musical note library, a music library, and teaching videos to help students learn the basic knowledge and skills of Guzheng performance; The learning progress tracking records students’ learning progress and grades, and provides students with personalized learning suggestions and guidance; The social functions enable students to communicate and share experiences with other students.
7. A guzheng training teaching method based on sound recognition according to claim 6, It is characterized in that The implementation of the real-time features of the Guzheng playing real-time learning auxiliary system includes the following steps: S4-1. Buffer settings, the guzheng playing real-time learning assistance system sets a buffer of appropriate size to store the audio data segments to be processed; The size of the buffer can accommodate a sufficiently long audio clip; S4-2 real-time audio stream processing, when the guzheng playing real-time learning auxiliary system receives new audio data, it is appended to the set buffer, and real-time processing and analysis; S4-3. Perform low latency processing; S4-4 performs a streaming processing algorithm, using a streaming processing algorithm to gradually process the audio data; S4-5. Perform parallel processing and use parallelization technology and multi-threading to increase processing speed; S4-6. Perform system optimization, including algorithm optimization, hardware optimization and software optimization; S4-7. Provide real-time feedback and prompts to users in a timely manner based on the results of real-time processing; During the performance, the system displays the recognized notes in real time or gives improvement suggestions to help users adjust their performance in time.
8. A guzheng training teaching method based on sound recognition according to claim 6, It is characterized in that The real-time guzheng playing learning assistance system also includes the features of personalized guidance, which includes learner model, personalized practice recommendation, real-time feedback and adjustment, personalized practice plan and customized guidance content; The Guzheng playing real-time learning assistance system establishes a learner model by analyzing the student's learning history, playing performance, and personal preference information; The learner model includes characteristics of the student's skill level, learning style, and preferred music; According to the learner model, the guzheng performance real-time learning assistance system recommends personalized practice content and music to students; Recommend appropriate music and practice repertoire based on students’ skill levels and interests; The Guzheng performance real-time learning assistance system adjusts the personalized guidance strategy in real time according to the student's performance; Provide real-time feedback while students are playing, and adjust the instruction content and difficulty according to the accuracy and performance of the performance; The real-time guzheng playing learning assistance system generates a personalized practice plan according to the student's learning goals and schedule; The personalized plan arranges appropriate practice content and time allocation according to the student's skill level and learning progress; The Guzheng performance real-time learning assistance system customizes the guidance content according to the students' individual needs and preferences; Provides specialized instruction and practice content tailored to students' needs in specific techniques and music.
9. A guzheng training and teaching system based on sound recognition, which relates to a guzheng training and teaching method based on sound recognition as claimed in any one of claims 1 to 8, It is characterized in that The guzheng training and teaching system based on sound recognition is designed according to a guzheng training and teaching method based on sound recognition, and is divided into an audio input module, a sound recognition module, a learning resource module, a user interface module, a data management module, an audio output module and a management and setting module.
Citation Information
Cited By
Audio signal processing method and device based on machine learning algorithm catboost
CN119252277A
National musical instrument playing action AI auxiliary teaching method and system
CN120708466A
