1. Field of the Invention
The present invention relates to in-vehicle audio apparatuses, and in particular, relates to a method for correcting audio signals in response to the level of noise that occurs in a vehicle that is being driven.
2. Description of the Related Art
In a case where a passenger listens to music through a compact disk (CD), a digital versatile disk (DVD), a radio broadcast, or the like in a vehicle cabin, when the passenger is exposed to background noise, such as an engine noise or a road noise, the passenger cannot hear music in a satisfactory condition. In view of this problem, a system exists in which the noise level is measured with a microphone provided in the vehicle cabin and an optimum correction (for example, correction of the volume) is performed in response to the noise level. Specifically, in this system, a microphone is used to collect sound in a vehicle cabin, and audio signals in external sound signals received by the microphone are cancelled to extract noise.
An apparatus that automatically adjusts the volume in response to noise is disclosed in Japanese Unexamined Patent Application Publication No. 10-335960. This apparatus includes a noise-signal extracting unit that extracts only noise signals from sound signals in a vehicle cabin detected by a microphone and a volume-adjusting unit that adjusts the volume of an audio apparatus in response to the noise signals detected by the noise-signal extracting unit, and this apparatus enables a passenger to hear audio signals from an audio signal source at an appropriate volume in consideration of the noise level in the vehicle cabin.
However, in the known in-vehicle audio apparatus, although played-back music can be distinguished from noise, a speech sound of a person in a vehicle cabin cannot be distinguished. Thus, correction is performed on noise that includes a speech sound. The frequency spectrum and volume of a speech sound of a person can suddenly and markedly change. Thus, when audio signals are corrected on the basis of the level of noise that includes a speech sound, a change in the amount of correction is inevitably large, resulting in an unnatural sound.
In view of the aforementioned problem, it is an object of the present invention to provide an audio apparatus that can remove a speech sound from noise and correct an audio signal.
An audio apparatus according the present invention has a function of correcting an audio signal in response to a noise level. The audio apparatus includes a correction unit that corrects an audio signal on the basis of a weighting factor, an output unit that produces a played-back audio sound on the basis of the corrected audio signal, a microphone for receiving an external sound that includes the played-back audio sound and noise, a noise-extracting unit that extracts a noise signal from an external sound signal detected by the microphone, the noise-extracting unit including a speech-removing unit that removes a speech signal from the noise signal on the basis of noise spectrum data that is prepared in advance, and a weighting factor calculation unit that calculates the weighting factor on the basis of the extracted noise signal and supplies the calculated weighting factor to the correction unit.
Moreover, a method for playing back an audio signal in an in-vehicle audio apparatus includes receiving an external sound that includes a played-back audio sound and noise in a vehicle interior space through a microphone, extracting a noise signal from an external sound signal detected by the microphone and removing a speech signal from the extracted noise signal with reference to noise spectrum data, calculating a weighting factor corresponding to the noise signal from which the speech signal is removed, correcting the audio signal on the basis of the calculated weighting factor, and producing the played-back audio sound on the basis of the corrected audio signal.
In the audio apparatus according to the present invention, a speech sound is removed from noise on the basis of noise spectrum data, and an audio signal is corrected on the basis of the noise from which the speech sound is removed. Thus, a played-back audio sound having a sound quality suitable for an actual noise level can be obtained by suppressing the influence of a speech sound in which a sudden change in the frequency or volume occurs.
The audio apparatus according to the present invention can be used in a navigation apparatus or a navigation system that includes an in-vehicle audio unit, in-vehicle electronic equipment that receives a radio broadcast or a television broadcast, or the like.
Audio apparatuses according to embodiments of the present invention will now be described in detail with reference to the drawings. The audio apparatuses according to the embodiments of the present invention are preferably embodied in in-vehicle audio apparatuses or in-vehicle audio systems.
In the present invention, noise of a vehicle that is being driven is distinguished from a speech sound of a person on the basis of the difference between spectra of the noise and the speech sound so that correction is not performed on the speech sound.
The in-vehicle audio apparatus 10 further includes a microphone 20 for receiving an external sound in a vehicle interior space, a noise-extracting unit 30 that receives external sound signals M detected by the microphone 20 as input and extracts noise signals from the external sound signals M, and an acoustic weighting factor calculation unit 40 that calculates the acoustic weighting factor C on the basis of the noise signals extracted by the noise-extracting unit 30 and provides the calculated acoustic weighting factor C to the acoustic weighting filter 14.
In an acoustic space of a vehicle, sound of conversation among passengers and a driving noise, such as an engine noise and a road noise, which occurs in a vehicle that is being driven, are mixed with a played-back audio sound produced from the speaker 18. These mixed sounds are received by the microphone 20 as an external sound. Thus, the external sound signals M detected by the microphone 20 include played-back audio signals Sp and noise signals N (M=Sp+N). The noise signals N include speech signals Ns and other driving noise signals Np (N=Ns+Np).
The noise-extracting unit 30 according to this embodiment includes an audio-canceling unit 32, a speech determining/removing unit 34, and a noise-band-level generating/storing unit 36. The audio-canceling unit 32 receives audio signals S from the acoustic weighting filter 14 and the external sound signals M (M=Sp+N) from the microphone 20 as inputs and cancels the played-back audio signals Sp on the basis of the difference between the audio signals S and the external sound signals M. At this time, the audio-canceling unit 32 corrects the audio signals S with transfer characteristics H of audio signals in an acoustic space of a vehicle so that Sp=H·S. Thus, the played-back audio signals Sp are removed from the external sound signals M and the noise signals N (N=Ns+Np) are extracted.
The speech determining/removing unit 34 receives the noise signals N from the audio-canceling unit 32, reads threshold values Th from the noise-band-level generating/storing unit 36, and compares the noise signals N with the threshold values Th to determine whether the noise signals N include the speech signals Ns. The speech determining/removing unit 34 removes the speech signals Ns from the noise signals N upon determining that the noise signals N include the speech signals Ns. In this way, the driving noise signals Np are extracted and supplied to the acoustic weighting factor calculation unit 40.
The noise-band-level generating/storing unit 36 generates the threshold values Th on the basis of the noise spectrum data that is prepared in advance and stores the threshold values Th in a memory or the like. For example, the noise spectrum of a vehicle as shown in
The noise-band-level generating/storing unit 36 generates the threshold values Th for individual predetermined frequency bands on the basis of the noise spectrum shown in
Alternatively, average gains of the noise spectrum shown in
On the other hand, the voice of a person has the speech spectrum shown in
The noise signals N extracted by the audio-canceling unit 32 include the speech signals Ns and the driving noise signals Np. That is to say, the noise signals N are based on a spectrum that is obtained by superimposing the speech spectrum shown in
The acoustic weighting factor calculation unit 40 calculates an appropriate acoustic weighting factor C on the basis of the driving noise signals Np extracted by the noise-extracting unit 30 and provides the calculated acoustic weighting factor C to the acoustic weighting filter 14.
The operation of the speech determining/removing unit 34 in the noise-extracting unit 30 will now be described with reference to a flowchart of
In step S102, the speech determining/removing unit 34 selects the lowest band level, i.e., band 1, as the first band level at which the speech determining/removing unit 34 determines whether the noise signals N include the speech signals Ns. In step S103, the speech determining/removing unit 34 compares the noise signals N in band 1 with a threshold value Th corresponding to band 1. When the noise signals N exceed the threshold value Th, it is determined that the noise signals N include the speech signals Ns in step S104, and the noise signals N are replaced with the threshold value Th in step S105. On the other hand, when the noise signals N are equal to or less than the threshold value Th, it is determined that the noise signals N do not include the speech signals Ns in step S106, and the noise signals N are set as the driving noise signals Np (Np=N) in step S107. Then, noise is determined and extracted in band 1 in step S108.
Subsequently, it is determined in step S109 whether noise is determined and extracted in all of the bands, and steps S103 to S108 are repeated for band 2 and the succeeding bands. When noise has been determined and extracted in all of the bands, the speech determining/removing unit 34 provides the driving noise signals Np to the acoustic weighting factor calculation unit 40 in step S110.
In the in-vehicle audio apparatus according to this embodiment, a system for correcting audio signals can be achieved which is insensitive to a speech sound in a loud environment.
A second embodiment according to the present invention will now be described. In the aforementioned embodiment, the noise signals N are compared with a threshold value Th in a corresponding frequency band to determine whether the noise signals N include the speech signals Ns. On the other hand, in the second embodiment, the noise signals N in one frequency band are compared with those in another frequency band that is one level lower than the one frequency band. The spectrum of the speech sound has a peak in a middle frequency range, as described above. Thus, when the speech spectrum shown in
For example, in a case where the frequency range of 300 Hz to 1 kHz is divided into bands b1 to bn having a predetermined bandwidth, it is determined whether the difference between noise signals N2 in band b2 and noise signals N1 in band b1, which is one level lower than band b2, exceeds a threshold value. When the difference is less than the threshold value, a decrease in a gain of the noise is moderate. Thus, it is determined that the noise includes the speech sound, and the noise signals N2 are replaced with the noise signals N1. When the difference exceeds the threshold value, it is determined that the noise does not include the speech sound, and the noise signals N2 are set as the driving noise signals Np.
When the difference between the noise signals N2 and the noise signals N1 is less than the threshold value, it is determined that the noise signals N2 include the speech signals Ns in step S204, and the noise signals N2 are replaced with the noise signals N1 in step S205. On the other hand, when the difference between the noise signals N2 and the noise signals N1 is equal to or more than the threshold value, it is determined that the noise signals N2 do not include the speech signals Ns in step S206, and the noise signals N2 are set as the driving noise signals Np (Np=N2) in step S207. Then, noise is determined and extracted in band 2 in step S208.
Subsequently, it is determined in step S209 whether noise is determined and extracted in all of the bands, and steps S203 to S208 are repeated for band 3 and the succeeding bands. When it is determined that noise has been determined and extracted in all of the bands, the speech determining/removing unit 34 provides the driving noise signals Np to the acoustic weighting factor calculation unit 40 in step S210.
In the process described above, the middle frequency range of the noise signals can be removed. Thus, the speech signals can be removed from the noise signals so that correction is not performed on the speech signals.
While there has been illustrated and described what is at present contemplated to be preferred embodiments of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made, and equivalents may be substituted for elements thereof without departing from the true scope of the invention. In addition, many modifications may be made to adapt a particular situation to the teachings of the invention without departing from the central scope thereof. Therefore, it is intended that this invention not be limited to the particular embodiments disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2004-355531 | Dec 2004 | JP | national |