Buzzer-based anti-interference sound recognition method and system for electric guitar
By acquiring multi-source signals through microphone arrays, buzzer sensors, and electromagnetic pickups, and combining beamforming and deep neural network separation models, the problem of interference separation and sound quality restoration of electric guitars in complex environments is solved, achieving high-precision signal extraction and sound quality optimization.
Patent Information
- Application Number
- CN202611251022.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-18
- Publication Date
- 2026-11-27
AI Technical Summary
Existing electric guitar pickup devices are susceptible to environmental electromagnetic radiation and noise interference, making it difficult to effectively separate interference and restore sound quality in complex scenarios. Existing methods fail to comprehensively utilize the characteristics of multi-source signals.
Multi-source signals are collected using a microphone array, buzzer sensor, and electromagnetic pickup. The target signal is enhanced by beamforming technology, and interference is separated by a pre-trained deep neural network separation model. The sound quality is optimized based on playing techniques and intensity information.
It improves the extraction accuracy and sound purity of electric guitar signals in complex environments, enhances anti-interference performance and sound quality, and is suitable for multiple application scenarios.
Smart Images

Figure CN123182684A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of audio signal processing technology, and in particular to an anti-interference sound recognition method and system for electric guitars based on a buzzer chip. Background Technology
[0002] As a mainstream musical instrument, the pickup quality of the electric guitar significantly impacts the performance, but it faces severe interference problems in practical applications. For example, electromagnetic pickups are susceptible to environmental electromagnetic radiation, single-coil pickups often produce noise due to interference in the 2.4GHz band, and dual-coil pickups struggle to withstand strong interference across a wide frequency range. Furthermore, power supply ripple and line crosstalk can lead to tonal distortion. Microphone pickups are easily affected by ambient noise and may exhibit feedback, especially in complex environments such as stages and rehearsal rooms, where lighting equipment and wireless devices further exacerbate interference. Existing anti-interference solutions often focus on single signal processing, such as shielding and filter circuit optimization, failing to comprehensively utilize the characteristics of multi-source signals. While buzzers, based on the piezoelectric effect, can capture the mechanical vibrations of instruments, they haven't been effectively applied to electric guitar tone recognition. Beamforming technology, although capable of enhancing signals in specific directions, lacks integration with playing technique recognition. Moreover, existing methods struggle to balance interference separation and tone reproduction, and cannot optimize output based on differences in techniques such as strumming and tapping. Summary of the Invention
[0003] To address the aforementioned technical issues, this application provides a method and system for anti-interference sound recognition of electric guitars based on a buzzer chip.
[0004] A first aspect of this application provides a method for anti-interference sound recognition of an electric guitar based on a buzzer, including: The system collects ambient mixed audio signals from a microphone array, mechanical vibration signals from a buzzer sensor, and electromagnetic audio signals from an electromagnetic pickup. The ambient mixed audio signal is subjected to position beamforming processing directed towards the electric guitar to generate a spatial enhancement signal; Based on the time-frequency domain characteristics of the mechanical vibration signal, the playing technique type and playing intensity information of the electric guitar are determined; The electromagnetic audio signal, the spatial enhancement signal, the mechanical vibration signal, and the playing technique type and playing intensity information are input into a pre-trained deep neural network separation model to obtain an interference-resistant electric guitar sound source signal. Based on the playing technique type and the playing intensity information, the electric guitar sound source signal is subjected to sound quality optimization processing to obtain the target electric guitar sound signal.
[0005] A second aspect of this application provides an anti-interference sound recognition system for electric guitars based on a buzzer chip, comprising: The multi-source signal acquisition module is used to acquire ambient mixed audio signals obtained by the microphone array, mechanical vibration signals obtained by the buzzer sensor, and electromagnetic audio signals obtained by the electromagnetic pickup. The spatial enhancement processing module is used to perform position beamforming processing on the ambient mixed audio signal and point it toward the electric guitar to generate a spatial enhancement signal; The performance feature recognition module is used to determine the playing technique type and performance intensity information of the electric guitar based on the time-frequency domain characteristics of the mechanical vibration signal. The intelligent signal separation module is used to input the electromagnetic audio signal, the spatial enhancement signal, the mechanical vibration signal, and the playing technique type and playing intensity information into a pre-trained deep neural network separation model to obtain an interference-resistant electric guitar sound source signal. The sound quality optimization processing module is used to optimize the sound quality of the electric guitar sound source signal based on the playing technique type and the playing intensity information to obtain the target electric guitar sound signal.
[0006] A third aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program to implement the steps of the above-described method for anti-interference sound recognition of an electric guitar based on a buzzer.
[0007] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described method for anti-interference sound recognition of an electric guitar based on a buzzer chip.
[0008] The beneficial effects of the buzzer-based anti-interference sound recognition method and system for electric guitars provided in this application are as follows: This application overcomes the performance limitations of a single pickup device by fusing multi-source signals from a microphone array, a buzzer sensor, and an electromagnetic pickup. The mechanical vibration signal captured by the buzzer is unaffected by electromagnetic interference, providing a reliable reference for interference separation and effectively improving the extraction accuracy of electric guitar signals in complex environments. Furthermore, by enhancing the separation model between the target direction signal and the pre-trained deep neural network using beamforming technology, the accuracy of separating environmental noise, electromagnetic interference, and electric guitar signals is improved, ensuring the purity of the sound source signal. In addition, by identifying playing techniques and intensity based on mechanical vibration signals, targeted sound quality optimization is carried out, improving the fidelity and expressiveness of the sound output. This further enhances the adaptability to multiple application scenarios and strengthens anti-interference performance and sound quality experience. Attached Figure Description
[0009] Figure 1 This is a flowchart illustrating an embodiment of the anti-interference sound recognition method for electric guitars based on a buzzer chip provided in this application.
[0010] Figure 2 This is a structural block diagram of an electric guitar anti-interference sound recognition system based on a buzzer chip, provided as an embodiment of this application.
[0011] Figure 3 This is a schematic block diagram of an electronic device provided in an embodiment of this application.
[0012] Figure 4 This is a schematic diagram of an electric guitar provided in one embodiment of this application.
[0013] Figure 5 This is an internal structural diagram of an electric guitar provided in one embodiment of this application.
[0014] Figure 6 This is a schematic diagram of a pickup module provided in one embodiment of this application.
[0015] Explanation of reference numerals in the attached figures: Sound pickup module 1; Silicone base, 11; front cover, 12; bottom cover, 13; buzzer, 14; external connecting cable, 141; vibration spring, 15. Detailed Implementation
[0016] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0017] To make the purpose, technical solution, and advantages of this application clearer, the following will be described in conjunction with the appendix. Figure 1-3 The following is an explanation using specific examples.
[0018] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating an embodiment of an electric guitar anti-interference sound recognition method based on a buzzer chip, the method comprising: S101: Collects ambient mixed audio signals from the microphone array, mechanical vibration signals from the buzzer sensor, and electromagnetic audio signals from the electromagnetic pickup.
[0019] In this embodiment, the microphone array is a sound pickup system composed of multiple microphone units arranged according to a certain geometric structure. The ambient mixed audio signal is a composite signal picked up by the microphone array in the actual scene, including the direct sound of the target electric guitar, room reflections, reverberation components, and interference signals such as ambient noise. The buzzer sensor is a vibration sensor based on the piezoelectric effect, which can convert mechanical vibration signals into electrical signals.
[0020] By deploying a microphone array in the sound pickup environment, a mixed ambient audio signal is acquired, including ambient noise, reflected sound, reverberation, and the sound of the target electric guitar. Simultaneously, a buzzer sensor mounted on the electric guitar body or top panel is used to collect the mechanical vibration signal excited by the string vibration transmitted through the guitar body. This mechanical vibration signal represents the physical excitation information of the guitar's sound production and is largely unaffected by spatial noise and electromagnetic interference. In addition, an electromagnetic pickup is used to collect the electromagnetic audio signal generated by the string vibration cutting magnetic lines of force.
[0021] S102: Performs position beamforming processing on the ambient mixed audio signal, pointing towards the electric guitar, to generate a spatially enhanced signal.
[0022] In this embodiment, positional beamforming is a spatial signal processing technique based on a microphone array. By calculating and applying specific channel weighting coefficients, the array forms a directional beam for the sound at the location of the electric guitar. The target signal output after beamforming of the spatially enhanced signal is characterized by a significantly improved signal-to-noise ratio of the sound at the target location, effective suppression of interference and noise from locations other than the electric guitar, and preservation of the core time-domain and spectral information of the electric guitar sound.
[0023] Specifically, the sound wave propagation time difference is calculated based on the initial trigger time of the mechanical vibration signal and the initial arrival time of the corresponding direct sound in the ambient mixed audio signal at the microphone array. Next, based on the sound wave propagation time difference and sound speed, the spatial position of the electric guitar relative to the microphone array is determined using a time-of-arrival localization algorithm. Then, based on the spatial position, the beamforming weights corresponding to each microphone channel in the microphone array are calculated. Finally, based on the beamforming weights, multi-channel spatial filtering is performed on the ambient mixed audio signal to generate a spatially enhanced signal.
[0024] S103: Based on the time-frequency domain characteristics of mechanical vibration signals, determine the playing technique type and playing intensity information of the electric guitar.
[0025] In this embodiment, the mechanical vibration signal collected by the buzzer sensor originates from the vibration of the instrument body and strings, preserving the transient response, spectral distribution, and energy change patterns during performance. Different playing techniques will cause differences in the string vibration mode and the resonance state of the instrument body, while changes in playing force will be reflected in the energy amplitude of the vibration signal. These differences will all form unique imprints in the time-frequency domain characteristics.
[0026] Specifically, in determining the type of performance technique, differential identification is achieved by extracting the time-domain and frequency-domain characteristics of the mechanical vibration signal: In the time domain, the transient onset velocity, peak shape, and envelope change trend of the signal are analyzed (e.g., steep onset and sharp peak when striking the string, and smooth onset and continuous envelope when playing a glissando); in the frequency domain, the spectrum distribution range, resonant peak position, and harmonic energy ratio are observed (e.g., prominent high-frequency resonant peaks when striking the string, and concentrated mid-to-high frequency harmonic energy when plucking the string). By comparing these characteristics with the typical vibration modes of known performance techniques, the technique type is obtained.
[0027] Performance intensity information refers to the characteristic information obtained by analyzing the mechanical vibration signal collected by the buzzer, used to characterize the dynamic range of electric guitar playing, and used to guide the dynamic constraints and envelope adjustment of the signal. Specifically, after filtering and DC offset removal preprocessing of the mechanical vibration signal, the instantaneous peak amplitude within a preset time window is extracted. The ratio of this instantaneous peak amplitude to the preset maximum reference amplitude is calculated to obtain a normalized amplitude in the range [0,1]. Then, the performance intensity level is divided according to the range of the normalized amplitude: normalized amplitude in the range [0,0.3) is weak performance, normalized amplitude in the range [0.3,0.6) is medium performance, and normalized amplitude in the range [0.6,0.9] is strong performance.
[0028] S104: Input electromagnetic audio signals, spatial enhancement signals, mechanical vibration signals, playing technique type and playing intensity information into a pre-trained deep neural network separation model to obtain an interference-resistant electric guitar sound source signal.
[0029] In this embodiment, a pre-trained deep neural network separation model is used to extract the target signal. The purpose is to remove interfering components from complex mixed information and output a pure electric guitar sound source signal. The core advantage of this deep neural network separation model lies in its ability to deeply explore the complementarity of electromagnetic audio signals, spatial enhancement signals, and mechanical vibration signals. For example, the electromagnetic audio signal retains the basic tonal characteristics of the electric guitar, the spatial enhancement signal strengthens the sound components in the target direction, and the mechanical vibration signal provides interference-free information about the physical essence of the performance. Based on the high-value semantic information of performance technique type and performance intensity, the deep neural network separation model can more accurately lock the characteristics of the electric guitar signal, thereby effectively distinguishing and suppressing irrelevant components such as environmental noise, electromagnetic interference, and sounds from other instruments.
[0030] During the pre-training phase of the deep neural network separation model, the model has completed learning using labeled datasets containing interference from different scenarios, playing techniques, and playing intensities, establishing a mapping relationship between multi-source inputs and a pure electric guitar signal. During training, the deep neural network separation model learned the spectral characteristics of electromagnetic audio signals, the directional properties of spatially enhanced signals, the temporal morphology of mechanical vibration signals, and the correlation between playing techniques, intensities, and guitar signals, thus acquiring the ability to separate the target signal from complex mixed inputs.
[0031] In this embodiment, electromagnetic audio signals, spatial enhancement signals, mechanical vibration signals, performance technique types, and performance intensity information are preprocessed and then input into a deep neural network separation model. Based on a pre-trained feature recognition and separation mechanism, the deep neural network separation model automatically filters out interference from non-guitar signals. The output anti-interference electric guitar sound source signal has eliminated most environmental noise, electromagnetic interference, reverberation, and other irrelevant sound components, while preserving the original tonal characteristics and performance details of the electric guitar. For example, based on the performance technique type, the transient explosive force of string striking and the continuous pitch changes of glissando are preserved; based on the performance intensity information, the dynamic changes caused by differences in dynamics are restored.
[0032] The deep neural network separation model adopts a hierarchical structure of encoder-frequency domain attention fusion layer-multi-layer temporal convolutional module-decoder. The encoder extracts time-frequency features from electromagnetic audio signals, spatial enhancement signals, and mechanical vibration signals. The frequency domain attention fusion layer dynamically weights and fuses multi-source features based on performance technique type and intensity information. The multi-layer temporal convolutional module captures the long-term time-dependent dynamic characteristics of the signal. The decoder reconstructs and outputs a clean electric guitar sound source signal. The deep neural network separation model is trained using supervised learning, taking a multi-source signal dataset including different environmental noises, reverberation, performance techniques, and performance intensities as input, and an interference-free clean electric guitar signal as the label. It uses a joint optimization method with mean squared error loss and spectral consistency loss, employing Adam as the optimizer, with a learning rate set to... The batch size is 16, the input feature dimension is 257-dimensional frequency domain features, the attention layer dynamically adjusts the weights of multi-source signals according to the performance information, and the parameters of the deep neural network separation model are optimized after iterative training until the loss converges.
[0033] S105: Based on the playing technique type and playing intensity information, the electric guitar sound source signal is optimized to obtain the target electric guitar sound signal.
[0034] In this embodiment, the sound quality optimization processing involves a series of signal enhancement operations on the electric guitar sound source signal, including spectrum correction, transient adjustment, dynamic control, and envelope shaping, based on playing techniques and intensity. The target electric guitar sound signal is the sound quality optimized electric guitar sound signal, which features low interference and a natural timbre.
[0035] Specifically, the electric guitar sound source signal is first subjected to time-domain and frequency-domain feature extraction to obtain the corresponding time-domain waveform and spectral features. Then, the time-domain waveform and spectral features are adapted according to the playing technique to obtain target time-domain waveform and target spectral features that better match the acoustic characteristics of the technique. The two types of modified features are fused and reconstructed to generate a preliminarily optimized electric guitar sound signal. Finally, the amplitude, dynamic range and envelope shape of the signal are constrained and controlled according to the playing intensity information to obtain a high-quality electric guitar sound signal.
[0036] As can be seen from the above, this application overcomes the performance limitations of a single pickup device by fusing multi-source signals from a microphone array, a buzzer sensor, and an electromagnetic pickup. The mechanical vibration signal captured by the buzzer is unaffected by electromagnetic interference, providing a reliable reference for interference separation and effectively improving the extraction accuracy of electric guitar signals in complex environments. Furthermore, by enhancing the separation of the target direction signal and the pre-trained deep neural network model using beamforming technology, the accuracy of separating environmental noise, electromagnetic interference, and electric guitar signals is improved, ensuring the purity of the sound source signal. In addition, based on the recognition of playing techniques and intensity using mechanical vibration signals, targeted sound quality optimization is carried out, improving the fidelity and expressiveness of the sound output. This further enhances the adaptability to multi-scenario applications and strengthens anti-interference performance and sound quality experience.
[0037] In one embodiment of this application, position beamforming processing is applied to an ambient mixed audio signal, pointing towards an electric guitar, to generate a spatially enhanced signal, including: The sound wave propagation time difference is calculated based on the initial trigger time of the mechanical vibration signal and the initial time of the corresponding direct sound in the environmental mixed audio signal arriving at the microphone array. Based on the time difference of sound wave propagation and the speed of sound, the spatial position of the electric guitar relative to the microphone array is determined by the time difference of arrival positioning algorithm. Based on spatial location, calculate the beamforming weights corresponding to each microphone channel in the microphone array; Multi-channel spatial filtering is applied to the ambient mixed audio signal based on beamforming weights to generate a spatially enhanced signal.
[0038] In this embodiment, to achieve directional enhancement of the ambient mixed audio signal, the electric guitar needs to be spatially located, and then directional beamforming processing is performed based on this. Specifically, firstly, the initial trigger time of the strings being excited is determined based on the mechanical vibration signal, and simultaneously, the initial time of the direct sound of the corresponding guitar reaching the microphone array is detected from the ambient mixed audio signal. The propagation time difference of the sound wave from the electric guitar to the microphone array is calculated by the difference between the two.
[0039] In this embodiment, after obtaining the sound wave propagation time difference, a time difference of arrival (TDOA) localization algorithm is used based on the known speed of sound in air to determine the three-dimensional spatial position of the electric guitar relative to the microphone array. This localization result provides precise target pointing for subsequent beamforming, ensuring that subsequent filtering processing is precisely aligned with the electric guitar's location. The TDOA localization algorithm is a commonly used spatial localization method in the fields of acoustic localization and array signal processing. The algorithm utilizes the difference in propagation time of sound waves from the same sound source to different microphones, and inversely calculates the spatial coordinates of the sound source based on geometric relationships. In this embodiment, the electric guitar is used as the sound source. The sound waves propagate from the guitar's location to different microphone units in the microphone array with a path difference; the ratio of this path difference to the speed of sound is the TDOA. By simultaneously solving the TDOAs of multiple microphones, a system of geometric equations about the sound source's location can be constructed. Given the microphone array topology and the speed of sound, this system of equations is solved using least squares or closed-form algorithms to determine the electric guitar's orientation and distance relative to the microphone array, thus achieving spatial localization of the sound source.
[0040] Based on spatial location, the delay and amplitude weighting coefficients corresponding to each microphone channel in the microphone array are calculated, i.e., beamforming weights. Subsequently, multi-channel spatial filtering processing is performed on the ambient mixed audio signal based on the beamforming weights to generate a spatially enhanced signal.
[0041] From the above, it can be concluded that this embodiment calculates the sound wave propagation time difference by using the initial trigger time of the mechanical vibration signal and the initial time of the corresponding direct sound in the environmental mixed audio signal to reach the microphone array. Based on the time difference of arrival positioning algorithm, the spatial position of the electric guitar is determined, which improves the positioning accuracy of the sound source. Then, based on this positioning, the beamforming weights corresponding to each channel of the microphone array are calculated, and multi-channel spatial filtering processing is performed on the environmental mixed audio signal, which effectively enhances the signal in the direction of the electric guitar and suppresses interference in non-target directions, thereby improving the directivity and signal-to-noise ratio of the spatial enhancement signal.
[0042] In one embodiment of this application, multi-channel spatial filtering is performed on an ambient mixed audio signal based on beamforming weights to generate a spatially enhanced signal, including: The ambient mixed audio signal is converted to the frequency domain to obtain the complex sub-band signal of each microphone channel; Based on the beamforming weights, construct spatial filtering vectors corresponding to each frequency band; The frequency domain beamout signal of the electric guitar spatial position is obtained by weighted summation of the complex subband signal and its corresponding spatial filter vector. Based on the spectral characteristics of mechanical vibration signals, a vibration-guided frequency domain masking matrix is generated; The residual non-guitar interference components in the frequency domain beam output signal are suppressed based on the vibration-guided frequency domain masking matrix, and the suppressed frequency domain beam output signal is obtained. The suppressed frequency domain beam output signal is subjected to frequency response equalization compensation and converted back to a time domain signal to obtain a spatially enhanced signal.
[0043] In this embodiment, a short-time frequency domain transformation is first performed on the mixed environmental audio signals acquired by each microphone channel, converting the signals from the time domain to the frequency domain. Then, the signals are uniformly divided into sub-bands according to the frequency dimension, resulting in complex sub-band signals for each channel at different frequencies. These complex sub-band signals can retain the amplitude and phase information of the audio signal. Based on this, according to beamforming weights, spatial filtering vectors corresponding one-to-one with each frequency band are constructed for the frequency characteristics of different sub-bands and the spatial position of the electric guitar. This ensures that signals of different frequency components can achieve phase alignment and amplitude weighting at the target location.
[0044] The complex subband signals of each microphone channel are weighted and summed with their corresponding spatial filter vectors to obtain the frequency domain beam output signal. This frequency domain beam output signal has achieved spatial enhancement of the target sound source, but there are still non-guitar interference components.
[0045] This embodiment performs time-frequency transformation on the mechanical vibration signal to extract stable spectral features such as energy distribution, harmonic structure, and resonant peaks at each frequency point. These spectral features are then used as prior reference information for the actual guitar sound production. A vibration-guided frequency domain masking matrix is constructed based on the frequency band and channel dimensions. The values of each element in the vibration-guided frequency domain masking matrix correspond to the intensity of the spectral energy of the mechanical vibration signal, thus distinguishing the effective guitar sound components from non-guitar interference components in the frequency domain. Based on the vibration-guided frequency domain masking matrix, the frequency domain beam output signal is weighted and masked band by band in the frequency domain dimension. Utilizing the prior guitar spectral information provided by the mechanical vibration signal, residual non-guitar interference components such as environmental noise and other instrument sounds that do not match the electric guitar vibration characteristics are identified and weakened in the frequency domain beam output signal, while retaining the effective frequency components consistent with the guitar sound production, thereby obtaining the suppressed frequency domain beam output signal.
[0046] After interference suppression, frequency response equalization compensation is performed on the suppressed frequency domain beamout signal to correct the spectral distortion caused by filtering and masking. Finally, the processed frequency domain signal is converted back to the time domain signal to obtain the spatially enhanced signal. Frequency response equalization compensation refers to the process of adjusting and repairing the amplitude of different frequency components based on the normal sound spectrum characteristics of the electric guitar and the auditory equalization target, after residual interference suppression of the frequency domain beamout signal. This process addresses issues such as spectral distortion, frequency band gain shift, and timbre distortion that occur during beamforming, weighted summation, and vibration-guided frequency domain masking.
[0047] From the above, it can be concluded that this embodiment can improve the accuracy of forming a frequency domain beam output signal pointing to the spatial position of the electric guitar by converting the ambient mixed audio signal to the frequency domain, obtaining the complex sub-band signal of each microphone channel, constructing the spatial filtering vector corresponding to each frequency band according to the beamforming weight and performing weighted summation. Furthermore, the generation of a vibration-guided frequency domain masking matrix based on the spectral characteristics of the mechanical vibration signal effectively suppresses the residual non-guitar interference components in the frequency domain beam output signal.
[0048] In one embodiment of this application, after performing multi-channel spatial filtering on the ambient mixed audio signal based on beamforming weights to generate a spatially enhanced signal, the method further includes: Based on the frequency domain representation of the spatially augmented signal, the power spectral density of the spatially augmented signal and the power spectra of early reflections and late reverberation are estimated. The filter coefficients of the frequency domain Wiener filter are calculated based on the power spectral density and the power spectra of early reflections and late reverberation. The spatial enhancement signal is filtered based on the filter coefficients to obtain the reverberation-suppressed spatial enhancement signal. The spatial enhancement signal after reverberation suppression is used as the spatial enhancement signal input to the deep neural network separation model.
[0049] In this embodiment, power spectral density refers to the power distribution of the spatially enhanced signal at various frequency points in the frequency domain, used to characterize the energy intensity of the signal at different frequencies. Early reflections refer to the reflected sound that quickly reaches the receiver after being reflected once or a few times by a wall or object; these are early components of reverberation. Late reverberation refers to the diffused reflected sound formed after multiple complex reflections, lasting for a longer period; this is the main component of environmental reverberation. The frequency-domain Wiener filter is a filter designed based on the minimum mean square error criterion in the frequency domain, used to extract the target direct sound component from the reverberant signal. Filter coefficients refer to the values used in the frequency-domain Wiener filter to weight and adjust the signal at each frequency point.
[0050] The space augmentation signal is frequency-domain transformed to obtain its corresponding frequency-domain representation. Based on this representation, the power spectral density of the space augmentation signal is estimated. Simultaneously, the power spectra of early reflections and late reverberation in the space augmentation signal are distinguished and estimated. Substituting the power spectral density and the power spectra of early reflections and late reverberation into the calculation formula yields the filter coefficients of the frequency-domain Wiener filter. These filter coefficients adaptively distinguish between the direct sound component and the reverberation interference component. Subsequently, the space augmentation signal is filtered using these filter coefficients to obtain a reverberation-suppressed space augmentation signal. The calculation formula for the filter coefficients is as follows:
[0051] in, The filter coefficients at the k-th frequency point are... To represent the direct acoustic power spectral density of the spatially enhanced signal at the k-th frequency, This represents the early reflection power spectrum corresponding to the k-th frequency point. This represents the late-stage reverberation power spectrum corresponding to the k-th frequency point.
[0052] From the above, it can be concluded that this embodiment estimates the power spectral density and the power spectrum of early reflections and late reverberation based on the frequency domain representation of the spatial enhancement signal, and calculates the filtering coefficients of the frequency domain Wiener filter accordingly. This allows for reverberation suppression processing of the spatial enhancement signal, resulting in a reverberation-suppressed spatial enhancement signal. This signal is then used as the spatial enhancement signal input to the deep neural network separation model, effectively reducing the impact of reverberation interference on the model's separation accuracy and further improving the separation effect and fidelity of subsequent electric guitar sound source signals.
[0053] In one embodiment of this application, the electric guitar anti-interference sound recognition method and system based on a buzzer chip further includes; Based on the performance intensity information, the noise suppression factor of the Wiener filter is adjusted. The higher the performance intensity, the more positively correlated the noise suppression factor. Adjust the frequency response preference of the Wiener filter according to the type of performance technique. The playing techniques include hammering, plucking, glissando, and tapping. When the playing technique is a hammering technique or a plucking technique, the gain response of the preset first step long-adjustment filter is used in the preset mid-high frequency transient band. When the playing technique is glissando, the gain response of the preset second step size filter is lowered within the preset full frequency band. When the playing technique is the tapping technique, the gain response of the preset third step length filter is increased within the preset high-frequency resonant peak band.
[0054] In this embodiment, the Wiener filter is adaptively optimized based on performance information to improve pickup fidelity and anti-interference performance under different performance conditions. Specifically, the noise suppression factor of the Wiener filter is adjusted according to the performance intensity information, with a larger noise suppression factor for higher performance intensity. Simultaneously, the frequency response preference of the Wiener filter is adjusted specifically according to the performance technique type. The performance techniques include hammering, pull-off, glissando, and tapping.
[0055] Specifically, when the playing technique is a hammer-on or pull-off technique, since its transient characteristics are mainly concentrated in the mid-to-high frequency range, a preset first-step long-adjustment filter gain response is used within the preset mid-to-high frequency transient range. When the playing technique is a glissando technique, a preset second-step long-adjustment filter gain response is used within the preset full-frequency range. When the playing technique is a tapping technique, a preset third-step long-adjustment filter gain response is used within the preset high-frequency resonance peak range. The preset mid-to-high frequency transient range is the frequency range where the transient characteristics of electric guitar playing are mainly concentrated, with values ranging from 800Hz to 5000Hz. The full-frequency range is the complete frequency range covered by the processed electric guitar sound signal, preferably 20Hz to 20kHz. The high-frequency resonance peak range is the most recognizable characteristic frequency range of the tapping technique, with values ranging from 3kHz to 12kHz.
[0056] In this embodiment, the preset first step length is calibrated and set according to the mid-to-high frequency transient characteristics of electric guitar hammer-on and pull-off techniques, with a value range of 0.5dB-2dB. The preset second step length is set according to the smoothness and continuity requirements of electric guitar slide techniques, with a value range of 0.2dB-1dB. The preset third step length is set according to the high-frequency resonance characteristics of electric guitar tapping techniques, with a value range of 1dB-3dB.
[0057] From the above, it can be concluded that this embodiment improves the anti-interference capability of the electric guitar by adjusting the noise suppression factor of the Wiener filter according to the playing intensity information; at the same time, it adjusts the frequency response preference of the Wiener filter according to the playing technique type, so that the Wiener filter can adapt to different playing scenarios, effectively suppressing interference while maximizing the restoration of the true timbre and details of various playing techniques, thereby improving the sound pickup fidelity and adaptability of the electric guitar anti-interference sound recognition method and system based on the buzzer.
[0058] In one embodiment of this application, the electric guitar sound source signal is subjected to sound quality optimization processing based on playing technique type and playing intensity information to obtain a target electric guitar sound signal, including: Feature extraction is performed on the electric guitar sound source signal to obtain the time-domain waveform and spectral features; Based on the type of performance technique, the time-domain waveform and spectral characteristics are modified to obtain the target time-domain waveform and target spectral characteristics; The target time-domain waveform and target spectral characteristics are fused to obtain the electric guitar sound signal; The electric guitar sound signal is constrained based on the performance intensity information to obtain the target electric guitar sound signal.
[0059] In this embodiment, the process of optimizing the sound quality of the electric guitar sound source signal based on the playing technique type and playing intensity information to obtain the target electric guitar sound signal is achieved step by step through feature extraction, classification correction, spectrum fusion and intensity constraint.
[0060] Specifically, the electric guitar sound source signal undergoes time-domain and frequency-domain feature extraction to obtain a time-domain waveform representing the signal's temporal changes and spectral features representing the energy distribution at each frequency. Next, based on the playing technique, the time-domain waveform and spectral features are specifically modified to obtain a target time-domain waveform and target spectral features. Then, the modified target time-domain waveform and target spectral features are fused to reconstruct a spectrally balanced and waveform-regular electric guitar sound signal, maintaining consistency in both time-domain details and frequency-domain characteristics. Finally, based on the playing intensity information, the dynamic range, gain amplitude, and noise suppression level of the fused electric guitar sound signal are adaptively constrained to suppress unwanted interference while ensuring the expressiveness of the playing dynamics, ultimately yielding the target electric guitar sound signal. This target electric guitar sound signal is the final output signal after a series of anti-interference processing and sound quality optimizations.
[0061] As can be seen from the above, this embodiment achieves precise and personalized sound quality optimization of the electric guitar sound source signal by utilizing the core information of the performance. By adapting and correcting the performance technique type, it realizes the unique timbre and detail characteristics of different performance techniques. Furthermore, the constraint based on the performance intensity information improves the rationality and stability of the sound dynamic range, effectively filters out redundant interference, and improves signal fidelity, so that the final output target electric guitar sound signal highly restores the expressiveness and texture of the real performance.
[0062] In one embodiment of this application, constraining the electric guitar sound signal based on performance intensity information to obtain a target electric guitar sound signal includes: Acquire the signal range and envelope characteristics of the electric guitar sound signal; Based on the performance intensity information, determine the signal control threshold and envelope shaping parameters corresponding to the current performance intensity; Based on the signal control threshold, the electric guitar sound signal is compressed or expanded, and based on the envelope shaping parameters, the envelope shape of the electric guitar sound signal in the transient onset, sustained and decay stages is modified to obtain the target electric guitar sound signal.
[0063] In this embodiment, the process of constraining the electric guitar sound signal based on performance intensity information to obtain the target electric guitar sound signal involves: specifically, performing time-domain feature analysis on the electric guitar sound signal after time-frequency feature fusion, and obtaining the signal range features and envelope features of the electric guitar sound signal.
[0064] Secondly, based on the identified performance intensity information and the preset intensity mapping relationship, the signal control threshold and envelope shaping parameters that match the current performance intensity are determined.
[0065]
[0066] Finally, the electric guitar sound signal is dynamically compressed or expanded based on the signal control threshold to keep the signal amplitude within a suitable range to avoid distortion or weakness. At the same time, based on the envelope shaping parameters, the envelope shape of the transient onset, sustain, and decay phases of the electric guitar sound signal is modified to make the onset, sustain, and decay processes of the electric guitar sound signal more consistent with the characteristics of real performance, and finally the target electric guitar sound signal is obtained.
[0067] As can be seen from the above, this embodiment achieves adaptive dynamic constraint on the electric guitar sound signal by acquiring the signal range characteristics and envelope characteristics of the electric guitar sound signal, determining the corresponding signal control threshold and envelope shaping parameters based on the performance intensity information, and performing compression or expansion processing and envelope shape correction on the signal. This effectively avoids distortion of the electric guitar sound signal, further improves the naturalness and expressiveness of the guitar sound signal, and makes the final target electric guitar sound signal have stable, clear, and realistic performance characteristics.
[0068] In one embodiment of this application, based on the type of performance technique, the time-domain waveform and spectral characteristics are modified to obtain the target time-domain waveform and target spectral characteristics, including: Based on the type of performance technique, the corresponding reference time-domain envelope template and reference spectrum template are queried and called from the preset technique feature mapping library; The time-domain waveform of the electric guitar sound source signal is compared with the reference time-domain envelope template, and the time-domain morphological correction amount is calculated. The spectral characteristics of the electric guitar sound source signal are compared with the reference spectral template, and the spectral equalization correction amount is calculated. The time-domain waveform of the electric guitar sound source signal is adjusted according to the time-domain morphological correction amount to obtain the target time-domain waveform; The spectral characteristics of the electric guitar sound source signal are adjusted according to the spectral equalization correction amount to obtain the target spectral characteristics.
[0069] In this embodiment, the process of correcting the time-domain waveform and spectral characteristics based on the playing technique type to obtain the target time-domain waveform and target spectral characteristics specifically includes: First, according to the playing technique type, a reference time-domain envelope template and a reference spectral template matching the technique are retrieved from a preset technique feature mapping library. Second, the time-domain waveform corresponding to the electric guitar sound source signal is compared and analyzed point by point with the retrieved reference time-domain envelope template. By calculating the amplitude difference and timing deviation between the two, a time-domain morphology correction amount is obtained to correct the waveform morphology. At the same time, the spectral characteristics of the electric guitar sound source signal are compared with the retrieved reference spectral template at frequency points, and the gain deviation of each frequency band is calculated to obtain a spectral equalization correction amount to adjust the spectral distribution. Finally, the amplitude, rise time, and envelope morphology of the time-domain waveform of the electric guitar sound source signal are adjusted according to the time-domain morphology correction amount to obtain a target time-domain waveform that highly matches the playing technique. And the energy of each frequency band in the spectral characteristics is equalized according to the spectral equalization correction amount to obtain a target spectral characteristic that can highlight the timbre characteristics of the corresponding technique. The process involves collecting mechanical vibration and audio signals of typical electric guitar techniques such as hammer-on, pull-off, slide, and tap in an interference-free environment. By extracting the standard time-domain envelope and spectral distribution corresponding to each technique, a reference time-domain envelope template and a reference spectral template are formed and a mapping relationship is established and stored in a library to obtain a pre-set technique feature mapping library.
[0070] From the above, it can be concluded that this embodiment, by calling the corresponding reference time-domain envelope template and reference spectrum template from the preset technique feature mapping library based on the playing technique type, compares the time-domain waveform and spectrum characteristics of the electric guitar sound source signal with the corresponding templates and calculates the time-domain morphology correction amount and spectrum equalization correction amount. Then, the time-domain waveform and spectrum characteristics are adjusted according to the correction amount, which can improve the adaptability of the electric guitar sound source signal with different playing techniques. At the same time, it effectively improves the technique reproduction and timbre consistency of the electric guitar sound, making the target time-domain waveform and target spectrum characteristics more consistent with the acoustic characteristics of real playing.
[0071] In one embodiment of this application, the electric guitar anti-interference sound recognition method and system based on a buzzer chip further includes: Based on the power spectral density of the spatially enhanced signal, the power spectra of early reflections and late reverberation, and performance intensity information, the real-time separation parameters of the deep neural network separation model are adjusted, where: When the performance intensity in the performance intensity information is less than the preset intensity threshold, and the power spectrum ratio of late reverberation is greater than the preset reverberation threshold, the preset fourth-step long-enhanced deep neural network separation model is used to apply attention weights to electromagnetic audio signals and mechanical vibration signals in the frequency domain feature extraction layer. When the performance intensity in the performance intensity information is greater than or equal to the intensity threshold, and the power spectrum of the early reflection has an energy greater than the preset reflection threshold in a specific frequency band, the weights of the spatial enhancement signal in the preset fifth-step long-enhancement deep neural network separation model are used.
[0072] In this embodiment, the power spectral density of the spatial enhancement signal, the power spectral distribution of early reflections and late reverberation are calculated and analyzed. At the same time, the real-time separation parameters of the deep neural network separation model are dynamically adjusted according to the performance intensity information.
[0073] When the performance intensity in the performance intensity information is less than the preset intensity threshold, and the power spectrum ratio of late reverberation is greater than the preset reverberation threshold, it indicates that the current environment has strong reverberation interference and a weak performance signal, which will result in blurred timbre and loss of detail. At this time, a preset fourth step length is adopted to enhance the attention weight of electromagnetic audio signals and mechanical vibration signals in the frequency domain feature extraction layer of the deep neural network separation model, strengthen the utilization of direct mechanical vibration signals, and suppress the interference caused by reverberation. The preset intensity threshold is based on the normalized amplitude of the mechanical vibration signal collected by the buzzer, and is determined by the critical value of the transition from weak to medium performance in the measured data. This critical value has been verified in multiple scenarios (different piano types, different performers) and can effectively distinguish between weak performance and medium / strong performance, and is consistent with the performance intensity level classification system (weak performance [0, 0.3], medium performance [0.3, 0.6], strong performance [0.6, 0.9]). The preset reverberation threshold is the proportion of the late-stage reverberation power spectrum to the total power spectrum of the spatially enhanced signal, set at 40%. This value is determined by testing the reverberation interference under different acoustic environments. When the proportion exceeds this value, it is considered that the reverberation interference is strong. The formula for calculating the fourth step length is:
[0074] This is the preset fourth step length; Performance intensity deviation weighting coefficient; The normalized amplitude of the current performance intensity; Preset intensity threshold; Reverberation proportion deviation weighting coefficient; The current proportion of the late-stage reverberation power spectrum to the total power spectrum of the spatially enhanced signal; Preset reverberation threshold.
[0075] When the performance intensity in the performance intensity information is greater than or equal to the intensity threshold, and the energy of the power spectrum of early reflections in a specific frequency band is greater than the preset reflection threshold, it indicates that the current performance intensity is relatively strong, and the early reflections from the spatial environment are quite obvious. At this time, the system uses a preset fifth step length to enhance the weight of the spatial enhancement signal in the deep neural network separation model, fully utilizing the spatial directivity information after beamforming to further suppress environmental noise and lateral interference. The preset reflection threshold is the energy threshold of the early reflection power spectrum in the core sounding frequency band of the electric guitar (800Hz~5000Hz), which is taken as 25% of the power spectrum of the spatial enhancement signal in the same frequency band. This value is experimentally calibrated based on the impact of early reflections on signal separation under different performance intensities; exceeding this value is considered significant early reflection interference. The formula for calculating the fifth step length is:
[0076] in, The preset fifth step length; Performance intensity excess weighting coefficient; The normalized amplitude of the current performance intensity; The preset intensity threshold; Early reflection excess weighting coefficient; The proportion of the early reflected power spectrum energy in the 800Hz~5000Hz frequency band to the power spectrum of the space-enhanced signal in the same frequency band; The preset reflection threshold is used. The performance intensity deviation weighting coefficient, reverberation ratio deviation weighting coefficient, and early reflection excess weighting coefficient were all determined through comparative experiments in multiple acoustic environments, with multiple instrument types, and multiple performers. After traversing the values with the goal of maximizing the signal-to-noise ratio of signal separation, the value that was adjusted smoothly and achieved the best effect was selected as the fixed calibration value.
[0077] As can be seen from the above, this embodiment adjusts the real-time separation parameters of the deep neural network separation model based on the power spectral density of the spatially enhanced signal, the power spectrum of early reflections and late reverberation, and the performance intensity information. This allows for dynamic adjustment of attention weights and signal weights under different performance states and acoustic environments, effectively improving the sound source separation accuracy and anti-interference ability of the deep neural network separation model in complex scenarios, and ensuring the stability and purity of the electric guitar sound source signal.
[0078] Corresponding to the above embodiment of the electric guitar anti-interference sound recognition method based on a buzzer, Figure 2 This is a structural block diagram of an electric guitar anti-interference sound recognition system based on a buzzer chip, provided as an embodiment of this application. For ease of explanation, only the parts relevant to the embodiment of this application are shown. References Figure 2The electric guitar anti-interference sound recognition system 20 based on a buzzer chip includes: a multi-source signal acquisition module 21, a spatial enhancement processing module 22, a performance feature recognition module 23, a signal intelligent separation module 24, and a sound quality optimization processing module 25.
[0079] Among them, the multi-source signal acquisition module 21 is used to acquire the ambient mixed audio signal obtained by the microphone array, the mechanical vibration signal obtained by the buzzer sensor, and the electromagnetic audio signal obtained by the electromagnetic pickup. Spatial enhancement processing module 22 is used to perform position beamforming processing on the ambient mixed audio signal pointing to the electric guitar to generate a spatial enhancement signal; The performance feature recognition module 23 is used to determine the playing technique type and performance intensity information of the electric guitar based on the time-frequency domain characteristics of the mechanical vibration signal. The intelligent signal separation module 24 is used to input electromagnetic audio signals, spatial enhancement signals, mechanical vibration signals, playing technique type and playing intensity information into a pre-trained deep neural network separation model to obtain an anti-interference electric guitar sound source signal. The sound quality optimization processing module 25 is used to optimize the sound quality of the electric guitar sound source signal based on the playing technique type and playing intensity information to obtain the target electric guitar sound signal.
[0080] See Figure 3 , Figure 3 This is a schematic block diagram of an electronic device provided according to an embodiment of this application. Figure 3 The electronic device 300 in this embodiment may include one or more processors 301, one or more input devices 302, one or more output devices 303, and one or more memories 304. The processors 301, input devices 302, output devices 303, and memories 304 communicate with each other via a communication bus 305. The memories 304 store computer programs, including program instructions. The processors 301 execute the program instructions stored in the memories 304. Specifically, the processors 301 are configured to invoke the program instructions to perform the functions of the modules in the aforementioned device embodiments, for example... Figure 2 The functions of the multi-source signal acquisition module 21, spatial enhancement processing module 22, performance feature recognition module 23, intelligent signal separation module 24, and sound quality optimization processing module 25 are shown.
[0081] It should be understood that, in the embodiments of this application, the processor 301 may be a central processing unit (CPU), but it may also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0082] Input device 302 may include a touchpad, a fingerprint sensor (for collecting the user's fingerprint information and fingerprint orientation information), a microphone, etc., and output device 303 may include a display (LCD, etc.), a speaker, etc.
[0083] The memory 304 may include read-only memory and random access memory, and provides instructions and data to the processor 301. A portion of the memory 304 may also include non-volatile random access memory. For example, the memory 304 may also store device type information.
[0084] In specific implementations, the processor 301, input device 302, and output device 303 described in the embodiments of this application can execute the implementation methods described in any embodiment of the electric guitar anti-interference sound recognition method based on the buzzer chip provided in the embodiments of this application, or they can execute the implementation methods of the electronic devices described in the embodiments of this application, which will not be repeated here.
[0085] In another embodiment of this application, a computer-readable storage medium is provided. This computer-readable storage medium stores a computer program, which includes program instructions. When executed by a processor, the program instructions implement all or part of the processes in the methods described above. Alternatively, the computer program can instruct related hardware to complete the process. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include any entity or device capable of carrying computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0086] The computer-readable storage medium can be an internal storage unit of the electronic device in any of the foregoing embodiments, such as a hard disk or memory of the electronic device. The computer-readable storage medium can also be an external storage device of the electronic device, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the electronic device. Furthermore, the computer-readable storage medium can include both internal and external storage units of the electronic device. The computer-readable storage medium is used to store computer programs and other programs and data required by the electronic device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
[0087] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0088] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the electronic devices and units described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0089] In the several embodiments provided in this application, it should be understood that the disclosed electronic devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces or units, or it may be an electrical, mechanical, or other form of connection.
[0090] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of this application, depending on actual needs.
[0091] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0092] See Figure 4 , Figure 4 A schematic diagram of an electric guitar provided in an embodiment of this application includes: a pickup module 1.
[0093] See Figure 5 , Figure 5 An internal structural diagram of an electric guitar provided in one embodiment of this application includes: a pickup module 1.
[0094] Figure 6 The schematic diagram of a pickup module provided in an embodiment of this application includes: a silicone base, 11; a face cover, 12; a bottom cover, 13; a buzzer, 14; an external connecting cable, 141; and a vibration spring, 15.
[0095] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for anti-interference sound recognition of electric guitars based on a buzzer, characterized in that, include: The system collects ambient mixed audio signals from a microphone array, mechanical vibration signals from a buzzer sensor, and electromagnetic audio signals from an electromagnetic pickup. The ambient mixed audio signal is subjected to position beamforming processing directed towards the electric guitar to generate a spatial enhancement signal; Based on the time-frequency domain characteristics of the mechanical vibration signal, the playing technique type and playing intensity information of the electric guitar are determined; The electromagnetic audio signal, the spatial enhancement signal, the mechanical vibration signal, and the playing technique type and playing intensity information are input into a pre-trained deep neural network separation model to obtain an interference-resistant electric guitar sound source signal. Based on the playing technique type and the playing intensity information, the electric guitar sound source signal is subjected to sound quality optimization processing to obtain the target electric guitar sound signal.
2. The method for anti-interference sound recognition of electric guitars based on a buzzer as described in claim 1, characterized in that, The step of performing positional beamforming processing on the ambient mixed audio signal, directed towards the electric guitar, to generate a spatially enhanced signal includes: The sound wave propagation time difference is calculated based on the initial trigger time of the mechanical vibration signal and the initial time of the corresponding direct sound in the environmental mixed audio signal arriving at the microphone array; Based on the sound wave propagation time difference and sound speed, the spatial position of the electric guitar relative to the microphone array is determined by the time difference of arrival positioning algorithm; Based on the spatial location, calculate the beamforming weights corresponding to each microphone channel in the microphone array; The ambient mixed audio signal is subjected to multi-channel spatial filtering based on the beamforming weights to generate the spatial enhancement signal.
3. The method for anti-interference sound recognition of electric guitars based on a buzzer as described in claim 2, characterized in that, The step of performing multi-channel spatial filtering on the environmental mixed audio signal based on the beamforming weights to generate the spatially enhanced signal includes: The environmental mixed audio signal is converted to the frequency domain to obtain the complex sub-band signal of each microphone channel; Based on the beamforming weights, construct spatial filtering vectors corresponding to each frequency band; The complex subband signal and its corresponding spatial filter vector are weighted and summed to obtain the frequency domain beam output signal of the electric guitar's spatial position; Based on the spectral characteristics of the mechanical vibration signal, a vibration guidance frequency domain masking matrix is generated; The residual non-guitar interference components in the frequency domain beam output signal are suppressed based on the vibration-guided frequency domain masking matrix to obtain the suppressed frequency domain beam output signal; The suppressed frequency domain beam output signal is subjected to frequency response equalization compensation and converted back to a time domain signal to obtain the spatial enhancement signal.
4. The method for anti-interference sound recognition of electric guitars based on a buzzer as described in claim 3, characterized in that, After performing multi-channel spatial filtering on the environmental mixed audio signal based on the beamforming weights to generate the spatially enhanced signal, the method further includes: Based on the frequency domain representation of the space-enhanced signal, the power spectral density of the space-enhanced signal and the power spectra of early reflections and late reverberation are estimated. Based on the power spectral density and the power spectra of the early reflections and late reverberations, the filter coefficients of the frequency domain Wiener filter are calculated. The spatial enhancement signal is filtered based on the filtering coefficients to obtain a reverberation-suppressed spatial enhancement signal. The reverberation-suppressed spatial enhancement signal is used as the spatial enhancement signal input to the deep neural network separation model.
5. The method for anti-interference sound recognition of electric guitars based on a buzzer as described in claim 4, characterized in that, Also includes; Based on the performance intensity information, the noise suppression factor of the Wiener filter is adjusted, wherein the higher the performance intensity, the more positively correlated the noise suppression factor. According to the type of performance technique, adjust the frequency response preference of the Wiener filter, wherein... The playing techniques include string-pounding, string-plucking, glissando, and string-tapping techniques; When the playing technique is the hammering technique or the plucking technique, the gain response of the preset first step long-adjustment filter is used in the preset mid-high frequency transient band. When the playing technique is the glissando technique, the gain response of the preset second step size filter is lowered within the preset full frequency band. When the playing technique is the tapping technique, the gain response of the preset third step length filter is increased within the preset high-frequency resonant peak band.
6. The method for anti-interference sound recognition of an electric guitar based on a buzzer as described in claim 1, characterized in that, The process of optimizing the sound quality of the electric guitar sound source signal based on the playing technique type and the playing intensity information to obtain the target electric guitar sound signal includes: Feature extraction is performed on the electric guitar sound source signal to obtain time-domain waveform and spectral features; Based on the aforementioned performance technique type, the time-domain waveform and the spectral characteristics are modified to obtain the target time-domain waveform and the target spectral characteristics; The target time-domain waveform and the target spectral characteristics are fused to obtain the electric guitar sound signal; The electric guitar sound signal is constrained based on the performance intensity information to obtain the target electric guitar sound signal.
7. The method for anti-interference sound recognition of an electric guitar based on a buzzer as described in claim 6, characterized in that, The step of constraining the electric guitar sound signal based on the performance intensity information to obtain the target electric guitar sound signal includes: Obtain the signal range characteristics and envelope characteristics of the electric guitar sound signal; Based on the performance intensity information, determine the signal control threshold and envelope shaping parameters corresponding to the current performance intensity; Based on the signal control threshold, the electric guitar sound signal is compressed or expanded, and based on the envelope shaping parameters, the envelope shape of the electric guitar sound signal in the transient onset, sustained and decay stages is modified to obtain the target electric guitar sound signal.
8. The method for anti-interference sound recognition of an electric guitar based on a buzzer as described in claim 6, characterized in that, The step of modifying the time-domain waveform and the spectral characteristics based on the performance technique type to obtain the target time-domain waveform and target spectral characteristics includes: Based on the performance technique type, the corresponding reference time domain envelope template and reference spectrum template are queried and called from the preset technique feature mapping library; The time-domain waveform of the electric guitar sound source signal is compared with the reference time-domain envelope template, and the time-domain morphology correction amount is calculated. The spectral characteristics of the electric guitar sound source signal are compared with the reference spectral template, and the spectral equalization correction amount is calculated. The time-domain waveform of the electric guitar sound source signal is adjusted according to the time-domain morphological correction amount to obtain the target time-domain waveform; The spectral characteristics of the electric guitar sound source signal are adjusted according to the spectral equalization correction amount to obtain the target spectral characteristics.
9. An anti-interference sound recognition system for electric guitars based on a buzzer, characterized in that, include: The multi-source signal acquisition module is used to acquire ambient mixed audio signals obtained by the microphone array, mechanical vibration signals obtained by the buzzer sensor, and electromagnetic audio signals obtained by the electromagnetic pickup. The spatial enhancement processing module is used to perform position beamforming processing on the ambient mixed audio signal and point it toward the electric guitar to generate a spatial enhancement signal; The performance feature recognition module is used to determine the playing technique type and performance intensity information of the electric guitar based on the time-frequency domain characteristics of the mechanical vibration signal. The intelligent signal separation module is used to input the electromagnetic audio signal, the spatial enhancement signal, the mechanical vibration signal, and the playing technique type and playing intensity information into a pre-trained deep neural network separation model to obtain an interference-resistant electric guitar sound source signal. The sound quality optimization processing module is used to optimize the sound quality of the electric guitar sound source signal based on the playing technique type and the playing intensity information to obtain the target electric guitar sound signal.
10. An electric guitar comprising the system of claim 9, characterized in that: It also includes a pickup module (1), which includes a silicone base (11) and a face cover (12) inserted into the silicone base (11). A bottom cover (13) is fastened to one side of the face cover (12). A buzzer (14) is provided between the face cover (12) and the bottom cover (13). A vibrating spring (15) is connected to the upper side of the buzzer (14). The vibrating spring (14) protrudes from the face cover (12). An external connecting wire (141) is provided on the buzzer (14).
