1. Field of the Invention
The present invention relates to an audio system, device and method, and more particularly to a system, device and method for smoothing audio waveforms.
2. Description of Related Art
As science and technology advance rapidly, products with a music playing function are used extensively in our daily life. For example, handheld music players are usually used for listening to music and killing time while riding a bus or a mass rapid transit.
However, the sound volume of the playing music may vary with different amplitudes, and users have to adjust the sound volume manually, thereby causing inconvenience to the music appreciation. The range of the sound volume of a handheld music player is very narrow due to the cost concern of the hardware, so that a crushing sound effect may occur while playing music with a relatively high sound volume. It will be very convenient for users to play music, if the handheld music player comes with an automatic sound volume adjustment.
With reference to R.O.C. Pat. Publication No. I305321 entitled “A hearing protection system and method and a sound output device”, a sound output device with a hearing protection function is disclosed. A sound volume exceeding a predetermined power volume will be lowered automatically by calculating an amplitude value, and a hearing protection signal or a visual protection signal is generated. However, it may scare a user when the hearing or visual protection signal appears suddenly. When the sound volume exceeding the predetermined power value, a higher music amplitude value will be disconnected directly so as to affect the user's fun of listening to the music.
Therefore, the inventor of the present invention developed an audio smoothing system and method to overcome the shortcomings of the prior art. The system and method are provided for smoothing a sound corresponding to an audio waveform to generate a smoothed waveform, such that the audio waveform is free of high and sharp amplitudes, and the higher music amplitude value is not cut off directly while appearing any higher music amplitude values, thereby maintaining the smoothness of the playing music.
In view of the prior art, the hearing protection system lowers the sound exceeding a predetermined sound volume automatically and generates the hearing protection signal or the visual protection signal suddenly which may scare a user. Moreover, the hearing protection system will disconnect the higher music amplitude value while the sound volume exceeds the maximum predetermined power value. Therefore, the primary object of the present invention is to provide an audio smoothing system for smoothing a sound corresponding to an audio waveform to generate a smoothed waveform.
For solving the problem in the prior art, a technical means in accordance with the present invention is to provide an audio smoothing system for smoothing an audio waveform to generate a smoothed waveform. The system comprises an audio generator, an audio smoothing device and an operating interface. The audio generator is used for generating the audio waveform. The audio smoothing device is electrically coupled to the audio generator for receiving the audio waveform and dividing the audio waveform according to a predetermine cycle time to form a plurality of adjacent waveform intervals comprising a first waveform interval, a second waveform interval and a third waveform interval.
An average waveform amplitude of the first waveform interval is a first average waveform amplitude, the average waveform amplitude of the first waveform interval is a second average waveform amplitude, and the average waveform amplitude of the first waveform interval is a third average waveform amplitude. Each of the waveform intervals is further divided into a front waveband, a middle waveband, and a rear waveband by the audio smoothing device.
The operating interface is electrically coupled to the audio smoothing device. An input sound volume can be set by a user and be transmitted to the audio smoothing device via the operating interface. Wherein, the input sound volume is divided by the first average waveform amplitude, the second average waveform amplitude, and the third average waveform amplitude by the audio smoothing device to generate correspondingly a first waveform parameter, a second waveform parameter and a third waveform parameter, respectively.
Further, the audio smoothing device calculates the average of the first waveform parameter and the second waveform parameter to obtain a front waveband parameter, and calculates the average of the second waveform parameter and the third waveform parameter to obtain a rear waveband parameter. The second waveform parameter is a middle waveband parameter. The front waveband parameter, middle waveband parameter and rear waveband parameter are multiplied respectively with the amplitude values of the front waveband, middle waveband, and rear waveband to obtain the smoothed waveform.
Compared to the hearing protection system in the prior art, the audio smoothing system of the present invention is to divide the audio waveform according to the predetermine cycle time and calculate the amplitude values of the audio waveform and corresponding parameters to generate the smoothed waveform. Consequently, the audio waveform can be formed into the smoothed waveform via the audio smoothing system. Obviously, the audio waveform in accordance with the present invention can be certainly formed into the smoothed waveform by calculating such that the music audio signal is smooth while the user is listening and there is no suddenly strong amplitude to make the user's ears hurt.
With these and other objects, advantages, and features of the invention that may become hereinafter apparent, the nature of the invention may be more clearly understood by reference to the detailed description of the invention, the embodiments and to the several drawings herein.
Those of ordinary skilled in the art will realize that the following detailed description of the exemplary embodiments is illustrative only and is not intended to be in any way limiting. Other embodiments will readily suggest themselves to such skilled persons having the benefit of this disclosure. Reference will now be made in detail to implementations of the exemplary embodiments as illustrated in the accompanying drawings.
Please refer to
Please also refer to
Please refer to
The audio generator 12 is used for generating and outputting the audio waveform. After the audio waveform is received by the audio smoothing device 11, the audio waveform is divided according to the predetermine cycle time by the waveform divider 111. The audio waveform is divided into a plurality of waveform intervals. In this embodiment, the audio waveform is divided into three waveform intervals comprising the first waveform interval A, the second waveform interval B and the third waveform interval C adjacently for taking as an example. The second waveform interval B is further divided into a front waveband D2, a middle waveband E2 and a rear waveband F2 by the waveform divider 111. Similarly, the first waveform interval A is divided into a front waveband D1, a middle waveband E1 and a rear waveband F1, and the third waveform interval C is divided into a front waveband D3, a middle waveband E3 and a rear waveband F3. Wherein, the waveform interval can be divided into the front waveband, the middle waveband and the rear waveband according to time, proportion or equipartition as the basis of division.
A user can use the operating interface 3 to generate and transmit input sound volume to the audio smoothing device 11.
After being divided by the waveform divider 111, the audio waveform is transmitted to the calculator 112 for calculating average waveform amplitudes of the first waveform interval A, the second waveform interval B and the third waveform interval C, respectively. The average waveform amplitude of the first waveform interval A is a first average waveform amplitude, and the average waveform amplitude of the second waveform interval B is a second average waveform amplitude, and the average waveform amplitude of the third waveform interval C is a third average waveform amplitude.
The input sound volume is divided by the first average waveform amplitude, the second average waveform amplitude and the third average waveform amplitude to generate respectively a first waveform parameter, a second waveform parameter and a third waveform parameter by the calculator 112. Next, the average of the first waveform parameter and the second waveform parameter is calculated to obtain a front waveband parameter, wherein the second waveform parameter is a middle waveband parameter, and the average of the second waveform parameter and the third waveform parameter is a rear waveband parameter.
For the initial audio waveform, the divided first waveform interval has no preceding adjacent waveform interval, and the terminal waveform interval has no succeeding adjacent waveform interval. Thus, how to smooth the initial waveform interval and terminal waveform interval of the audio waveform will be demonstrated as follows.
The waveform intervals are obtained by using waveform divider 111. Wherein, the divided first waveform interval having no preceding adjacent waveform interval is the initial waveform interval, and the terminal waveform interval having no succeeding adjacent waveform interval is the terminal waveform interval. The initial waveform interval is divided into an initial front waveband and an initial rear waveband, and the terminal waveform interval is divided into a terminal front waveband and a terminal rear waveband. Subsequently, the input sound volume is divided respectively by the average waveform amplitudes of the initial waveform interval and the terminal waveform internal by the calculator 112 to obtain an initial waveform parameter and a terminal waveform parameter, respectively.
Further, the initial waveform parameter is equivalent to an initial front waveband parameter, and the terminal waveform parameter is equivalent to a terminal rear waveband parameter. Furthermore, the calculator 112 calculates the average of the initial waveform parameter and the waveform parameter of an adjacent waveform interval succeeding to the initial waveform interval to obtain an initial rear waveband parameter, and calculates the average of the terminal waveform parameter and the waveform parameter of an adjacent waveform interval preceding to the terminal waveform interval to obtain a terminal front waveband parameter.
Please refer to
Finally, in order to spread the technique of the present invention, a simple flowchart is provided by compiling the above-mentioned techniques such that the skilled in the art can remember more easily.
Please refer to
In step 120, average waveform amplitudes of the first waveform interval, the second waveform interval and the third waveform interval are calculated respectively, wherein an average waveform amplitude of the first waveform interval is a first average waveform amplitude, and the average waveform amplitude of the second waveform interval is a second average waveform amplitude, and the average waveform amplitude average of a third waveform interval is the third average waveform amplitude.
In step 130, each of the waveform intervals is divided into a front waveband, a middle waveband and a rear waveband, wherein the amplitudes of the audio waveform corresponding to the waveform intervals have corresponding amplitude values.
In step 140, an input sound volume is set.
In step 150, the input sound volume is divided by the first average waveform amplitude, the second average waveform amplitude, and the third average waveform amplitude to generate a first waveform parameter, a second waveform parameter and a third waveform parameter, respectively.
In step 160, an average of the first waveform parameter and the second waveform parameter is calculated to obtain a front waveband parameter, wherein the second waveform parameter is a middle waveband parameter, and an average of the second waveform parameter and the third waveform parameter is calculated to obtain a rear waveband parameter.
In step 170, the front waveband parameter, the middle waveband parameter and the rear waveband parameter are respectively multiplied with the amplitude values of the audio waveforms corresponding to the front waveband, the middle waveband and the rear waveband to obtain a smoothed waveform.
While particular embodiments of the present invention have been shown and described, it will be obvious to those skilled in the art that, based upon the teachings herein, changes and modifications may be made without departing from this invention and its broader aspects. Therefore, the appended claims are intended to encompass within their scope of all such changes and modifications as are within the true spirit and scope of the exemplary embodiments of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2009 1 0052899 | Jun 2009 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
4114498 | Chibana et al. | Sep 1978 | A |
5627334 | Hirano et al. | May 1997 | A |
6169240 | Suzuki | Jan 2001 | B1 |
6184455 | Tamura | Feb 2001 | B1 |
7626113 | Kuroda | Dec 2009 | B2 |
7908134 | Felber | Mar 2011 | B1 |
20100056198 | Tachibana | Mar 2010 | A1 |
20110106209 | Saoji | May 2011 | A1 |
Number | Date | Country |
---|---|---|
I305321 | Jan 2009 | TW |
Number | Date | Country | |
---|---|---|---|
20100313738 A1 | Dec 2010 | US |