The present invention relates to a loop gain estimating apparatus that estimates a gain of a closed loop, and a howling preventing apparatus that prevents howling.
Various techniques for preventing howling in a loud speaker system for a lecture, a concert or the like have been provided. In a general howling suppression method, when occurrence of howling is detected, a frequency range causing the howling is attenuated by a filter.
In an audio signal amplifier circuit described in patent document 1, when howling is detected, a low pass filter for removing howling is operated so as to decrease a gain of the audio signal amplifier circuit. The audio signal amplifier circuit checks whether or not the howling is detected by stopping the operation of the low pass filter at every predetermined time interval. The audio signal amplifier circuit decreases the gain in a stepwise manner until the howling is not detected. The audio signal amplifier circuit fixes the gain when the howling is not detected.
Patent document 2 discloses a method in which presence or absence of occurrence of howling is detected based on a frequency characteristic of an input signal and a filter characteristic for suppressing howling is calculated.
Non-patent document 1 proposes a howling canceller with the use of synchronized addition of an M-sequence noise. The howling canceller described in the non-patent document 1 outputs in advance a high level M-sequence noise so as to perform a training of an adaptive filter. The howling canceller outputs the M-sequence noise having a low level during its operation so as to continuously update the adaptive filter. In addition, the howling canceller disclosed in the non-patent document 1 determines that a disturbance level is high and stops the updating of the adaptive filter in a case where an input level of a microphone becomes high, because when the disturbance level becomes high due to continuous speaking of a person or generation of a sound of a musical instrument, the updating of the adaptive filter is inhibited.
Non-patent Document 1: “Inspection relating to removal of howling in an audio system” by Makoto Itami, Mitsutoshi Hatori, Institute of Electronics, Information, and Communication Engineers, Technical Reports EA89-4, in 1989
However, in the attenuation method by the general filter as shown in patent documents 1 and 2, since the method is adapted to suppress a frequency range including generated howling, the howling cannot be suppressed unless howling is once generated.
A position of a microphone may be usually moved in a lecture or a concert so that an environment of a closed loop is changed with an elapse of the time by the position or the like of the microphone. When the environment of the closed loop is changed and a loop gain thereof is changed, updating of a filter coefficient of the adaptive filter described in the non-patent document 1 can not follow the change so that the howling cannot be suppressed. In addition, when the updating of the adaptive filter is stopped in a case where the input level of the microphone is high as shown in the non-patent document 1, it is not possible to suppress the howling.
Each of the documents merely discloses the method of suppressing the frequency band that causes occurrence of howling, but not estimating the loop gain nor preventing occurrence of howling beforehand.
Consequently, a purpose of the invention is to provide a loop gain estimating apparatus capable of estimating a loop gain of a closed loop in order to prevent occurrence of howling beforehand even when an environment of the closed loop is changed.
Another purpose of the invention is to provide a howling preventing apparatus that prevent occurrence of howling beforehand in response to an environment in an audio space.
A howling preventing apparatus according to a first aspect of the invention includes an input unit that inputs an audio signal, a noise generation unit that generates and outputs a pseudo noise, a superimposing unit that superimposes a component of a frequency of the pseudo noise output from the noise generation unit to the audio signal input by the input unit and outputs the superimposed signal to an amplifying system, the frequency being higher than a predetermined frequency, a correlation calculating unit that calculates a correlation value between the audio signal input by the input unit and the pseudo noise generated by the noise generation unit, a loop gain estimation unit that estimates a gain of a closed loop based on the correlation value calculated by the correlation calculating unit, and a gain control unit that controls to suppress the gain of the audio signal based on the gain of the closed loop estimated by the loop gain estimation unit.
A loop gain estimating apparatus according to a second aspect of the invention includes an input unit that inputs an audio signal, a noise generation unit that generates and outputs a pseudo noise, a superimposing unit that superimposes a component of a frequency of the pseudo noise output from the noise generation unit to the audio signal input by the input unit and outputs the superimposed signal to an amplifying system, the frequency being higher than a predetermined frequency, a correlation calculating unit that calculates a correlation value between the audio signal input by the input unit and the pseudo noise generated by the noise generation unit, and a loop gain estimation unit the estimates a gain of a closed loop based on the correlation value calculated by the correlation calculating unit.
In accordance with the invention, it is possible to predict occurrence of howling based on an estimated loop gain before occurrence of the howling. Therefore, even in a case where an environment of a closed loop is changed, for example, in a case where a position of a microphone is moved, the loop gain is estimated before occurrence of howling so that various measures can be taken, thereby preventing the howling.
The howling preventing apparatus 1 has a calculating unit 5 and a pseudo noise superimposing unit 7, to which an audio signal picked up by a microphone 11 (an audio pickup unit) is input. The pseudo noise superimposing unit 7 superimposes the pseudo noise to the audio signal picked up by the microphone 11.
The audio signal superimposed with the pseudo noise by the pseudo noise superimposing unit 7 is amplified by an amplifying system (an amplifier) at a following stage (not shown) so as to be output from a speaker 3 as a sound. The sound output from the speaker 3 is fed back to the microphone 11 so that a closed loop is formed.
The howling preventing apparatus 1 estimates a gain of the closed loop at the calculating unit 5. The howling preventing apparatus 1 can prevent howling beforehand by suppressing the gain of the audio signal or generating a warning in a case where the estimated loop gain approaches a predetermined threshold value.
As shown in
The calculating unit 5 is configured by the M-sequence signal generator 15, the HPF 19, the correlation calculating unit 20, the timer 21, and the loop gain estimation unit 22. The pseudo noise superimposing unit 7 is configured by the volume 13 for audio signal, the superimposing unit 14, the M-sequence signal generator 15, the N times over-sampling unit 16, the HPF 17, the volume 18 for pseudo noise, and the gain control unit 23.
The audio signal picked up by the microphone 11 is input to the LPF 12 of the pseudo noise superimposing unit 7 and the HPF 19 of the calculating unit 5. A structure and a function of the pseudo noise superimposing unit 7 are described below with reference to
The audio signal picked up by the microphone 11 is input to the LPF 12 of the pseudo noise superimposing unit 7. While a waveform indicative of a frequency component of a signal indicated at the lower column of the microphone 11 is an example, in a practical sense, signals having various waveforms are input to the LPF 12.
The LPF 12 cuts off a signal component in a frequency range higher than a cut-off frequency (e.g., an arbitrary frequency value in a range of 10 kHz to 20 kHz) from the picked-up audio signal and outputs it to the volume 13 for audio signal (see a waveform formed along a frequency axis indicated at the lower column of the LPF 12 in
The volume 13 for audio signal outputs a signal picked up by the microphone 11 to the superimposing unit 14 at a gain set by the gain control unit 23.
The M-sequence signal generator 15 corresponds to a noise generation unit of the invention. The M-sequence signal generator 15 periodically generates a signal having a high self-correlation property as a pseudo noise like a PN code (M-sequence) and outputs it to the N times over-sampling unit 16 (see a waveform formed along a frequency axis indicated at the lower column of the M-sequence signal generator 15, however, the lowermost column shows a waveform formed along a time axis). Meanwhile, it is not limited to the M-sequence and another random number such as a Gold-sequence can be used.
An output cycle of the pseudo noises is set to be longer than a time period until when a level of a component of a reflection wave (an indirect wave) becomes equal to or lower than a predetermined level (a convergence time period of an impulse response in an audio transmission system) so that the loop gain estimation unit 22 (described later) can perform a process of estimating a loop gain.
The N times over-sampling unit 16 performs an over-sampling process of a pseudo noise signal (a bit string of a PN code) output from the M-sequence signal generator 15 by using a sampling clock having a frequency which is N times of a bit frequency thereof and outputs it to the HPF 17 (see a waveform formed along a frequency axis indicated at the lower column of the N times over-sampling unit 16 in
The HPF 17 cuts off a low frequency range component of a signal input by the N times over-sampling unit 16 (see a waveform formed along a frequency axis indicated at the lower column of the HPF 17 in
While the LPF 12 and LPF 17 are not necessary elements for the invention, sense of hearing can be improved by the elements. That is, since an audio in a low frequency range (an audible range of a human being) of a pseudo noise is cut off by the HPF 17, it becomes hard to hear the pseudo noise even when the pseudo noise is output from the speaker 3, thereby eliminating sense of discomfort in hearing. A pseudo noise in a high frequency range which is once picked up by the microphone is not output to the amplifying system again by the LPF 12, a loop phenomenon of a pseudo noise can be suppressed. In a case where the LPF 12 and HPF 17 are not provided, a pseudo noise component is subtracted from an audio signal picked up by the microphone 11, and then is output to the amplifying system so that a loop phenomenon of a pseudo noise can be suppressed.
The over-sampling process by the N times over-sampling unit 16 is not necessary for the invention. However, a time redundancy of a pseudo noise is increased by performing the over-sampling process so that the precision in calculating of a correlation can be improved. In a practical sense, it is possible to set use or non-use of the over-sampling process in accordance with a necessary precision and a code length of a pseudo noise.
A signal output from the HPF 17 is input to the volume 18 for pseudo noise. The volume 18 for pseudo noise outputs the output signal of the HPF 17 to the superimposing unit 14 at a gain set by the gain control unit 23. It is possible to make a level of a pseudo noise to be a very low level which may not cause sense of discomfort in hearing. However, a level having a degree by which a peak value of a correlation of a pseudo noise can be detected, is attained.
The superimposing unit 14 superimposes a signal (a pseudo noise) output from the HPF 17 to an audio signal output from the volume 13 for audio signal, and outputs the superimposed signal to the amplifying system.
Next, a structure and a function of the calculating unit 5 are described below with reference to
An audio including a pseudo noise is picked up by the microphone 11. The audio signal picked up by the microphone 11 is input to the HPF 19 of the calculating unit 5. The HPF 19 cuts off a low frequency range component of the audio signal picked up by the microphone 11 and outputs it to the correlation calculating unit 20 (see a waveform formed along a frequency axis indicated at the lower column of the HPF 19 in
The correlation calculating unit 20 calculates a correlation between a pseudo noise input by the M-sequence signal generator 15 and an output signal of the HPF 19 (an audio signal picked up by the microphone 11). Since an M-sequence code has an extremely high self-correlation property, when an output signal of the HPF 19 includes a pseudo noise in the same M-sequence, a level of a correlation value is raised as shown by a waveform (a lateral axis is a time axis) with a time change of a correlation value indicated at the lower column of the correlation detection unit 20. The correlation calculating unit 20 outputs a signal indicative of a timing (a signal reception timing) of calculating a high level correlation value and the correlation value at that time to the loop gain estimation unit 22.
When the signal indicative of the signal reception timing is input by the correlation calculating unit 20, the loop gain estimation unit 22 calculates a time difference from the timing of outputting the pseudo noise to the signal reception timing by referring to a timer signal from the timer 21. The time difference corresponds to a delay time period of the closed loop. In a case where the delay time period of the closed loop is not measured (there is not the timer 21), the outputting of the signal reception timing by the correlation calculating unit 20 is not necessary.
The loop gain estimation unit 22 performs a process of estimating a loop gain. Various modifications can be made to the estimation method of the loop gain. For example, the following is one of such modifications.
First, a first estimation method is described below with reference to
In a case where the loop gain estimation unit 22 calculates a correlation value equal to or higher than a predetermined level, at first, from a timing of outputting a pseudo noise, the loop gain estimation unit 22 assumes that the correlation value in a time period calculated at first is a direct wave and calculates a peak component of the direct wave. That is, in a case where the loop gain estimation unit 22 calculates a correlation value equal to or higher than a predetermined level, after that, the loop gain estimation unit 22 causes a memory (not shown) to temporarily store the correlation value at a predetermined time period t1, and extracts a correlation value having the highest level in the predetermined time period t1 so as to make it to be a peak value a0. The predetermined level is set in accordance with a level of a normal noise. The predetermined time period t1 for extracting the peak value is set in accordance with a precision in calculating of a correlation value (a code length of a pseudo noise or the like), presence or absence of the HPF 19, a cut-off frequency, and the like.
In a case where the loop gain estimation unit 22 first calculates a correlation value equal to or higher than a predetermined level, and then calculates a correlation value equal to or higher than a predetermined level again after the predetermined time period t1 has elapsed, the loop gain estimation unit 22 assumes that the correlation value is a reflection wave, and calculates a peak component of the reflection wave. Similarly to the above, in a case where the loop gain estimation unit 22 calculates a correlation value equal to or higher than a predetermined level, after that, the loop gain estimation unit 22 causes a memory to temporarily store correlation values in a predetermined time period t1 and extracts the correlation value having the highest level to make it to be a peal value a1. Similarly to the above, peak values (a1, a2, . . . ) of the reflection wave are extracted for a predetermined time period t2. The predetermined time period t2 described above corresponds to an output cycle of the pseudo noises. Meanwhile, in a case where a reverberation time in a room is revealed in a certain degree, it is possible to set the time period t2 in advance or to allow a user to manually input the time period t2.
The loop gain estimation unit 22 calculates absolute values (|a1|, |a2|, . . . ) of the peak values of the extracted direct waves and the reflection waves so as to estimate a loop gain based on the sum of the absolute values. Thus, since the loop gain estimation unit 22 performs a process of estimating a loop gain based on a feedback component of the direct wave and a feedback component of the reflection wave causing occurrence of howling, it is possible to precisely estimate the loop gain. The first estimation method is adapted to perform the estimation of the loop gain based on the sum of the correlation values of the peak components of the direct wave and the reflection wave by assuming that there are many cases that the peak component causes the occurrence of howling.
Meanwhile, since, in the above method, the output cycle of the pseudo noises is set to be longer than a convergence time period of an impulse response in the audio transmission system, it is possible to output a dummy noise until a pseudo noise is next output after the pseudo noise is output so as to eliminate a silent time period. By continuously outputting a noise sound, it is possible to make the pseudo noise inconspicuous, thereby eliminating sense of discomfort in hearing.
Next, a second estimation method is described below with reference to
The loop gain estimation unit 22 extracts all of the correlation values each being equal to or higher than a predetermined level until a predetermined time length t2 has elapsed from a timing of outputting a pseudo noise, and then calculates the sum of the absolute values thereof (calculates the integration value). The predetermined level in the above case is set in accordance with a level of a normal noise. Here, the predetermined time length t2 corresponds to an output cycle of the pseudo noises.
Thus, the second estimation method is adapted to highly precisely perform the estimation of the loop gain by summing up all of the components of direct waves and indirect waves.
Next, a third estimation method is described below with reference to
The loop gain estimation unit 22, as shown in the first estimation method, first, extracts the peak value of the direct wave and acquires the absolute value |a0| thereof. The loop gain estimation unit 22 acquires an absolute value |b0| of a correlation at a time when a time period t3 has further elapsed from the peak. The time period t3 can be obtained from a time period (the delay time period of the closed loop) from a timing of outputting a pseudo noise to a timing of calculating a peak of the correlation at first. (In this method, the timer 21 is necessary.) Meanwhile, the absolute value |b0| is not limited to a value at a timing when the time period t3 has elapsed from the first peak, it is possible to take a value at a time when an absolute value of the correlation is the largest in a time period after the time period t3 has elapsed and around that time (e.g., before or after that time by dozens of microseconds).
A delay time period of a space sound output system from the speaker to the microphone is greater than a delay time period of a signal processing system from the microphone to the speaker, and the time period t3 corresponds to a delay time period of the closed loop. Consequently, it is possible to determine that a waveform in a time period from the first peak until the time period t3 has further elapsed, is a reflection wave from a wall or the like. It is possible to determine that a waveform around a timing when the time period t3 has elapsed is a direct wave that a pseudo noise output from the speaker 3 turns one round to return to the howling preventing apparatus 1 again. The loop gain estimation unit 22 estimates that a ratio (|b0|/|a0|) of the absolute value 001 to the absolute value |b0| is the loop gain.
The third estimation method is adapted to estimate the loop gain in such a manner that it is determined that the waveform at a time around a timing when the time period t3 has further elapsed from when the peak component of the direct wave is first extracted, is a direct wave that a pseudo noise output from the speaker 3 is looped again.
As an estimation method other than the above, it is possible to estimate that a peak component of the direct wave which is simply extracted at first, is the loop gain. Since the component of the direct wave mainly causes occurrence of howling, it is possible to estimate the loop gain in a simple manner. Alternatively, it is possible to estimate that a maximum peak component extracted from a plurality of peak components generated during an output cycle of the pseudo noises, is the loop gain.
In each of the above estimation methods, since the output cycle of the pseudo noises is set to be longer than the convergence time period of the impulse response in the audio transmission system, it is possible to output a dummy noise until a pseudo noise is next output after the pseudo noise is output so as to eliminate a silent time period. By continuously outputting a noise sound, it is possible to make a pseudo noise inconspicuous, thereby eliminating sense of discomfort in hearing.
The loop gain estimated by the loop gain estimation unit 22 is output to the gain control unit 23. In a case where the estimated loop gain approaches a predetermined threshold value th, the gain control unit 23 determines that there is a high possibility that howling occurs and instructs to suppress a gain of the volume 13 for audio signal. The gain control unit 23 can generate a warning (lighting of an LED, displaying a warning on a display, or the like) in the case where the loop gain approaches a predetermined threshold value. Meanwhile, it is possible to perform one of a process of suppressing a gain and a process of generating a warning, or to perform the process of generating a warning and additionally the process of suppressing a gain of an audio signal. It is possible to take a modification that the generating a warning is first performed and, after that, the process of suppressing a gain is performed.
Here, the predetermined threshold value th differs depending on the estimation method of a loop gain. The predetermined threshold value th can be any value, but a margin having a certain degree is set to the threshold value th. For example, when a user carries out an operation of increasing or decreasing a gain before actual use and howling occurs, the user may carry out an operation of inputting occurrence of howling by an operation unit (not shown) of the howling preventing device 1. Alternatively, a frequency characteristic of an audio signal is analyzed by either one of processing units of the howling preventing apparatus 1 and detects that howling occurs when a single frequency component becomes a high level for a predetermined time period or more. The gain control unit 23 makes an estimation value of the loop gain input at that time to be a maximum value thmax of the threshold value and obtains the value of th=α×thmax by using a coefficient α (0<α≦1).
Thus, the calculating unit 5 estimates a gain of the closed loop, and performs a process of suppressing a gain of an audio signal or a process of generating a warning in a case where the estimated loop gain approaches a predetermined threshold, thereby preventing occurrence of howling beforehand.
Since the howling preventing apparatus 1 can predict occurrence of howling based on the estimated loop gain, the howling preventing apparatus 1 can adequately prevent howling even in a case where a position of a microphone is often moved as in a presentation or a live musical performance.
The gain control unit 23 instructs to suppress a gain of the volume 13 for audio signal and also a gain of the volume 18 for pseudo noise. However, the gain control unit 23 maintains a gain equal to or greater than a predetermined value so that a first peak of a correlation of a pseudo noise can be detected. About the predetermined value, it is possible to use a value obtained by measurement in a laboratory or the like beforehand. Alternately, it is possible to use a value obtained in such a manner that testing is performed before actual use in a placement environment and a limit gain enabling calculation of a peak of a correlation, the value being set by considering a margin having a certain degree.
It is possible to prepare a plurality of patterns of pseudo noises generated by the M-sequence signal generator 15, and then to change the patterns. For example, even in a case where a plurality of microphones are simultaneously used, by changing the pattern of a pseudo noise by each microphone (each input channel), it is possible to precisely calculate a correlation without causing interference of pseudo noises with each other. Since a loop gain of the closed loop can be estimated by each of the microphones, howling can be adequately prevented even in a case where the plurality of microphones are simultaneously used.
Particularly, in a case where a Gold-sequence is used as a pseudo noise, by changing a tap position of a code generation circuit (a shift register), various kinds of code sequences can be generated. Therefore, it is possible to apply the first embodiment to a large PA system.
In accordance with the above embodiment, it is possible to predict occurrence of howling based on an estimate loop gain before occurrence of the howling. Therefore, even in a case where an environment of the closed loop is changed, for example, in a case where a position of the microphone is moved, a loop gain can be estimated before occurrence of howling so that various measures can be taken, thereby preventing the howling.
A howling preventing apparatus 101 includes a calculating unit 105, a pseudo noise superimposing unit 107, and a control unit 109. The howling preventing apparatus 101 is coupled to the microphone 11 which is connected to the LPF 12 and the HPF 19 in the howling preventing apparatus 101.
The howling preventing apparatus 101 includes a control unit 109 that prevents occurrence of howling while controlling a gain of an audio signal to be output from the pseudo noise superimposing unit 107 in accordance with a delay time period of a closed loop or a loop gain output from the calculating unit 105. The control unit 109 changes a frequency of calculating a correlation between an audio signal picked up by the microphone 11 and a pseudo noise generated by the calculating unit 105 in accordance with a delay time period measured by the calculating unit 105 or a value of a loop gain.
The pseudo noise superimposing unit 107 of the second embodiment has a structure similar to that of the pseudo noise superimposing unit 7 of the first embodiment so that the descriptions are omitted.
Next, a structure and a function of the calculating unit 105 are described below.
The control unit 109 outputs a trigger signal to the M-sequence signal generator 15 and the timer 21 in a predetermined cycle.
The M-sequence signal generator 15 outputs a pseudo noise same as that is output to the N times over-sampling unit 16 to the correlation calculating unit 20 when a trigger signal is input by the control unit 109.
The timer 21 starts measurement of a time when a trigger signal from the control unit 109 is input, and then outputs a timer signal indicative of a counted time period to a calculating unit 123.
The microphone 11 coupled to the howling preventing apparatus 101 picks up an audio including a pseudo noise, and outputs the audio signal to the HPF 19. The HPF 19 cuts off a low frequency range (e.g., lower than 20 kHz) from the audio signal picked up by the microphone 11, and outputs it to the correlation calculating unit 20.
The correlation calculating unit 20 calculates a correlation between a pseudo noise input by the M-sequence signal generator 15 and an output signal (an audio signal picked up by the microphone 11) of the HPF 19. Since a code of the M-sequence has an extremely high self-correlation property, when the output signal of the HPF 19 includes a pseudo noise in the same M-sequence, a level of a correlation value is raised. At a timing when the correlation calculating unit 20 calculates a correlation value with a high level (a reception timing), the correlation calculating unit 20 outputs the correlation value at that time to the loop gain estimation unit 22 and the calculating unit 123. While the detail is described later, the correlation calculating unit 20 changes a frequency of calculating a correlation in accordance with a control signal from the control unit 109.
When a correlation value is input by the correlation calculating unit 20, the calculating unit 123 refers to a timer signal (a time period counted value) from the timer 21 so as to calculate a time difference from the timing of outputting a pseudo noise to the reception timing. The time difference corresponds to a delay time period of the closed loop. The calculating unit 123 outputs information about the delay time period to the control unit 109. It is possible that the calculating unit 123 multiplies a sonic velocity to the delay time period so as to calculate a distance from the speaker 3 to the microphone device 11, and then outputs information about the distance to the control unit 109.
The gain estimation unit 22 corresponding to an estimation unit estimates a loop gain based on a correlation value, and outputs information about the estimated loop gain to the control unit 109. Various modifications can be made to the estimation method of a loop gain. For example, each of the estimation methods described in the first embodiment can be used.
Thus, the loop gain estimated by the gain estimation unit 22 is output to the control unit 109.
The control unit 109 controls the volume 13 for audio signal based on the information input by the gain estimation unit 22 and the calculating unit 123 so as to adjust a gain of an audio signal.
To be specific, the control unit 109 adjusts a gain in accordance with the value of the estimated loop gain. That is, the control unit 109 determines that a possibility of occurrence of howling is increased as the value of the estimated loop gain approaches more closely the predetermined threshold value th, and then the control unit 109 outputs a control signal for lowering the gain to the volume 13 for audio signal. In addition, the control unit 109 determines that a possibility of occurrence of howling is decreased as the value of the estimated loop gain departs more from the predetermined threshold value th, and then the control unit 109 outputs a control signal for raising the gain to the volume 13 for audio signal. With this configuration, howling can be prevented beforehand.
The control unit 109 can adjust a gain based on the delay time period of the closed loop calculated by the calculating unit 123 or the distance between the microphone 11 and the speaker 3 in addition to the value of the above described loop gain. That is, the control unit 109 determines that a possibility of occurrence of howling is increased as the delay time period of the closed loop or the distance between the microphone 11 and the speaker 3 calculated by the calculating unit 123 becomes shorter, and then the control unit 109 outputs the control signal for lowering the gain to the volume 13 for audio signal.
Meanwhile, the predetermined threshold value th can be set by an input operation of a user or can be a specified value.
The control unit 109 can be configured so as to display a warning on a display unit (not shown) when a value of a loop gain approaches the predetermined threshold value th and howling tends to occur. In this case, when a user having the microphone 11 moves away from the speaker 3 in accordance with displaying of the warning, howling can be prevented beforehand.
The control unit 109 can perform both of or one of adjusting of the gain and displaying of the warning.
Next, the control unit 109 controls to change a frequency of calculating a correlation by the correlation calculating unit 20 based on the information input by the loop gain estimation unit 22 and the calculating unit 123. To be specific, the control unit 109 causes the correlation calculating unit 20 to operate in such a manner that the frequency of calculating a correlation by the correlation calculating unit 20 is increased as the estimated value of the loop gain approaches more closely the predetermined threshold th, and the frequency thereof is decreased as the estimated value of the loop gain departs more from the predetermined threshold th so that the correlation calculating unit 20 intermittently calculates the correlation.
The control unit 109 can change the frequency of calculating a correlation by the correlation calculating unit 20 based on a delay time period of the closed loop or a distance between the microphone 11 and the speaker 3 instead of the value of the loop gain. That is, the control unit 109 controls the correlation calculating unit 20 in such a manner that the frequency of calculating a correlation by the correlation calculating unit 20 is increased as the delay time period of the closed loop 3 or the distance calculated by the calculating unit 123 becomes shorter, and the frequency thereof is decreased as the delay time period of the closed loop or the distance becomes longer so that the correlation calculating unit 20 intermittently calculates the correlation.
The control unit 109 can change the frequency of calculating a correlation by the correlation calculating unit 20 based on both of the value of the loop gain and the value of the delay time period of the closed loop or the distance between the microphone 11 and the speaker 3.
That is, in a case (1) where the value of the loop gain is in close proximity to the predetermined threshold value th and the delay time period of the closed loop or the distance between the microphone 11 and the speaker 3 is short, the control unit 109 controls in such a manner that the correlation calculating unit 20 constantly operates to calculate the correlation. In a case (2) where the value of the loop gain is away from the predetermined threshold value th and the delay time period of the closed loop or the distance between the microphone 11 and the speaker 3 is equal to or longer than a predetermined value, the control unit 109 causes the correlation calculating unit 20 to intermittently operate so as to extend a time period of stopping the operation of the correlation calculating unit 20 in accordance with the values. In a case (3) where the value of the loop gain is in close proximity to the predetermined threshold value th and the delay time period of the closed loop or the distance between the microphone 11 and the speaker 3 is long or in a case (4) where the value of the loop gain is away from the predetermined threshold value th and the delay time period of the closed loop or the distance between the microphone 11 and the speaker 3 is short, the control unit 109 causes the correlation calculating unit 20 to intermittently operate so as to reduce a time period of stopping the operation of the correlation calculating unit 20 in accordance with the values.
In the above cases (2) to (4), it is preferable to cause the correlation calculating unit 20 to intermittently operate in such a manner that, for example, the more the value of the loop gain is in close proximity to the threshold value or the shorter the delay time or the distance is, the more the time period of stopping the operation of the correlation calculating unit 20 is reduced.
In the case (1), it is preferable that the correlation calculating unit 20 constantly operates when the value of the loop gain and the delay time period of the closed loop or the distance between the microphone 11 and the speaker 3 becomes shorter than a predetermined threshold value.
It is preferable that the time period of allowing the correlation calculating unit 20 to intermittently operate is obtained by carrying out an experiment beforehand. In a case where categorizing is performed as in the above, it is preferable that a plurality of threshold values are set, and the frequency of calculating a correlation is set in accordance with a magnitude relation between the threshold values and the value of the loop gain, the delay time period of the closed loop or the distance between the microphone 11 and the speaker 3.
It is possible to change the code length of the M-sequence in response to the frequency of estimating the loop gain. For example, in a case where the frequency of estimating the loop gain is high, it is preferable that the length of the M-sequence is made short. In a case where the frequency of estimating the loop gain is low, it is preferable that the length of the M-sequence is made long. In the case where the frequency of estimating the loop gain is high, since the gain of the audio signal is high and the distance between the microphone 11 and the speaker 3 is short, the correlation of the pseudo noise can be surely obtained even when the length of the M-sequence is made short. While the calculating time period is changed in accordance with the distance, it is possible to follow an environment change by changing the code length in accordance with the distance.
It is possible to change a generation interval of a PN code to be used in accordance with the frequency of estimating the loop gain. It is preferable that, for example, in a case where the frequency of estimating the loop gain is high, the generation interval of the PN code is made short, but in a case where the frequency of estimating the loop gain is low, the generation interval of the PN code is made long. With this, since it is possible to generate the PN code as the need arises, the loop gain can be surely estimated.
It is possible to change a number of sequences of a PN code to be used in accordance with the frequency of estimating the loop gain. For example, in a case where the frequency of estimating the loop gain is high, a plurality (e.g., three) of different PN codes (codes of M-sequence) are sequentially output from the M-sequence signal generator 15 by slightly shifting the timings. On the other hand, in a case where the frequency of estimating the loop gain is low, one PN code is output from the M-sequence signal generator 15 at a predetermined timing. With this configuration, even in the case where the frequency of estimating the loop gain is high, it is possible to continuously estimate the loop gain in a short time period so that occurrence of howling can be precisely prevented. Even in the case where the frequency of estimating the loop gain is low, the loop gain can be surely estimated.
It is possible that when each of the loop gain calculated by the gain estimation unit 22 and the delay time period or a propagation distance of a sound calculated by the calculating unit 123 is not changed for a predetermined time period, the control unit 109 outputs the control signal to the correlation calculating unit 20 so as to reduce the frequency of calculating the correlation. In this case, a state in which the distance between the microphone unit 101 and the speaker 3 is constant and an audio level is constant, is continued, so that howling is not liable to occur. Therefore, the frequency of calculating a correlation by the correlation calculating unit 20 is decreased and a number of times of operations of the correlation calculating unit 20 is decreased, thereby suppressing power consumption.
Since the howling preventing apparatus of this embodiment changes the frequency of performing a correlation process in accordance with a condition that howling is likely to occur or not, the number of times of performing the process can be reduced when it is not necessary to frequently perform the correlation process so that the amount of power consumption can be suppressed while surely preventing the howling.
A howling preventing apparatus 201 includes an calculating unit 205 that inputs an audio signal picked up by the microphone 11 (an audio pickup unit), a pseudo noise superimposing unit 207, and an operation unit 208, and a howling detection unit 209. The pseudo noise superimposing unit 207 superimposes a pseudo noise to an audio signal picked up by the microphone 11.
As shown in
The calculating unit 205 has a structure, a function and an operation similar to those of the calculating unit 5 according to the first embodiment. The pseudo noise superimposing unit 207 is configured by the variable equalizer 213, the superimposing unit 14, the M-sequence signal generator 15, the N times over-sampling unit 16, the LPF 12, the HPF 17, the volume 18 for pseudo noise, the gain control unit 23 and the storage unit 224. Each of the superimposing unit 14, the M-sequence signal generator 15, the N times over-sampling unit 16, the HPF 17, the volume 18 for pseudo noise, and the gain control unit 23 has a structure, a function and an operation similar to those described in the first embodiment.
The variable equalizer 213 that corresponds to a suppressing unit according to the invention, suppresses an output signal of the LPF 12 of the microphone 11 at a frequency characteristic set by the gain control unit 23 and outputs it to the superimposing unit 14. A suppressing degree of the variable equalizer 213 is set in accordance with a detection result of the howling detection unit 209. The superimposing unit 14 superimposes a signal (a pseudo noise) output from the HPF 17 to an audio signal output from the variable equalizer 213 and outputs it to an amplifying system.
Meanwhile, the howling preventing apparatus 201 according to the third embodiment can estimate a loop gain by using each of the estimation methods described in the first embodiment.
The loop gain estimated by the loop gain estimation unit 22 is output to the gain control unit 23. The gain control unit 23 sets a suppression degree of the variable equalizer 213 in accordance with the estimated loop gain (hereinafter, referred to as the estimation value) and performs a suppressing process. As an example of setting the suppression degree, an example of setting a frequency characteristic of the variable equalizer 213, is described below.
As shown in
The adder 54 adds the output signal of the gain adjuster 51 to the output signal of the EQ 53 and outputs it to the gain adjuster 55. The gain adjuster 55 is set by the gain control unit 23 and adjusts the gain of the whole frequency range. The gain adjuster 55 is fixed in a normal usage condition and is mainly used for adjusting a gain in an initial setting state described later. When a gain of the EQ 53 is represented by Geq, the gain Gout of the output signal of the adder 54 is expressed by the following formula:
Gout=Ga+(1−Ga)×Geq=Geq+(1−Geq)×Ga.
The gain control unit 23 sets the gain Ga so that an effective degree of the EQ 53, i.e., a frequency characteristic of the equalizer is set. Here, the gain control unit 23 sets the gain Ga in accordance with the estimation value input by the loop gain estimation unit 22. The characteristic of the gain Ga is stored in the storage unit 224. The gain control unit 23 reads the characteristic of the gain Ga from the storage unit 224 and sets the gain Ga.
As to the gain characteristics (the threshold values th1 and th2) and inclinations (proportional coefficients), default values stored in the storage unit 224 can be set without change or initial setting can be performed depending on a placement environment.
In a case where the initial setting is performed, a user may designate an item of performing the initial setting of each of the values by operating an operation unit 8. Consequently, the gain control unit 23 gradually increases the gain of the gain adjuster 55 from a minimum value while maintaining the gain Ga at a maximum value (Ga=1.0) so as to increase the loop gain, thereby generating howling. Alternatively, while the gain of the gain adjuster 55 is fixed, the user may bring the microphone 11 into close proximity with the speaker 3, thereby generating howling.
When the howling detection unit 209 detects occurrence of howling, the howling detection unit 209 outputs information indicative of the occurrence of howling (referred to as howling occurrence information) to the gain control unit 23. When the gain control unit 23 inputs the howling occurrence information from the howling detection unit 209, the gain control unit 23 causes the storage unit 224 to store the estimation value at that time. The estimation value is defined as a maximum estimation value to be the threshold value th2. After that, the gain control unit 23 decreases the gain Ga. When the howling detection unit 209 detects that howling is suppressed, the gain control unit 23 correlates the gain value Ga at that time with the maximum estimation value and causes the storage unit 224 to store the gain value Ga as a limit gain. Assuming that a relationship between the estimation value and the gain Ga is a proportional relationship, a suppression start estimation value (the threshold value th1) is an estimation value at a time when the gain Ga is 1 so that the suppression start estimation value can be calculated by an arithmetic operation based on the relationship between the estimation value and the gain Ga. While the proportional coefficient can be an arbitrary value, it can be obtained by measuring a limit gain of one more point at a position having a different distance to the speaker by allowing the user to move the microphone 11. When, for example, the user moves the microphone 11 and designates an item of performing measurement of the second point by operating the operation unit 8, the gain control unit 23 gradually increases the gain Ga so as to generate howling again. The gain control unit 23 defines a value of the gain Ga just before occurrence of howling to be a limit gain of the second point. Alternatively, a value of the gain Ga at a time when the microphone 11 is brought into close proximity to the speaker 3 to generate howling and the gain control unit 23 decreases the gain Ga to suppress the howling, is defined to be a limit gain. A proportional coefficient can be obtained based on the measured limit gains of two points and the estimation values. In an actual case, it is preferable that the threshold value th1 is slightly lower than a value calculated by the arithmetic operation in consideration of a margin having a certain degree.
That is, when the threshold value calculated by the arithmetic operation is made to be th1′ and a coefficient α (0<α≦1) is used, the threshold value th1 is obtained by the following formula:
th1=α×th1′.
Thus, the gain characteristics shown in
The above initial setting method is for a case assuming that the estimation value is changed when the distance between the speaker and the microphone is changed and the limit gain is proportionally changed in accordance with the change of the estimation value. That is, the method is for a case assuming that the distance between the speaker and the microphone is extended without changing a relative angle between the speaker and the microphone, an actual loop gain is decreased and the limit gain is increased.
On the other hand, as shown in
In the initial setting method of the gain characteristic in this example, a measurement process is performed on three points having different positions of a microphone as shown in
First, when the user designates the initial setting by using the operation unit 8 so as to designate starting of measurement of a first point (referred to as the point A), the gain control unit 23 gradually increases the gain of the gain adjuster 55 from a minimum value while maintaining the gain Ga at a maximum (Ga=1.0) so as to increase the loop gain, thereby generating howling. Alternatively, while the gain Ga is fixed, the user may bring the microphone 11 into close proximity with the speaker 3, thereby generating howling.
When the gain control unit 23 inputs the howling occurrence information from the howling detection unit 209, the gain control unit 23 decreases the gain Ga. When the howling detection unit 209 detects suppression of the howling, the gain control unit 23 causes the storage unit 224 to store the gain Ga at that time as a limit gain GA. Also, the gain control unit 23 calculates an estimation value XA and a distance rA between the speaker 3 and the microphone 11 at that time, and causes the storage unit 224 to store them. The distance between the speaker 3 and the microphone 11 can be calculated based on the delay time period of the closed loop and the sound velocity by using the timer 21. Meanwhile, before calculating the distance, the delay time period is calculated by bringing the speaker 3 into intimate contact with the microphone 11 (the distance is made zero) beforehand, the delay time period at the point where the distance is zero is defined as a delay time period (an inner-device delay time period) excluding a delay time period by an audio, and then a difference between the measured delay time period and the inner-device delay time period can be defined as the delay time period of the closed loop.
In the initial setting of the example, a measurement process similar to the above is performed on the point B and the point C. That is, after performing the measurement on the point A, the user may designate start of measurement on the second point (referred to as the point B) by using the operation unit 8. The gain control unit 23 calculates a limit gain GB on the point B, an estimation value XB at that time and a distance rB between the speaker 3 and the microphone 11, and causes the storage unit 224 to store them. After that, the user may designate start of measurement on a third point (referred to as the point C) by using the operation unit 8. The gain control unit 23 calculates a limit gain GC on the point C, an estimation value XC at that time and a distance rC between the speaker 3 and the microphone 11 (the value of rA can be used as it is), and causes the storage unit 224 to store them.
Relationships among the limit gains, the estimation values and the distances at the respective positions where the measurement is performed as in the above, are respectively shown in graphs of
Since the point A and the point B are on the sound output axis of the speaker 3, it is thought that a change of the estimation value due to a change of the distance has similar characteristics in a high frequency range and a low-to-mid frequency range, and a relationship between the estimation value and the limit gain has the most precipitous inclination (the inclination is referred to as “a”). On the other hand, since the distances of the point A and the point C to the speaker 3 are the same and are moved in the circumferential direction of the circle centering around the speaker, it is thought that the loop gain in the low-to-mid frequency range is not changed so much as that of the estimation value in the high frequency range so that a relationship between the estimation value and the limit gain has the gentlest inclination (the inclination is referred to as “b”).
Therefore, it is thought that howling does not occur at a value of the gain or less on any point on a straight line (Ga=aX+a0) connecting the point A and the point B and a straight line (Ga=bX+b0) connecting the point A and the point C shown in
However, a value of an intercept b0 of the straight line connecting the point A and the point C is changed in accordance with the estimation value and the distance measured in a normal usage state as shown in
Meanwhile, all of the above setting methods are described by the examples each having one speaker. However, in a case where a plurality of speakers are used, the same measurement is performed by each of the speakers. Based on the measurement result, the gain control unit 23 sets a gain characteristic obtained by a speaker having the largest estimation value or sets a gain characteristic obtained by a speaker having the shortest distance.
In a case where a point (a point C) except two points on the sound output axis of the speaker is set on a position having a distance different from the distances of the point A and the point B as shown in
The gain control unit 23 changes the gain Ga in accordance with the characteristic of the gain Ga set as in the above and in accordance with the estimation value (and the distance) input by the loop gain estimation unit 22 in a normal usage state.
When the gain Ga is changed, the frequency characteristic of the variable equalizer 213 exhibits a characteristic as shown in
As shown in
Next, a setting method of an equalizer curve (a filter coefficient) of the EQ 53 is described below. The characteristic of the EQ 53 is set in accordance with the detection result of the howling detection unit 209. Here, an example in a case where the EQ 53 functions as a notch filter for decreasing a gain of a predetermined frequency, is described. As described above, when the howling detection unit 209 detects occurrence of howling, the howling detection unit 209 detects a frequency of the occurring howling and outputs howling occurrence information including information about the frequency. The gain control unit 23 inputs the howling occurrence information from the howling detection unit 209 and sets a central frequency F1 of the EQ 53 in accordance with the frequency of the occurring howling. In a case where the howling occurs in a plurality of frequencies, a plurality of central frequencies are set (see
While the detection method of the howling detection 209 can be of any type, processes of the method are, for example, performed as below. That is, the howling detection unit 209 converts (FFT) a signal input by the microphone 11 into a signal of a frequency range and holds a plurality of frames of signals after FFT. In a case where a signal of each frequency component having a level equal to or higher than a predetermined level continues for a predetermined time period or more, it is determined that howling occurs at that frequency. The howling detection unit 209 detects a frequency component that has a level equal to or higher than a predetermined level and continues for a predetermined time period or more, in order to discriminate a stationary audio (a sound of a violin or the like) of a musical instrument or voice from howling. In a case where the howling detection unit 209 detects the above frequency component, the howling detection unit 209 checks the presence or absence of an overtone component of the frequency. The howling detection unit 209 determines that howling occurs only when there is not the overtone component.
The above described setting of the threshold value and the equalizer curve (a storing process) and a suppressing process of controlling the gain in accordance with an input of the estimation value are collectively described with reference to
When howling never occur as shown in
The gain control unit 23 reads a predetermined gain characteristic (e.g., the characteristic shown in
Even when the above suppressing process is performed, there is a possibility of detecting occurrence of howling again. In this case, the gain control unit 23 performs following processes. First, when howling occurrence information indicative of occurrence of howling at a frequency different from a frequency which is detected in the past, is input, a central frequency F2 of another EQ is set to a new howling occurrence frequency as shown in
Meanwhile, the estimation value at a time howling newly occurs, can be different from or the same as the above described maximum estimation value. Also, the suppression start estimation value (the threshold value th1) can be common to each of the stages of the variable equalizers 213 or can be different among the stages of the variable equalizers 213. In a case where the suppression start estimation value is different among them, each of the maximum estimation values and each of the suppression start estimation values is stored in the storage unit 224.
After that, the gain control unit 23 controls the effective degree of the equalizer in a plurality of ranges in accordance with the estimation value input by the loop gain estimation unit 22.
In a case where howling occurs at a frequency the same as the frequency already set (e.g., the frequency F1) as shown in
As shown in
Meanwhile, in a case where howling occurs at the estimation value higher than the threshold value th2, setting of suppressing the gain in the overall frequency range is performed by the adjuster 55. Alternatively, in a case where the estimation value exceeds the threshold value th2 as shown in
Next,
In a case where the gain control unit 23 detects occurrence of howling at a frequency different from the frequency detected in the past, or detects occurrence of howling at first (s52→Yes), the gain control unit 23 sets the central frequency of the EQ 53 (s53). The gain control unit 23 sets the characteristic of the gain Ga (s54). For example, it sets the gain characteristic as shown in
On the other hand, when the frequency is the same as the frequency detected in the past in the process of s52, the processes of s53 and s54 are skipped and changing of the gain characteristic is performed (s55). For example, the characteristic is changed to one for decreasing the gain Ga as a whole by 3 dB (see
Next,
In a case where the gain control unit 23 detects occurrence of howling at a frequency different from the frequency detected in the past, or occurrence of howling is detected at first (s13→Yes), the central frequency of the EQ 53 is set (s14). When the frequency is the same as the frequency detected in the past, the process of s14 is skipped.
The gain control unit 23 decreases the gain of the gain adjuster 51 of the variable equalizer 213 (s15). While a decrease amount of the gain at one step can be any value, it is made to be, for example, −3 dB. After that, the gain control unit 23 determines whether or not the howling is suppressed (the howling occurrence information is not input by the howling detection unit 209) (s16). When the howling is not suppressed, the gain of the gain adjuster 51 is decreased again (s16→s15). When the howling is suppressed, the gain control unit 23 causes the storage unit 224 to store the gain value at that time (s17). The gain control unit 23 calculates a suppression start estimation value based on the maximum estimation value stored in s11 and the gain value stored in s17 and causes the storage unit 224 to store the value (s18). In a case where the gain value or the threshold value th1 are already stored in the storage unit 224, the values are updated.
After that, the gain control unit 23 reads, from the storage unit 224, the threshold value th1, the maximum estimation value and the gain value which are stored in the storage unit 224 in the storing process, and adjust the gain of the gain adjuster 51 of the variable equalizer 213 in accordance with the estimation value input by the loop gain estimation unit 22. That is, the gain control unit performs a suppressing process for controlling an effective degree of the equalizer in accordance with the estimation value at that time. In a case where the howling occurrence information is input in the suppressing process, the operation of the storing process is performed again.
Thus, the howling preventing apparatus estimates the gain of the closed loop and suppresses the audio signal by the frequency or the gain (the equalizer characteristic) to be suppressed based on the estimated loop gain, thereby the howling preventing apparatus can suppress occurrence of howling beforehand. In addition, the howling preventing apparatus 201 automatically sets the equalizer characteristic based on the estimated loop gain so that the occurrence of howling can be surely suppressed in response to a change of the environment in the audio space without the need of skill.
While the above embodiment shows an example in which the variable equalizer 213 has the equalizer and the characteristic of the equalizer is set in accordance with the loop gain estimated by the gain control unit 23, it is possible to give an embodiment having a structure that only adjusts the gain and controls the gain in the whole frequency range as a suppression degree.
The third embodiment can be combined with the above described second embodiment.
The howling preventing apparatus 301 performs processes of superposing a pseudo noise to an audio signal picked up by the microphone 11 (the audio pickup unit) and outputting the superimposed signal to the speaker 3 passing through an amplifying system (not shown) at a following stage. A sound output from the speaker 3 is fed back to the microphone 11, thereby forming a closed loop. The howling preventing apparatus 301 obtains a correlation between the superimposed pseudo noise and the feedback audio signal so as to estimate a gain of the closed loop. The howling preventing apparatus can prevents howling beforehand by suppressing the gain of the audio signal or generating a warning in a case where the estimated loop gain approaches a predetermined threshold value. Further, the howling preventing apparatus 301 has a howling detection unit and further suppresses the gain of the audio signal in a case where occurrence of howling is detected so as to suppress the howling.
As shown in
As shown in
An audio signal picked up by the microphone 11 is input to the LPF 12 and the HPF 19 of the calculating unit 305.
The audio signal picked up by the microphone 11 is input to the LPF 12. The LPF 12 cuts off a high frequency range from the picked up audio signal and outputs it to the preceding stage volume 313.
The preceding stage volume 313 outputs the input signal to the following stage volume 324 at a gain set by the gain control unit 323. The following stage volume 324 outputs the input signal to the superimposing unit 314 at a gain set by the following stage gain control unit 323.
Each of the M-sequence signal generator 15, the N times over-sampling unit 16, the HPF 17, and the superimposing unit 314 has a structure, a function and an operation similar to those described in the first embodiment. Also, the correlation calculating unit 20 has a structure, a function and an operation similar to those described in the first embodiment. As an estimating method of a loop gain in the loop gain estimation unit 22, each of the estimation methods in the first embodiment can be used.
The loop gain estimated by the loop gain estimation unit 22 is output to the gain control unit 23. In a case where the estimated loop gain approaches a predetermined threshold value th, the gain control unit 23 determines that there is a high possibility that howling occurs and instructs to suppress the gain of the preceding stage volume 313. The gain control unit 23 can perform generating a warning (lighting of an LED, displaying of a warning on a display, or the like) in the case where the loop gain approaches the threshold value. In a case where the generating a warning is performed, a user may manually adjust the gain or the equalizer.
Meanwhile, it is possible to perform one of the process of suppressing the gain and the process of generating a warning, or to perform the generating a warning and further suppressing the gain of the audio signal. It is possible to take a modification that the generating a warning is first performed and, after that, the process of suppressing the gain is performed.
Here, the predetermined threshold value th differs depending on the estimation method of the loop gain. The predetermined threshold value th can be made any value, but a margin having a certain degree is set to the threshold value. For example, a user may carry out an operation of increasing or decreasing a gain before actual use. At that time, when a howling detection unit 322 detects occurrence of howling, the gain control unit 323 makes the input estimation value of the loop gain to be a maximum value thmax of the threshold value and obtains the value of th=α×thmax by using a coefficient α (0<α≦1).
The gain control unit 323 instructs to suppress the gain of the volume for pseudo noise 318. However, the gain equal to or larger than a predetermined value is maintained so that the first peak of the correlation of the pseudo noise can be detected.
Thus, the calculating unit 305 estimates the gain of the closed loop, and performs a process of suppressing the gain of the audio signal or a process of generating a warning in a case where the estimated loop gain approaches a predetermined threshold value, and thereby the calculating unit 305 can suppress occurrence of howling beforehand.
Next, the controlling of a gain of the howling detection unit 322 and the following stage volume 324 is described below. While the howling detection method of the howling detection unit 322 can be of any type, processes of the method are, for example, performed as below.
The howling detection unit 322 analyzes a frequency of an audio signal so as to detect presence or absence of occurrence of howling. That is, the howling detection unit 322 converts (FFT) a signal input by the microphone 11 into a signal of a frequency range and holds a plurality of frames of signals after the FFT. In a case where a signal of each frequency component having a level equal to or higher than a predetermined level continues for a predetermined time period or more, it is determined that howling occurs at that frequency. The howling detection unit 322 detects a frequency component that has a level equal to or higher than a predetermined level and continues for a predetermined time period or more, in order to discriminate a stationary audio (a sound of a violin or the like) of a musical instrument or voice from howling. In a case where the howling detection unit 322 detects the above frequency component, the howling detection unit 209 checks the presence or absence of an overtone component of the frequency. The howling detection unit 209 determines that howling occurs only when there is not the overtone component.
Information about occurrence of howling and information indicative of its frequency (referred to as howling occurrence information) is input to the following stage gain control unit 323. When the following stage gain control unit 323 inputs the howling occurrence information from the howling detection unit 322, the following stage gain control unit 323 sets that the gain of the following stage volume 324 is suppressed. In a case where the howling detection unit 322 does not detect occurrence of howling, the gain is restored to its original value (made to be 0 dB). The following stage gain control unit 323 stepwise suppresses the gain (e.g., −3 dB per 1 second) when the howling occurrence information is input, and then the following stage gain control unit 323 suppresses the gain until the occurrence of howling is not detected. In a case where the gain is restored, the gain can be restored by a change amount the same as that in the suppressing time (e.g., 3 dB per 1 second) or restored in a curve gentler than that in the suppressing time (e.g., 1 dB per 1 second). In a case where howling occurrence information is input again during the restoring of the gain, the gain is suppressed until the occurrence of howling is not detected again.
In the howling preventing apparatus of the embodiment, the loop gain can be estimated by the calculating unit 305 so that occurrence of howling can be prevented beforehand. However, in a case where a disturbance noise becomes large, there is a possibility that the calculating unit 305 is not able to calculate a peak of a correlation. In addition, since this is a modification of calculating a correlation of an audio signal, a Doppler shift may occur and a frequency of a pseudo noise may vary in a case where the microphone is moved, so that there is a possibility that a peak of a correlation can not be calculated. Consequently, in this modification, in a case where the howling detection unit 322 detects howling, the gain is suppressed by the following stage volume 324 so that howling is immediately suppressed even if the howling occurs.
The embodiment shows an example of suppressing a gain of an audio signal by the following stage volume 324. However, it is possible to suppress howling by a notch filter or the like that suppresses a frequency detected by the howling detection unit 322. In this case, the following stage volume 324 is replaced with the notch filter and the following stage gain control unit 23 sets a frequency and a gain of the notch filter.
In accordance with the embodiment, occurrence of howling is suppressed beforehand by estimating a loop gain, and the howling can be suppressed even if howling occurs.
Each of the howling preventing apparatuses 1, 101, 201, and 301 of first to fourth embodiments can be built in a mixer for producing a music, a microphone for picking up an audio or an adapter. In a case where the howling preventing apparatus is built in the adapter, it is possible to form a structure in which a microphone is connected to an input unit (an input interface) of the adapter and audio signal that is picked up by the microphone and input via the input unit, is supplied to the calculating unit and the pseudo noise superimposing unit. At any rate, it is enough that each of the howling preventing apparatuses 1, 101, 201, and 301 is provided at a preceding stage of an amplifying system such as an amplifier device or the like.
In accordance with the invention, a loop gain estimating apparatus for estimating a gain of a closed loop can be formed. With this case, the loop gain estimating apparatus does not control a gain of an audio signal and outputs information about the estimated gain of the closed loop to, for example, an external device such as a mixer or an amplifying system so that the loop gain estimating apparatus causes the external device to control the gain of the audio signal based on the estimated gain of the closed loop.
Number | Date | Country | Kind |
---|---|---|---|
2008-244700 | Sep 2008 | JP | national |
2008-299588 | Nov 2008 | JP | national |
2008-333608 | Dec 2008 | JP | national |
2009-094696 | Apr 2009 | JP | national |
2009-094697 | Apr 2009 | JP | national |
2009-208285 | Sep 2009 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2009/066558 | 9/24/2009 | WO | 00 | 3/24/2011 |