This invention relates in general to electronic devices, and more specifically, to a method and system for improving an electronic circuit.
Electronic devices are used to perform a wide variety of functions. For example, they can be used to play games, play encoded audio files, browse the Internet, and send messages. Examples of electronic devices include, but are not limited to, mobile phones, laptops, palmtops, personal digital assistants (PDAs), and portable music players. One of the areas of growth in electronic devices is related to their capability to play different types of encoded audio files. The encoded audio files have to be decoded before they can be played on the electronic devices. Examples of encoded audio files include, but are not limited to, Motion Picture Experts Group (MPEG) layer 3 (MP3P) files, Advanced Audio Coding (AAC) files, Advanced Audio Coding plus (AAC+) files, Window Media Audio (WMA) files, Waveform Audio (WAV) files, Musical Instrument Digital Interface (MIDI) files, and Ogg vorbis files.
There are various audio file decoders available for decoding encoded audio files. Broadly, audio file decoders can be categorized into hardware audio file decoders and software audio file decoders. Hardware audio file decoders are expensive when compared to software audio file decoders. In addition, hardware audio file decoders consume a lot of space in electronic devices. Conversely, software audio file decoders are relatively less expensive, compared to hardware audio file decoders.
However, software audio file decoders also have their disadvantages. Firstly, they require intensive computation, as a result of which they consume a lot of power. Secondly, they emit more Electromagnetic Interference (EMI) as compared to hardware audio file decoders.
Further, hardware and software decoders decode audio files, independent of the capabilities of an audio output device, to play decoded audio files. Consequently, information in the audio files which cannot be played over the audio output device is also decoded.
The present invention is illustrated by way of example and not limitation in the accompanying figures, in which like references indicate similar elements, and in which:
Skilled artisans will appreciate that elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale. For example, the dimensions of some of the elements in the figures may be exaggerated relative to other elements, to help to improve understanding of embodiments of the present invention.
Before describing in detail the particular method and system for operating an electronic device in accordance with the present invention, it should be observed that the present invention resides primarily in combinations of method steps and apparatus components related to method and system for operating an electronic device. Accordingly, the apparatus components and method steps have been represented where appropriate by conventional symbols in the drawings, showing only those specific details that are pertinent to understanding the present invention, so as not to obscure the disclosure with details that will be readily apparent to those of ordinary skill in the art having the benefit of the description herein.
The terms such as “comprises,” “comprising”, “includes”, “including”, or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element preceded by “comprises . . . a” does not, without more constraints, preclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element. The term “another”, as used herein, is defined as at least a second or more. The terms “including” and/or “having”, as used herein, are defined as comprising. The term “coupled”, as used herein with reference to electro-optical technology, is defined as connected, although not necessarily directly, and not necessarily mechanically. The term “program”, as used herein, is defined as a sequence of instructions designed for execution on a computer system. A “program”, or “computer program”, may include a subroutine, a function, a procedure, an object method, an object implementation, an executable application, an applet, a servlet, a source code, an object code, a shared library/dynamic load library and/or other sequence of instructions designed for execution on a computer system.
In an embodiment of the present invention, a method of operating an electronic device coupled to an audio output device is provided. The audio output device has a spectral response. The electronic device receives an encoded audio file. After the encoded audio file is received, it is selectively decoded in correspondence with the spectral response of the audio output device. The encoded audio file is selectively decoded to provide decoded audio data. Further, the decoded audio data is played over the audio output device.
In another embodiment of the present invention, an electronic device is provided. The electronic device includes an aggregator and a filter. The aggregator combines a plurality of channels in a frequency spectrum of an encoded audio file into a single channel, to generate decoded audio data. The output of the aggregator is provided to the filter, which limits the decoded audio data to one or more frequency bands in the frequency spectrum of the encoded audio file.
In an embodiment of the present invention, the decoded audio data is stored in a predefined format in, for example, the storage module 110. Examples of the predefined format include, but are not limited to, a Motion Picture Experts Group (MPEG) layer 3 (MP3) file, an Advanced Audio Coding (AAC) file, an Advanced Audio Coding plus (AAC+) file, a Window Media Audio (WMA) file, a Waveform Audio (WAV) file, a Musical Instrument Digital Interface (MIDI) file, and an Ogg vorbis file. In this embodiment, the decoded audio data stored in the storage module 110 can be provided to the audio output device 104. In an embodiment of the present invention, the decoded audio data is stored in a format, which is different from the format of the encoded audio file. For example, if the encoded audio file is in the MP3 format the decoded audio data is stored in the WAV format.
At step 204, the decoded audio data is played over the audio output device 104. In an embodiment of the present invention, the electronic device 102 can operated in either a power-saving mode or a performance mode. In the power-saving mode, the encoded audio file is selectively decoded to reduce the processing power and the number of instructions (referred to as Million Instructions per Second (MIPS)) used in decoding the encoded audio file. In the performance mode, the complete frequency spectrum of the encoded audio file is decoded.
If it is determined at step 406 that the power-saving mode has been selected, then, at step 408, a plurality of channels in a frequency spectrum of the encoded audio file are combined into a single channel, to generate decoded audio data. In an embodiment of the present invention, the aggregator 106 combines the plurality of channels in the frequency spectrum of the encoded audio file. In another embodiment of the present invention, the plurality of channels in the encoded audio file are combined into a single channel to reduce the required processing power. In yet another embodiment of the present invention, the plurality of channels in the encoded audio file are combined into a single channel as the audio output device 104 may be capable of playing only a monophonic audio file. At step 410, configuration parameters of the audio output device 104 that is operably coupled to the electronic device 102 are obtained. In an embodiment of the present invention, the configuration parameters are obtained from the storage module 110 of the electronic device 102. At step 412, the single channel in the decoded audio data is limited to one or more frequency bands in a frequency spectrum of the encoded audio file, based on the configuration parameters of the audio output device 104. At step 414, the encoded audio file is decoded, for the one or more bands in the frequency spectrum of the encoded audio file. In an embodiment of the present invention, the decoded audio data is stored in a predefined format in the storage module 110. In this embodiment, the decoded audio data stored in the storage module 110 can be provided to the audio output device 104. If at step 404, performance mode is selected, then at step 416 the complete spectrum of the encoded audio file is decoded.
Various embodiments of the present invention provide a method and system for operating the electronic device 102. The electronic device 102 is operated by selectively decoding an audio file. The audio file is selectively decoded, since only one or more frequency bands in the frequency spectrum of the encoded audio file is decoded.
Various embodiments of the present invention provide a method of and system for reducing the processing power needed to decode an encoded audio file. In an embodiment of the invention, combining a plurality of channels in the encoded audio file to a single channel can reduce the required processing power to approximately half of the original processing power. Similarly, limiting the single channel to one or more frequency bands reduces the required processing power proportionally to the reduction in frequency bands. A combination of the above-mentioned steps can further reduce the required processing power. The reduction in processing power allows processor clocks to run at lower frequencies which in turn reduces the Electromagnetic Interference (EMI).
Moreover, an embodiment can be implemented as a computer usable medium having computer readable program code stored thereon for programming a computer (e.g., comprising a processor) to perform a method as described and claimed herein.
In the foregoing specification, the invention and its benefits and advantages have been described with reference to specific embodiments. However, one of ordinary skill in the art appreciates that various modifications and changes can be made without departing from the scope of the present invention as set forth in the claims below. Accordingly, the specification and figures are to be regarded in an illustrative rather than a restrictive sense, and all such modifications are intended to be included within the scope of present invention. The benefits, advantages, solutions to problems, and any element(s) that may cause any benefit, advantage, or solution to occur or become more pronounced are not to be construed as a critical, required, or essential features or elements of any or all the claims. The invention is defined solely by the appended claims including any amendments made during the pendency of this application and all equivalents of those claims as issued.
Number | Name | Date | Kind |
---|---|---|---|
5367301 | Stiltner et al. | Nov 1994 | A |
5586193 | Ichise et al. | Dec 1996 | A |
5838678 | Davis et al. | Nov 1998 | A |
5881245 | Thompson | Mar 1999 | A |
5923361 | Sutton, Jr. | Jul 1999 | A |
6313386 | Capobianco et al. | Nov 2001 | B1 |
6788982 | Lapstun et al. | Sep 2004 | B1 |
6799273 | Oishi et al. | Sep 2004 | B1 |
6816444 | Hayakawa et al. | Nov 2004 | B1 |
6925340 | Suito et al. | Aug 2005 | B1 |
6985783 | Li et al. | Jan 2006 | B2 |
20030023429 | Claesson et al. | Jan 2003 | A1 |
20030033449 | Frantz et al. | Feb 2003 | A1 |
20030060911 | Chan et al. | Mar 2003 | A1 |
20030158737 | Csicsatka | Aug 2003 | A1 |
20030171937 | Fukumoto | Sep 2003 | A1 |
20030187634 | Li | Oct 2003 | A1 |
20040083493 | Swisher et al. | Apr 2004 | A1 |
20040098739 | Rakib | May 2004 | A1 |
20040255322 | Meadows et al. | Dec 2004 | A1 |
20050053249 | Wu et al. | Mar 2005 | A1 |
20050102438 | Nakagawa | May 2005 | A1 |
20050107120 | Yueh | May 2005 | A1 |
20050171795 | Kearby et al. | Aug 2005 | A1 |
20050240414 | Tominaga | Oct 2005 | A1 |
20060052129 | Hong et al. | Mar 2006 | A1 |
20070155332 | Burgan et al. | Jul 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20070130187 A1 | Jun 2007 | US |