This application claims the benefit of priority to Japanese Patent Application No. 2009-14433, filed Jan. 26, 2009, of which full contents are incorporated herein by reference.
1. Field of the Invention
The present invention relates to a speech signal processing apparatus.
2. Description of the Related Art
If a user does another work while using a mobile phone, the user might use a hands-free set so as to use both hands freely.
As the hands-free set, there are known a head set provided with an earphone and a microphone, an earphone microphone, an earphone microphone of such a type as to receive sound emitted in the ear (See Japanese Patent Laid-Open Publication No. 2006-287721 and Japanese Patent Laid-Open Publication No. 2003-9272) and the like.
In a microphone of the above-mentioned headset provided with an earphone and a microphone and an earphone microphone, a noise around the user might mix into a sound uttered by the user. Thus, in a noisy environment, sound quality during a call is degraded so that even the call itself might become difficult. On the other hand, the earphone microphone of such a type as to receive sound in the ear is worn by the user in the ear, and a sound output from an eardrum of the user is converted into an electric speech signal. Thus, even in the noisy environment, the call itself would not become difficult. However, the sound output from the eardrum is different in frequency characteristics from the sound uttered from the mouth in general, and the sound output from the eardrum becomes a so-called inward sound. As a result, in the case of using the earphone microphone of such a type as to receive the sound in the ear, the sound quality during a call is inferior in general to that in the case of using the headset provided with an earphone and a microphone and an earphone microphone, particularly in a quiet environment.
A speech signal processing apparatus according to an aspect of the present invention, comprises: a control signal output unit configured to receive as an input signal either one of a first speech signal corresponding to a sound uttered by a user and a second speech signal corresponding to a sound output from an eardrum of the user when the user utters a sound, and output a control signal corresponding to a noise level of the input signal; and a speech signal output unit configured to output either one of the first speech signal and the second speech signal according to the control signal.
Other features of the present invention will become apparent from descriptions of this specification and of the accompanying drawings.
For more thorough understanding of the present invention and advantages thereof, the following description should be read in conjunction with the accompanying drawings, in which:
At least the following details will become apparent from descriptions of this specification and of the accompanying drawings.
<Entire Configuration and First Embodiment of Earphone Microphone LSI>
First, a configuration will be described of an earphone microphone LSI according to an embodiment of the present invention.
In an embodiment according to the present invention, it is assumed that a user wears an earphone microphone 30 and a microphone 31 and talks with a far end speaker using a mobile phone 36.
The earphone microphone 30 is an earphone microphone of such a type as to receive sound in the ear. Specifically, the earphone microphone 30 has a speaker function of producing sound by vibrating a diaphragm (not shown) on the basis of a speech signal input from a terminal 20. The earphone microphone 30 also has a microphone function of generating a speech signal by converting vibration of an eardrum when a person wearing the earphone microphone 30 utters a sound into vibration of the diaphragm. This earphone microphone 30, which generates a speech signal corresponding to a sound output from the eardrum, is a known art and is described in Japanese Patent Laid-Open Publication No. 2003-9272, for example. Then, the speech signal generated by the earphone microphone 30 is input to the earphone microphone LSI 1A through the terminal 20. The signal output to the earphone microphone 30 through the terminal 20 is reflected to be input to the earphone microphone LSI 1A from the terminal 20. Here, the above reflected signal is such a signal as to return through the earphone microphone 30, such a signal that the sound output from the earphone microphone 30 is reflected in the ear to be converted by the earphone microphone 30 into a speech signal, and the like, for example. The terminal 20 is not such a terminal that an output signal and an input signal are exclusively input to/output from. For example, an output signal and an input signal might be concurrently input to/output from the terminal 20.
The microphone 31 is a microphone that generates a speech signal by converting a sound uttered by a person wearing the microphone 31 into vibration of a diaphragm (not shown). The speech signal generated by the microphone 31 is input to the earphone microphone LSI 1A through the terminal 21.
A CPU 32 controls the earphone microphone LSI 1A in a centralized manner through a terminal 22 by executing a program stored in a memory 33. For example, the CPU 32 outputs an instruction signal for executing processing of setting a filter coefficient on the basis of an impulse response, which will be described later, to a DSP 3, when turning-on for operating the earphone microphone LSI 1A is detected. Also, a configuration may be made such that the CPU 32 outputs the above-mentioned instruction signal to the DSP 3 in response to an input of a reset signal for resetting the earphone microphone LSI 1A to the earphone microphone LSI 1A, for example.
The memory 33 is a nonvolatile writable storage area such as a flash memory, and stores various data to be required for controlling the earphone microphone LSI 1A other than the program executed by the CPU 32.
A button 34 is one that transmits to the CPU 32 an instruction to start/stop the earphone microphone LSI 1A, for example. The button 34 is also used for transmitting to the CPU 32 an instruction to allow the earphone microphone LSI 1A to measure the impulse response, for example.
A display lamp 35 is a light emitting device made up of an LED (Light Emitting Diode) or the like, and is turned on or blinks by control of the CPU 32. The display lamp 35 is turned on when the earphone microphone LSI 1A is started, and turned off when the operation of the earphone microphone LSI 1A is stopped, for example.
A mobile phone 36 transmits a speech signal of a user output from a terminal 24 to the far end speaker and outputs as a speech signal a received sound of the far end speaker to the terminal 23 of the earphone microphone LSI 1A. The mobile phone 36 and the terminals 23, 24 are connected through a signal line.
The DSP 3 is, as shown in
A speech signal from the mobile phone 36 is input to an AD converter 4 through the terminal 23. Then, the AD converter 4 outputs to the DSP 3 a digital signal obtained by performing analog/digital conversion processing for the speech signal. The digital signal input to the DSP 3 is input to each of the FIR filters 50, 51. The FIR filter 50 performs convolution calculation processing for the input digital signal on the basis of the filter coefficient of the FIR filter 50, to be output to a DA converter 7. At the same time, the FIR filter 51 performs the convolution calculation processing for the input digital signal on the basis of the filter coefficient of the FIR filter 51, to be output to a DA converter 8.
The DA converter 7 outputs to an amplification circuit 10 an analog signal obtained by performing digital/analog conversion processing for the output signal from the FIR filter 50. The amplification circuit 10 amplifies the analog signal by a predetermined amplification factor, to be output to a differential amplification circuit 14 at a non-inverting input terminal thereof.
The DA converter 8 outputs to an amplification circuit an analog signal obtained by performing digital/analog conversion processing for the output signal from the FIR filter 51. The amplification circuit 12 amplifies the analog signal by a predetermined amplification factor, to be output to an inverting input terminal of the differential amplification circuit 14.
To the non-inverting input terminal of the differential amplification circuit 14, a signal obtained by combining the analog signal output from the amplification circuit 10 and the analog signal input from the terminal 20 is input, and to the inverting input terminal thereof, the analog signal output from the amplification circuit 12 is input. The differential amplification circuit 14 outputs a signal obtained by amplifying a difference between the analog signal input to the non-inverting input terminal and the analog signal input to the inverting input terminal. The amplification circuit 11 amplifies the output signal of the differential amplification circuit 14 by a predetermined amplification factor, to be output.
An AD converter 5 outputs to the DSP 3 a digital signal obtained by performing analog/digital conversion processing for the analog signal from the amplification circuit 11. The digital signal input to the DSP 3 is subjected to echo removing processing at the subtraction unit 54, to be output to the output signal generation unit 56.
An amplification circuit 13 amplifies a speech signal from the microphone 31 input through the terminal 21 by a predetermined amplification factor. An AD converter 6 inputs to the DSP 3 a digital signal obtained by performing analog/digital conversion processing for the analog signal from the amplification circuit 13. The digital signal input to the DSP 3 is output to the output signal generation unit 56.
The impulse response measurement unit 52 measures an impulse response from the AD converter 5 when an impulse is generated in the output of the FIR filter 50 and an impulse response from the AD converter 5 when an impulse is generated in the output of the FIR filter 51. The filter-coefficient setting unit 53 sets the filter coefficients of the FIR filters 50, 51 on the basis of the impulse responses measured by the impulse response measurement unit 52 so that a signal obtained by combining the output signal of the amplification circuit 10 and such a signal that the output signal of the amplification circuit 10 is reflected through the earphone microphone 20 and returns, that is, an echo is removed or attenuated at the differential amplification circuit 14 using the output signal of the amplification circuit 12.
The subtraction unit 54 subtracts a signal output from the adaptive filter 55 from the signal input from the AD converter 5, to be output. The signal output from the FIR filter 50 and the output signal of the subtraction unit 54 are input to the adaptive filter 55. To the adaptive filter 55, a speech signal from the far end speaker output from the FIR filter 50 is transmitted, and in a state where a person wearing the earphone microphone 30 is not speaking, the filter coefficient is adaptively changed so that the signal output from the subtraction unit 54 becomes a predetermined level or less. Since the echo is removed or attenuated at the subtraction unit 54 as above, a speech signal generated by the microphone function of the earphone microphone 30 is output from the subtraction unit 54. The configuration of the adaptive filter 55 and the operation of setting the filter coefficient can be made similar to the configuration and operation of the adaptive filter disclosed in Japanese Patent Laid-Open Publication No. 2006-304260, for example.
To the output signal generation unit 56, a speech signal from the earphone microphone 30 output from the subtraction unit 54 and a speech signal from the microphone 31 output from the AD converter 6 are input. Then, the output signal generation unit 56 outputs either one of the speech signals input thereto, for example, according to a noise level of the speech signal from the microphone 31.
In such earphone microphone LSI 1A, the speech signal input to the AD converter 4 is output to the earphone microphone 30 through the terminal 20, the diaphragm of the earphone microphone 30 is vibrated, and a sound is output. Also, the generated echo is removed or attenuated by the differential amplification circuit 14, the subtraction unit 54, and the adaptive filter 55. If the echo cannot be completely removed, a signal containing the attenuated echo is output. If the user wearing the earphone microphone 30 and the microphone 31 utters a sound, the diaphragm of the earphone microphone 30 and the diaphragm of the microphone 31 are vibrated, and the speech signals are generated, respectively. The speech signal generated by the earphone microphone 30 is input to the DSP3 through the terminal 20, and as a result, input to the output signal generation unit 56. Also, the speech signal generated by the microphone 31 is input to the DSP 3 through the terminal 21, and as a result, input to the output signal generation unit 56. Then, the output signal generation unit 56 selects either the speech signal from the earphone microphone 30 or the speech signal of the microphone 31, for example, on the basis of the noise level of the speech signal of the microphone 31, that is, the noise level around the user. The selected speech signal is converted by the DA converter 9 into an analog signal, and then, input to the mobile phone 36 through the terminal 24, and thus, it is transmitted to the far end speaker. Here, the speech signal corresponding to the sound input to the microphone 31, that is, the speech signal subjected to digital-conversion by the AD converter 6 is called a speech signal D1. Also, the speech signal corresponding to the sound input to the earphone microphone 30, that is, the speech signal which is subjected to digital-conversion by the AD converter 5 and in which echo is attenuated or removed by the subtraction unit 54 is called a speech signal D2. Also, the measuring of the impulse response and the setting of the filter coefficient can be performed by the method similar to that disclosed in Japanese patent Laid-Open Publication No. 2006-304260, for example.
<First Embodiment of Output Signal Generation Unit>
Subsequently, details of the output signal generation unit 56 according to an embodiment will be described.
A speech signal output unit 60 outputs either the speech signal D1 according to the sound input to the microphone 31 or the speech signal D2 according to the sound input to the earphone microphone 30 on the basis of a control signal CONT. Specifically, if the control signal CONT is at a low level (hereinafter referred to as L level), for example, the speech signal D1 is output, and if the control signal CONT is at a high level (hereinafter referred to as H level), for example, the speech signal D2 is output.
A control signal output unit 61A changes the control signal CONT on the basis of a noise level of the speech signal D1, that is, the noise level around the user detected by the microphone 31. A comparison unit 71, a count unit 72, and a signal output unit 73 according to an embodiment of the present invention correspond to a control signal generation unit, and the count unit 72 and the signal output unit 73 correspond to a generation unit.
A noise-level calculation unit 70 calculates a noise level Np of the input speech signal D1. A noise-level storage unit 80 stores the calculated noise level Np. A short-time power calculation unit 81 calculates a short-time power Pt at a time t by a calculation formula as shown in the below (1), for example:
Here, Pt is the short-time power at the time t as mentioned above, and D1t is the speech signal D1 at the time t. That is, the short-time power Pt according to an embodiment of the present invention is defined as an average of absolute values of the speech signals D1 of N samples from the time t in the past. The short-time power Pt according to an embodiment of the present invention is calculated on the basis of the above equation (1), but this is not limitative. Instead of the average of the absolute values of the speech signals D1, a square sum or the square-root of square sum of the speech signal D1 may be used, for example.
An update unit 82 compares the calculated short-time power Pt and the noise level Np stored in the noise-level storage unit 80. If the short-time power Pt is lower than the noise level Np, the update unit 82 subtracts a predetermined correction value N1 from the noise level Np in order to lower the noise level Np. Then, the update unit 82 stores the subtracted noise level Np in the noise-level storage unit 80. On the other hand, if the short-time power Pt is higher than the noise level Np, the update unit 82 adds a predetermined correction value N2 to the noise level Np in order to raise the noise level Np. Then, the update unit 82 stores the added noise level Np in the noise-level storage unit 80. As mentioned above, each time the update unit 82 compares the short-time power Pt and the noise level Np, the update unit updates the noise level Np.
The comparison unit 71 compares the noise level Np and a threshold value P1 at a predetermined level when the noise level Np is updated to output a comparison result.
A count unit 72 changes the count value on the basis of the comparison result each time the comparison unit 71 compares the noise level Np and the threshold value P1. Specifically, if the comparison unit 71 outputs a comparison result indicating that the noise level Np is higher than the threshold value P1, the count unit 72 increments the count value only by “1”, for example. On the other hand, if the comparison unit 71 outputs the comparison result indicating that the noise level Np is lower than the threshold value P1, the count unit 72 clears the count value to zero. Then, if the count value becomes higher than a predetermined count value C, the count unit 72 allows the signal output unit 73 to output the control signal CONT of the H-level. On the other hand, if the count value is equal to the predetermined count value C or less, the count unit 72 allows the signal output unit 73 to output the control signal CONT of the L-level.
The signal output unit 73 outputs to the speech signal output unit 60 the control signal CONT on the basis of the count value of the count unit 72, as mentioned above.
Subsequently, details of an operation when the output signal generation unit 56A outputs a speech signal will be described.
First, if the user operates the button 34 in order to start the earphone microphone LSI 1A, the earphone microphone LSI 1A is started on the basis of an instruction from the CPU 32. And if the earphone microphone LSI 1A is started, the short-time power calculation unit 81 calculates the short-time power Pt and stores the calculated short-time power Pt in the noise-level storage unit 80 as the initial noise level Np (S100). Here, a calculation result of the short-time power calculation unit 81 is the initial noise level Np, but it may be so configured that if the earphone microphone LSI 1A is started, a predetermined value is stored in the noise-level storage unit 80 as the initial noise level Np. Also, the count unit 72 clears the count value to zero (S100). Then, the user operates the mobile phone 36 to start a call (S101). Subsequently, the noise-level calculation unit 70 performs calculation processing of the noise level Np during the call (S102). Here, an example of the calculation processing of the noise level Np in step S102 will be described referring to a flowchart shown in
If the noise level Np is higher than the threshold value P1 (S103: YES), the count unit 72 increments the count value only by “1” (S106). Then, if the count value of the count unit 72 is equal to the predetermined count value C or less (S107: NO), the signal output unit 73 outputs the control signal CONT of the L-level on the basis of the count value (S105). Thus, similarly to the above, the speech signal D1 is output from the speech signal output unit 60. On the other hand, as the result of such increment of the count value only by “1” by the count unit 72 (S106), if the count value of the count unit 72 becomes greater than the predetermined count value C (S107: YES), the signal output unit 73 outputs the control signal CONT of the H-level. Consequently, the speech signal output unit 60 selects the speech signal D2 to be output. After the above-mentioned processing S105 and S108 is finished, if the user continues the call (S109: YES), the DSP 3 repeats the above-mentioned processing S102 to S109. On the other hand, if the user finishes the call (S109: NO) and operates the button 34 in order to stop the earphone microphone LSI 1A, for example, the above-mentioned processing (S102 to S109) is finished.
<Second Embodiment of Output Signal Generation Unit>
Here, an output signal generation unit 56B will be described which is a second embodiment of the output signal generation unit 56 according to an embodiment of the present invention.
The control signal output unit 61B changes the control signal CONT on the basis of the noise level of the speech signal D1.
A minimum value calculation unit 75 calculates a minimum value Pmin of the noise level Np in a predetermined time period T1. Here, the short-time power calculation unit 81 according to an embodiment of the present invention calculates the short-time power Pt by sampling N number of the speech signals D1 in the predetermined time period T1. Thus, the minimum value calculation unit 75 calculates the minimum value Pmin of the noise level Np in the predetermined time period T1 from the absolute values of the N number of the speech signals D1. Specifically, the minimum value calculation unit 75 calculates a minimum value of the absolute values of N number of the speech signals D1 as the minimum value Pmin of the noise level Np. The above-mentioned predetermined time period T1 is determined considering a time period of breathing or the like during the call by the user, that is, a time period during which there is no sound uttered by the user in the microphone 31, or the like.
A control signal generation unit 76 compares the minimum value Pmin of the noise level Np and a predetermined threshold value P2 to change the control signal CONT according to such comparison result. Specifically, the control signal generation unit 76 outputs the control signal CONT of the H-level if the minimum value Pmin is equal to the threshold value P2 or more. On the other hand, the control signal generation unit 76 outputs the control signal CONT of the L-level if the minimum value Pmin is lower than the threshold value P2.
Subsequently, details of an operation when the output signal generation unit 56B outputs the speech signal will be described.
First, if the user operates the button 34 in order to start the earphone microphone LSI 1A, the earphone microphone LSI 1A is started on the basis of an instruction from the CPU 32. And if the earphone microphone LSI 1A is started, the short-time power calculation unit 81 calculates the short-time power Pt and stores the calculated short-time power Pt in the noise-level storage unit 80 as the initial noise level Np (S300). Then, the user operates the mobile phone 36 to start a call (S301). Subsequently, the noise-level calculation unit 70 performs calculation processing of the noise level Np during the call (S302). The calculation processing (S302) of the noise level Np is the same as the above-mentioned processing S200 to S203 shown in
On the other hand, if the minimum value Pmin is lower than the threshold value P2 (S304: NO), that is, the surroundings of the user is quiet and the minimum value Pmin of the noise level of the speech signal D1 is lower than the threshold value P2, the control signal generation unit 76 outputs the control signal CONT of the L-level (S306). As a result, the speech signal D1 corresponding to the sound from the microphone 31 is output from the speech signal output unit 60.
After the above-mentioned processing S305 and S306 is finished, if the user continues the call (S307: YES), the DSP 3 repeats the above-mentioned processing S302 to S306. On the other hand, if the user finishes the call (S307: NO) and operates the button 34 in order to stop the earphone microphone LSI LA, for example, the above-mentioned processing (S302 to S307) is finished.
<Third Embodiment of Output Signal Generation Unit>
Here, an output signal generation unit 56C will be described, which is a third embodiment of the output signal generation unit 56 according to an embodiment of the present invention.
The noise-level calculation unit 70 is the same as the noise-level calculation unit 70 in the above-mentioned output signal generation unit 56A.
A speech signal output unit 90 multiplies the speech signal D2 and the speech signal D1 by a coefficient β (0≦β≦1) and a coefficient (β−1) calculated by a coefficient calculation unit 91, which will be described later, respectively, and adds the multiplication results together to be output. Thus, a speech signal D3 output from the speech signal output unit 90 is expressed by the speech signal D3=speech signal D2×β+speech signal D1×(1−β). The coefficient β corresponds to a second coefficient, and the coefficient (1−β) corresponds to a first coefficient.
The coefficient calculation unit 91 includes the minimum value calculation unit 75 and a calculation unit 100. The minimum value calculation unit 75 is the same as the minimum value calculation unit 75 in the above-mentioned output signal generation unit 56B. Thus, the minimum value Pmin of the noise level Np is calculated by the minimum value calculation unit 75.
The calculation unit 100 multiplies the minimum value Pmin of the noise level Np by a predetermined coefficient α in order to calculate the above-mentioned coefficient β. That is, in an embodiment of the present invention, the coefficient β, the predetermined coefficient α, and the minimum value Pmin have a relation expressed by β=α×Pmin. The coefficient α in an embodiment of the present invention is such a value that satisfies α×Pmin1=1.0 where the minimum value Pmin1 is calculated in the noise where it is difficult for the user to have a conversation using the microphone 31, for example. Thus, if the minimum value Pmin of the noise level Np becomes smaller than the above mentioned minimum value Pmin1, for example, the coefficient β becomes smaller as well. On the other hand, if the minimum value Pmin of the noise level Np becomes greater than the above-mentioned minimum value Pmin1, the coefficient β becomes greater. However, in an embodiment of the present invention, since the maximum value of the coefficient β is set at 1, if the coefficient β becomes greater than 1, the calculation unit 100 sets the coefficient β at 1.
Thus, if the noise level around the user becomes higher, for example, the coefficient β becomes greater, and therefore, a proportion of the speech signal D2 corresponding to the sound of the earphone microphone 30 becomes greater in the speech signal D3 output from the speech signal output unit 90. On the other hand, if the noise level around the user becomes lower, the coefficient β becomes smaller, and therefore, the proportion of the speech signal D1 corresponding to the sound of the microphone 31 becomes greater in the speech signal D3.
Subsequently, details of an operation when the output signal generation unit 56C outputs the speech signal D3 will be described.
First, if the user operates the button 34 in order to start the earphone microphone LSI 1A, the earphone microphone LSI 1A is started on the basis of an instruction from the CPU 32. And if the earphone microphone LSI 1A is started, the short-time power calculation unit 81 calculates the short-time power Pt and stores the calculated short-time power Pt in the noise-level storage unit 80 as the initial noise level Np (S400). Then, the user operates the mobile phone 36 to start a call (S401). Subsequently, the noise-level calculation unit 70 performs calculation processing of the noise level Np during the call (S402). The calculation processing (S402) of the noise level Np is the same as the above-mentioned processing S200 to S203 shown in
After the above-mentioned processing S408 is finished, if the user continues the call (S409: YES), the DSP 3 repeats the above-mentioned processing S402 to S409. On the other hand, if the user finishes the call (S409: NO) and operates the button 34 in order to stop the earphone microphone LSI 1A, for example, the above-mentioned processing S402 to S409 is finished.
<Entire Configuration and Second Embodiment of Earphone Microphone LSI>
Here, it is assumed that a speech signal is output as PCM data from the output signal generation unit 56 of the DSP 3 shown in
A PCM interface circuit 200 is a circuit for sending/receiving PCM data between a wireless module 220 and the DSP 3. Specifically, a speech signal output from the output signal generation unit 56 of the DSP 3 shown in
The wireless module 220 receives the sound of the far end speaker received by the mobile phone 36 as data by radio and transfers the received sound data as PCM data to the PCM interface circuit 200. The wireless module 220 transmits the speech signal output from the PCM interface 200 as PCM data to the mobile phone 36 by radio.
As a result, with a configuration shown in
<Entire Configuration and Third Embodiment of Earphone Microphone LSI>
As a result, with a configuration shown in
<Entire Configuration and Fourth Embodiment of the Earphone Microphone LSI>
With a configuration shown in
<Entire Configuration and a Fifth Embodiment of the Earphone Microphone LSI>
A configuration example of the DSP 400 is shown in
The interface circuit 410 carries out communication of various data between the DSP 400 and the wireless module 430. Specifically, the interface circuit 410 outputs to the FIR filter 50 a speech signal corresponding to the sound of the far end speaker. The interface circuit 410 transfers to the wireless module 430 an instruction signal from the above mentioned CPU 32 and the speech signal D2 from the earphone microphone 30. Communication between the interface circuit 410 and the wireless module 430 can be carried out through a terminal 420.
The wireless module 430 receives the sound of the far end speaker received by the mobile phone 36 as data by radio as well as transfers the data of the received sound to the interface circuit 410. To the wireless module 430, there are input the speech signal D2 from the earphone microphone 30 output from the interface circuit 410, the instruction signal output from the CPU 32 according to the operation result of the button 34, and the speech signal D1 of the microphone 31 output from the AD converter 6. Then, the wireless module 430 transmits by radio to the mobile phone 36 either one of the speech signal D2 from the earphone microphone 30 and the speech signal D1 from the microphone 31 on the basis of the instruction signal from the CPU 32. That is, if the instruction signal indicating that the user selects the speech signal D2 from the earphone microphone 30 is input to the wireless module 430, for example, the wireless module 430 transmits the speech signal D2 to the mobile phone 36. On the other hand, if the instruction signal indicating that the user selects the speech signal D1 from the microphone 31 is input to the wireless module 430, the wireless module 430 transmits the speech signal D1 to the mobile phone 36. The wireless module 430 according to an embodiment of the present invention includes a DSP 500, which outputs either one of the speech signal D2 and the speech signal D1 to a wireless circuit 510 on the basis of an instruction signal from the CPU 32, and the wireless circuit 510, which carries out data communication with the mobile phone 36 by radio. The DSP 500 includes a speech signal output unit (not shown) for outputting to the wireless circuit 510 either one of the speech signal D2 and the speech signal D1 on the basis of an instruction signal from the CPU 32 as in the case of the DSP 3, for example. In an embodiment of the present invention shown in
As mentioned above, in an embodiment of the present invention shown in
The earphone microphone LSI 1A according to an embodiment of the present invention having the above-described configuration includes a control signal output unit 61 for outputting such a control signal CONT as to change a logical level according to the noise level Np of the speech signal D1. The speech signal output unit 60 outputs either one of the speech signal D1 and the speech signal D2 according to the logical level of the control signal CONT. Thus, in an embodiment of the present invention, if the noise level around the user becomes higher, for example, the speech signal D2 from the earphone microphone 30 can be output to the speech signal output unit 60, and if the noise level around the user becomes lower, the speech signal D1 from the microphone 31 can be output to the speech signal output unit 60. In general, since the earphone microphone 30 is worn by the user in the ear and detects a sound from the eardrum, the earphone microphone 30 is hardly under an influence of the noise around the user. That is, in an embodiment of the present invention, if the noise level around the user becomes higher, the speech signal D2 under less influence of the noise can be transmitted to the far end speaker. On the other hand, the sound output from the eardrum in general is different in frequency characteristics from the sound uttered from the mouth, and the sound output from the eardrum becomes a so-called inward sound. In an embodiment of the present invention, if the noise level around the user becomes lower, the speech signal D1 corresponding to the sound generated from the mouth can be transmitted to the far end speaker. As such, the earphone microphone LSI 1A according to an embodiment of the present invention can output the speech signal with a good sound quality according to the noise around the user.
Moreover, the signal output unit 73 of the control signal output unit 61A according to an embodiment of the present invention may be so configured as to change the control signal CONT on the basis of the comparison result of the comparison unit 71, for example. That is, it may be so configured that, the signal output unit 73 outputs the control signal CONT of the H-level on the basis of the comparison result indicating that the noise level Np is higher than the threshold value P1, and the signal output unit 73 outputs the control signal CONT of the L-level on the basis of the comparison result indicating that the noise level Np is lower than the threshold value P1, for example. In such configuration, if the noise level around the user becomes higher and the calculated noise level Np becomes higher than the threshold value P1, the speech signal D2 under less influence of the noise can be transmitted to the far end speaker. On the other hand, if the noise level around the user becomes lower and the calculated noise level Np becomes lower than the threshold value P1, the speech signal D1 with a good sound quality can be transmitted to the far end speaker. As such, the noise level Np and the threshold value P1 are compared, so that the control signal output unit 61A can output a speech signal with a good sound quality according to the noise around the user.
Furthermore, the noise-level calculation unit 70 according to an embodiment of the present invention calculates the short-time power Pt on the basis of the speech signal D1 corresponding to the sound from the microphone 31. When the short-time power Pt is calculated, if the sound uttered by the user or the like is input to the microphone 31, for example, the level of the short-time power Pt might become greater. Also, if the short-time power Pt is calculated under the influence of the sound of the user or the like, the noise level Np might become greater in value than the actual level of the noise around the user. Thus, in an embodiment of the present invention, if the noise level Np becomes greater than the threshold value P1, the control signal CONT of the H-level is not immediately output but the control signal CONT of the H-level is output only if the count value of the count unit 72 exceeds the predetermined count value C. That is, if the number of times that the noise level Np becomes greater than the threshold value P1 on a consecutive basis exceeds C number of times, the control signal CONT of the H-level is output. Thus, even if the noise level Np is temporarily raised by the sound uttered by the user or the like, the output signal generation unit 56A does not output the speech signal D2 as long as the noise level around the user does not become higher. By employing such configuration, the output signal generation unit 56A can accurately output the speech signal with a good sound quality according to the noise around the user.
Furthermore, the output signal generation unit 56B according to an embodiment of the present invention includes the minimum value calculation unit 75 for calculating the minimum value Pmin of the noise level Np and the control signal generation unit 76 for changing the control signal CONT on the basis of the minimum value Pmin. The minimum value Pmin of the noise level Np in the predetermined time period T1 is generally higher in the level of the sound uttered by the user than in the noise level around the user. Thus, the minimum value Pmin becomes a value corresponding to the noise level. Therefore, if the noise level becomes higher, the minimum value Pmin is also raised, while if the noise level becomes lower, the minimum value Pmin is also lowered. Therefore, the control signal CONT is changed in level on the basis of the minimum value Pmin, so that the output signal generation unit 56B can accurately output the speech signal with a good sound quality according to the noise around the user.
Furthermore, the output signal generation unit 56C according to an embodiment of the present invention includes the coefficient calculation unit 91 for calculating such a coefficient β as to become greater if the noise level Np becomes greater, and such a coefficient (1−β) as to become smaller if the noise level Np becomes greater. From the speech signal output unit 90, there is output the speech signal D3=speech signal D2×β+speech signal D1×(1−β). Therefore, for example, if the noise level around the user becomes higher, the proportion of the speech signal D2 corresponding to the sound of the earphone microphone 30 becomes greater in the speech signal D3 output from the speech signal output unit 90. On the other hand, if the noise level around the user becomes lower, the proportion of the speech signal D1 corresponding to the sound of the microphone 31 becomes greater in the speech signal D3. That is, if the noise level is higher, the speech signal D2 under less influence of the noise is output more, and if the noise level is lower, the speech signal D1 with a good sound quality is output more. Thus, the output signal generation unit 56C can output the speech signal with a good sound quality according to the noise around the user.
Furthermore, with the earphone microphone LSI 1E in an embodiment of the present invention, the user can select whether to transmit the speech signal D2 from the earphone microphone 30 to the far end speaker or to transmit the speech signal D1 from the microphone 31 to the far end speaker by operating the button 34. Specifically, the command transfer unit 57 outputs an instruction signal output from the CPU 32 according to the operation result of the button 34. Then, the speech signal output unit (not shown) of the DSP 500 outputs to the wireless circuit 510 either the speech signal D1 or the speech signal D2 on the basis of the above-mentioned instruction signal. Thus, for example, if the noise level around the user becomes higher, the user can select the speech signal D2, and if the noise level around the user becomes lower, the user can select the speech signal D1, and therefore, a call with a good sound quality can be realized.
The above embodiments of the present invention are simply for facilitating the understanding of the present invention and are not in any way to be construed as limiting the present invention. The present invention may variously be changed or altered without departing from its spirit and encompass equivalents thereof.
In an embodiment of the present invention, the earphone microphone 30 is used as such a microphone that the user is hardly affected by the noise, but a bone-conduction microphone or any other input means may be used, for example. If the bone-conduction microphone is used as the input means, it may be so configured that bone-conducted sound generated from the bone-conduction microphone is input to the terminal 20 in
Moreover, in an embodiment of the present invention, the noise-level calculation unit 70 calculates the noise level on the basis of the speech signal D1, but this is not limitative. The noise level may be calculated on the basis of those hardly affected by the noise such as the speech signal D2 corresponding to the sound from the earphone microphone 30, for example.
Number | Date | Country | Kind |
---|---|---|---|
2009-14433 | Jan 2009 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20060265219 | Honda | Nov 2006 | A1 |
20080175399 | Kim et al. | Jul 2008 | A1 |
20080298624 | Jeong et al. | Dec 2008 | A1 |
20090097681 | Puria et al. | Apr 2009 | A1 |
Number | Date | Country |
---|---|---|
0671862 | Sep 1995 | EP |
10023122 | Jan 1998 | JP |
2000-261529 | Sep 2000 | JP |
2000-261534 | Sep 2000 | JP |
2001-177635 | Jun 2001 | JP |
2003-009272 | Jan 2003 | JP |
2006-287721 | Oct 2006 | JP |
2006-304260 | Nov 2006 | JP |
Entry |
---|
Extended European Search Report for Application No. 10151423.0, mailed on Sep. 8, 2010 (12 pages). |
Partial European Search Report for Application No. 10151423.0, mailed on May 19, 2010 (5 pages). |
Patent Abstracts of Japan for Japanese Publication No. 10-023122, publication date Jan. 23, 1998 (1 page). |
Office Action issued in corresponding Japanese Application No. 2009-014433 dated Sep. 18, 2012, and English translation thereof (5 pages). |
Number | Date | Country | |
---|---|---|---|
20100191528 A1 | Jul 2010 | US |