In the following embodiments, a hearing protection function incorporated in an audio processing system, such as a portable audio player, is depicted. The audio processing system of the present invention prevents a user from hearing damage while the user is listening to audio file. The following detailed description of the embodiments is made with reference to the attached drawings.
When the audio processing system 10 receives an operational input, the command input unit 12 generates a command signal corresponding to the operational input, such as a play instruction. The storage unit 13 stores a plurality of audio files and an audio processing program. At least one of the audio files, whose beat is considered by the user as slow, is selected as predetermined audio files. The display unit 17 provides a display panel. The display panel is configured for displaying a setting menu of a hearing protection function and parameters of the audio file. The parameters of the audio file include a name, a singer, a playing time, and so on.
After receiving an operational input of playing a desired audio file, the command input unit 12 generates the play instruction, and sends the play instruction to the central processing unit 11. The central processing unit 11 receives the play instruction, obtains the audio processing program and the desired audio file, and signals the audio processing program to decode the desired audio file to digital audio signals.
The digital-to-analog converter 14 converts the digital audio signals to analog audio signals. The amplifier 15 amplifies the analog audio signals, and transmits the analog audio signals to a sound output device 18 via the interface unit 16. The sound output device 18 outputs sounds corresponding to the analog audio signals. The sound output device 18 may be an earphone or a speaker.
After the hearing protection function is selected, the user may also select a limited volume function. After the limited volume function is selected, the user can adjust a predetermined volume. The predetermined volume is such an audio energy value that is suitable for the user enjoying music, such as 60 dB.
Referring to
The controlling module 116 further detects whether the playing time surpasses a predetermined critical duration. If the controlling module 116 detects that the playing time surpasses the predetermined critical duration, the controlling module 116 signals the monitor module 112 to reset a rest time, records an operation state to the storage unit 13. The controlling module 116 also signals the playing module 114 to terminate the playing of the desired audio file. The operation state includes a name of the desired audio file and a current volume.
The controlling module 116 further detects whether the limited volume function is selected. When the controlling module 116 detects that the limited volume function is selected, the controlling module 116 signals the volume adjusting module 118 to adjust a current volume to the predetermined volume, and control the amplifier 15 to amplify the digital audio signals by the predetermined volume. The controlling module 116 further signals the playing module 114 to fetch one of the predetermined audio file, reproduce the predetermined audio file and signals the monitor module 112 to clock the rest time.
Furthermore, the controlling module 116 detects whether the rest time surpasses the predetermined rest time. If the controlling module 116 detects that the rest time surpasses the predetermined rest time, the controlling module 116 enables the operation state that is record in the storage unit 13, and signals the playing module 114 to reproduce the desired audio file continually.
In step S40, the central processing unit 11 receives the play instruction from the command input unit 12.
In step S41, the central processing unit 11 detects whether the hearing protection function is selected.
If the hearing protection function is not selected, in step S42, the central processing unit 11 obtains the audio processing program and desired audio file, and performs the audio processing program to reproduce the desired audio file normally.
If the hearing protection function is selected, in step S43, the central processing unit 11 resets the playing time.
In step S44, the central processing unit 11 obtains the audio processing program and a desired audio file, and performs the audio processing program to reproduce the desired audio file.
In step S45, the central processing unit 11 clocks the playing time.
In step S46, the central processing unit 11 detects whether the playing time surpasses the predetermined critical duration. If the playing time does not surpass the predetermined critical duration, the procedure goes to step S45 to clock the playing time continually.
If the central processing unit 11 detects that the playing time surpasses the predetermined critical duration, in step S47, the central processing unit 11 resets the rest time.
In step S48, the central processing unit 11 records the operation state to the storage unit 13, and terminates the reproducing of the desired audio file.
In step S49, the central processing unit 11 detects whether the limited volume function is selected.
If the limited volume function is not selected, in step S50, the central processing unit 11 remains a current volume, and the procedure goes to step S52.
If the limited volume function is selected, in step S51, the central processing unit 11 adjusts the current volume to the predetermined volume, and controls the amplifier 15 to amplify the digital audio signals by the predetermined volume.
In step S52, the central processing unit 11 obtains the predetermined audio file from the storage unit 13, and reproduces the predetermined audio file.
In step S53, the central processing unit 11 clocks the rest time.
In step S54, the central processing unit 11 detects whether the rest time surpasses the predetermined rest time. If the rest time does not surpass the predetermined rest time, the procedure goes to step S53.
If the rest time surpasses the predetermined rest time, in step S55, the central processing unit 11 reverts to the operation state which is recorded in the storage unit 13, and the procedure goes to step S43.
It is understood that the invention may be embodied in other forms without departing from the spirit thereof. Thus, the present examples and embodiments are to be considered in all respects as illustrative and not restrictive, and the invention is not to be limited to the details given herein.
Number | Date | Country | Kind |
---|---|---|---|
200610061313.3 | Jun 2006 | CN | national |