This application claims the priority benefit of Taiwan application serial no. 108115706, filed on May 7, 2019. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The present disclosure relates to a speaker adjusting technique, and more particularly to a speaker adjustment method for a plurality of speakers and an electronic device using the same.
In today's dual-channel mobile device, although the sound outlet of the speaker is arranged at two symmetrical ends, since a tolerance of ±3 dB between individual speakers is allowed in the mass production, and there are differences in the design of mechanism in the mobile device, inconsistency often occurs in the frequency response of the left and right channel signals of the mobile device, which causes the sound field to deviate from the center of the mobile device. For example, when the frequency response of the left channel is greater than the frequency response of the right channel, the sound field is deviated to the left; otherwise, when the frequency response of the right channel is greater than the left channel, the sound field is deviated to the right.
In view of the above, an embodiment of the present disclosure provides a speaker adjustment method and an electronic device using the same, which can well adjust the outputs of a plurality of speakers by using one microphone, so that the plurality of speakers can reach a target sound field during broadcasting.
The speaker adjustment method of the embodiment of the present disclosure is for adjusting a plurality of speakers. The speaker adjustment method includes the steps of: respectively obtaining a plurality of frequency responses of the plurality of speakers by using one microphone; obtaining distance information between the microphone and the plurality of speakers; and adjusting the outputs of the plurality of speakers according to the plurality of frequency responses and the distance information.
The electronic device of the embodiment of the disclosure includes a plurality of speakers, a microphone, and a processor. The plurality of speakers are configured to respectively broadcast a frequency scanning signal. The microphone is configured to respectively receive a plurality of audio signals when the plurality of speakers broadcast the frequency scanning signal. The processor is coupled to the plurality of speakers and the microphone, and configured to: obtain a plurality of frequency responses of the plurality of speakers according to the plurality of audio signals; obtain distance information between the microphone and the plurality of speakers; and adjust the outputs of the plurality of speakers according to the plurality of frequency responses and the distance information.
Based on the above, the speaker adjustment method and the electronic device using the same according to the embodiments of the present disclosure use the same microphone to obtain a plurality of frequency responses of a plurality of speakers, and then adjust the outputs of the plurality of speakers according to the frequency responses. In particular, when adjusting the outputs of the plurality of speakers according to the frequency responses, the distance information between the microphone and the plurality of speakers is also taken into consideration, such that the speaker adjustment method does not need to take into account the individual differences between the microphones in mass production. Meanwhile, it is also possible to eliminate the volume influence caused by different distances between the microphone and the plurality of speakers, thereby achieving good sound field adjustment.
In order to make the aforementioned features and advantages of the disclosure more comprehensible, embodiments accompanying figures are described in detail below.
The speaker adjustment method of the embodiment of the present disclosure adjusts a plurality of speakers by using a microphone. Since the distances between the microphone and the plurality of speakers might be different, and the different distances might cause the volume outputted by the speakers received by the microphone to have different attenuation, the speaker adjustment method in the embodiment of the present disclosure takes into account the distance between the microphone and the speakers to adjust the outputs of the speakers. Specifically, when using a single microphone to adjust the plurality of speakers, there is no need to take the individual differences between multiple microphones into consideration, and good adjustment result can be obtained by only taking into account the distances between the microphone and the plurality of speakers.
In the following descriptions, the speaker adjustment method will be described with an electronic device provided with a plurality of speakers and a single microphone. However, it should be noted that the present disclosure is not limited thereto, and the proposed speaker adjustment method can also be applied to other audio systems or electronic systems such as a movie theater, a home theater and so on.
Referring to
The processor 110 is, for example, a dual core, quad core, or eight core central processing unit (CPU), a system-on-chip (SOC), an application processor, a media processor, a microprocessor, a digital signal processor, a programmable controller, an application specific integrated circuit (ASIC), a programmable logic device (PLD) or other similar device or a combination of these devices, the present disclosure is not limited thereto. In addition, for convenience of description, the positions of the first speaker 120_1 and the second speaker 120_2 in the following description refer to the sound outlet positions of the left channel and the right channel of the electronic device 100, respectively, and the position of the microphone 130 refers to the position of the sound outlet of the electronic device 100.
Referring to
In this embodiment, the first speaker 120_1 and the second speaker 120_2 are symmetrically disposed, and the processor 110 is responsible for performing a speaker adjustment method to adjust the first speaker 120_1 and/or the second speaker 120_2 so that the sound field of the electronic device 100 is maintained in the middle.
It should be noted that in the present embodiment, the distance d1 between the microphone 130 and the first speaker 120_1 is different from the distance d2 between the microphone 130 and the second speaker 120_2 (for example, the microphone 130 is not located on the center line of the upper cover 140). However, the present disclosure is not limited thereto, and in some embodiments, the distance d1 between the microphone 130 and the first speaker 120_1 and the distance d2 between the microphone 130 and the second speaker 120_2 may also be the same (for example, the microphone 130 is located on the center line of the upper cover 140).
The speaker adjustment method of the present embodiment is adapted to the electronic device 100 in
Referring to
In this embodiment, the processor 110 first broadcasts the frequency scanning signal through the first speaker 120_1. The microphone 130 receives the audio signal when the first speaker 120_1 broadcasts the frequency scanning signal, so the processor 110 can obtain the first frequency response of the first speaker 120_1. Then, the processor 110 broadcasts the same frequency scanning signal through the second speaker 120_2. The microphone 130 receives the audio signal when the second speaker 120_2 broadcasts the frequency scanning signal, so the processor 110 can obtain the second frequency response of the second speaker 120_2.
It should be mentioned that when the first speaker 120_1 and the second speaker 120_2 broadcast signals with the same amplitude, the volume influence ratio of the audio signals received by the microphone 130 from the first speaker 120_1 and the second speaker 120_2 is proportional to log (d1/d2). That is, the first frequency response and the second frequency response are associated with the distance d1 and the distance d2, so if the speaker is adjusted directly according to the first frequency response and the second frequency response, such adjustment will result in different adjustment results due to the difference in the positions of the microphone 130.
In step S220, distance information between the microphone and the plurality of speakers is obtained. In order to compensate for the volume influence that might be caused by the distance between the microphone and the plurality of speakers, it is required to obtain information about the distance between the microphone and the plurality of speakers, such as the distance ratio between the microphone and each speaker, or the absolute distance between the microphone and each speaker, etc., the disclosure is not limited thereto.
In this embodiment, the processor 110 can obtain the distance d1 and the distance d2, or obtain the distance ratio d1/d2 between the distance d1 and the distance d2 according to the design of the electronic device 100, that is, the positions where the first speaker 120_1, the second speaker 120_2, and the microphone 130 are disposed on the electronic device 100.
In some embodiments, when the electronic device 100 is a lifting cover electronic device, the closing angle (i.e., the angle between the upper cover 140 and the lower base 150) directly affects the distance information about the microphone 130, the first speaker 120_1, and the second speakers 120_2. On this occasion, the processor 110 may first obtain the closing angle, and then calculate the distance information about the microphone 130, the first speaker 120_1 and the second speaker 120_2 according to the closing angle.
However, the present disclosure provides no limitation to the specific way of obtaining distance information. In other embodiments, the electronic device 100 may also be provided with a distance sensor (not shown) for measuring the distance d1 between the microphone 130 and the first speaker 120_1 and the distance d2 between the microphone 130 and the second speaker 120_2. The processor 110 can directly obtain the distance information through the distance sensor.
In step S230, the plurality of speakers are adjusted according to the obtained plurality of frequency responses and distance information. As described in the previous paragraph, the plurality of frequency responses obtained in step S210 are associated with the distance between the microphone and the plurality of speakers, and thus the distance information between the microphone and the plurality of speakers obtained in step S220 should also be taken into consideration when the plurality of speakers are adjusted according to the frequency responses.
In this embodiment, the distance information obtained by the processor 110 in step S220 is, for example, a distance ratio d1/d2. According to the information, the processor 110 can calibrate the first frequency response and the second frequency response into a first equidistant frequency response and a second equidistant frequency response according to the volume influence ratio log (d1/d2) of the audio signal received by the microphone 130 from the first speaker 120_1 and the second speaker 120_2. The first equidistant frequency response and the second equidistant frequency response respectively represent the frequency responses of the first speaker 120_1 and the second speaker 120_2 respectively after the volume influence caused by the difference in the distances between the microphone 130 and the first speaker 120_1 and the second speaker 120_2 is eliminated. For example, if the distance d1 is greater than the distance d2, the processor 110 may, for example, increase the magnitude (decibel) of the first frequency response and/or reduce the magnitude (decibel) of the second frequency response according to the volume influence ratio log (d1/d2), thereby eliminating the volume influence caused by the difference in the distances between the microphone 130 and the first speaker 120_1 and the second speaker 120_2.
Please refer to
In this embodiment, in order to balance the sound field of the electronic device 100, the processor 110 determines, for example, a target frequency response RT to adjust the outputs of the first speaker 120_1 and the second speaker 120_2 according to the determined target frequency response RT, thereby adjusting the first equidistant frequency response L′ and the second equidistant frequency response R′ toward the target frequency response RT.
The target frequency response RT may be relevant or irrelevant to the plurality of frequency responses obtained in step S210. In some embodiments, the target frequency response RT can be predefined by the user. In some embodiments, the target frequency response RT may be determined by the processor 110 according to the first equidistant frequency response L′ and the second equidistant frequency response R′. For example, the processor 110 may select one of the first equidistant frequency response L′ and the second equidistant frequency response R′ as the target frequency response RT. In another example, the processor 110 may calculate the target frequency response RT by means of the average and/or moving average according to the first equidistant frequency response L′ and the second equidistant frequency response R′. In other words, the present disclosure provides no limitation to the specific determining method of the target frequency response RT, and those having ordinary skill in the art can implement the determining method depending on the needs.
In this embodiment, when adjusting the outputs of the plurality of speakers, the processor 110 adjusts, for example, an equalizer (EQ) corresponding to the first speaker 120_1 and the second speaker 120_2 to adjust the first equidistant frequency response L′ and the second equidistant frequency response R′ toward the target frequency response RT. In this way, the electronic device 100 can have a symmetric and balanced sound field when broadcasting audio through the first speaker 120_1 and the second speaker 120_2.
It should be mentioned that the present disclosure provides no limitation to the specific adjustment items when adjusting the outputs of the plurality of speakers. In addition to the equalizer corresponding to each speaker, the outputs of the speakers can also be adjusted by means of Fast Fourier Transform (FFT) or wavelet transform.
In summary, the speaker adjustment method and the electronic device using the same described in the embodiments of the present disclosure use the same microphone to obtain a plurality of frequency responses of a plurality of speakers, and then adjust the outputs of the plurality of speakers according to the frequency responses. Specifically, when adjusting the outputs of the plurality of speakers according to the frequency responses, the distance information between the microphone and the plurality of speakers is taken into consideration, such that the speaker adjustment method does not need to take into account the individual differences between the microphones in mass production. Meanwhile, it is also possible to eliminate the volume influence caused by different distances between the microphone and the plurality of speakers, thereby achieving good sound field adjustment.
Although the disclosure has been disclosed by the above embodiments, the embodiments are not intended to limit the disclosure. It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the disclosure without departing from the scope or spirit of the disclosure. Therefore, the protecting range of the disclosure falls in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
108115706 A | May 2019 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
5450494 | Okubo | Sep 1995 | A |
6195435 | Kitamura | Feb 2001 | B1 |
20150078596 | Sprogis | Mar 2015 | A1 |
20160021481 | Johnson | Jan 2016 | A1 |
20170215017 | Hartung | Jul 2017 | A1 |
20190253798 | Sekiguchi | Aug 2019 | A1 |
Number | Date | Country |
---|---|---|
108600489 | Sep 2018 | CN |
200623937 | Jul 2006 | TW |
M387444 | Aug 2010 | TW |
2013058728 | Apr 2013 | WO |
Entry |
---|
“Search Report of Europe Counterpart Application”, dated Jun. 15, 2020, p. 1-p. 7. |
Number | Date | Country | |
---|---|---|---|
20200359153 A1 | Nov 2020 | US |