CN101119558A - Handset and method for processing audio document broadcast - Google Patents

Handset and method for processing audio document broadcast Download PDF

Info

Publication number
CN101119558A
CN101119558A CNA2007101218795A CN200710121879A CN101119558A CN 101119558 A CN101119558 A CN 101119558A CN A2007101218795 A CNA2007101218795 A CN A2007101218795A CN 200710121879 A CN200710121879 A CN 200710121879A CN 101119558 A CN101119558 A CN 101119558A
Authority
CN
China
Prior art keywords
voice output
audio file
output information
current time
audio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2007101218795A
Other languages
Chinese (zh)
Inventor
杨明亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CNA2007101218795A priority Critical patent/CN101119558A/en
Publication of CN101119558A publication Critical patent/CN101119558A/en
Pending legal-status Critical Current

Links

Images

Abstract

The present invention discloses a mobile phone and the audio file processing and playing method therein. The mobile phone comprises an audio decoder, a CPU and a LCD screen, wherein, the mobile phone also includes an audio output information capturing module for capturing the audio output information of an audio file according to the modulation wave of the impulse coding of the audio file ouputted by the audio decoder of the current moment. The CPU is utilized to form an output diagram corresponding with the current moment according to the output information of the audio, and display the ouput diagram onto the LCD screen. The present invention provides a visual effect of an audio file playing, enriching the visual and audio experience.

Description

The method that a kind of mobile phone and audio file thereof are play
Technical field
The present invention relates to the multimedia processing technology field of mobile phone, the method that particularly a kind of mobile phone and audio file thereof are play.
Background technology
At present, communication terminal has become people's routine work, and requisite common tool in the life.Simultaneously, along with the progress of microelectric technique and software engineering, the volume of mobile communication product is more and more littler, and function also from strength to strength.
The communication terminal of market possesses multimedia function mostly at present, and simultaneously, the multimedia function of communication terminal also presents the trend that becomes increasingly abundant, and has almost become the standard configuration of present mobile phone as the playing function of video file, audio file.
Yet, in the existing mobile phone, when its displaying audio file (as the audio file of MP3 format, the audio file of Wav form, the audio file of Midi form etc.), the user can only listen to the output of sound monotonously by the voice output unit (as earphone, loud speaker etc.) of mobile phone, and can't experience the broadcast of audio files the while in conjunction with the sense of hearing and vision.
Summary of the invention
The purpose of this invention is to provide the method that a kind of mobile phone and audio file thereof are play, when mobile phone carries out the broadcast of audio file, simultaneously the decoded spectrum information of audio file is shown to liquid crystal display screen with graphics mode, enrich user's audiovisual experience.
To achieve these goals, the invention provides a kind of mobile phone, comprise audio decoder, central processing unit and LCD screen, wherein, also comprise: voice output information acquisition module is used for obtaining according to the pulse code modulation waveform of the audio file of current time audio decoder output the voice output information of audio file; Described central processing unit is used for forming according to this voice output information the output pattern of current time correspondence, and described output pattern is shown to LCD screen.
Above-mentioned mobile phone, wherein, described voice output information is voice output power spectrum or voice output power.
Above-mentioned mobile phone, wherein, when described voice output information was the voice output power spectrum, described voice output information acquisition module specifically carried out the voice output power spectrum that the current time correspondence is obtained in fast Fourier transform by the pulse code modulation waveform to audio file.
In order to realize that better above-mentioned purpose, the present invention also provide a kind of method of handset processes audio file broadcast, comprise the step of displaying audio file, wherein, also comprise:
Steps A is obtained the voice output information of audio file according to the pulse code modulation waveform of the current time of the audio file of audio decoder output;
Step B, central processing unit arrive LCD screen with this graphical display after forming the current time graph of a correspondence according to this voice output information.
Above-mentioned method, wherein, described voice output information is voice output power spectrum or voice output power.
Above-mentioned method, wherein, among the described step B, described central processing unit specifically forms the current time graph of a correspondence according to described voice output information and output pattern drawing rule.
Above-mentioned method, wherein, when described voice output information was the voice output power spectrum, described steps A was specifically carried out the voice output power spectrum that the current time correspondence is obtained in fast Fourier transform by the pulse code modulation waveform to audio file.
The method that mobile phone of the present invention and audio file thereof are play, in the playing process of audio file, by the voice output information of audio file is shown to LCD screen in the mode of figure, the effect of visualization that provides audio files to play enriches user's audiovisual experience.
Description of drawings
Fig. 1 is the structural representation of mobile phone of the present invention;
Fig. 2 is the schematic flow sheet of the method for handset processes audio file broadcast of the present invention;
Fig. 3 is the detailed process schematic diagram of step 23 in the first embodiment of the present invention;
Fig. 4 is the schematic diagram of first embodiment of the present invention output pattern;
Fig. 5 is the change procedure schematic diagram of first embodiment of the present invention output pattern;
Fig. 6 is the detailed process schematic diagram of step 23 in the second embodiment of the present invention;
Fig. 7 is the change procedure schematic diagram of second embodiment of the present invention output pattern.
Embodiment
When the mobile phone displaying audio file, the method that mobile phone of the present invention and audio file thereof are play is at first obtained the voice output information of decoded audio file, then this voice output information is shown to LCD screen with graphics mode, enriches user's audiovisual experience.
As shown in Figure 1, mobile phone of the present invention comprises audio decoder, central processing unit and LCD screen, also comprises voice output information acquisition module, wherein:
This voice output information acquisition module is used for obtaining the voice output information of audio file according to PCM (Pulse Code Modulation, the pulse code modulation) waveform of the audio file of current time audio decoder output;
After this central processing unit is used for forming the output pattern of current time correspondence according to this voice output information, with this graphical display to LCD screen.
At this, this current moment is a relative concept, and when audio file was play, decoder output PCM waveform was a continuous process, suppose that voice output information acquisition module obtains the voice output information processing constantly at t1, then this current time of handling correspondence is the t1 moment.
Suppose that voice output information acquisition module once obtains the voice output information processing every 0.01s, the current time of this processing is t1 constantly the time, and then the current time of next time handling is t1+0.01s.
The method that handset processes audio file of the present invention is play comprises as shown in Figure 2:
Step 21, displaying audio file;
Step 22 is obtained the voice output information of audio file according to the PCM waveform of the current time of the audio file of audio decoder output;
Step 23, central processing unit arrive LCD screen with this graphical display after forming the current time graph of a correspondence according to this voice output information.
At this, this voice output information can be voice output power spectrum, power etc.
<the first embodiment 〉
In the first embodiment of the present invention, be that voice output power spectrum power is that example is elaborated with voice output information.
When voice output information was voice output power spectrum (power output of each frequency range in the whole frequency range of sound in its correspondence of exporting after being the audio file decoding), this voice output information acquisition module specifically carried out the voice output power spectrum that fast Fourier transform obtains the current time correspondence by the PCM waveform to audio file.Comprise these 4 frequency ranges of A1, A2, A3 and A4 in this hypothesis, the voice output power spectrum that repeatedly obtains is as follows:
T1 constantly is respectively 5 unit powers, 4 unit powers, 3 unit powers and 2 unit powers corresponding to the power of A1, A2, A3 and A4 frequency range;
T2 constantly is respectively 2 unit powers, 3 unit powers, 4 unit powers and 5 unit powers corresponding to the power of A1, A2, A3 and A4 frequency range;
T3 constantly is respectively 1 unit power, 3 unit powers, 4 unit powers and 2 unit powers corresponding to the power of A1, A2, A3 and A4 frequency range;
……
Tn constantly is respectively 3 unit powers, 4 unit powers, 5 unit powers and 6 unit powers corresponding to the power of A1, A2, A3 and A4 frequency range.
At this, this time interval can be provided with according to demand, as is set to less than 0.4 second, and then according to the persistence of vision, the figure of follow-up output is continuous In the view of the user.
The step 23 of method of the present invention specifically comprises as shown in Figure 3:
Step 231 is provided with the drawing rule of figure, and at this, the drawing rule of this figure comprises two parts content: the outgoing position of the figure of corresponding frequency band and how to represent the different capacity of frequency range;
Step 232 is obtained the voice output power spectrum of current time,
Step 233 is according to the output pattern of graphic plotting rule and sound output power spectrum drafting current time;
Step 234 outputs to LCDs with figure;
Step 235, finish the output of this figure after, return step 232, play until audio file and finish.
In the step 232, suppose that current time is the t1 moment, then obtain t1 and be respectively 5 unit powers, 4 unit powers, 3 unit powers and 1 unit power corresponding to the power of A1, A2, A3 and A4 frequency range constantly, in step 233, then according to output t1 moment graph of a correspondence behind graphic plotting rule and the t1 voice output power spectrum graphing constantly;
After finishing t1 figure output constantly, can return step 232, can obtain the power of the t2 moment this moment corresponding to A1, A2, A3 and A4 frequency range, and then according to exporting t2 graph of a correspondence constantly behind graphic plotting rule and the t2 voice output power spectrum graphing constantly;
The above-mentioned process that circulates is play until audio file and to be finished.
Further combined with concrete graphic plotting rule above-mentioned step is elaborated below.
The drawing rule of supposing figure is as follows:
The outgoing position of the figure of corresponding frequency band is the rectangular area of arranging in regular turn;
Use the rectangle number to represent the different capacity of frequency range.
Then according to above-mentioned rule, the concrete drawing process of described step 233 is as described below:
Because in the A1 frequency range, the power of output sound is 5 unit powers, then vertically draw 5 rectangles at the outgoing position of A1 frequency range correspondence;
Because in the A2 frequency range, the power of output sound is 4 unit powers, then vertically draw 4 rectangles at the outgoing position of A2 frequency range correspondence;
The rest may be inferred, the t1 that obtains at last constantly pairing output pattern as shown in Figure 4, wherein:
The outgoing position of A1, A2, A3 and A4 frequency range is from left to right arranged in regular turn;
Comprise 5,4,3,2 little rectangles in the outgoing position of A1, A2, A3 and A4 frequency range respectively, in the expression t1 moment, corresponding to A1, A2, A3 and A4 frequency range, the power of output sound is respectively 5 unit powers, 4 unit powers, 3 unit powers and 1 unit power.
Therefore, according to above-mentioned method, t1 wherein, from left to right is respectively the figure that t1, t2 and t3 export constantly to t3 graphic change process constantly as shown in Figure 5 among Fig. 5.
Certainly, can also further characterize different power, promptly to the different colors of filling correspondence of the rectangle in the outgoing position of A1, A2, A3 and A4 frequency range, at this moment according to the power of output sound by color, graphic change not only height rises and falls, and color also changes simultaneously.
Certainly, also color can be represented the difference of power separately, perhaps other modes (as utilizing the height of single rectangular) are represented the difference of power, owing to only be the different of the form of expression with the difference of aforesaid way, do not repeat them here.
<the second embodiment 〉
In the second embodiment of the present invention, be that power output is that example is elaborated with voice output information.
When voice output information was voice output power, this voice output information acquisition module specifically obtained the voice output power of current time correspondence by the PCM waveform to audio file.As follows at each voice output power that constantly obtains of this hypothesis:
In the t1 moment, voice output power is 5 unit powers;
In the t2 moment, voice output power is 4 unit powers;
In the t3 moment, voice output power is 5 unit powers;
In the t4 moment, voice output power is 3 unit powers;
In the tn moment, voice output power is 1 unit power.
……
At this, this time interval can be provided with according to demand, as is set to less than 0.4 second, and then according to the persistence of vision, the figure of follow-up output is continuous In the view of the user.
The step 23 of method of the present invention specifically comprises as shown in Figure 6:
Step 231 ', the drawing rule of figure is set, at this, the drawing rule of this figure comprises two parts content: the outgoing position of figure with how to represent different voice output power;
Step 232 ', obtain the voice output power of current time, be 5 unit powers;
Step 233 ', according to the output pattern of graphic plotting rule and sound power output drafting current time;
Step 234 ', figure is outputed to LCDs;
Step 235 ', finish the output of this figure after, return step 232 ' is play until audio file and to be finished.
Step 232 ' in, supposing that current time is the t1 moment, then obtain the corresponding constantly voice output power of t1, is 5 unit powers, in step 233 ' in, then according to output t1 moment graph of a correspondence behind graphic plotting rule and the t1 voice output power graphing constantly;
After finishing t1 figure output constantly, can return step 232 ', can obtain t2 corresponding voice output power of the moment this moment, and then according to output t2 moment graph of a correspondence behind graphic plotting rule and the t2 voice output power graphing constantly;
The above-mentioned process that circulates is play until audio file and to be finished.
Further combined with concrete graphic plotting rule above-mentioned step is elaborated below.
The drawing rule of supposing figure is as follows:
The outgoing position of figure is the rectangular area;
Utilize the difference of rectangle number to represent different voice output power.
Then according to above-mentioned rule, the t1 that obtains to t4 graphic change process constantly as shown in Figure 7, wherein, from left to right be respectively the figure that t1, t2, t3 and t4 export constantly among Fig. 7, the effect that show this moment on screen is a rectangular strip that does not stop change in elevation.Above-mentioned is to utilize power output and the processing that carry out of whole output sound in the whole frequency range of its correspondence, certainly, also can form corresponding output pattern in the power output of a certain frequency range of the whole frequency range of its correspondence according to output sound.
Certainly, can also further characterize different power, constantly promptly at difference by color, rectangle in outgoing position is filled corresponding color according to the difference of the power of output sound, at this moment, graphic change not only height rises and falls, and color also changes simultaneously.
Certainly, also color can be represented the difference of power separately, perhaps be represented the different of power,, not repeat them here owing to only be the different of the form of expression with the difference of aforesaid way with other modes combinations.
Certainly, in the step of invention,, can stop the drafting of output pattern, play the drafting that then restarts output pattern when continuing if when finding operation such as stopping to appear in the broadcast of audio file, time-out, F.F., rewind down.
Simultaneously, when the broadcast of audio file starts, can judge whether to support the obtaining of voice output information of the audio file of this kind audio format according to the form of audio file, if support then corresponding flag bit be set, otherwise whether the clear flag position is carried out the output of figure and is judged according to flag bit by central processing unit.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (7)

1. a mobile phone comprises audio decoder, central processing unit and LCD screen, it is characterized in that, also comprises:
Voice output information acquisition module is used for obtaining according to the pulse code modulation waveform of the audio file of current time audio decoder output the voice output information of audio file;
Described central processing unit is used for forming according to this voice output information the output pattern of current time correspondence, and described output pattern is shown to LCD screen.
2. mobile phone according to claim 1 is characterized in that, described voice output information is voice output power spectrum or voice output power.
3. mobile phone according to claim 1, it is characterized in that, when described voice output information was the voice output power spectrum, described voice output information acquisition module specifically carried out the voice output power spectrum that the current time correspondence is obtained in fast Fourier transform by the pulse code modulation waveform to audio file.
4. the method play of a handset processes audio file comprises it is characterized in that the step of displaying audio file, also comprises:
Steps A is obtained the voice output information of audio file according to the pulse code modulation waveform of the current time of the audio file of audio decoder output;
Step B, central processing unit arrive LCD screen with this graphical display after forming the current time graph of a correspondence according to this voice output information.
5. method according to claim 4 is characterized in that, described voice output information is voice output power spectrum or voice output power.
6. according to claim 4 or 5 described methods, it is characterized in that among the described step B, described central processing unit specifically forms the current time graph of a correspondence according to described voice output information and output pattern drawing rule.
7. according to claim 4 or 5 described methods, it is characterized in that, when described voice output information was the voice output power spectrum, described steps A was specifically carried out the voice output power spectrum that the current time correspondence is obtained in fast Fourier transform by the pulse code modulation waveform to audio file.
CNA2007101218795A 2007-09-17 2007-09-17 Handset and method for processing audio document broadcast Pending CN101119558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101218795A CN101119558A (en) 2007-09-17 2007-09-17 Handset and method for processing audio document broadcast

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101218795A CN101119558A (en) 2007-09-17 2007-09-17 Handset and method for processing audio document broadcast

Publications (1)

Publication Number Publication Date
CN101119558A true CN101119558A (en) 2008-02-06

Family

ID=39055444

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101218795A Pending CN101119558A (en) 2007-09-17 2007-09-17 Handset and method for processing audio document broadcast

Country Status (1)

Country Link
CN (1) CN101119558A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916577A (en) * 2010-08-19 2010-12-15 北京中星微电子有限公司 Method and device for synchronously playing audio and video
CN102142271A (en) * 2010-01-29 2011-08-03 朱友平 Handheld multimedia player for synchronously displaying waveform and repeating method
CN107221021A (en) * 2017-05-19 2017-09-29 北京酷我科技有限公司 A kind of rendering algorithm of audible spectrum animation
WO2019061531A1 (en) * 2017-09-30 2019-04-04 深圳传音通讯有限公司 Method and device for adjusting dynamic wallpaper of mobile terminal, and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142271A (en) * 2010-01-29 2011-08-03 朱友平 Handheld multimedia player for synchronously displaying waveform and repeating method
CN102142271B (en) * 2010-01-29 2013-12-25 朱友平 Handheld multimedia player for synchronously displaying waveform and repeating method
CN101916577A (en) * 2010-08-19 2010-12-15 北京中星微电子有限公司 Method and device for synchronously playing audio and video
CN107221021A (en) * 2017-05-19 2017-09-29 北京酷我科技有限公司 A kind of rendering algorithm of audible spectrum animation
CN107221021B (en) * 2017-05-19 2021-07-13 北京酷我科技有限公司 Drawing algorithm of audio frequency spectrum animation
WO2019061531A1 (en) * 2017-09-30 2019-04-04 深圳传音通讯有限公司 Method and device for adjusting dynamic wallpaper of mobile terminal, and storage medium

Similar Documents

Publication Publication Date Title
CN105872253B (en) Live broadcast sound processing method and mobile terminal
CN1104173C (en) Mobile radio apparatus
GB0306872D0 (en) Mobile terminal apparatus, and power control method and storage medium recording program therefor
CN111508531B (en) Audio processing method and device
CN101894004A (en) Method and device for automatically adjusting sound effect of game of mobile terminal
CN103338305A (en) Mobile phone and method for processing playing of audio file adopting same
CN102662593A (en) Multi-size display method and terminal
CN101119558A (en) Handset and method for processing audio document broadcast
CN202907129U (en) Bluetooth sound box capable of answering telephone
CN101098528A (en) Mobile communication terminal and text-to-speech method
CN104836916A (en) Chat information voice broadcasting method, system and mobile terminal
CN102185964A (en) Mobile terminal with voice time-telling function and realization method thereof
CN106657571B (en) The method and mobile terminal of indicating mode in a kind of control mobile terminal
US8073482B2 (en) Mobile phone with optional audio output function
CN102598536A (en) Apparatus and method for reproducing multi-sound channel contents using dlna in mobile terminal
CN202334677U (en) Circulated prompt mobile phone
EP1746830A3 (en) Method for performing presentation in video telephone mode and wireless terminal implementing the same
CN101345927A (en) Information sending method and user terminal
CN102118586B (en) Television with custom broadcasting function display mode
CN105791504A (en) Incoming call processing method and terminal
CN102981792A (en) Method and device and electronic product of double screen display
CN204231483U (en) A kind of intelligent meeting telephone set with Presentation Function
KR100785653B1 (en) Morning call method using address book in mobile devices
CN1848855A (en) Mobile telephone utilizing broadcast setting alarm clock and incoming telephone ring tone
CN204408456U (en) The tinkle of bells synthesis system of mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080206