CN102568513B - Audio data processing method and interacting method - Google Patents

Audio data processing method and interacting method Download PDF

Info

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
Application number
CN201110447899.8A
Other languages
Chinese (zh)
Other versions
CN102568513A (en
Inventor
何晓燕
常亮
Original Assignee
北京三星通信技术研究有限公司
三星电子株式会社
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 北京三星通信技术研究有限公司, 三星电子株式会社 filed Critical 北京三星通信技术研究有限公司
Priority to CN201110447899.8A priority Critical patent/CN102568513B/en
Publication of CN102568513A publication Critical patent/CN102568513A/en
Application granted granted Critical
Publication of CN102568513B publication Critical patent/CN102568513B/en

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

A kind of audio data processing method and exchange method

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.
CN201110447899.8A 2011-12-28 2011-12-28 Audio data processing method and interacting method CN102568513B (en)

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 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 (12)

* Cited by examiner, † Cited by third party
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
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

Citations (2)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
US9788096B2 (en) Transmission method, mobile terminal, multi-channel headset, and audio play system
CN104090766B (en) The audio switching method and system of a kind of mobile terminal
CN104640013B (en) Audio amplifier control method and system
US9712659B2 (en) Duplex audio for mobile communication device and accessory
CN105139877B (en) Connection method, main equipment, control terminal and the system of multimedia play equipment
CN105940448A (en) Metadata for ducking control
CN1925620B (en) Accessory apparatus of mobile terminal and method thereof
CN102265578B (en) System and method of switching from streaming content to local content
TWI496139B (en) Portable module for audio enhancement
CN101867657B (en) Method and device for switching audio output equipment on mobile phone
CN103295610B (en) A kind of method of audio plays and device
CN104813683A (en) Constrained dynamic amplitude panning in collaborative sound systems
CN103491239B (en) Communication equipment and the method carried out thereof
CN103546616A (en) Volume adjusting method and device
CN104618780B (en) Electrical equipment control method and system
JP3125407U (en) Internet phone with female connector for audio equipment
CN101448009B (en) Music synchronous playing system and method therefor and music player
CA2740581C (en) System and method for resuming media
CN101945314B (en) A kind of earphone, corresponding audiogenic device and control method
CN104183250B (en) Method and system for synchronizing function of music player of intelligent device and Bluetooth headset
CN105635878B (en) The switching method and a kind of earphone of a kind of earphone mode of operation
CN105161124B (en) A kind of audio frequency playing method and device of more playback equipments
CN100592653C (en) Portable audio playback device with bass enhancement
EP2041925A2 (en) Systems and methods for implementing hands free operational environments
CN101459717B (en) Wireless terminal and method for implementing multi-channel multiplexing

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