CN110809222B - Multi-section dynamic range control method and system and loudspeaker - Google Patents

Multi-section dynamic range control method and system and loudspeaker Download PDF

Info

Publication number
CN110809222B
CN110809222B CN201810884654.3A CN201810884654A CN110809222B CN 110809222 B CN110809222 B CN 110809222B CN 201810884654 A CN201810884654 A CN 201810884654A CN 110809222 B CN110809222 B CN 110809222B
Authority
CN
China
Prior art keywords
channel signal
frequency
right channel
left channel
low
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810884654.3A
Other languages
Chinese (zh)
Other versions
CN110809222A (en
Inventor
朱孝委
刘涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ruili Acoustics Technology Co ltd
Original Assignee
Shenzhen Ruili Acoustics Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ruili Acoustics Technology Co ltd filed Critical Shenzhen Ruili Acoustics Technology Co ltd
Priority to CN201810884654.3A priority Critical patent/CN110809222B/en
Publication of CN110809222A publication Critical patent/CN110809222A/en
Application granted granted Critical
Publication of CN110809222B publication Critical patent/CN110809222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/06Loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2400/00Loudspeakers
    • H04R2400/11Aspects regarding the frame of loudspeaker transducers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Stereophonic System (AREA)

Abstract

The invention is applicable to the technical field of loudspeakers, and provides a multi-section dynamic range control method, a multi-section dynamic range control system and a loudspeaker, which can inhibit the output power of an audio signal, filter a low-frequency signal with too low frequency, divide the audio signal into high and low frequencies by adjusting the amplification amount of an electric signal of the audio signal on at least one frequency point, and dynamically limit the high-frequency signal and the low-frequency signal after frequency division respectively, can effectively inhibit the output power of the audio signal, enable the audio signal not to be distorted, filter the low-frequency signal with larger dynamic range, avoid the sound breaking phenomenon, realize the multi-section dynamic range control of the audio signal, effectively improve the output tone quality of the loudspeaker and prolong the service life.

Description

Multi-section dynamic range control method and system and loudspeaker
Technical Field
The invention belongs to the technical field of loudspeakers, and particularly relates to a multi-section dynamic range control method and system and a loudspeaker.
Background
With the continuous development of science and technology, various types of speakers are developed endlessly, and good hearing enjoyment is brought to people. The conventional loudspeaker usually can only realize single-stage Dynamic Range Control (DRC), and cannot effectively suppress the output power of an audio signal, so that the audio signal output by the loudspeaker is distorted, and particularly, when a low-frequency signal with a large Dynamic Range is output, a sound breaking phenomenon is easily generated, and meanwhile, certain damage is caused to the loudspeaker.
Disclosure of Invention
In view of this, embodiments of the present invention provide a multi-stage Dynamic Range Control method, a multi-stage Dynamic Range Control system, and a speaker, so as to solve the problem that an existing speaker usually only can implement single-stage Dynamic Range Control (DRC), and cannot effectively suppress output power of an audio signal, so that the audio signal output by the speaker is distorted, and particularly when a low-frequency signal with a large Dynamic Range is output, a sound breaking phenomenon is easily generated, and meanwhile, the speaker is damaged to some extent.
A first aspect of an embodiment of the present invention provides a multi-segment dynamic range control method, which is applied to a speaker, and the method includes:
accessing a left channel signal and a right channel signal, and adjusting gains of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal;
filtering low-frequency signals in the first left channel signal and the first right channel signal to obtain a second left channel signal and a second right channel signal;
adjusting the amplification amount of the electric signals of the second left channel signal and the second right channel signal at N frequency points to obtain a third left channel signal and a third right channel signal; wherein N is not less than 1 and is an integer;
filtering out a low-frequency signal in the third left channel signal and the third right channel signal to separate out a third high-frequency left channel signal and a third high-frequency right channel signal;
filtering out high-frequency signals in the third left channel signal and the third right channel signal to separate out a third low-frequency left channel signal and a third low-frequency right channel signal;
dynamically limiting high-frequency signals with frequencies higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
dynamically limiting low-frequency signals of which the frequencies are lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal to obtain a fourth low-frequency left channel signal and a fourth low-frequency right channel signal;
synthesizing the fourth high frequency left channel signal and the fourth low frequency left channel signal into a fifth left channel signal;
synthesizing the fourth high frequency right channel signal and the fourth low frequency right channel signal into a fifth right channel signal;
adjusting the amplification amount of the electric signals of the fifth left channel signal and the fifth right channel signal at N frequency points to obtain a sixth left channel signal and a sixth right channel signal; wherein N is not less than 1 and is an integer;
performing full-frequency signal compression on the sixth left channel signal and the sixth right channel signal to obtain a seventh left channel signal and a seventh right channel signal;
and performing digital-to-analog conversion on the seventh left channel signal and the seventh right channel signal and outputting the signals.
A second aspect of the embodiments of the present invention provides a method for controlling a multi-segment dynamic range, which is applied to a speaker, and the method includes:
accessing a left channel signal and a right channel signal, and adjusting gains of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal;
filtering low-frequency signals in the first left channel signal and the first right channel signal to obtain a second left channel signal and a second right channel signal;
adjusting the amplification amount of the electric signals of the second left channel signal and the second right channel signal at N frequency points to obtain a third left channel signal and a third right channel signal; wherein N is not less than 1 and is an integer;
filtering out a low-frequency signal in the third left channel signal and the third right channel signal to separate out a third high-frequency left channel signal and a third high-frequency right channel signal;
filtering out high-frequency signals in the third left channel signal and the third right channel signal to separate out a third low-frequency left channel signal and a third low-frequency right channel signal;
dynamically limiting high-frequency signals with frequencies higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
dynamically limiting low-frequency signals of which the frequencies are lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal to obtain a fourth low-frequency left channel signal and a fourth low-frequency right channel signal;
synthesizing the fourth high frequency left channel signal and the fourth low frequency left channel signal into a fifth left channel signal;
synthesizing the fourth high frequency right channel signal and the fourth low frequency right channel signal into a fifth right channel signal;
synthesizing the fifth left channel signal and the fifth right channel signal into a fifth channel signal;
adjusting the amplification amount of the electric signals of the fifth sound channel signal on N frequency points to obtain a sixth sound channel signal; wherein N is not less than 1 and is an integer;
performing full-frequency signal compression on the sixth channel signal to obtain a seventh channel signal;
and D/A converting the seventh channel signal and outputting the seventh channel signal.
A third aspect of the embodiments of the present invention provides a multi-segment dynamic range control system, which is applied to a speaker, and the system includes:
the volume gain controller is used for accessing a left channel signal and a right channel signal and adjusting the gains of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal;
the first high-pass filter is used for filtering low-frequency signals in the first left channel signal and the first right channel signal to obtain a second left channel signal and a second right channel signal;
the first equalizer is used for adjusting the amplification amount of the electric signals of the second left channel signal and the second right channel signal on N frequency points to obtain a third left channel signal and a third right channel signal; wherein N is not less than 1 and is an integer;
a second high-pass filter, configured to filter a low-frequency signal in the third left channel signal and the third right channel signal, so as to separate a third high-frequency left channel signal and a third high-frequency right channel signal;
a first low pass filter, configured to filter a high-frequency signal in the third left channel signal and the third right channel signal, so as to separate a third low-frequency left channel signal and a third low-frequency right channel signal;
the first dynamic range control circuit is used for dynamically limiting a high-frequency signal with a frequency higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
a second dynamic range control circuit, configured to dynamically limit a low-frequency signal with a frequency lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal, so as to obtain a fourth low-frequency left channel signal and the fourth low-frequency right channel signal;
a first signal adder for synthesizing the fourth high frequency left channel signal and the fourth low frequency left channel signal into a fifth left channel signal;
a second signal adder for synthesizing the fourth high frequency right channel signal and the fourth low frequency right channel signal into a fifth right channel signal;
the second equalizer is used for adjusting the amplification amount of the electric signals of the fifth left channel signal and the fifth right channel signal on N frequency points to obtain a sixth left channel signal and a sixth right channel signal; wherein N is not less than 1 and is an integer;
a compressor, configured to perform full-band signal compression on the sixth left channel signal and the sixth right channel signal to obtain a seventh left channel signal and a seventh right channel signal;
and the digital-to-analog converter is used for performing digital-to-analog conversion on the seventh left channel signal and the seventh right channel signal and outputting the signals.
A fourth aspect of the embodiments of the present invention provides a multi-segment dynamic range control system, which is applied to a speaker, the system including:
the volume gain controller is used for accessing a left channel signal and a right channel signal and adjusting the gains of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal;
the first high-pass filter is used for filtering low-frequency signals in the first left channel signal and the first right channel signal to obtain a second left channel signal and a second right channel signal;
the first equalizer is used for adjusting the amplification amount of the electric signals of the second left channel signal and the second right channel signal on N frequency points to obtain a third left channel signal and a third right channel signal; wherein N is not less than 1 and is an integer;
a second high-pass filter, configured to filter a low-frequency signal in the third left channel signal and the third right channel signal, so as to separate a third high-frequency left channel signal and a third high-frequency right channel signal;
a first low pass filter, configured to filter a high-frequency signal in the third left channel signal and the third right channel signal, so as to separate a third low-frequency left channel signal and a third low-frequency right channel signal;
the first dynamic range control circuit is used for dynamically limiting a high-frequency signal with a frequency higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
a second dynamic range control circuit, configured to dynamically limit a low-frequency signal with a frequency lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal, so as to obtain a fourth low-frequency left channel signal and the fourth low-frequency right channel signal;
a first signal adder for synthesizing the fourth high frequency left channel signal and the fourth low frequency left channel signal into a fifth left channel signal;
a second signal adder for synthesizing the fourth high frequency right channel signal and the fourth low frequency right channel signal into a fifth right channel signal;
a third signal adder for synthesizing the fifth left channel signal and the fifth right channel signal into a fifth channel signal;
the second equalizer is used for adjusting the amplification amount of the electric signals of the fifth sound channel signal on N frequency points to obtain a sixth sound channel signal;
the compressor is used for carrying out full-frequency signal compression on the sixth sound channel signal to obtain a seventh sound channel signal;
and the digital-to-analog converter is used for performing digital-to-analog conversion on the seventh channel signal and outputting the seventh channel signal.
A fifth aspect of the embodiments of the present invention provides a loudspeaker, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the above method when executing the computer program.
A sixth aspect of the embodiments of the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above method.
The embodiment of the invention provides a multi-section dynamic range control method, a multi-section dynamic range control system and a loudspeaker, which can inhibit the output power of an audio signal, filter a low-frequency signal with too low frequency, divide the audio signal into high and low frequencies by adjusting the amplification amount of an electric signal of the audio signal on at least one frequency point, respectively dynamically limit the high-frequency signal and the low-frequency signal after frequency division, effectively inhibit the output power of the audio signal, enable the audio signal not to be distorted, filter the low-frequency signal with larger dynamic range, avoid the sound breaking phenomenon, realize multi-section dynamic range control of the audio signal, effectively improve the output tone quality of the loudspeaker and prolong the service life.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a multi-segment dynamic range control system according to a third embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a multi-stage dynamic range control system according to a fourth embodiment of the present invention;
fig. 3 is a schematic structural diagram of a speaker according to a fifth embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention and the above-described drawings are intended to cover non-exclusive inclusions. For example, a process, method, or system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different objects and are not used to describe a particular order.
Example one
The present embodiment provides a multi-segment dynamic range control method, which can be applied to any type of speaker or device including a speaker, such as an earphone, a sound box, a television, and a mobile terminal, a tablet computer, a smart band, a personal digital assistant, a notebook computer, etc.
The multi-segment dynamic range control method comprises the following steps:
step S101, accessing a left channel signal and a right channel signal, and adjusting gains of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal.
In a specific application, the left channel signal and the right channel signal may be obtained from a device having a function of collecting and outputting an audio signal, such as a voice chip, a microphone, an audio acquisition card, or a corresponding circuit. The audio signal of the same channel may be input through a multi-segment dynamic range control circuit and then processed into a left channel signal and a right channel signal.
In a specific application, adjusting the gains of the left channel signal and the right channel signal may be specifically implemented by attenuating the output powers of the left channel signal and the right channel signal and adjusting the volume output levels of the left channel signal and the right channel signal, that is, adjusting the volume output levels of the left channel signal and the right channel signal.
In a specific application, power attenuation and volume adjustment of multiple levels can be performed on the left channel signal and the right channel signal according to actual needs, for example, power attenuation of 0dB to 70dB can be performed, and volume adjustment of 13 volume levels (each volume level differs by 10dB) can be performed in a range of 0dB to 120 dB.
In one embodiment, step S101 specifically includes:
accessing a left channel signal and a right channel signal, and performing attenuation processing on the left channel signal and the right channel signal;
and adjusting the volume levels of the attenuated left channel signal and the attenuated right channel signal to obtain a first left channel signal and a first right channel signal.
Step S102, filtering low-frequency signals in the first left channel signal and the first right channel signal to obtain a second left channel signal and a second right channel signal.
In a specific application, the low-frequency signals in the first left channel signal and the first right channel signal are mainly filtered, and the low-frequency noise with the frequency lower than 40Hz is filtered.
Step S103, adjusting the amplification amount of the electric signals of the second left channel signal and the second right channel signal on N frequency points to obtain a third left channel signal and a third right channel signal; wherein N is not less than 1 and N is an integer.
In a specific application, the number of N may be set according to actual needs, where N is generally an integer greater than 1, and may be any integer between 2 and 10, for example.
In one embodiment, N-10.
And step S104, filtering low-frequency signals in the third left channel signal and the third right channel signal to separate a third high-frequency left channel signal and a third high-frequency right channel signal.
In a specific application, the filtering of the low-frequency signals in the third left channel signal and the third right channel signal is mainly to filter the left channel signal and the right channel signal with frequencies lower than or equal to 11.025KHz, and to sample the left channel signal and the right channel signal with frequencies higher than 11.025 KHz.
Step S105, filtering out high frequency signals in the third left channel signal and the third right channel signal to separate a third low frequency left channel signal and a third low frequency right channel signal.
In a specific application, the filtering out of the high-frequency signals in the third left channel signal and the third right channel signal is mainly to filter the left channel signal and the right channel signal with the frequency higher than 11.025KHz, and sample the left channel signal and the right channel signal with the frequency lower than or equal to 11.025 KHz.
Step S106, dynamically limiting the high-frequency signals with the frequency higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
step S107, dynamically limiting a low-frequency signal with a frequency lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal, to obtain a fourth low-frequency left channel signal and the fourth low-frequency right channel signal.
In one embodiment, step S106 specifically includes:
dynamically limiting a Threshold (Threshold), a Ratio (Ratio), an initial rate (Attack Speed) and a Release rate (Release Speed) of a high-frequency signal with a frequency higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
step S107 specifically includes:
and dynamically limiting the threshold value, the ratio, the starting rate and the release rate of the low-frequency signals with the frequency lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal to obtain a fourth low-frequency left channel signal and a fourth low-frequency right channel signal.
In specific application, the value range of the threshold value can be-40 dB-0 dB, and the threshold value can be-10 dB; the ratio can be in a range of 0-16, and the ratio can be specifically 10; the value range of the initial rate can be 0.01 dB/Ns-100 dB/Ns, and the initial rate can be 20dB/Ns specifically; the value range of the release rate can be 0.01 dB/Ns-100 dB/Ns, and the initial rate can be 100 dB/Ns.
Step S108, synthesizing the fourth high-frequency left channel signal and the fourth low-frequency left channel signal into a fifth left channel signal;
step S109, synthesizing the fourth high-frequency right channel signal and the fourth low-frequency right channel signal into a fifth right channel signal;
step S110, adjusting amplification amounts of electrical signals of the fifth left channel signal and the fifth right channel signal at N frequency points to obtain a sixth left channel signal and a sixth right channel signal; wherein N is not less than 1 and is an integer;
step S111, performing full-band signal compression on the sixth left channel signal and the sixth right channel signal to obtain a seventh left channel signal and a seventh right channel signal.
In one embodiment, step S111 specifically includes:
and performing full-frequency signal segmented compression on the sixth left channel signal and the sixth right channel signal to obtain a seventh left channel signal and a seventh right channel signal.
In a specific application, the sixth left channel signal and the sixth right channel signal may be divided into signals of a plurality of frequency bands and compressed respectively, and the signal of each frequency band may be set and compressed by using different compression parameters.
And step S112, performing digital-to-analog conversion on the seventh left channel signal and the seventh right channel signal, and outputting the signals.
In a specific application, the seventh left channel signal and the seventh right channel signal are digital signals and need to be converted into analog signals that can be heard by human ears, i.e., sound signals.
The embodiment of the invention provides a multi-section dynamic range control method, a multi-section dynamic range control system and a loudspeaker, which can inhibit the output power of an audio signal, filter a low-frequency signal with too low frequency, divide the audio signal into high and low frequencies by adjusting the amplification amount of an electric signal of the audio signal on at least one frequency point, respectively dynamically limit the high-frequency signal and the low-frequency signal after frequency division, effectively inhibit the output power of the audio signal, enable the audio signal not to be distorted, filter the low-frequency signal with larger dynamic range, avoid the sound breaking phenomenon, realize multi-section dynamic range control of the audio signal, effectively improve the output tone quality of the loudspeaker and prolong the service life.
Example two
The present embodiment provides a multi-segment dynamic range control method, which can be applied to any type of speaker or device including a speaker, such as an earphone, a sound box, a television, and a mobile terminal, a tablet computer, a smart band, a personal digital assistant, a notebook computer, etc.
The multi-segment dynamic range control method comprises the following steps:
step S201, accessing a left channel signal and a right channel signal, and adjusting gains of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal.
In a specific application, the left channel signal and the right channel signal may be obtained from a device having a function of collecting and outputting an audio signal, such as a voice chip, a microphone, an audio acquisition card, or a corresponding circuit. The audio signal of the same channel may be input through a multi-segment dynamic range control circuit and then processed into a left channel signal and a right channel signal.
In a specific application, adjusting the gains of the left channel signal and the right channel signal may be specifically implemented by attenuating the output powers of the left channel signal and the right channel signal and adjusting the volume output levels of the left channel signal and the right channel signal, that is, adjusting the volume output levels of the left channel signal and the right channel signal.
In a specific application, power attenuation and volume adjustment of multiple levels can be performed on the left channel signal and the right channel signal according to actual needs, for example, power attenuation of 0dB to 70dB can be performed, and volume adjustment of 13 volume levels (each volume level differs by 10dB) can be performed in a range of 0dB to 120 dB.
In one embodiment, step S201 includes:
accessing a left channel signal and a right channel signal, and performing attenuation processing on the left channel signal and the right channel signal;
and adjusting the volume levels of the attenuated left channel signal and the attenuated right channel signal to obtain a first left channel signal and a first right channel signal.
Step S202, filtering low-frequency signals in the first left channel signal and the first right channel signal to obtain a second left channel signal and a second right channel signal.
In a specific application, the low-frequency signals in the first left channel signal and the first right channel signal are mainly filtered, and the low-frequency noise with the frequency lower than 40Hz is filtered.
Step S203, adjusting the amplification amount of the electric signals of the second left channel signal and the second right channel signal at N frequency points to obtain a third left channel signal and a third right channel signal; wherein N is not less than 1 and N is an integer.
In a specific application, the number of N may be set according to actual needs, where N is generally an integer greater than 1, and may be any integer between 2 and 10, for example.
In one embodiment, N-10.
Step S204, filtering out a low frequency signal in the third left channel signal and the third right channel signal to separate a third high frequency left channel signal and a third high frequency right channel signal.
In a specific application, the filtering of the low-frequency signals in the third left channel signal and the third right channel signal is mainly to filter the left channel signal and the right channel signal with frequencies lower than or equal to 11.025KHz, and to sample the left channel signal and the right channel signal with frequencies higher than 11.025 KHz.
Step S205, filtering out the high frequency signals in the third left channel signal and the third right channel signal to separate a third low frequency left channel signal and a third low frequency right channel signal.
In a specific application, the filtering out of the high-frequency signals in the third left channel signal and the third right channel signal is mainly to filter the left channel signal and the right channel signal with the frequency higher than 11.025KHz, and sample the left channel signal and the right channel signal with the frequency lower than or equal to 11.025 KHz.
Step S206, dynamically limiting the high-frequency signals with the frequency higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
step S207, dynamically limiting a low-frequency signal with a frequency lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal, so as to obtain a fourth low-frequency left channel signal and a fourth low-frequency right channel signal.
In one embodiment, step S206 specifically includes:
dynamically limiting a Threshold (Threshold), a Ratio (Ratio), an initial rate (Attack Speed) and a Release rate (Release Speed) of a high-frequency signal with a frequency higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
step S207 specifically includes:
and dynamically limiting the threshold value, the ratio, the starting rate and the release rate of the low-frequency signals with the frequency lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal to obtain a fourth low-frequency left channel signal and a fourth low-frequency right channel signal.
In specific application, the value range of the threshold value can be-40 dB-0 dB, and the threshold value can be-10 dB; the ratio can be in a range of 0-16, and the ratio can be specifically 10; the value range of the initial rate can be 0.01 dB/Ns-100 dB/Ns, and the initial rate can be 20dB/Ns specifically; the value range of the release rate can be 0.01 dB/Ns-100 dB/Ns, and the initial rate can be 100 dB/Ns.
Step S208, synthesizing the fourth high-frequency left channel signal and the fourth low-frequency left channel signal into a fifth left channel signal;
step S209, synthesizing the fourth high-frequency right channel signal and the fourth low-frequency right channel signal into a fifth right channel signal;
step S210, synthesizing the fifth left channel signal and the fifth right channel signal into a fifth channel signal;
step S211, adjusting the amplification amount of the electric signals of the fifth sound channel signal on N frequency points to obtain a sixth sound channel signal;
step S212, performing full-frequency signal compression on the sixth channel signal to obtain a seventh channel signal.
In one embodiment, step S212 specifically includes:
and performing segmented compression on the sixth channel signal to obtain a seventh channel signal.
In a specific application, the sixth channel signal may be divided into signals of a plurality of frequency bands and compressed respectively, and the signal of each frequency band may be set and compressed by using different compression parameters.
And step S213, performing digital-to-analog conversion on the seventh channel signal and outputting the seventh channel signal.
In a specific application, the seventh channel signal is a digital signal and needs to be converted into an analog signal that can be heard by human ears, i.e., a sound signal.
The embodiment provides a method for controlling a multi-stage dynamic range of a single sound channel, which can suppress the output power of an audio signal, filter a low-frequency signal with too low frequency, adjust the amplification amount of an electrical signal of the audio signal on at least one frequency point, perform high-low frequency division on the audio signal, dynamically limit a high-frequency signal and a low-frequency signal after frequency division, effectively suppress the output power of the audio signal, make the audio signal undistorted, filter a low-frequency signal with a large dynamic range, avoid the sound breaking phenomenon, realize multi-stage dynamic range control on the audio signal, effectively improve the output tone quality of a loudspeaker and prolong the service life of the loudspeaker.
EXAMPLE III
The present embodiment provides a multi-segment dynamic range control system, which may be any type of speaker or software program system in a device including a speaker, such as a headset, a sound box, a television, and a mobile terminal such as a mobile phone, a tablet computer, a smart band, a personal digital assistant, and a notebook computer.
As shown in fig. 1, the multi-stage dynamic range control system 1 provided in this embodiment includes the following virtual devices that are simulated by a software program and have the same functions as the physical devices:
a volume gain controller (Stereo Fader)101, a first high-pass filter 102, a first Equalizer (EQ) 103, a second high-pass filter 104, a first low-pass filter 105, a first Dynamic Range Control (DRC) 106, a second Dynamic Range Control circuit 107, a first signal adder 108, a second signal adder 109, a second Equalizer 110, a Compressor (Compressor)111, and a digital-to-analog converter (DAC) 112.
The volume gain controller 101 is configured to access a left channel signal and a right channel signal, and adjust gains of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal.
In a specific application, the volume gain controller is specifically used for attenuating the output power of the left channel signal and the right channel signal and adjusting the volume output level of the left channel signal and the right channel signal, namely adjusting the volume output magnitude of the left channel signal and the right channel signal.
In a specific application, the left channel signal and the right channel signal may be subjected to power attenuation and volume adjustment of multiple levels through the volume gain controller according to actual needs, for example, the power attenuation may be performed in a range of 0dB to 70dB, and the volume adjustment may be performed in a range of 0dB to 120dB and 13 volume levels (each volume level differs by 10 dB).
In one embodiment, the volume gain controller comprises:
the front gain adjuster is used for accessing a left channel signal and a right channel signal and attenuating the left channel signal and the right channel signal; and
and the volume gain adjuster is used for adjusting the volume levels of the attenuated left channel signal and the attenuated right channel signal to obtain a first left channel signal and a first right channel signal.
The first high-pass filter 102 is configured to filter a low-frequency signal in the first left channel signal and the first right channel signal to obtain a second left channel signal and a second right channel signal.
In a specific application, the first high-pass filter may specifically be an active first-order or second-order high-pass filter, or a passive first-order or second-order high-pass filter, and a cut-off frequency of the first high-pass filter may be set and selected according to actual needs, for example, the cut-off frequency of the first high-pass filter may be 40Hz, and is used for filtering out low-frequency noise with a frequency lower than 40 Hz.
A first equalizer 103, configured to adjust amplification amounts of electrical signals of the second left channel signal and the second right channel signal at N frequency points, so as to obtain a third left channel signal and a third right channel signal; wherein N is not less than 1 and N is an integer.
In a specific application, the number of N may be set according to actual needs, where N is generally an integer greater than 1, and may be any integer between 2 and 10, for example.
In one embodiment, N-10.
A second high-pass filter 104, configured to filter a low-frequency signal in the third left channel signal and the third right channel signal to separate a third high-frequency left channel signal and a third high-frequency right channel signal.
In a specific application, the second high-pass filter may be an active first-order or second-order high-pass filter, a passive first-order or second-order high-pass filter, and a cut-off frequency of the second high-pass filter may be set and selected according to actual needs, for example, the cut-off frequency of the second high-pass filter may be 11.025KHz, and is used for filtering a left channel signal and a right channel signal with a frequency lower than or equal to 11.025KHz, and sampling the left channel signal and the right channel signal with a frequency higher than 11.025 KHz.
A first low-pass filter 105, configured to filter a high-frequency signal in the third left channel signal and the third right channel signal to separate a third low-frequency left channel signal and a third low-frequency right channel signal.
In a specific application, the first low-pass filter may be an active first-order or second-order high-pass filter, a passive first-order or second-order high-pass filter, a butterworth filter or a chebyshev filter, and the cut-off frequency of the first low-pass filter may be set and selected according to actual needs, for example, the cut-off frequency of the first low-pass filter may be 11.025KHz for filtering left and right channel signals with frequencies higher than 11.025KHz, and the sampling frequency of the left and right channel signals lower than or equal to 11.025 KHz.
A first dynamic range control circuit 106, configured to dynamically limit a high-frequency signal of the third high-frequency left channel signal and the third high-frequency right channel signal, where the frequency of the high-frequency signal is higher than the N frequency points, so as to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal.
A second dynamic range control circuit 107, configured to dynamically limit a low-frequency signal of which a frequency is lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal, so as to obtain a fourth low-frequency left channel signal and the fourth low-frequency right channel signal.
In one embodiment, the first dynamic range control circuit is specifically configured to dynamically limit a Threshold (Threshold), a Ratio (Ratio), an initial rate (attach Speed), and a Release rate (Release Speed) of a high-frequency signal with a frequency higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal, so as to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
the second dynamic range control circuit is specifically configured to dynamically limit a threshold, a ratio, an initial rate, and a release rate of a low-frequency signal, of the third low-frequency left channel signal and the third low-frequency right channel signal, of which the frequency is lower than the N frequency points, to obtain a fourth low-frequency left channel signal and the fourth low-frequency right channel signal.
In specific application, the value range of the threshold value can be-40 dB-0 dB, and the threshold value can be-10 dB; the ratio can be in a range of 0-16, and the ratio can be specifically 10; the value range of the initial rate can be 0.01 dB/Ns-100 dB/Ns, and the initial rate can be 20dB/Ns specifically; the value range of the release rate can be 0.01 dB/Ns-100 dB/Ns, and the initial rate can be 100 dB/Ns.
A first signal adder 108 for synthesizing the fourth high frequency left channel signal and the fourth low frequency left channel signal into a fifth left channel signal;
a second signal adder 109 for combining the fourth high frequency right channel signal and the fourth low frequency right channel signal into a fifth right channel signal;
a second equalizer 110, configured to adjust amplification amounts of electrical signals of the fifth left channel signal and the fifth right channel signal at N frequency points, so as to obtain a sixth left channel signal and a sixth right channel signal; wherein N is not less than 1 and is an integer;
a compressor 111, configured to perform full-band signal compression on the sixth left channel signal and the sixth right channel signal to obtain a seventh left channel signal and a seventh right channel signal.
In an embodiment, the compressor is specifically configured to perform full-frequency signal segmentation compression on the sixth left channel signal and the sixth right channel signal to obtain a seventh left channel signal and a seventh right channel signal.
A digital-to-analog converter 112, configured to perform digital-to-analog conversion on the seventh left channel signal and the seventh right channel signal and output the signals.
In a specific application, the seventh left channel signal and the seventh right channel signal are digital signals, and the digital-to-analog converter is used for converting the digital signals into analog signals that can be heard by human ears, i.e., sound signals.
The present embodiment, by providing a multi-stage dynamic range control circuit, can suppress the output power of an audio signal by a volume gain controller, filtering low-frequency signals with too low frequency by a first high-pass filter, adjusting the amplification of the electrical signal of the audio signal at least one frequency point by a first equalizer and a second equalizer, dividing the audio signal by high and low frequencies by the second high-pass filter and the first low-pass filter, the high-frequency signal and the low-frequency signal after frequency division are respectively dynamically limited by a first dynamic range control circuit and a second dynamic range control circuit, the output power of the audio signal can be effectively inhibited, the audio signal is not distorted, the low-frequency signal with a large dynamic range is filtered, the sound breaking phenomenon is avoided, the multi-section dynamic range control of the audio signal is realized, and the output tone quality and the service life of the loudspeaker are effectively improved.
Example four
The present embodiment provides a multi-segment dynamic range control system, which may be any type of speaker or software program system in a device including a speaker, such as a headset, a sound box, a television, and a mobile terminal such as a mobile phone, a tablet computer, a smart band, a personal digital assistant, and a notebook computer.
As shown in fig. 2, the multi-stage dynamic range control system 2 provided in this embodiment includes the following virtual devices that are simulated by a software program and have the same functions as the physical devices:
a volume gain controller (Stereo Fader)201, a first high pass filter 202, a first Equalizer (EQ) 203, a second high pass filter 204, a first low pass filter 205, a first Dynamic Range Control (DRC) 206, a second Dynamic Range Control circuit 207, a first signal adder 208, a second signal adder 209, a third signal adder 210, a second Equalizer 211, a Compressor (Compressor)212, and a digital-to-analog converter (DAC) 213.
The volume gain controller 201 is configured to access a left channel signal and a right channel signal, and adjust gains of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal.
In a specific application, the volume gain controller is specifically used for attenuating the output power of the left channel signal and the right channel signal and adjusting the volume output level of the left channel signal and the right channel signal, namely adjusting the volume output magnitude of the left channel signal and the right channel signal.
In a specific application, the left channel signal and the right channel signal may be subjected to power attenuation and volume adjustment of multiple levels through the volume gain controller according to actual needs, for example, the power attenuation may be performed in a range of 0dB to 70dB, and the volume adjustment may be performed in a range of 0dB to 120dB and 13 volume levels (each volume level differs by 10 dB).
In one embodiment, the volume gain controller comprises:
the front gain adjuster is used for accessing a left channel signal and a right channel signal and attenuating the left channel signal and the right channel signal; and
and the volume gain adjuster is used for adjusting the volume levels of the attenuated left channel signal and the attenuated right channel signal to obtain a first left channel signal and a first right channel signal.
The first high-pass filter 202 is configured to filter out a low-frequency signal in the first left channel signal and the first right channel signal, so as to obtain a second left channel signal and a second right channel signal.
In a specific application, the first high-pass filter may specifically be an active first-order or second-order high-pass filter, or a passive first-order or second-order high-pass filter, and a cut-off frequency of the first high-pass filter may be set and selected according to actual needs, for example, the cut-off frequency of the first high-pass filter may be 40Hz, and is used for filtering out low-frequency noise with a frequency lower than 40 Hz.
A first equalizer 203, configured to adjust amplification amounts of electrical signals of the second left channel signal and the second right channel signal at N frequency points, so as to obtain a third left channel signal and a third right channel signal; wherein N is not less than 1 and N is an integer.
In a specific application, the number of N may be set according to actual needs, where N is generally an integer greater than 1, and may be any integer between 2 and 10, for example.
In one embodiment, N-10.
A second high-pass filter 204, configured to filter a low-frequency signal in the third left channel signal and the third right channel signal to separate a third high-frequency left channel signal and a third high-frequency right channel signal.
In a specific application, the second high-pass filter may be an active first-order or second-order high-pass filter, a passive first-order or second-order high-pass filter, and a cut-off frequency of the second high-pass filter may be set and selected according to actual needs, for example, the cut-off frequency of the second high-pass filter may be 11.025KHz, and is used for filtering a left channel signal and a right channel signal with a frequency lower than or equal to 11.025KHz, and sampling the left channel signal and the right channel signal with a frequency higher than 11.025 KHz.
A first low-pass filter 205, configured to filter out a high-frequency signal in the third left channel signal and the third right channel signal, so as to separate a third low-frequency left channel signal and a third low-frequency right channel signal.
In a specific application, the first low-pass filter may be an active first-order or second-order high-pass filter, a passive first-order or second-order high-pass filter, a butterworth filter or a chebyshev filter, and the cut-off frequency of the first low-pass filter may be set and selected according to actual needs, for example, the cut-off frequency of the first low-pass filter may be 11.025KHz for filtering left and right channel signals with frequencies higher than 11.025KHz, and the sampling frequency of the left and right channel signals lower than or equal to 11.025 KHz.
A first dynamic range control circuit 206, configured to dynamically limit a high-frequency signal of the third high-frequency left channel signal and the third high-frequency right channel signal, where the frequency of the high-frequency signal is higher than the N frequency points, so as to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal.
A second dynamic range control circuit 207, configured to dynamically limit a low-frequency signal with a frequency lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal, so as to obtain a fourth low-frequency left channel signal and the fourth low-frequency right channel signal.
In one embodiment, the first dynamic range control circuit is specifically configured to dynamically limit a Threshold (Threshold), a Ratio (Ratio), an initial rate (attach Speed), and a Release rate (Release Speed) of a high-frequency signal with a frequency higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal, so as to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
the second dynamic range control circuit is specifically configured to dynamically limit a threshold, a ratio, an initial rate, and a release rate of a low-frequency signal, of the third low-frequency left channel signal and the third low-frequency right channel signal, of which the frequency is lower than the N frequency points, to obtain a fourth low-frequency left channel signal and the fourth low-frequency right channel signal.
In specific application, the value range of the threshold value can be-40 dB-0 dB, and the threshold value can be-10 dB; the ratio can be in a range of 0-16, and the ratio can be specifically 10; the value range of the initial rate can be 0.01 dB/Ns-100 dB/Ns, and the initial rate can be 20dB/Ns specifically; the value range of the release rate can be 0.01 dB/Ns-100 dB/Ns, and the initial rate can be 100 dB/Ns.
A first signal adder 208 for synthesizing the fourth high frequency left channel signal and the fourth low frequency left channel signal into a fifth left channel signal;
a second signal adder 209 for synthesizing the fourth high frequency right channel signal and the fourth low frequency right channel signal into a fifth right channel signal;
a third signal adder 210 configured to combine the fifth left channel signal and the fifth right channel signal into a fifth channel signal;
a second equalizer 211, configured to adjust an amplification amount of the electrical signal of the fifth channel signal at N frequency points, to obtain a sixth channel signal;
a compressor 212, configured to perform full-frequency signal compression on the sixth channel signal to obtain a seventh channel signal;
in an embodiment, the compressor is specifically configured to perform a segmented compression of the full-frequency signal on the sixth channel signal to obtain a seventh channel signal.
And the digital-to-analog converter 213 is configured to perform digital-to-analog conversion on the seventh channel signal and output the result.
In a specific application, the seventh channel signal is a digital signal, and the digital-to-analog converter is used for converting the digital signal into an analog signal that can be heard by human ears, i.e., a sound signal.
The present embodiment, by providing a mono multi-stage dynamic range control circuit, can suppress the output power of an audio signal by a volume gain controller, filtering low-frequency signals with too low frequency by a first high-pass filter, adjusting the amplification of the electrical signal of the audio signal at least one frequency point by a first equalizer and a second equalizer, dividing the audio signal by high and low frequencies by the second high-pass filter and the first low-pass filter, the high-frequency signal and the low-frequency signal after frequency division are respectively dynamically limited by a first dynamic range control circuit and a second dynamic range control circuit, the output power of the audio signal can be effectively inhibited, the audio signal is not distorted, the low-frequency signal with a large dynamic range is filtered, the sound breaking phenomenon is avoided, the multi-section dynamic range control of the audio signal is realized, and the output tone quality and the service life of the loudspeaker are effectively improved.
In an embodiment, the multi-segment dynamic range control method provided in the first embodiment or the second embodiment and the multi-segment dynamic range control system provided in the third embodiment or the fourth embodiment of the present invention are applied to bluetooth speaker products of shenzhen myeli acoustics technologies incorporated, and are specifically applied to speaker products developed by JL69 chip series.
EXAMPLE five
As shown in fig. 3, the present embodiment provides a speaker 3, which includes: a processor 30, a memory 31 and a computer program 32, such as a multi-segment dynamic range control program, stored in said memory 31 and executable on said processor 30. The processor 30, when executing the computer program 32, implements the steps in the various multi-segment dynamic range control method embodiments described above, such as steps S101 to S112 or steps S201 to S213. Alternatively, the processor 30 executes the computer program 32 to implement the functions of the virtual devices in the above-mentioned apparatus embodiments, such as the functions of the virtual devices 101 to 112 shown in fig. 1 or the virtual devices 201 to 213 shown in fig. 2.
Illustratively, the computer program 32 may be partitioned into one or more virtual devices, which are stored in the memory 31 and executed by the processor 30 to accomplish the present invention. The one or more virtual devices may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 32 in the loudspeaker 3. For example, the computer program 32 may be divided into a volume gain controller, a first high-pass filter, a first equalizer, a second high-pass filter, a first low-pass filter, a first dynamic range control circuit, a second dynamic range control circuit, a first signal adder, a second equalizer, a compressor, and a digital-to-analog converter, and each virtual device specifically functions as follows:
the volume gain controller is used for accessing a left channel signal and a right channel signal and adjusting the gains of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal;
the first high-pass filter is used for filtering low-frequency signals in the first left channel signal and the first right channel signal to obtain a second left channel signal and a second right channel signal;
the first equalizer is used for adjusting the amplification amount of the electric signals of the second left channel signal and the second right channel signal on N frequency points to obtain a third left channel signal and a third right channel signal; wherein N is not less than 1 and is an integer;
a second high-pass filter, configured to filter a low-frequency signal in the third left channel signal and the third right channel signal, so as to separate a third high-frequency left channel signal and a third high-frequency right channel signal;
a first low pass filter, configured to filter a high-frequency signal in the third left channel signal and the third right channel signal, so as to separate a third low-frequency left channel signal and a third low-frequency right channel signal;
the first dynamic range control circuit is used for dynamically limiting a high-frequency signal with a frequency higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
a second dynamic range control circuit, configured to dynamically limit a low-frequency signal with a frequency lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal, so as to obtain a fourth low-frequency left channel signal and the fourth low-frequency right channel signal;
a first signal adder for synthesizing the fourth high frequency left channel signal and the fourth low frequency left channel signal into a fifth left channel signal;
a second signal adder for synthesizing the fourth high frequency right channel signal and the fourth low frequency right channel signal into a fifth right channel signal;
the second equalizer is used for adjusting the amplification amount of the electric signals of the fifth left channel signal and the fifth right channel signal on N frequency points to obtain a sixth left channel signal and a sixth right channel signal; wherein N is not less than 1 and is an integer;
a compressor, configured to perform full-band signal compression on the sixth left channel signal and the sixth right channel signal to obtain a seventh left channel signal and a seventh right channel signal;
and the digital-to-analog converter is used for performing digital-to-analog conversion on the seventh left channel signal and the seventh right channel signal and outputting the signals.
In one embodiment, the computer program 32 may be further divided into a volume gain controller, a first high pass filter, a first equalizer, a second high pass filter, a first low pass filter, a first dynamic range control circuit, a second dynamic range control circuit, a first signal adder, a second signal adder, a third signal adder, a second equalizer, a compressor, and a digital-to-analog converter, and each virtual device has the following specific functions:
the volume gain controller is used for accessing a left channel signal and a right channel signal and adjusting the gains of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal;
the first high-pass filter is used for filtering low-frequency signals in the first left channel signal and the first right channel signal to obtain a second left channel signal and a second right channel signal;
the first equalizer is used for adjusting the amplification amount of the electric signals of the second left channel signal and the second right channel signal on N frequency points to obtain a third left channel signal and a third right channel signal; wherein N is not less than 1 and is an integer;
a second high-pass filter, configured to filter a low-frequency signal in the third left channel signal and the third right channel signal, so as to separate a third high-frequency left channel signal and a third high-frequency right channel signal;
a first low pass filter, configured to filter a high-frequency signal in the third left channel signal and the third right channel signal, so as to separate a third low-frequency left channel signal and a third low-frequency right channel signal;
the first dynamic range control circuit is used for dynamically limiting a high-frequency signal with a frequency higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
a second dynamic range control circuit, configured to dynamically limit a low-frequency signal with a frequency lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal, so as to obtain a fourth low-frequency left channel signal and the fourth low-frequency right channel signal;
a first signal adder for synthesizing the fourth high frequency left channel signal and the fourth low frequency left channel signal into a fifth left channel signal;
a second signal adder for synthesizing the fourth high frequency right channel signal and the fourth low frequency right channel signal into a fifth right channel signal;
a third signal adder for synthesizing the fifth left channel signal and the fifth right channel signal into a fifth channel signal;
the second equalizer is used for adjusting the amplification amount of the electric signals of the fifth sound channel signal on N frequency points to obtain a sixth sound channel signal;
the compressor is used for carrying out full-frequency signal compression on the sixth sound channel signal to obtain a seventh sound channel signal;
and the digital-to-analog converter is used for performing digital-to-analog conversion on the seventh channel signal and outputting the seventh channel signal.
The speaker may include, but is not limited to, a processor 30, a memory 31.
It will be appreciated by a person skilled in the art that fig. 3 is only an example of a loudspeaker 3 and does not constitute a limitation of the loudspeaker 3, and that it may comprise more or less components than shown, or some components may be combined, or different components, e.g. the loudspeaker may also comprise an input-output device, a network access device, a bus, etc.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may be an internal storage unit of the loudspeaker 3, such as a hard disk or a memory of the loudspeaker 3. The memory 31 may also be an external storage device of the speaker 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the speaker 3. Further, the memory 31 may also include both an internal storage unit of the speaker 3 and an external storage device. The memory 31 is used for storing the computer program and other programs and data required for the loudspeaker. The memory 31 may also be used to temporarily store data that has been output or is to be output.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing functional units and virtual devices are merely illustrated as being divided, and in practical applications, the above functions may be distributed by different functional units and virtual devices according to needs, that is, the internal structure of the apparatus is divided into different functional units or virtual devices to complete all or part of the functions described above. In the embodiment, each functional unit and each virtual device may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. Specific names of the functional units and the dummy devices are only for convenience of distinguishing from each other, and are not intended to limit the scope of the present application. For the specific working processes of the units and the virtual devices in the system, reference may be made to the corresponding processes in the foregoing method embodiments, which are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the virtual device or unit is only one logical function division, and there may be other division manners in actual implementation, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated virtual device, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A multi-segment dynamic range control method, applied to a speaker, the method comprising:
accessing a left channel signal and a right channel signal, and adjusting gains of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal;
filtering low-frequency signals in the first left channel signal and the first right channel signal to obtain a second left channel signal and a second right channel signal;
adjusting the amplification amount of the electric signals of the second left channel signal and the second right channel signal at N frequency points to obtain a third left channel signal and a third right channel signal; wherein N is not less than 1 and is an integer;
filtering out a low-frequency signal in the third left channel signal and the third right channel signal to separate out a third high-frequency left channel signal and a third high-frequency right channel signal;
filtering out high-frequency signals in the third left channel signal and the third right channel signal to separate out a third low-frequency left channel signal and a third low-frequency right channel signal;
dynamically limiting high-frequency signals with frequencies higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
dynamically limiting low-frequency signals of which the frequencies are lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal to obtain a fourth low-frequency left channel signal and a fourth low-frequency right channel signal;
synthesizing the fourth high frequency left channel signal and the fourth low frequency left channel signal into a fifth left channel signal;
synthesizing the fourth high frequency right channel signal and the fourth low frequency right channel signal into a fifth right channel signal;
adjusting the amplification amount of the electric signals of the fifth left channel signal and the fifth right channel signal at the N frequency points to obtain a sixth left channel signal and a sixth right channel signal; performing full-frequency signal compression on the sixth left channel signal and the sixth right channel signal to obtain a seventh left channel signal and a seventh right channel signal;
and performing digital-to-analog conversion on the seventh left channel signal and the seventh right channel signal and outputting the signals.
2. The method of claim 1, wherein the accessing a left channel signal and a right channel signal and adjusting the gain of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal comprises:
accessing a left channel signal and a right channel signal, and performing attenuation processing on the left channel signal and the right channel signal;
and adjusting the volume levels of the attenuated left channel signal and the attenuated right channel signal to obtain a first left channel signal and a first right channel signal.
3. The multi-segment dynamic range control method of claim 1 or 2, wherein dynamically limiting the high frequency signals of the third high frequency left channel signal and the third high frequency right channel signal having frequencies higher than the N frequency points to obtain a fourth high frequency left channel signal and a fourth high frequency right channel signal, comprises:
dynamically limiting the threshold value, the ratio, the starting rate and the release rate of the high-frequency signals with the frequency higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
dynamically limiting a low-frequency signal of which the frequency is lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal to obtain a fourth low-frequency left channel signal and a fourth low-frequency right channel signal, including:
dynamically limiting the threshold value, the ratio, the starting rate and the release rate of the low-frequency signals with the frequency lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal to obtain a fourth low-frequency left channel signal and a fourth low-frequency right channel signal;
performing full-frequency signal compression on the sixth left channel signal and the sixth right channel signal to obtain a seventh left channel signal and a seventh right channel signal, including:
and performing full-frequency signal segmented compression on the sixth left channel signal and the sixth right channel signal to obtain a seventh left channel signal and a seventh right channel signal.
4. A multi-segment dynamic range control method, applied to a speaker, the method comprising:
accessing a left channel signal and a right channel signal, and adjusting gains of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal;
filtering low-frequency signals in the first left channel signal and the first right channel signal to obtain a second left channel signal and a second right channel signal;
adjusting the amplification amount of the electric signals of the second left channel signal and the second right channel signal at N frequency points to obtain a third left channel signal and a third right channel signal; wherein N is not less than 1 and is an integer;
filtering out a low-frequency signal in the third left channel signal and the third right channel signal to separate out a third high-frequency left channel signal and a third high-frequency right channel signal;
filtering out high-frequency signals in the third left channel signal and the third right channel signal to separate out a third low-frequency left channel signal and a third low-frequency right channel signal;
dynamically limiting high-frequency signals with frequencies higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
dynamically limiting low-frequency signals of which the frequencies are lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal to obtain a fourth low-frequency left channel signal and a fourth low-frequency right channel signal;
synthesizing the fourth high frequency left channel signal and the fourth low frequency left channel signal into a fifth left channel signal;
synthesizing the fourth high frequency right channel signal and the fourth low frequency right channel signal into a fifth right channel signal;
synthesizing the fifth left channel signal and the fifth right channel signal into a fifth channel signal;
adjusting the amplification amount of the electric signals of the fifth sound channel signal on the N frequency points to obtain a sixth sound channel signal; performing full-frequency signal compression on the sixth channel signal to obtain a seventh channel signal;
and D/A converting the seventh channel signal and outputting the seventh channel signal.
5. The method of claim 4, wherein the accessing a left channel signal and a right channel signal and adjusting the gain of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal comprises:
accessing a left channel signal and a right channel signal, and performing attenuation processing on the left channel signal and the right channel signal;
and adjusting the volume levels of the attenuated left channel signal and the attenuated right channel signal to obtain a first left channel signal and a first right channel signal.
6. The multi-segment dynamic range control method of claim 4 or 5, wherein dynamically limiting the high frequency signals of the third high frequency left channel signal and the third high frequency right channel signal having frequencies higher than the N frequency points to obtain a fourth high frequency left channel signal and a fourth high frequency right channel signal, comprises:
dynamically limiting the threshold value, the ratio, the starting rate and the release rate of the high-frequency signals with the frequency higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
dynamically limiting a low-frequency signal of which the frequency is lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal to obtain a fourth low-frequency left channel signal and a fourth low-frequency right channel signal, including:
dynamically limiting the threshold value, the ratio, the starting rate and the release rate of the low-frequency signals with the frequency lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal to obtain a fourth low-frequency left channel signal and a fourth low-frequency right channel signal;
performing full-frequency signal compression on the sixth channel signal to obtain a seventh channel signal, including:
and performing segmented compression on the sixth channel signal to obtain a seventh channel signal.
7. A multi-segment dynamic range control system for use with a loudspeaker, the system comprising:
the volume gain controller is used for accessing a left channel signal and a right channel signal and adjusting the gains of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal;
the first high-pass filter is used for filtering low-frequency signals in the first left channel signal and the first right channel signal to obtain a second left channel signal and a second right channel signal;
the first equalizer is used for adjusting the amplification amount of the electric signals of the second left channel signal and the second right channel signal on N frequency points to obtain a third left channel signal and a third right channel signal; wherein N is not less than 1 and is an integer;
a second high-pass filter, configured to filter a low-frequency signal in the third left channel signal and the third right channel signal, so as to separate a third high-frequency left channel signal and a third high-frequency right channel signal;
a first low pass filter, configured to filter a high-frequency signal in the third left channel signal and the third right channel signal, so as to separate a third low-frequency left channel signal and a third low-frequency right channel signal;
the first dynamic range control circuit is used for dynamically limiting a high-frequency signal with a frequency higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
the second dynamic range control circuit is used for dynamically limiting a low-frequency signal with a frequency lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal to obtain a fourth low-frequency left channel signal and a fourth low-frequency right channel signal;
a first signal adder for synthesizing the fourth high frequency left channel signal and the fourth low frequency left channel signal into a fifth left channel signal;
a second signal adder for synthesizing the fourth high frequency right channel signal and the fourth low frequency right channel signal into a fifth right channel signal;
the second equalizer is used for adjusting the amplification amount of the electric signals of the fifth left channel signal and the fifth right channel signal on the N frequency points to obtain a sixth left channel signal and a sixth right channel signal;
a compressor, configured to perform full-band signal compression on the sixth left channel signal and the sixth right channel signal to obtain a seventh left channel signal and a seventh right channel signal;
and the digital-to-analog converter is used for performing digital-to-analog conversion on the seventh left channel signal and the seventh right channel signal and outputting the signals.
8. A multi-segment dynamic range control system for use with a loudspeaker, the system comprising:
the volume gain controller is used for accessing a left channel signal and a right channel signal and adjusting the gains of the left channel signal and the right channel signal to obtain a first left channel signal and a first right channel signal;
the first high-pass filter is used for filtering low-frequency signals in the first left channel signal and the first right channel signal to obtain a second left channel signal and a second right channel signal;
the first equalizer is used for adjusting the amplification amount of the electric signals of the second left channel signal and the second right channel signal on N frequency points to obtain a third left channel signal and a third right channel signal; wherein N is not less than 1 and is an integer;
a second high-pass filter, configured to filter a low-frequency signal in the third left channel signal and the third right channel signal, so as to separate a third high-frequency left channel signal and a third high-frequency right channel signal;
a first low pass filter, configured to filter a high-frequency signal in the third left channel signal and the third right channel signal, so as to separate a third low-frequency left channel signal and a third low-frequency right channel signal;
the first dynamic range control circuit is used for dynamically limiting a high-frequency signal with a frequency higher than the N frequency points in the third high-frequency left channel signal and the third high-frequency right channel signal to obtain a fourth high-frequency left channel signal and a fourth high-frequency right channel signal;
the second dynamic range control circuit is used for dynamically limiting a low-frequency signal with a frequency lower than the N frequency points in the third low-frequency left channel signal and the third low-frequency right channel signal to obtain a fourth low-frequency left channel signal and a fourth low-frequency right channel signal;
a first signal adder for synthesizing the fourth high frequency left channel signal and the fourth low frequency left channel signal into a fifth left channel signal;
a second signal adder for synthesizing the fourth high frequency right channel signal and the fourth low frequency right channel signal into a fifth right channel signal;
a third signal adder for synthesizing the fifth left channel signal and the fifth right channel signal into a fifth channel signal;
the second equalizer is used for adjusting the amplification amount of the electric signals of the fifth sound channel signals on the N frequency points to obtain a sixth sound channel signal;
the compressor is used for carrying out full-frequency signal compression on the sixth sound channel signal to obtain a seventh sound channel signal;
and the digital-to-analog converter is used for performing digital-to-analog conversion on the seventh channel signal and outputting the seventh channel signal.
9. A loudspeaker comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 6 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201810884654.3A 2018-08-06 2018-08-06 Multi-section dynamic range control method and system and loudspeaker Active CN110809222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810884654.3A CN110809222B (en) 2018-08-06 2018-08-06 Multi-section dynamic range control method and system and loudspeaker

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810884654.3A CN110809222B (en) 2018-08-06 2018-08-06 Multi-section dynamic range control method and system and loudspeaker

Publications (2)

Publication Number Publication Date
CN110809222A CN110809222A (en) 2020-02-18
CN110809222B true CN110809222B (en) 2021-02-12

Family

ID=69487159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810884654.3A Active CN110809222B (en) 2018-08-06 2018-08-06 Multi-section dynamic range control method and system and loudspeaker

Country Status (1)

Country Link
CN (1) CN110809222B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111556425B (en) * 2020-04-20 2021-07-20 华南理工大学 Tone equalization method for virtual sound reproduction of loudspeaker

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870135A (en) * 2005-05-24 2006-11-29 北京大学科技开发部 Digital deaf-aid frequency response compensation method based on mask curve
CN104811154A (en) * 2014-01-28 2015-07-29 宏达国际电子股份有限公司 Sound producing system and audio amplifying method thereof
CN107071634A (en) * 2017-03-03 2017-08-18 歌尔股份有限公司 Signal processing apparatus, method and loudspeaker
CN107231600A (en) * 2016-03-23 2017-10-03 宏达国际电子股份有限公司 The compensation method of frequency response and its electronic installation
CN108243368A (en) * 2016-12-23 2018-07-03 瑞轩科技股份有限公司 Divide compressor circuit, audio-frequency processing method and audio frequency processing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9654866B2 (en) * 2012-01-27 2017-05-16 Conexant Systems, Inc. System and method for dynamic range compensation of distortion

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870135A (en) * 2005-05-24 2006-11-29 北京大学科技开发部 Digital deaf-aid frequency response compensation method based on mask curve
CN104811154A (en) * 2014-01-28 2015-07-29 宏达国际电子股份有限公司 Sound producing system and audio amplifying method thereof
CN107231600A (en) * 2016-03-23 2017-10-03 宏达国际电子股份有限公司 The compensation method of frequency response and its electronic installation
CN108243368A (en) * 2016-12-23 2018-07-03 瑞轩科技股份有限公司 Divide compressor circuit, audio-frequency processing method and audio frequency processing system
CN107071634A (en) * 2017-03-03 2017-08-18 歌尔股份有限公司 Signal processing apparatus, method and loudspeaker

Also Published As

Publication number Publication date
CN110809222A (en) 2020-02-18

Similar Documents

Publication Publication Date Title
CN103460716B (en) For the method and apparatus of Audio Signal Processing
CN106878866B (en) Audio signal processing method and device and terminal
US8645144B2 (en) Audio signal shaping for playback by audio devices
EP2191660B1 (en) Method and device for extension of low frequency output from a loudspeaker
US20140064507A1 (en) Method for adaptive audio signal shaping for improved playback in a noisy environment
KR101514363B1 (en) Miniature loudspeaker module, method for enhancing frequency response thereof, and electronic device
CN105830158A (en) System and method for digital signal processing
EP2712207A1 (en) Audio signal broadcasting system and electronic apparatus
CN101641965A (en) Acoustic processing system and method for electronic device and mobile telephone terminal
JP6785907B2 (en) How to arrange wireless speakers, wireless speakers and terminal devices
CN112637724A (en) Earphone noise reduction method, system and storage medium
CN113949968A (en) Frequency response correction method, electronic equipment and signal processing method
CN111971975A (en) Active noise reduction method, system, electronic equipment and chip
CN110809222B (en) Multi-section dynamic range control method and system and loudspeaker
CN108769864B (en) Audio equalization processing method and device and electronic equipment
CN102576560B (en) electronic audio device
CN114286253B (en) Audio processing method and device and audio playing equipment
CN110191398B (en) Howling suppression method, howling suppression device and computer readable storage medium
CN110022514B (en) Method, device and system for reducing noise of audio signal and computer storage medium
CN107666639B (en) Perceptual power reduction system and method
US9313582B2 (en) Hearing aid and method of enhancing speech output in real time
CN108243368B (en) Frequency division compression circuit, audio processing method and audio processing system
JP2019080290A (en) Signal processing apparatus, signal processing method, and speaker apparatus
US20140372110A1 (en) Voic call enhancement
JPH0956000A (en) Hearing aid

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant