The present invention relates to a method of automatically adjusting sound output, particularly to a method of automatically adjusting sound output after receiving a human voice message.
As mobile devices become popular, more and more people are accustomed to listening to music or watching videos on mobile devices such as cell phones or tablets. To avoid affecting others when listening to music or watching videos on such devices in public places, people use headphones to output the sound. However, because the headset is placed close to the ears when being used, people cannot easily hear what a nearby person says, so they often need to remove the headset or pause the music or video in order to communicate clearly with others, which is quite inconvenient.
Therefore, it is necessary to develop a solution to the problem.
It is a major objective of the present invention to provide a method of automatically adjusting sound output after receiving a voice message and an electronic device capable of implementing the method.
To achieve the objective described above, the method of automatically adjusting sound output of the present invention is applicable to an electronic device which includes a sound player, a microphone, and an audio signal processing unit. The method of automatically adjusting sound output of the present invention includes the following steps: receiving a sound message via the microphone; analyzing the sound message to determine whether the sound message is a voice message, performed by the audio signal processing unit; and controlling a sound player to stop playing sound or to lower the volume of the sound, performed by the audio signal processing unit.
The present invention further provides an electronic device capable of implementing the method of automatically adjusting sound output described above. The electronic device includes a sound player, a microphone, and an audio signal processing unit. The microphone is used for receiving a sound message. The audio signal processing unit is electrically connected to the sound player and the microphone and includes a sound analysis module and a control module. The sound analysis module is used for analyzing a sound message to determine whether the sound message is a voice message. The control module is signally connected to the sound analysis module and used for controlling the sound player to stop playing sound or to lower the volume of the sound.
Hereafter, the technical content of the present invention will be better understood with reference to the preferred embodiment.
Hereafter, please first refer to
As shown in
In an embodiment of the present invention, the sound player 10 may be headphones used for playing sound.
In an embodiment of the present invention, the microphone 20 is used for receiving a sound message 21 outside the electronic device 1.
In an embodiment of the present invention, the audio signal processing unit 30 may be an audio processing chip electrically connected to the sound player 10 and the microphone 20. The audio signal processing unit 30 can process input sound signals generated by the microphone 20 or other components (e.g., a processor) to generate an output sound signal; after the output sound signal is transmitted to the sound player 10 or other sound playback device (e.g., a speaker), the sound player 10 or other sound playing device can play sound in accordance with the output sound signal. Since the codec of the audio signal is a conventional technique, its principles and implementation are well known to those skilled in the art and are not the key of patentability of the present invention. Thus, it will not be described in detail hereinafter.
In an embodiment of the present invention, the audio signal processing unit 30 includes a sound analysis module 31 and a control module 32, wherein the control module 32 is signally connected to the sound analysis module 31. It should be noted here that the sound analysis module 31 and the control module 32 may not only be configured as hardware devices, software programs, firmware, or combinations thereof, but may be configured as a circuit loop or other suitable types. Also, each of the modules can be configured individually or in combination. Additionally, the preferred embodiment of the present invention described here is only illustrative. To avoid redundancy, not all the possible combinations of changes are documented in detail. However, it shall be understood by those skilled in the art that each of the modules or elements described above may not be necessary. For the implementation of the present invention, the present invention may also contain other detailed, conventional modules or elements. Each module or component can be omitted or modified depending on design requirements. Other modules or elements may not necessarily exist between any two of the modules.
In an embodiment of the present invention, the sound analysis module 31 is used for analyzing a sound message 21 received by the microphone 20 to determine whether the sound message 21 is a voice message (i.e., a human voice). In a specific embodiment, the sound analysis module 31 includes a segment cutting unit 312 and a vowel checking unit 314, wherein the segment cutting unit 312 is used for cutting the sound message 21 into a plurality of sound segments and the vowel checking unit 314 is used for checking whether one of the plurality of sound segments is a vowel segment and for detecting that the sound message 21 is a voice message when it is determined that one of the sound segments is a vowel segment. The method of determining vowel segments is a conventional technique. The specific principle and the implementation of the method are described in U.S. Pat. No. 9,311,933B2 (METHOD OF PROCESSING A VOICE SEGMENT AND HEARING AID); e.g., checking whether a voice segment has a harmonic phenomenon. It should be noted that the method described in the literature is only one of the existing vowel detection methods and that the method of automatically adjusting sound output of the present invention is not limited to the method of implementing vowel detection. It should be understood that any method of recognizing consonants and vowels may be utilized in the present invention.
In an embodiment of the present invention, the control module 32 is used for controlling the sound player 10 to stop playing sound or to lower the volume of the sound played by the sound player 10 when the sound analysis module 31 determines that the sound message 21 is a voice message. Also, once the sound player 10 stops playing the sound, the control module 32 also controls the sound player 21 to play the sound message 21 received by the microphone 20.
Please refer to
First, in Step S201: Receiving a sound message via a microphone.
The method of automatically adjusting sound output disclosed in the present invention is used for automatically adjusting sound output of the electronic device 1 after the electronic device 1 receives a voice message. Thus, the first step in the method is to use a microphone 20 of an electronic device 1 to receive a sound message 21 outside the electronic device 1.
In Step S202: analyzing the sound message to determine whether the sound message is a voice message.
After Step S201 is completed, the audio signal processing unit 30 of the electronic device 1 then analyzes the sound message 21 received by the microphone 20 to determine whether the sound message 21 is a voice message. Please refer to
In Step S203: controlling the sound player to stop playing sound, and controlling the sound player to play the sound message.
In an embodiment of the present invention, after it is determined that the sound message 21 received by the microphone 20 is a voice message, the control module 32 of the audio signal processing unit 30 controls the sound player 10 to stop playing sound and controls the sound player 10 to play the sound message 21 received by the microphone 20. For example, assume that a user is listening to music through the sound device 10 of the electronic device 1; at this point, if a person talks to the user, the sound player 10 will stop playing music and play the words of the person after the above method is performed.
As described above, the objective, means, and efficiency of the present invention are all different from conventional characteristics in the prior art. It will be appreciated if the committee can review and grant a patent to benefit society. However, it should be noted that the described embodiments are only for illustrative and exemplary purposes and that various changes and modifications may be made to the described embodiments without departing from the scope of the invention as disposed by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
105130911 A | Sep 2016 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
6868385 | Gerson | Mar 2005 | B1 |
9311933 | Young et al. | Apr 2016 | B2 |
9313582 | Chao | Apr 2016 | B2 |
9318107 | Sharifi | Apr 2016 | B1 |
9514752 | Sharifi | Dec 2016 | B2 |
20050190903 | Viikki | Sep 2005 | A1 |
20050192805 | Kudoh | Sep 2005 | A1 |
20060109983 | Young | May 2006 | A1 |
20070071206 | Gainsboro | Mar 2007 | A1 |
20070213092 | Geelen | Sep 2007 | A1 |
20090061837 | Chaudhri | Mar 2009 | A1 |
20110182283 | Van Buren | Jul 2011 | A1 |
20120253823 | Schalk | Oct 2012 | A1 |
20130339031 | Yoon | Dec 2013 | A1 |
20140172990 | Wan | Jun 2014 | A1 |
20140358530 | Young | Dec 2014 | A1 |
20150023512 | Shennib | Jan 2015 | A1 |
20170025124 | Mixter | Jan 2017 | A1 |
20170164124 | Shennib | Jun 2017 | A1 |