Method, apparatus and device for processing sound signal
AssigneeGoertek Inc.
InventorXiaohong Zhang
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a method, an apparatus and a device for processing a sound signal, wherein the method comprises: acquiring a transmitted signal spectrum of a target sound signal sent out by a loudspeaker and a received signal spectrum of the target sound signal received by a microphone; detecting whether there is a signal distortion frequency band with signal distortion in the target sound signal according to the transmitted signal spectrum and the received signal spectrum, and when detecting that the signal distortion frequency band exists, performing compression processing on the target sound signal according to the signal distortion frequency band during a current signal processing cycle, and transmitting a compressed target sound signal through the loudspeaker.
Claims6
A method for processing a sound signal, wherein the method is implemented in a device comprising a loudspeaker and a microphone, and the method comprises
- acquiring, from a previous signal processing cycle, a transmitted signal spectrum of a target sound signal sent out by the loudspeaker and a received signal spectrum of the target sound signal received by the microphone;
- detecting a presence or an absence of a signal distortion frequency band with signal distortion in the target sound signal according to the transmitted signal spectrum and the received signal spectrum, and
- upon detecting the presence of the signal distortion frequency band,
- performing compression processing on the target sound signal according to the signal distortion frequency band during a current signal processing cycle to generate a compressed target sound signal,
- and transmitting the compressed target sound signal through the loudspeaker,
- upon detecting the absence of the signal distortion frequency band detecting whether a decompression frequency band exists in the target sound signal;
- upon detecting the presence of the decompression frequency band, performing decompression processing on the target sound signal according to a signal release frequency band in a current signal processing cycle to generate a decompressed target sound signal, and transmitting the decompressed target sound signal through the loudspeaker;
- wherein the detecting whether a decompression frequency band exists in the target sound signal comprises:
- acquiring the total compression gain of the target sound signal in each signal compression frequency band subjected to signal compression processing from the previous signal processing cycle;
- when there is at least one signal compression frequency band with the total compression gain other than 0 and when it is detected that spectrum amplitude values of the signal
- compression frequency band are all smaller than a preset decompression threshold in the signal difference spectrum acquired according to the signal transfer function, the transmitted signal spectrum and the received signal spectrum,
- determining the signal compression frequency band as the decompression frequency band;
- wherein the signal transfer function is a transfer function of sound signal transmitted to the microphone through the speaker,
- wherein detecting whether a decompression frequency band exists in the target sound signal comprises:
- acquiring a total compression gain of the target sound signal in each signal compression frequency band subjected to signal compression processing from the previous signal processing cycle;
- for each signal compression frequency band whose total compression gain is not 0, determining the signal compression frequency band as the decompression frequency band when spectrum amplitude values of the compressed signal difference spectrum are detected to be smaller than the preset decompression threshold in the compressed signal difference spectrum acquired according to the signal transfer function, the transmitted signal spectrum and the received signal spectrum;
- wherein the signal transfer function is a transfer function of sound signal transmitted to the microphone through the speaker.
A sound signal processing apparatus, comprising:
- a memory configured to store executable instructions;
- a processor configured to operate the sound signal processing apparatus under control of the executable instructions to perform the sound signal processing method comprising a loudspeaker and a microphone, and
- acquiring, from a previous signal processing cycle, a transmitted signal spectrum of a target sound signal sent out by the loudspeaker and a received signal spectrum of the target sound signal received by the microphone;
- detecting a presence or an absence of a signal distortion frequency band with signal distortion in the target sound signal according to the transmitted signal spectrum and the received signal spectrum, and
- upon detecting the presence of the signal distortion frequency band,
- performing compression processing on the target sound signal according to the signal distortion frequency band during a current signal processing cycle to generate a compressed target sound signal,
- and transmitting the compressed target sound signal through the loudspeaker,
- upon detecting the absence of the signal distortion frequency band detecting whether a decompression frequency band exists in the target sound signal;
- upon detecting the presence of the decompression frequency band, performing decompression processing on the target sound signal according to a signal release frequency band in a current signal processing cycle to generate a decompressed target sound signal, and transmitting the decompressed target sound signal through the loudspeaker;
- wherein the detecting whether a decompression frequency band exists in the target sound signal comprises:
- acquiring the total compression gain of the target sound signal in each signal compression frequency band subjected to signal compression processing from the previous signal processing cycle;
- when there is at least one signal compression frequency band with the total compression gain other than 0 and when it is detected that spectrum amplitude values of the signal
- compression frequency band are all smaller than a preset decompression threshold in the signal difference spectrum acquired according to the signal transfer function, the transmitted signal spectrum and the received signal spectrum,
- determining the signal compression frequency band as the decompression frequency band;
- wherein the signal transfer function is a transfer function of sound signal transmitted to the microphone through the speaker,
- wherein detecting whether a decompression frequency band exists in the target sound signal comprises:
- acquiring a total compression gain of the target sound signal in each signal compression frequency band subjected to signal compression processing from the previous signal processing cycle;
- for each signal compression frequency band whose total compression gain is not 0,
- determining the signal compression frequency band as the decompression frequency band when spectrum amplitude values of the compressed signal difference spectrum are detected to be smaller than the preset decompression threshold in the compressed signal difference spectrum acquired according to the signal transfer function, the transmitted signal spectrum and the received signal spectrum;
- wherein the signal transfer function is a transfer function of sound signal transmitted to the microphone through the speaker.
A sound signal processing device, comprising:
- a loudspeaker;
- a microphone;
- the sound signal processing apparatus of comprising:
- a memory configured to store executable instructions;
- a processor configured to operate the sound signal processing apparatus under control of the executable instructions to perform the sound signal processing method comprising a loudspeaker and a microphone, and
- acquiring, from a previous signal processing cycle, a transmitted signal spectrum of a target sound signal sent out by the loudspeaker and a received signal spectrum of the target sound signal received by the microphone;
- detecting a presence or an absence of a signal distortion frequency band with signal distortion in the target sound signal according to the transmitted signal spectrum and the received signal spectrum, and
- upon detecting the presence of the signal distortion frequency band,
- performing compression processing on the target sound signal according to the signal distortion frequency band during a current signal processing cycle to generate a compressed target sound signal,
- and transmitting the compressed target sound signal through the loudspeaker,
- upon detecting the absence of the signal distortion frequency band detecting whether a decompression frequency band exists in the target sound signal;
- upon detecting the presence of the decompression frequency band, performing decompression processing on the target sound signal according to a signal release frequency band in a current signal processing cycle to generate a decompressed target sound signal, and transmitting the decompressed target sound signal through the loudspeaker;
- wherein the detecting whether a decompression frequency band exists in the target sound signal comprises:
- acquiring the total compression gain of the target sound signal in each signal compression frequency band subjected to signal compression processing from the previous signal processing cycle;
- when there is at least one signal compression frequency band with the total compression gain other than 0 and when it is detected that spectrum amplitude values of the signal
- compression frequency band are all smaller than a preset decompression threshold in the signal difference spectrum acquired according to the signal transfer function, the transmitted signal spectrum and the received signal spectrum,
- determining the signal compression frequency band as the decompression frequency band;
- wherein the signal transfer function is a transfer function of sound signal transmitted to the microphone through the speaker,
- wherein detecting whether a decompression frequency band exists in the target sound signal comprises:
- acquiring a total compression gain of the target sound signal in each signal compression frequency band subjected to signal compression processing from the previous signal processing cycle;
- for each signal compression frequency band whose total compression gain is not 0,
- determining the signal compression frequency band as the decompression frequency band when spectrum amplitude values of the compressed signal difference spectrum are detected to be smaller than the preset decompression threshold in the compressed signal difference spectrum acquired according to the signal transfer function, the transmitted signal spectrum and the received signal spectrum;
- wherein the signal transfer function is a transfer function of sound signal transmitted to the microphone through the speaker.
Dependencies are inferred from the claim text.