Method and Apparatus for Volume Adjustment
A method and an apparatus for adjusting volume are provided. A determining module receives a sound input signal, wherein the sound input signal is connected to a plurality of sound input sources and corresponds to one of the said sound input sources, the determining module further determines the corresponding sound input source of the sound input signal is different; a storing module stores a plurality of sound output records; a first calculating module calculates a sound output signal according to the sound input signal and the sound output records.
Latest AVERMEDIA TECHNOLOGIES, INC. Patents:
- Cooperative computing device and cooperative computing method thereof
- Imaging device and imaging method using feature compensation
- Audio mixing and signal transmission method for network streaming
- Network information transmission method and network information transmission system
- Video signal conversion device and method thereof
The present application is based on, and claims priority from, Taiwan Application Serial Number 96141246, filed on Nov. 1, 2007, the disclosure of which is hereby incorporated by reference herein in its entirety.
BACKGROUND1. Field of Invention
The present invention relates to a method and an apparatus for volume adjustment. More particularly, the present invention relates to a method and an apparatus that calculates a sound input signal and sound output record to adjust the volume.
2. Description of Related Art
Electronic entertainment devices have become more important due to an increase in leisure time of people. Multimedia entertainment in particular has become more popular since the quality of various media formats such as DVD, MP3, SACD have greatly improved.
Thus, a sound output device may be connected to various sound input sources. For example, a speaker used in a computer may receive different sound input sources from DVD players, MP3 players, CD players, and microphones and the sound effects from application software, etc. The volume of these different sound input sources may differ because the volume levels from the sources are substantially different or the volume settings of these players are different. A sudden difference in volume may occur when different sound input sources are chosen. If there is only a small difference between the volumes of two sequential audio input devices, listeners may only feel a little uncomfortable. However, if there is a large difference between the volumes of two sequential audio input devices, listeners may feel uncomfortable be irritated by the inconvenience.
Accordingly, what is needed is a method and an apparatus for automatic volume adjustment to overcome the above issues. The present invention addresses such a need.
SUMMARYThe invention provides a method for volume adjustment comprising the steps of receiving a sound input signal, wherein the sound input signal is connected to a plurality of sound input sources and corresponds to one of the said sound input sources; determining the corresponding sound input source of the sound input signal is different; reading a plurality of sound output records; and calculating a sound output signal according to the sound input signal and the sound output records.
Another object of the present invention is to provide an apparatus to adjust the volume comprising: a determining module for receiving a sound input signal, wherein the sound input signal is connected to a plurality of sound input sources and corresponds to one of the said sound input sources, the determining module further determines the corresponding sound input source of the sound input signal is different; a storing module for storing a plurality of sound output records; and a first calculating module for calculating a sound output signal according to the sound input signal and the sound output records.
The present invention calculates the sound input signal and the sound output records to produce an appropriate sound output signal such that the volume output level won't differ significantly when sound input source is switched, and won't cause any disturbance to the listener.
These and other features, aspects, and advantages of the present invention will become better understood with reference to the following description and appended claims.
It is to be understood that both the foregoing general description and the following detailed description are by examples, and are intended to provide further explanation of the invention as claimed.
The invention can be more fully understood by reading the following detailed description of the embodiment, with reference made to the accompanying drawings as follows:
Reference will now be made in detail to the present embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
Please refer to
A more detailed block diagram of the volume adjustment apparatus is as shown in
average volume=10 log(Σi=1nY[i]2)
The first calculating module 24 comprises a comparator 240 and a multiplier 241. The comparator 240 receives the first average volume 25 and the second average volume 27 and calculates an offset value 29 according to the first average volume 25 and the second average volume 27; then the multiplier 241 multiplies the offset value 29 and sound input signal 21 to generate a sound output signal 3, wherein the best function for the generation of the offset value 29 and sound output signal 3 can be derived from experimentations to make the difference between the sound output signal 3 and the sound input signal 21 be in a reasonable range. People skilled in this field can easily understand how to find the best function. Thus the detail is not described here.
The second embodiment of the present invention is a method for volume adjustment, wherein the method is adapted in an apparatus for volume adjustment as described in the first embodiment. Please refer to
In addition to the steps described above, the second embodiment can also execute the operations and functions described in the first embodiment. People skilled in this field can directly understand how the second embodiment executes these operations and functions based on the first embodiment described above. Thus the detail is not described here.
Accordingly, the present invention calculates sound input signal and sound output records to produce an appropriate sound output signal such that the volume won't have huge difference during the switching of the sound input source, and won't cause disturbance to the user.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims.
Claims
1. A volume adjustment method comprising the steps of:
- receiving a sound input signal, wherein the sound input signal is connected to a plurality of sound input sources and corresponds to one of the said sound input sources
- determining the corresponding sound input source of the sound input signal is different;
- reading a plurality of sound output records; and
- calculating a sound output signal according to the sound input signal and the sound output records.
2. The volume adjustment method of claim 1 wherein the step of calculating the sound output signal further comprises the steps of:
- calculating a first average volume according to the sound output records;
- calculating a second average volume according to the sound output records;
- calculating an offset value according to the first average volume and the second average volume; and
- calculating the sound output signal according to the offset value and the sound input signal.
3. The volume adjustment method of claim 1 wherein the volume adjustment method is adapted in a volume adjustment apparatus in a TV card.
4. An apparatus for volume adjustment comprises:
- a determining module for receiving a sound input signal, wherein the sound input signal is connected to a plurality of sound input sources and corresponds to one of the said sound input sources, the determining module further determines the corresponding sound input source of the sound input signal is different;
- a storing module for storing a plurality of sound output records; and
- a first calculating module for calculating a sound output signal according to the sound input signal and the sound output records.
5. The apparatus of claim 4 further comprising a second calculating module for calculating a first average volume and a second average volume according to the sound output records.
6. The apparatus of claim 5, wherein the first calculating module comprises
- a comparator for calculating an offset value according to the first and the second average volume; and
- a multiplier for calculating the sound out put signal according to the offset value and the sound input signal.
7. The apparatus of claim 4, wherein the apparatus is adapted in a TV card.
Type: Application
Filed: Dec 13, 2007
Publication Date: May 7, 2009
Applicant: AVERMEDIA TECHNOLOGIES, INC. (Chung Ho City)
Inventors: Yung-Da Lin (Chung Ho City), Wei-Che Chang (Chung Ho City)
Application Number: 11/955,661