1. Technical Field
The present disclosure relates to electronic devices, and particularly, relates to an electronic device for converting audio file formats.
2. Description of Related Art
The multichannel audio file like Dolby® Surround 5.1 is close representation of the original features of sound. However, many apparatuses do not support the multichannel audio file. Therefore there is room for improvement in the art.
The components of the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments of the electronic device for converting audio file formats. Moreover, in the drawings, like reference numerals designate corresponding parts throughout several views.
Referring to
The electronic device 1 includes a storage unit 11, a processor 12, a high-pass filter (HPF) 13 and a low-pass filter (LPF) 14. The storage unit 11 stores a multichannel audio file 111, a dual channel audio file 112, a mixed matrix 113 and a decoding matrix 114, wherein the dual channel audio file 112 is converted from the multichannel audio file 111. The multichannel audio file 111 has several channel signals (not shown in
In some embodiment, the multichannel audio file 111 is a Dolby® Surround 5.1 audio file. Dolby® Surround 5.1 audio file includes a center channel signal, a left channel signal, a left surround channel signal, a right channel signal, a right surround channel signal, and a Low Frequency Effects (LFE) channel. A left channel group and a right channel group are established, wherein the left channel group includes the center channel signal, the left channel signal and the left surround channel signal; and the right channel group includes the center channel signal, the right channel signal and the right surround channel signal. The center channel signal is simultaneously counted as one channel signal of the left channel group and one channel signal of the right channel group. As a result, N is 3.
The mixed matrix 113 is for converting the multichannel audio file 111 to the dual channel audio file 112, and the decoding matrix 114 is for reverting the dual channel audio file 112 back to the multichannel audio file 111. The mixed matrix 113 is invertible, and the decoding matrix 114 is the inverse of the mixed matrix 113. The mixed matrix 113 and the decoding matrix 114 are related to the number of channel signals included in the multichannel audio file 111.
More specifically, the count of rows and the count of columns of the mixed matrix 113 and the decoding matrix 114 are corresponding to the number of the channel signals in the left channel group or the right channel group (which is N). In sum, the mixed matrix 113 and the decoding matrix 114 are both N×N matrix in this embodiment. The multi-to-dual channel converting module 121 is utilized to convert the multichannel audio file 111 to the dual channel audio file 112, and the dual-to-multi channel converting module 122 is utilized to convert the dual channel audio file 112 to the multichannel audio file 111.
As the left channel group 1111 and right channel group both have N channel signals, the multi-to-dual channel converting module 121 mixes the N channel signals of the left channel group 1111 to form N left mixed signal, and mixes the N channel signals of the right channel group to form N right mixed signals (S203). The left mixed signals are similar with each others, so does the right mixed signals.
Referring to
The first row of the mixed matrix 113 are the mixing factors respectively relating to the left channel signal 1112, the left surround channel signal 1113 and the center channel signal 1114, for calculating the first mixed signal 1115. The second row of the mixed matrix 113 are the mixing factors respectively relating to the left channel signal 1112, the left surround channel signal 1113 and the center channel signal 1114, for calculating the second mixed signal 1116. The third row of the mixed matrix 113 are the mixing factors respectively relating to the left channel signal 1112, the left surround channel signal 1113 and the center channel signal 1114, for calculating the third mixed signal 1117.
For maintaining the quality of the sound, the mixing factors are adjusted according to the audio file features of Dolby® Surround 5.1 and the way that the human ear senses sound, to make the original left channel signal 1113 and the original left surround channel signal 1113 play the leading roles in those left mixed signal. Moreover, those mixing factors are similar with each others, to make the first mixed signal 1115, the second mixed signal 1116 and the third mixed signal 1117 be similar with each other. Meanwhile, the mixing factors of the mixed matrix 113 shown in above-mentioned figure are just examples according to the exemplary embodiment. They are adjustable as appropriate.
After the step 203, the multi-to-dual channel converting module 121 cross embeds the 3 (N) left mixed signals, which are first mixed signal 1115, second mixed signal 1116 and third mixed signal 1117, to form a left channel audio signal 311. Similarly, the 3(N) right mixed signals are cross embedded to form a right channel audio signal (not shown in
Furthermore, cross embedding means to sample the N left mixed signals and the N right mixed signals simultaneously in a sampling rate, then mix the data sampling from every sampling point of the N left mixed signals to form the left channel audio signal 311, and mix the data sampling from every sampling point of the N right mixed signals to form the right channel audio signal. As shown in
For producing low bass sound to the converted dual channel audio file 112, adding a low bass channel signal to the dual channel audio file 122 (S205). Sample an original low bass signal (not shown) of the multichannel audio file 111, which is the LFE channel signal in the embodiment as mentioned above, in a low bass sampling rate. The low bass sampling rate is N times larger than the sampling rate of the multichannel audio file 111. Then a low bass channel signal 1118 is therefore produced. Superimpose the low bass channel signal 1118 to the left channel audio signal 311 and the right channel audio signal respectively in a proportion of “a”, for obtaining the dual channel audio file 112 with low bass effect. In this embodiment, the value of a is preferably 0.2.
It is assumed that the sampling rate of the multichannel audio file 111 is Fs. Sampling the dual channel audio file 112 in the same sampling rate as Fs, but outputting the dual channel audio file 112 in N times sampling rate (N×Fs) when broadcasting, which helps maintaining the quality of the sound.
Referring to
Next, the dual-multi converting module 112 isolates and deletes the low bass channel signals which has superimposed to the dual channel audio file 112 from the first signal 313, the second signal 314, the third signal 315, the forth signal 316, the fifth signal 317 and the sixth signal 318 (S403), since the multichannel audio file 111 has the original low bass channel signal in this embodiment. In detailed, making the recombined signals 313-318 pass the LPF (low-pass filter) 14 and averaging the outputs to isolate a low bass signal 307. And then, accordingly deleting it from the recombined signals 313-318 by passing the recombined signals 313-318 through the HPF (high-pass filter) 13.
Afterwards, the dual-multi converting module 112 respectively decoding the N signals 313-315 of the left channel part and the N signals 316-318 of the right channel part according to the decoding matrix 114 (S404). As shown in
The dual-multi converting module 112 averages the converted center channel signal 303 of the left channel part and the converted center channel signal 306 of the right channel part, then sending the averaged output through the HPF (high-pass filter) 13 to get a converted center channel signal 308 (S405).
The decoding matrix 114 is the inverse of the mixed matrix 113. It is assumed that the mixed matrix 113 is:
than the decoding matrix 114 should be:
The dual channel audio file 112 is therefore converted back to the multichannel audio file 111.
It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the disclosure or sacrificing all of its material advantages, the examples hereinbefore described merely being preferred or exemplary embodiments of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2011 1 0135198 | May 2011 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
7840411 | Hotho et al. | Nov 2010 | B2 |
20060165184 | Purnhagen et al. | Jul 2006 | A1 |
20080219475 | Oh et al. | Sep 2008 | A1 |
20100153118 | Hotho et al. | Jun 2010 | A1 |
Number | Date | Country |
---|---|---|
1898991 | Jan 2007 | CN |
101036414 | Sep 2007 | CN |
101154420 | Apr 2008 | CN |
Number | Date | Country | |
---|---|---|---|
20120300946 A1 | Nov 2012 | US |