CN102568513B - Audio data processing method and interacting method - Google Patents
Audio data processing method and interacting method Download PDFInfo
- Publication number
- CN102568513B CN102568513B CN201110447899.8A CN201110447899A CN102568513B CN 102568513 B CN102568513 B CN 102568513B CN 201110447899 A CN201110447899 A CN 201110447899A CN 102568513 B CN102568513 B CN 102568513B
- Authority
- CN
- China
- Prior art keywords
- voice data
- audio data
- exported
- multimedia file
- broadcasting
- 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.)
- Expired - Fee Related
Links
Abstract
The invention provides an audio data processing method which comprises the following steps: judging whether audio data is played or not after receiving a media file playing request by a mobile terminal; outputting the currently played audio data and the audio data of a received media file in different outputting ways if the audio data is played; and outputting the received media file in a default way if no audio data is played. The invention discloses an interacting method for audio data processing. Due to the adoption of the audio data processing method and the interacting method for audio data processing, the audio data of two media files can be played at the same time by the mobile terminal without interfering each other.
Description
Technical field
The present invention relates to multimedia communication technology field, particularly a kind of audio data processing method and exchange method.
Background technology
Universal along with mobile terminals such as giant-screen mobile phone and panel computers, the amusement function that mobile terminal can provide is also abundanter, especially, as recreational representative multimedia function especially commonly use by users.
At present, mobile terminal can only support single multimedia file, can not support two multimedia application simultaneously, also just can not support that the voice data of two multimedia files is play simultaneously.Such as, but need the voice data can playing two multimedia files under some particular cases, listening to the music surfs the Net sees video, listens to the music while voice-enabled chat etc. simultaneously.
Summary of the invention
In view of this, the invention provides a kind of audio data processing method, make mobile terminal can play the voice data of two multimedia files, and the broadcasting of the voice data of these two multimedia files does not interfere with each other simultaneously.
The present invention discloses the exchange method in a kind of voice data process, make mobile terminal can play the voice data of two multimedia files, and the broadcasting of the voice data of these two multimedia files does not interfere with each other simultaneously.
In order to achieve the above object, the technical scheme that the present invention proposes is:
A kind of audio data processing method, the method comprises:
After mobile terminal receives the request of play multimedia file, judge currently whether have voice data in broadcasting, if so, the voice data of current broadcasting and the voice data of multimedia file that receives are exported respectively by the different way of outputs; Otherwise, the multimedia file received is exported by default behavior.
The different way of outputs is any two kinds or three kinds in headset left channel, earphone R channel and microphone.
The different way of outputs is earphone stereo and microphone.
If the way of output comprises headset left channel or R channel, so voice data to be carried out audio mixing.
Described audio mixing is exactly synthesized by the different frame of voice data.
Described the voice data of two after audio mixing is exported respectively by the different sound channel in left and right after, the method comprises further:
When mobile terminal receives the request of one of them voice data termination broadcasting, exported not sending the voice data stopping playing request by stereophony.
Described by do not send stop playing request voice data by stereophony export comprise:
Record does not send the current play time stamp of the voice data stopping playing request;
Voice data position is reorientated according to the position that described current play time stabs;
It is also exported by stereophony by the voice data of reorientating described in decoding.
An exchange method in voice data process, the method comprises:
Select broadcasting multimedia file;
Judged whether that audio file is play, if so, for described multimedia file selects play mode, described play mode comprises stereo, L channel, R channel and microphone;
If the more than one way of output comprises headset left channel or R channel, so voice data to be carried out audio mixing.
Returning method also comprises: when playing more than one multimedia file simultaneously, and when one of them stops playing by the multimedia file that L channel or R channel are play, player automatically switches to stereo.
In sum, audio data processing method of the present invention and exchange method, after the request by receiving play multimedia file when mobile terminal, judge current whether have voice data broadcasting, there is voice data if current in broadcasting, then the voice data of the voice data of current broadcasting with the multimedia file received is exported respectively by the different way of output; There is no voice data if current in broadcasting, then the voice data of the multimedia file received is exported by default behavior.Because the inventive method is after receiving the playing request of multimedia file, first judge current whether have voice data broadcasting, and then current have voice data play time, two voice datas can be realized exported by different modes simultaneously, also just achieve the voice data that mobile terminal can play two multimedia files simultaneously, and exported the mutual interference also just avoiding these two audio files by the different way of outputs.
Accompanying drawing explanation
Fig. 1 is the workflow diagram of audio data processing method of the present invention;
Fig. 2 is the play mode schematic diagram of menu-style of the present invention;
Fig. 3 is the play mode schematic diagram of form of icons of the present invention.
Embodiment
In order to solve the technical matters that the present invention proposes, the specific implementation of scheme of the present invention comprises:
After mobile terminal receives the request of play multimedia file, judge currently whether have voice data in broadcasting, if so, the voice data of current broadcasting and the voice data of multimedia file that receives are exported respectively by the different way of outputs; Otherwise, the multimedia file received is exported by default behavior.
For making the object, technical solutions and advantages of the present invention clearly, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
The workflow diagram of Fig. 1 audio data processing method of the present invention.As shown in Figure 1, this flow process comprises:
Step 101: mobile terminal receives the request of play multimedia file.
When needing when there being multimedia file to play, the request of playing this multimedia file can be sent to mobile terminal.
Step 102: judge current whether have voice data broadcasting, if so, perform step 103; Otherwise, perform step 107.
After mobile terminal receives the request of play multimedia file, need to judge currently whether have voice data in broadcasting, so that clear and definite the need of playing two voice datas simultaneously.
Step 103: the voice data of current broadcasting and the voice data of the multimedia file received are carried out audio mixing respectively.
When mobile terminal judge current have voice data play time, need to carry out audio mixing respectively to current audio data and the voice data of the multimedia file received, describedly audio mixing is carried out to voice data be: the different frame of voice data is synthesized, specifically how the different frame of voice data is carried out synthesizing prior art, repeat no more here.
Step 104: the voice data of two after audio mixing is exported by the different way of outputs.
In this step, the described different way of output is any two kinds or three kinds in headset left channel, earphone R channel and microphone, or the described different way of output is earphone stereo and microphone.
Wherein, when the way of output comprises headset left channel or R channel, the operation of step 103 need just be performed.
Two voice datas after audio mixing are exported by the different way of outputs, thus realize two voice datas and play simultaneously, and owing to being exported by the different way of outputs, also just can realizing two audio files and not interfere with each other.
By the process of step 101-104, also just can realize listening to different songs by different modes, or a sound channel is used for listening to song, another sound channel is for listening to the voice data etc. of video file simultaneously.
Step 105: mobile terminal receives the request that one of them voice data stops playing.
When current at broadcasting two voice datas time, if one of them voice data need stop play, then can to mobile terminal send stop play request, now, mobile terminal will stop the broadcasting of this voice data.
Step 106: after being exported by stereophony by the voice data not stopping playing, terminate whole workflow.
For the audio file not stopping playing, mobile terminal still exports according to default behavior, is namely exported by the mode of stereophony or microphone.
It should be noted that, in this step, described output by stereophony by the voice data not stopping playing is comprised:
Record does not stop the current play time stamp of the voice data play;
Voice data position is reorientated according to the position that described current play time stabs;
It is also exported by stereophony by the voice data of reorientating described in decoding.
By the operation of step 105-106, when also just can realize the broadcasting when a closedown voice data, can another voice data of normal play.
Step 107: after being exported by default behavior by the voice data of the multimedia file received, terminate whole workflow.
Because mobile terminal did not play other voice datas before receiving this multimedia file, so directly the voice data of this multimedia file is carried out exporting by the mode of default behavior, i.e. stereophony or microphone.
So far, the whole workflow of audio data processing method of the present invention is namely completed.
Based on said method, provide the reciprocal process of user and player interface below, specifically comprise:
First, user selects broadcasting multimedia file on player interface, as first song or one section of video;
Secondly, judge whether that audio file is play, if, player interface selects play mode, and concrete play mode can adopt the schematic diagram of the menu-style provided in Fig. 2, the schematic diagram of the form of icons that Fig. 3 also can be adopted to provide, can find out from Fig. 2 or Fig. 3, play mode has and comprises stereo, L channel, R channel, further, also can comprise microphone;
If the more than one way of output comprises headset left channel or R channel, so voice data to be carried out audio mixing;
When playing more than one multimedia file simultaneously, and when one of them stops playing by the multimedia file that L channel or R channel are play, player automatically switches to stereo.Be specially: if the play mode selected takies, player interface can eject prompting frame " left (right side) sound channel takies, has automatically switched to the right side (left side) "; When playing two multimedia files at the same time, if close one of them multimedia file, then player interface can eject prompting frame and " automatically switch to stereo mode ".
In a word, audio data processing method of the present invention and exchange method, by after the request that receives play multimedia file when mobile terminal, judge current whether have voice data broadcasting, there is voice data if current in broadcasting, then the voice data of the voice data of current broadcasting with the multimedia file received is exported respectively by the different way of output; There is no voice data if current in broadcasting, then the voice data of the multimedia file received is exported by default behavior.Because the inventive method is after receiving the playing request of multimedia file, first judge current whether have voice data broadcasting, and then current have voice data play time, two voice datas can be realized exported by different modes simultaneously, also just achieve the voice data that mobile terminal can play two multimedia files simultaneously, and exported the mutual interference also just avoiding these two audio files by the different way of outputs.
Further, audio data processing method of the present invention and exchange method, when current have two voice datas to play at the same time time, if one of them voice data stops playing, then another voice data can be turned by the original way of output by default behavior, i.e. stereophony or microphone broadcasting, also just avoids the waste of sound channel resource.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.
Claims (4)
1. an audio data processing method, is characterized in that, the method comprises:
After mobile terminal receives the request of play multimedia file, judge currently whether have voice data in broadcasting, if so, the voice data of current broadcasting and the voice data of multimedia file that receives are exported respectively by the different way of outputs; Otherwise, the multimedia file received is exported by default behavior;
If the way of output comprises headset left channel or R channel, so voice data to be carried out audio mixing;
When mobile terminal receives the request of one of them voice data termination broadcasting, exported not sending the voice data stopping playing request by stereophony;
Described by do not send stop playing request voice data by stereophony export comprise:
Record does not send the current play time stamp of the voice data stopping playing request;
Voice data position is reorientated according to the position that described current play time stabs;
It is also exported by stereophony by the voice data of reorientating described in decoding.
2. method according to claim 1, is characterized in that, the different way of outputs is any two kinds or three kinds in headset left channel, earphone R channel and microphone.
3. method according to claim 1, is characterized in that, the different way of outputs is earphone stereo and microphone.
4. method according to claim 1, is characterized in that, described audio mixing is exactly synthesized by the different frame of voice data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110447899.8A CN102568513B (en) | 2011-12-28 | 2011-12-28 | Audio data processing method and interacting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110447899.8A CN102568513B (en) | 2011-12-28 | 2011-12-28 | Audio data processing method and interacting method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102568513A CN102568513A (en) | 2012-07-11 |
CN102568513B true CN102568513B (en) | 2015-05-20 |
Family
ID=46413750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110447899.8A Expired - Fee Related CN102568513B (en) | 2011-12-28 | 2011-12-28 | Audio data processing method and interacting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102568513B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103903636B (en) * | 2012-12-28 | 2017-11-03 | 联想(北京)有限公司 | A kind of player method and device, electronic equipment |
CN103945305B (en) * | 2013-01-21 | 2018-07-06 | 联想(北京)有限公司 | The method and electronic equipment of a kind of information processing |
CN105992054A (en) * | 2015-02-13 | 2016-10-05 | 青岛海尔电子有限公司 | Intelligent television playing method and playing device |
CN106161724A (en) * | 2015-03-23 | 2016-11-23 | 阿里巴巴集团控股有限公司 | Audio output control method and device |
CN104811543A (en) * | 2015-03-31 | 2015-07-29 | 上海华勤通讯技术有限公司 | Multi-channel audio output mobile terminal |
CN105227979B (en) * | 2015-09-14 | 2019-03-29 | 深圳Tcl数字技术有限公司 | Audio frequency playing method and device based on smart television |
CN107135301A (en) * | 2016-02-29 | 2017-09-05 | 宇龙计算机通信科技(深圳)有限公司 | A kind of audio data processing method and device |
CN106201421A (en) * | 2016-06-28 | 2016-12-07 | 维沃移动通信有限公司 | A kind of terminal and audio-frequency processing method |
CN109155803B (en) * | 2016-08-26 | 2021-07-20 | 荣耀终端有限公司 | Audio data processing method, terminal device and storage medium |
CN106358125A (en) * | 2016-09-09 | 2017-01-25 | 北京小米移动软件有限公司 | Method and device for audio output |
CN106375846B (en) * | 2016-09-19 | 2019-06-18 | 北京小米移动软件有限公司 | The processing method and processing device of live audio |
CN106358126A (en) * | 2016-09-26 | 2017-01-25 | 宇龙计算机通信科技(深圳)有限公司 | Multi-audio frequency playing method, system and terminal |
CN106341757A (en) * | 2016-09-30 | 2017-01-18 | 宇龙计算机通信科技(深圳)有限公司 | Sound source simultaneous playing method, device and terminal |
CN111741156A (en) * | 2019-03-25 | 2020-10-02 | 奇酷互联网络科技(深圳)有限公司 | Audio output method, mobile terminal and wearable device |
CN112533056B (en) * | 2019-09-17 | 2022-10-28 | 海信视像科技股份有限公司 | Display device and sound reproduction method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101459717A (en) * | 2007-12-11 | 2009-06-17 | 英华达(上海)电子有限公司 | Wireless terminal and method for implementing multi-channel multiplexing |
CN101540183A (en) * | 2008-03-18 | 2009-09-23 | 鸿富锦精密工业(深圳)有限公司 | Playing device and audio output method |
-
2011
- 2011-12-28 CN CN201110447899.8A patent/CN102568513B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101459717A (en) * | 2007-12-11 | 2009-06-17 | 英华达(上海)电子有限公司 | Wireless terminal and method for implementing multi-channel multiplexing |
CN101540183A (en) * | 2008-03-18 | 2009-09-23 | 鸿富锦精密工业(深圳)有限公司 | Playing device and audio output method |
Also Published As
Publication number | Publication date |
---|---|
CN102568513A (en) | 2012-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102568513B (en) | Audio data processing method and interacting method | |
CN102932567B (en) | Terminal and audio processing method | |
CN101459717B (en) | Wireless terminal and method for implementing multi-channel multiplexing | |
US20160337501A1 (en) | Duplex audio for mobile communication device and accessory | |
CN102143421B (en) | Terminal and method for processing audio of terminal | |
CN105679345B (en) | Audio processing method and electronic equipment | |
CN103312912B (en) | A kind of mixer system and method | |
CN104426832A (en) | Multi-terminal multichannel independent playing method and device | |
CN102474698A (en) | M-S stereo reproduction at a device | |
CN105653237B (en) | Audio play control method, audio broadcasting control system and terminal | |
CN103167371A (en) | Bluetooth headset with record storage function and vehicle with same | |
CN103402171A (en) | Method and terminal for sharing background music during communication | |
CN102104680A (en) | Audio playing method, plug-in playing terminal and mobile terminal | |
CN106358126A (en) | Multi-audio frequency playing method, system and terminal | |
CN102355309A (en) | Method and apparatus for realization of Bluetooth stereophonic sound with support of a plurality of sampling rates | |
CN107404339A (en) | A kind of method and apparatus for adjusting bluetooth A2DP encoding settings | |
CN105260159A (en) | Audio play method and apparatus | |
CN102354278B (en) | The processing method and equipment of a kind of voice data | |
CN202395784U (en) | Highly integrated intelligent modular broadcast system | |
CN106878384A (en) | Data forwarding method, its device, bluetooth equipment and audio frequency transmission method | |
WO2017185602A1 (en) | Earphone mode switching method and electronic device | |
CN102111475A (en) | Mobile phone music playing function control system and control method | |
CN202145660U (en) | Bluetooth sound box with voice call transfer processing function | |
CN111190568A (en) | Volume adjusting method and device | |
CN102545927A (en) | Mobile terminal and processing method of reception function 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150520 Termination date: 20211228 |