CN103985396A - Audio playing method - Google Patents

Audio playing method Download PDF

Info

Publication number
CN103985396A
CN103985396A CN201410156869.5A CN201410156869A CN103985396A CN 103985396 A CN103985396 A CN 103985396A CN 201410156869 A CN201410156869 A CN 201410156869A CN 103985396 A CN103985396 A CN 103985396A
Authority
CN
China
Prior art keywords
audio file
play
receiver
broadcasting
player
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
CN201410156869.5A
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.)
Qingdao Shang Hui Information Technology Co Ltd
Original Assignee
Qingdao Shang Hui Information Technology Co Ltd
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 Qingdao Shang Hui Information Technology Co Ltd filed Critical Qingdao Shang Hui Information Technology Co Ltd
Priority to CN201410156869.5A priority Critical patent/CN103985396A/en
Publication of CN103985396A publication Critical patent/CN103985396A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an audio playing method. The audio playing method overcomes the defects that due to the fact that when a current intelligent mobile terminal plays an audio file, the audio file is played again from the beginning after the intelligent mobile terminal is switched between a receiver and a loud speaker, time is wasted and user experience is lowered. The audio playing method comprises the steps that when a player plays an audio file through a receiver or a loud speaker, whether an object exists around the receiver or not is sensed in real time and a sensing result is obtained; after the sensing result changes, the current playing position of the audio file is obtained, and playing device switching between the receiver and the loud speaker is conducted; the player is controlled to play the audio file by the adoption of the switched displaying device according to the current playing position. The audio playing method can obviously improve user experience.

Description

A kind of audio frequency playing method
Technical field
The present invention relates to a kind of player method, relate in particular to a kind of audio frequency playing method.
Background technology
Along with the development of development of Mobile Internet technology, spanning operation system platform that can real-time communication, across the immediate communication tool of common carrier, also promptly entered popular daily life.This class immediate communication tool can carry out the communication of the contents such as voice, word, picture real-time, is very easy to popular communication.
The speech talkback technology of this class communication tool, be at transmitting terminal, by intelligent mobile terminals such as mobile phone, panel computers, to record transmitting terminal user's audio file, then by network (as WiFi, 3G, 4G and GPRS etc.), in real time corresponding audio data stream sent to the intelligent mobile terminal of receiving end.Receiving end intelligent mobile terminal receives after this audio data stream, just can play corresponding audio file by receiver or the loudspeaker of intelligent mobile terminal.
More existing intelligent mobile terminals are when displaying audio file, user has changed the distance between intelligent mobile terminal receiver and user's ear position, such as moving in face of user being attached to before intelligent mobile terminal in one's ear, now intelligent mobile terminal can be to adopt loudspeaker displaying audio file by adopting receiver displaying audio file auto-changing in real time, be convenient to improve the volume of playing, make after intelligent mobile terminal moves to the certain distance away from user's ear, user still can know and hear voice messaging.
But, in the process of displaying audio file, if causing audio frequency to be play automatically, the variation of user's posture or action produced switching between receiver or these two kinds broadcasting devices of loudspeaker, and audio file all needs to start anew to play.The repeat playing starting anew can make the reproduction time of whole file elongated, reduces user's experience.If the content of repeat playing is more, can the serious waste time.
Summary of the invention
Technical matters to be solved by this invention is while overcoming current intelligent mobile terminal displaying audio file, after switching between receiver and loudspeaker, starts anew to replay audio file, causes losing time and reducing the deficiency that user experiences.
In order to solve the problems of the technologies described above, the invention provides a kind of audio frequency playing method, for intelligent mobile terminal displaying audio file, described intelligent mobile terminal includes two to be play device and adopts described two players of playing one of them displaying audio file of device, and described two broadcasting devices are respectively receiver and loudspeaker; Wherein, the method comprises:
When described player adopts described receiver or loudspeaker to play described audio file, described in sensing, whether the periphery of receiver has object and obtains sensing result in real time;
When described sensing result changes, obtain the current play position of described audio file, and the switching of playing device between described receiver and loudspeaker;
Controlling described player adopts the broadcasting device after switching to play described audio file according to described current play position.
Preferably, the method comprises:
When described sensing result changes, control described player and suspend the described audio file one Preset Time section of broadcasting;
When described Preset Time section arrives, control described player and adopt the broadcasting device after switching to play described audio file according to described current play position.
Preferably, when described Preset Time section arrives, control described player and adopt the broadcasting device after switching to play described audio file according to described current play position, comprising:
When described Preset Time section arrives, control described player and start to adopt the broadcasting device switching to continue to play described audio file from described current play position.
Preferably, between described receiver and loudspeaker, play the switching of device, comprising:
When described sensing result is changed to the periphery that represents described receiver and has object without object from the periphery that represents described receiver, broadcasting device is switched to described receiver from described loudspeaker;
In described sensing result, from the periphery that represents the periphery of described receiver and have object to be changed to represent a described receiver, during without object, broadcasting device is switched to described loudspeaker from described receiver.
Preferably, control described player and adopt the broadcasting device after switching to play described audio file according to described current play position, comprising:
Reference position at described audio file is determined a continued broadcasting position in the paragraph of broadcasting between described current play position;
Control described player from described continued broadcasting position, adopt the broadcasting device after switching to play described audio file.
Preferably, in the reference position of described audio file, in the paragraph of broadcasting between described current play position, determine a continued broadcasting position, comprising:
According to described playing duration that paragraph is corresponding and the default duration threshold value play, described, determine described continued broadcasting position in having play paragraph.
Preferably, according to described playing duration that paragraph is corresponding and the default duration threshold value play, described, determine described continued broadcasting position in having play paragraph, comprising:
When described playing duration is less than or equal to described duration threshold value, the reference position of described audio file is defined as to described continued broadcasting position;
When described playing duration is greater than described duration threshold value, according to a default replay duration, described, determine described continued broadcasting position in having play paragraph.
Preferably, according to a default replay duration, described, determine described continued broadcasting position in having play paragraph, comprising:
It is described continued broadcasting position that the described playing duration of described audio file is deducted to the location positioning that described replay duration is corresponding.
Compared with prior art, the application's embodiment can be when intelligent mobile terminal displaying audio file automatically plays with loudspeaker and plays and between these two kinds of modes, carry out self-adaptation switching and continue broadcasting at receiver, facilitate user by simple action, to be undertaken that privacy is maintained secrecy according to the content of voice messaging or the operation such as Information Sharing, can not cause the repeat playing audio file that starts anew, save user time, the fluency of voice messaging is listened in assurance, improves user and experiences.The application's embodiment replays from the reference position of audio file in the time of can avoiding intelligent mobile terminal to switch broadcasting device at every turn, prevent from causing user to occur uninteresting mood because of large section ground repeat playing, especially for playing more content, play again the situation that device switches, can significantly improve user and experience.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, or understand by implementing the present invention.Object of the present invention and other advantages can be realized and be obtained by specifically noted structure in instructions, claims and accompanying drawing.
Accompanying drawing explanation
Accompanying drawing is used to provide the further understanding to technical solution of the present invention, and forms a part for instructions, is used from explanation technical scheme of the present invention with the application's embodiment mono-, does not form the restriction to technical solution of the present invention.
Fig. 1 is the schematic flow sheet of the audio frequency playing method of the embodiment of the present application.
Fig. 2 is the organigram of the audio frequency broadcast system of the embodiment of the present application.
Embodiment
Below with reference to drawings and Examples, describe embodiments of the present invention in detail, to the present invention, how application technology means solve technical matters whereby, and the implementation procedure of reaching relevant art effect can fully understand and implement according to this.Each feature in the embodiment of the present application and embodiment is the mutually combining under prerequisite of not conflicting mutually, all within protection scope of the present invention.
In addition, in the step shown in the process flow diagram of accompanying drawing, can in the computer system such as one group of computer executable instructions, carry out.And, although there is shown logical order in flow process, in some cases, can carry out shown or described step with the order being different from herein.
The audio frequency playing method of the embodiment of the present application, for intelligent mobile terminal displaying audio file, wherein, this intelligent mobile terminal includes two to be play device and can adopt two players of playing one of them displaying audio file of device, plays device for these two and is respectively receiver and loudspeaker.Also be that player both can adopt receiver displaying audio file independently, can adopt independently loudspeaker displaying audio file again.
As shown in Figure 1, the audio frequency playing method of the embodiment of the present application mainly comprises following content:
Step S110, when player adopts receiver or loudspeaker displaying audio file, whether the periphery of sensing receiver has object in real time, and the periphery that obtains receiver has the periphery of object or receiver without the sensing result of object.Wherein the periphery of receiver has the sensing result of object, and expression has object to exist near can sensing the receiver of intelligent mobile terminal; The periphery of receiver is without the sensing result of object, and representing has object to exist near the receiver of induction less than intelligent mobile terminal.
It should be noted that, intelligent mobile terminal is not the object of so-called receiver periphery herein.The object of so-called receiver periphery, refers to the object that is positioned at receiver place intelligent mobile terminal periphery herein, and what discuss is to be distributed in receiver object around, such as ear of user etc.
Player adopts receiver displaying audio file still to adopt loudspeaker displaying audio file, can set in advance, and can be also that intelligent mobile terminal carries out adaptively selected according to different situations.
For the situation setting in advance, user or manufacturer etc. can be receiver or loudspeaker by the broadcasting device default setting of audio file in advance on intelligent mobile terminal., under default scenario, the player in intelligent mobile terminal just can carry out displaying audio file according to default setting.User can change the broadcasting device of player plays audio file by modes such as modifications, and such as default setting is that player adopts receiver displaying audio file,, when having needs, user can be revised as adopts loudspeaker displaying audio file.Vice versa, default setting is for adopting loudspeaker displaying audio file, and, when having needs, user can be revised as adopts receiver displaying audio file.
For the adaptively selected receiver of the player in intelligent mobile terminal or loudspeaker displaying audio file, can be that user controls while playing this voice messaging, whether the periphery of the real-time sensing receiver of intelligent mobile terminal has object to exist, and automatically selects receiver or loudspeaker to play and the corresponding complete audio file of this voice messaging according to sensing result.
According to general use habit, user carries out the operation of displaying audio file or answer voice information etc. on intelligent mobile terminal, and when the object distance receiver of the receiver periphery of intelligent mobile terminal very closely can be sensed, can think that the receiver of intelligent mobile terminal should be attached to user in one's ear.Under this situation, the periphery that can obtain receiver has the sensing result of object existence, and the player in intelligent mobile terminal can select receiver as the broadcasting device of displaying audio file according to this sensing result automatically, by receiver, plays this audio file.And user carries out the operation of displaying audio file or answer voice information etc. on intelligent mobile terminal, and the object distance receiver of the receiver periphery of intelligent mobile terminal is compared with far away and cannot be sensed time, can think that the receiver of intelligent mobile terminal should be not to be attached to user in one's ear.Under this situation, the periphery that can obtain receiver does not have the sensing result of object, and player will select loudspeaker as the broadcasting device of displaying audio file according to this sensing result automatically, by loudspeaker, plays this audio file.
In the application's embodiment, if sense the periphery of receiver, there is object to exist, in the situation that there is no obvious external noise, general user is can be by receiver clear or comparatively clearly hear the content that the voice messaging of intelligent mobile terminal displaying audio file comprises.If sense the periphery of receiver, there is no object, in the situation that there is no obvious external noise, general user can not be clear or be difficult to clearly hear the content that the voice messaging of intelligent mobile terminal displaying audio file comprises, now to adopt loudspeaker displaying audio file be proper to player, is convenient to the content that voice messaging that user can clearly hear electronic equipment displaying audio file comprises.
Step S120, when receiver periphery has object or do not have the sensing result of object to change, obtain the current play position of this audio file of player plays, this current play position is carried out to mark, and switch between receiver and these two broadcasting devices of loudspeaker.
If player is to adopt receiver displaying audio file before this sensing result changes, plays after device switches employing loudspeaker is carried out to follow-up play.If player is to adopt loudspeaker displaying audio file before this sensing result changes, plays after device switches employing receiver is carried out to follow-up play.
Particularly, if from representing that receiver periphery changes to without the sensing result of object the sensing result that expression receiver periphery has object, player switches to receiver by the broadcasting device of playing this audio file from loudspeaker, so that the follow-up play of this audio file adopts receiver to carry out.If from representing that receiver periphery has the sensing result of object to change to and represents that receiver periphery is without the sensing result of object, player switches to loudspeaker by the broadcasting device of playing this audio file from receiver, so that the follow-up play of this audio file adopts loudspeaker to carry out.
Conventionally under situation, user does not use the utility appliance such as earphone directly on intelligent mobile terminal during displaying audio file, be generally that intelligent mobile terminal is placed in front or is play by the side of and by loudspeaker, or intelligent mobile terminal is placed on to ear limit and plays by receiver.
When the player in intelligent mobile terminal passes through loudspeaker displaying audio file, user by intelligent mobile terminal from face of or take by the side of ear limit and listen to voice messaging, if also continue to adopt loudspeaker displaying audio file, for general use scenes, it is excessive that the sound that intelligent mobile terminal displaying audio file produces will seem, easily stimulate the ear to user, to user, bring sense of discomfort, reduce user and experience.And, be also unfavorable for the protection of secret content in voice messaging.Now, broadcasting device is switched to receiver from loudspeaker, not only can guarantee that user clearly hears follow-up voice messaging, guarantee that user listens to the comfort level of subsequent voice information, but also can guarantee the privacy of subsequent voice information, prevent that other people from hearing the secret content in subsequent voice information.
When the player in intelligent mobile terminal passes through receiver displaying audio file, user takes intelligent mobile terminal in front or listens to by the side of voice messaging from ear limit, if also continue to adopt receiver displaying audio file, for general use scenes, the sound that intelligent mobile terminal is play will seem too small, user is difficult to not hear the voice messaging that intelligent mobile terminal is play, and reduces user and experiences.And, be also unfavorable for sharing of voice messaging.Now, broadcasting device is switched to loudspeaker from receiver, not only can guarantee that user clearly hears follow-up voice messaging, guarantee that user listens to the comfort level of subsequent voice information, but also can guarantee sharing in time of subsequent voice information, make around other people of user also can hear in time follow-up voice messaging.
Step S130, controls player according to the current play position of the audio file of institute's mark, adopts the broadcasting device displaying audio file after switching.
In the application's embodiment, in the time of can having or not have the sensing result of object to change at the periphery of receiver, control player and suspend this audio file one Preset Time section of broadcasting, switching between receiver and loudspeaker can be carried out in this Preset Time section, for providing time enough, this switching prepares, also avoided in the process of the continuous displaying audio file of player, because switch and play device and issuable noise suddenly, affect user's experience simultaneously.
When this Preset Time section arrives, control player according to this current play position, adopt the broadcasting device displaying audio file after switching.Such as, at time-out, play this Preset Time section and arrive and complete after the switching between receiver and loudspeaker, control intelligent mobile terminal from this current play position, adopt the broadcasting device continuation after switching to play this audio file.So process, intelligent mobile terminal is switched and play after device, can again from the reference position of audio file, not replay audio file, user's listening period avoids waste, especially for the replaying of long period, can save in a large number user's time, ensure the fluency of linking up.
When aforesaid sensing result changes, control intelligent mobile terminal and suspend this audio file one Preset Time section of broadcasting, be convenient to user and listen to and by the broadcasting device after switching, continue displaying audio file and reserve and change and adaptation time, avoid playing the volume that device brings and changing suddenly and bring discomfort to user because switch in playing process continuously.On the other hand, in the process of continuous displaying audio file, switch and play device suddenly, be also difficult to avoid occurring tonequality sudden change, noise or other playback problem, by the time-out in playing process, also can effectively avoid.
The application's embodiment also can, after switching completes, determine a continued broadcasting position in the reference position of audio file in the paragraph of broadcasting between this current play position of suspending.Then, control player from this continued broadcasting position of audio file, adopt the remainder of this audio file of broadcasting device continuation broadcasting after switching.
For this situation, play position is to the part this current play position from this for audio file, and intelligent mobile terminal can adopt receiver and loudspeaker respectively to play one time.This processing mode, be convenient to user and can clearly listen to the voice messaging before and after this current play position, make user can be because of posture for a change, switch play device and play voice messaging volume suddenly from large to small or the variation holiday content of changing from small to big.Meanwhile, also for player adopts different variations of playing the generation of device displaying audio file, be provided with a buffering, be convenient to this variation of user adaptation.And, this processing mode is switched after broadcasting device intelligent mobile terminal at every turn, can all from the reference position of audio file, not replay audio file, the user's that avoids waste listening period, and effectively avoided user to repeat passively to listen to the play content of large section.Certainly, if user wants again to listen to voice messaging from the reference position of audio file or forward position, can replay audio file by manual control and realize.
In the application's embodiment, reference position at audio file is determined this continued broadcasting position in the paragraph of broadcasting between current play position to this, can from reference position, to the corresponding playing duration of the paragraph of broadcasting this current play position, carry out according to audio file.Such as, by this playing duration compare with a default duration threshold value, then according to comparative result, in the paragraph of broadcasting of audio file, determine this continued broadcasting position.
Particularly, when the corresponding playing duration of the paragraph of broadcasting of audio file is less than or equal to default duration threshold value, just the reference position of audio file is defined as to this continued broadcasting position.When the corresponding playing duration of the paragraph of broadcasting of audio file is greater than default duration threshold value, just according to a default replay duration, in the paragraph of broadcasting of audio file, determine this continued broadcasting position.
In the application's embodiment, this duration threshold value is such as can be 1 second.Certainly, the duration of being arranged to other numerical value is also fine certainly.Like this, if one the corresponding duration of the paragraph of audio file before the current play position at time-out place is less than or equal to 1 second, illustrate that now audio file has also only been play little by little content, can start anew completely to replay, be convenient to user complete, clearly hear the corresponding voice messaging of audio file.Under this situation, after switching broadcasting device, player just can continue from the reference position of audio file to play, and be equivalent to replay this audio file.If the corresponding duration of the paragraph of this audio file before the current play position at time-out place is greater than 1 second, such as being 15 seconds, illustrate that now audio file has been play more content, user should not hear the most contents from reference position, only may be at the place, close end that plays paragraph, because intelligent mobile terminal moves or other reasons etc. is not clearly heard corresponding information.Now, just need not replay from the starting position of audio file, avoid the clear content of listening to again to play one time and waste user's listening period, ensure that user listens to voice messaging glibly.Under this situation, after switching broadcasting device, just can, according to default replay duration, in the paragraph of broadcasting of audio file, determine a continued broadcasting position.Wherein, this replay duration is less than the playing duration of audio file.
In the application's embodiment, when the corresponding playing duration of the paragraph of broadcasting of audio file is greater than default duration threshold value, the whole playing duration of audio file can be deducted to corresponding position after this duration threshold value, be defined as this continued broadcasting position.In the application's embodiment, this replay duration can equal aforesaid duration threshold value.
The application's embodiment, can be applied to the scene that user carries out voice communication by micro-letter or other instant messagings application.Such as, two users chat by the micro-letter on mobile phone separately respectively, first user sends a voice messaging to the second user.The second user's mobile phone receives after this voice messaging, with the form of audio file, this voice messaging is stored in to this locality.The second user, when controlling this voice messaging of broadcasting, on the desk in face of mobile phone is placed in, and adopts the form that loudspeaker is put to play this audio file outward.In playing the process of this audio file, the second user has changed posture, and the mobile phone on desk in face of being previously placed on is taken to ear limit.The second user's mobile phone senses this variation in real time, controls player and suspend to play 1 second of this audio file, and the broadcasting device that mobile phone is play voice messaging is switched to receiver from loudspeaker.When arrive in 1 second of suspending, control player and adopt receiver to continue displaying audio file.
If the second user controls while playing this audio file, mobile phone is placed on to ear limit, the form that adopts receiver to play is play corresponding audio file.In playing the process of this audio file, the second user has changed posture, and the mobile phone that was previously placed on ear limit is taken on desk.The second user's mobile phone senses this variation in real time, controls mobile phone and suspend to play 1 second of this audio file, and the broadcasting device of playing voice messaging is switched to loudspeaker from receiver.When arrive in 1 second of suspending, control player and adopt loudspeaker to continue displaying audio file.
When sensing in real time sensing result that earpiece periphery has or not object and change, also can control player from play position toward one section of content of reference position direction rebound of audio file.After the switching completing between receiver and loudspeaker, controlling player starts to adopt the broadcasting device switching to continue to play voice messaging again from jumped back to position, or after suspending a period of time, then control the broadcasting device of player from jumped back to position starts employing switching and continue to play voice messaging.
In some public occasions, or except user, also have under the sight of presence of others, user plays voice messaging by the loudspeaker of intelligent mobile terminal.By the content of having play, perceive follow-up voice messaging and may relate to inconvenient disclosed communication content, such as privacy or information that need to be secret between user, user can be placed into the receiver of intelligent mobile terminal rapidly the position near ear, now control player and stop continuing to play this audio file by loudspeaker, broadcasting device is switched to receiver.Then, control player from the position (being also aforesaid current play position) that stops broadcasting of audio file, or control player from the some positions of having play before the position that stops playing, adopt receiver to continue to play the remainder of this audio file.Like this, subsequent content just can not leaked to other people easily, has guaranteed to link up the privacy of content.Even, when user perceives follow-up communication content and relates to privacy or other private informations, can be promptly by the receiver of intelligent mobile terminal near any position of health, or near any object, intelligent mobile terminal will automatically switch into the mode that adopts receiver displaying audio file, has effectively prevented that the situation of playing private information in the presence of all from occurring.
Other situation, such as exchanging party information between friend, when aggregate information or other are wished communication content that many people know, the user of receiving end intelligent mobile terminal can take intelligent mobile terminal from ear position, intelligent mobile terminal just can stop displaying audio file, and the mode that adopts before receiver displaying audio file is automatically switched to the mode that adopts loudspeaker displaying audio file, then directly from stopping the continuous displaying audio file in position of broadcasting, or the continuous displaying audio file in position from stopping playing again after suspending a period of time, an or repeat playing part continue displaying audio file back from the position that stops playing, an or repeat playing part continue displaying audio file back from the position that stops playing again after suspending a period of time, be convenient to user's periphery other people can be together with user, in the very first time, listen to relevant voice messaging simultaneously.
The audio frequency broadcast system of the embodiment of the present application, for intelligent mobile terminal displaying audio file.This intelligent mobile terminal includes receiver and these two of loudspeakers that can independent play-out audio file and plays devices.As shown in Figure 2, this Play System comprises inductor 210, processor 220 and controller 230 etc., wherein:
Inductor 210, when player adopts receiver or loudspeaker displaying audio file, whether the periphery of sensing receiver has object and obtains the sensing result that receiver periphery has object or there is no object in real time.
Processor 220, is connected with inductor 210, when sensing result changes, obtains the current play position of audio file, and the switching of playing device between receiver and loudspeaker.In the application's embodiment, sensing result changes, and such as being has object to change to receiver periphery from receiver periphery there is no object, or from receiver periphery, does not have object to change to receiver periphery to have object.
Controller 230, is connected with processor 220, controls player and adopts the broadcasting device displaying audio file after switching according to current play position.Such as, be to adopt receiver displaying audio file before, after switching, change loudspeaker displaying audio file into; And for example, be to adopt loudspeaker displaying audio file before, after switching, change receiver displaying audio file into.
In the application's embodiment, controller 230 can be when sensing result changes, control player and suspend displaying audio file one Preset Time section, and when Preset Time section arrives, control player and adopt the broadcasting device displaying audio file after switching according to current play position.Such as, controller 230, when Preset Time section arrives, is controlled player and is started to adopt the broadcasting device switching to continue displaying audio file from current play position.Processor 220 can complete the switching of playing device within the time period of this time-out.
In the application's embodiment, when sensing result is changed to the periphery that represents receiver and has object without object from the periphery that represents receiver, processor 220 switches to receiver by broadcasting device from loudspeaker.In sensing result, from the periphery that represents the periphery of receiver and have object to be changed to represent a receiver during without object, processor 220 switches to loudspeaker by broadcasting device from receiver.
In the application's embodiment, controller 230 is determined a continued broadcasting position in the reference position of audio file in the paragraph of broadcasting between current play position, and controls player from continued broadcasting position, adopts the broadcasting device displaying audio file after switching.Such as, controller 230, according to playing the playing duration that paragraph is corresponding and a duration threshold value of presetting, is determined continued broadcasting position in playing paragraph.
In the application's embodiment, when playing duration is less than or equal to duration threshold value, controller 230 is defined as continued broadcasting position by the reference position of audio file; When playing duration is greater than duration threshold value, controller 230 is determined continued broadcasting position in playing paragraph according to a default replay duration.
In the application's embodiment, it is continued broadcasting position that controller 230 can deduct the location positioning that replay duration is corresponding by the playing duration of audio file.
It is apparent to those skilled in the art that each ingredient of the system that above-mentioned the embodiment of the present application provides, and each step in method, they can concentrate on single calculation element, or are distributed on the network that a plurality of calculation elements form.Alternatively, they can be realized with the executable program code of calculation element.Thereby, they can be stored in memory storage and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module realize.Like this, the present invention is not restricted to any specific hardware and software combination.
Although the disclosed embodiment of the present invention as above, the embodiment that described content only adopts for ease of understanding the present invention, not in order to limit the present invention.Those of skill in the art under any the present invention; do not departing under the prerequisite of the disclosed spirit and scope of the present invention; can in the form of implementing and details, carry out any modification and variation; but scope of patent protection of the present invention, still must be as the criterion with the scope that appending claims was defined.

Claims (8)

1. an audio frequency playing method, for intelligent mobile terminal displaying audio file, described intelligent mobile terminal includes two to be play device and adopts described two players of playing one of them displaying audio file of device, and described two broadcasting devices are respectively receiver and loudspeaker; Wherein, the method comprises:
When described player adopts described receiver or loudspeaker to play described audio file, described in sensing, whether the periphery of receiver has object and obtains sensing result in real time;
When described sensing result changes, obtain the current play position of described audio file, and the switching of playing device between described receiver and loudspeaker;
Controlling described player adopts the broadcasting device after switching to play described audio file according to described current play position.
2. method according to claim 1, wherein, the method comprises:
When described sensing result changes, control described player and suspend the described audio file one Preset Time section of broadcasting;
When described Preset Time section arrives, control described player and adopt the broadcasting device after switching to play described audio file according to described current play position.
3. method according to claim 2, wherein, when described Preset Time section arrives, controls described player and adopts the broadcasting device after switching to play described audio file according to described current play position, comprising:
When described Preset Time section arrives, control described player and start to adopt the broadcasting device switching to continue to play described audio file from described current play position.
4. method according to claim 1 and 2 wherein, is play the switching of device between described receiver and loudspeaker, comprising:
When described sensing result is changed to the periphery that represents described receiver and has object without object from the periphery that represents described receiver, broadcasting device is switched to described receiver from described loudspeaker;
In described sensing result, from the periphery that represents the periphery of described receiver and have object to be changed to represent a described receiver, during without object, broadcasting device is switched to described loudspeaker from described receiver.
5. method according to claim 1 and 2, wherein, controls described player and adopts the broadcasting device after switching to play described audio file according to described current play position, comprising:
Reference position at described audio file is determined a continued broadcasting position in the paragraph of broadcasting between described current play position;
Control described player from described continued broadcasting position, adopt the broadcasting device after switching to play described audio file.
6. method according to claim 5 wherein, is determined a continued broadcasting position in the reference position of described audio file in the paragraph of broadcasting between described current play position, comprising:
According to described playing duration that paragraph is corresponding and the default duration threshold value play, described, determine described continued broadcasting position in having play paragraph.
7. method according to claim 6, wherein, according to described playing duration that paragraph is corresponding and the default duration threshold value play, determines described continued broadcasting position described in having play paragraph, comprising:
When described playing duration is less than or equal to described duration threshold value, the reference position of described audio file is defined as to described continued broadcasting position;
When described playing duration is greater than described duration threshold value, according to a default replay duration, described, determine described continued broadcasting position in having play paragraph.
8. method according to claim 7, wherein, determines described continued broadcasting position described in having play paragraph according to a default replay duration, comprising:
It is described continued broadcasting position that the described playing duration of described audio file is deducted to the location positioning that described replay duration is corresponding.
CN201410156869.5A 2014-04-18 2014-04-18 Audio playing method Pending CN103985396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410156869.5A CN103985396A (en) 2014-04-18 2014-04-18 Audio playing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410156869.5A CN103985396A (en) 2014-04-18 2014-04-18 Audio playing method

Publications (1)

Publication Number Publication Date
CN103985396A true CN103985396A (en) 2014-08-13

Family

ID=51277339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410156869.5A Pending CN103985396A (en) 2014-04-18 2014-04-18 Audio playing method

Country Status (1)

Country Link
CN (1) CN103985396A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657612A (en) * 2015-12-30 2016-06-08 北京奇艺世纪科技有限公司 Audio and video play method and system, headset and mobile terminal
CN106375846A (en) * 2016-09-19 2017-02-01 北京小米移动软件有限公司 Method and device for processing live audio
CN107431860A (en) * 2015-03-12 2017-12-01 四达时代通讯网络技术有限公司 Audio system based on location-based service
CN107621933A (en) * 2015-09-22 2018-01-23 广东欧珀移动通信有限公司 A kind of audio frequency playing method and device and related media production

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001223784A (en) * 2000-02-10 2001-08-17 Matsushita Electric Ind Co Ltd Output switching circuit for portable terminal
CN102843464A (en) * 2012-08-03 2012-12-26 深圳市金立通信设备有限公司 System and method utilizing distance sensor to adjust call audio output mode
CN103702163A (en) * 2013-12-27 2014-04-02 乐视致新电子科技(天津)有限公司 Method and system of dynamically outputting audio file and television

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001223784A (en) * 2000-02-10 2001-08-17 Matsushita Electric Ind Co Ltd Output switching circuit for portable terminal
CN102843464A (en) * 2012-08-03 2012-12-26 深圳市金立通信设备有限公司 System and method utilizing distance sensor to adjust call audio output mode
CN103702163A (en) * 2013-12-27 2014-04-02 乐视致新电子科技(天津)有限公司 Method and system of dynamically outputting audio file and television

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107431860A (en) * 2015-03-12 2017-12-01 四达时代通讯网络技术有限公司 Audio system based on location-based service
CN107621933A (en) * 2015-09-22 2018-01-23 广东欧珀移动通信有限公司 A kind of audio frequency playing method and device and related media production
CN107621933B (en) * 2015-09-22 2020-08-04 Oppo广东移动通信有限公司 Audio playing method and device and related medium product
CN105657612A (en) * 2015-12-30 2016-06-08 北京奇艺世纪科技有限公司 Audio and video play method and system, headset and mobile terminal
CN106375846A (en) * 2016-09-19 2017-02-01 北京小米移动软件有限公司 Method and device for processing live audio
CN106375846B (en) * 2016-09-19 2019-06-18 北京小米移动软件有限公司 The processing method and processing device of live audio

Similar Documents

Publication Publication Date Title
CN103985394A (en) Audio file playing method
CN106488302B (en) Method for switching audio output, playback equipment and playback system
CN103984518A (en) Intelligent mobile terminal
CN107621933B (en) Audio playing method and device and related medium product
CN103019529A (en) Volume adjustment method and system
WO2017045453A1 (en) Monitoring method and device based on earphone
JP6186518B2 (en) Voice call prompt method, apparatus, program, and recording medium
WO2018028071A1 (en) Audio playback system, and hearing protection method for use when playing back audio using same
CN103458339A (en) Audio output control method and electronic equipment
WO2017148270A1 (en) Volume control method and device, and terminal
CN102905028A (en) Mobile terminal prompt information regulating method and corresponding mobile terminal
CN103985400A (en) Audio file playing system
CN103985396A (en) Audio playing method
CN111770416A (en) Loudspeaker control method and device and electronic equipment
CN106341757A (en) Sound source simultaneous playing method, device and terminal
WO2016150189A1 (en) Volume control method, playing device, mobile terminal and system
CN103985405A (en) Audio player
CN104965651B (en) Information processing method and electronic equipment
CN106648540B (en) Music switching method and device
CN111107226A (en) Volume control method applied to mobile terminal
CN112565876A (en) Screen projection method, device, equipment, system and storage medium
CN103985398A (en) Audio playing system
KR100632506B1 (en) Mobile phone with broadcast display function and control method
CN109511040A (en) A kind of whisper in sb.'s ear amplification method, device and earphone
CN103985397A (en) Electronic device

Legal Events

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

Application publication date: 20140813

RJ01 Rejection of invention patent application after publication