CN107404587A - Audio play control method, audio broadcast control device and mobile terminal - Google Patents

Audio play control method, audio broadcast control device and mobile terminal Download PDF

Info

Publication number
CN107404587A
CN107404587A CN201710799761.1A CN201710799761A CN107404587A CN 107404587 A CN107404587 A CN 107404587A CN 201710799761 A CN201710799761 A CN 201710799761A CN 107404587 A CN107404587 A CN 107404587A
Authority
CN
China
Prior art keywords
mobile terminal
microphone device
audio
inclination
angle
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.)
Granted
Application number
CN201710799761.1A
Other languages
Chinese (zh)
Other versions
CN107404587B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710799761.1A priority Critical patent/CN107404587B/en
Publication of CN107404587A publication Critical patent/CN107404587A/en
Application granted granted Critical
Publication of CN107404587B publication Critical patent/CN107404587B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S7/00Indicating arrangements; Control arrangements, e.g. balance control
    • H04S7/30Control circuits for electronic adaptation of the sound field

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a kind of audio play control method, audio broadcast control device, mobile terminal and computer-readable recording medium, the audio play control method includes:Receive the audio play instruction of input mobile terminal;Under the instruction of the audio play instruction, angle of inclination of the mobile terminal relative to preset reference direction is detected;Based on the obtained angle of inclination of detection and default correspondence relationship information, the play parameter of the first microphone device and the play parameter of the second microphone device are adjusted respectively, wherein, the diverse location of the first microphone device and the configuration of the second microphone device in mobile terminal;Above-mentioned first microphone device and above-mentioned second microphone device is controlled to play the audio corresponding with the audio play instruction based on the play parameter after each self-adjusting.Technical scheme provided by the invention, which can effectively improve, improves the flexibility that audio plays.

Description

Audio play control method, audio broadcast control device and mobile terminal
Technical field
The invention belongs to technical field of mobile terminals, more particularly to a kind of audio play control method, audio to play control Device, mobile terminal and computer-readable recording medium.
Background technology
With the popularization and development of mobile terminal (such as smart mobile phone, tablet personal computer etc.), the function of mobile terminal is increasingly It is abundant, and sterophonic technique is increasingly becoming trend in mobile terminal.
It is so-called stereo, just refer to that there is relief sound.(played back relative to monophone from a loudspeaker Sound), it is stereo to give the more preferable auditory effect of user.
At present, mobile terminal realizes that stereosonic mode is when audio plays, and controls two on mobile terminal to raise one's voice Device plays audio according to the play parameter of acquiescence, to realize stereophonic effect.Due to two loudspeakers of intelligent terminal be according to The play parameter of acquiescence plays audio, and therefore, flexibility is poor, it is difficult to adapts to demand of the user under different scenes.
The content of the invention
In view of this, the invention provides a kind of audio play control method, audio broadcast control device, mobile terminal and Computer-readable recording medium, to improve the flexibility of audio broadcasting.
The first aspect of the embodiment of the present invention provides a kind of audio play control method, including:
Receive the audio play instruction of input mobile terminal;
Under the instruction of the audio play instruction, inclination angle of the mobile terminal relative to preset reference direction is detected Degree;
The angle of inclination obtained based on detection and default correspondence relationship information, adjust the first microphone device respectively The play parameter of play parameter and the second microphone device, wherein, first microphone device and second microphone device configuration In the diverse location of the mobile terminal, and the correspondence relationship information includes:The angle of inclination of mobile terminal and described first Corresponding relation configured information, the angle of inclination of mobile terminal and broadcasting for second acoustical generator between the play parameter of acoustical generator Put the corresponding relation configured information between parameter;
Control first microphone device and second microphone device based on after each self-adjusting play parameter play with The corresponding audio of the audio play instruction.
Based on first aspect present invention, in the first possible implementation, after the play parameter based on adjustment First microphone device and after second microphone device plays the audio corresponding with the audio play instruction, institute Stating audio play control method also includes:
In the playing process of the audio, angle of inclination of the mobile terminal relative to preset reference direction is detected;
Based on the obtained angle of inclination of detection and the correspondence relationship information, adjust first microphone device and/ Or the play parameter of second microphone device.
The first possible implementation based on first aspect present invention, in second of possible implementation, institute Stating mobile terminal configuration has acceleration transducer and gravity sensor;
It is described to detect the mobile terminal relative to the angle of inclination in preset reference direction, be:Pass through the mobile terminal In acceleration transducer and gravity sensor detect the angle of inclination of the mobile terminal relative to preset reference direction.
Based on first aspect present invention, the either possible implementation of the first of first aspect present invention or this hair Second of possible implementation of bright first aspect, in the third possible implementation, the first microphone device tool Body is receiver, and second microphone device is specially loudspeaker;And first microphone device is arranged on the mobile terminal Apex zone in, second microphone device is arranged in the bottom zone of the mobile terminal;
It is described receive input mobile terminal audio play instruction be specially:Receive the instant messaging application in mobile terminal The audio play instruction of the session interface input of program.
The third possible implementation based on first aspect present invention, in the 4th kind of possible implementation, institute Play parameter is stated to include:Power output and/or frequency response.
The second aspect of the embodiment of the present invention provides a kind of audio broadcast control device, including:
Receiving unit, for receiving the audio play instruction of input mobile terminal;
Detection unit, under the instruction for the audio play instruction received in the receiving unit, detect the movement Terminal relative to preset reference direction angle of inclination;
Adjustment unit, for detecting obtained angle of inclination and default correspondence relationship information based on the detection unit, The play parameter of the first microphone device and the play parameter of the second microphone device are adjusted respectively, wherein, first microphone device The diverse location in the mobile terminal is configured with second microphone device, and the correspondence relationship information includes:It is mobile whole Corresponding relation configured information, the inclination angle of mobile terminal between the play parameter of the angle of inclination at end and first acoustical generator Corresponding relation configured information between degree and the play parameter of second acoustical generator;
Control unit, for controlling first microphone device and second microphone device based on broadcasting after each self-adjusting Put parameter and play the audio corresponding with the audio play instruction.
Based on second aspect of the present invention, in the first possible implementation, the detection unit is additionally operable to:Described In the playing process of audio, angle of inclination of the mobile terminal relative to preset reference direction is detected;
The adjustment unit is additionally operable to:Angle of inclination and the corresponding relation letter for detecting to obtain based on the detection unit Breath, adjust the play parameter of first microphone device and/or second microphone device.
The first possible implementation based on second aspect of the present invention, in second of possible implementation, institute Stating mobile terminal configuration has acceleration transducer and gravity sensor;
The detection unit is specifically used for:Detected by the acceleration transducer in the mobile terminal and gravity sensor The mobile terminal relative to preset reference direction angle of inclination.
Third aspect present invention provides a kind of mobile terminal, including memory, and processor and storage are on a memory and can The computer program run on a processor, realize during above-mentioned computing device above computer program above-mentioned first aspect or The audio play control method referred in any possible implementation of above-mentioned first aspect.
Fourth aspect present invention provides a kind of computer-readable recording medium, is stored with the computer-readable recording medium Computer program, above computer program realize any of above-mentioned first aspect or above-mentioned first aspect when being executed by processor The audio play control method referred in possible implementation.
Therefore in the present invention program, the shifting is detected when receiving the audio play instruction of input mobile terminal Move angle of inclination of the terminal equivalent to preset reference direction, and the angle of inclination obtained based on detection and default corresponding relation letter Breath adjusts the play parameter of the first microphone device and the second microphone device on the mobile terminal respectively, controls first hair afterwards Acoustic device and second microphone device play the sound corresponding with the audio play instruction based on the play parameter after each self-adjusting Frequently.By the way that the play parameter of the first microphone device and the second microphone device is related to the angle of inclination of mobile terminal so that Under different scenes, user can obtain desired stereophonic effect by changing the angle of inclination of mobile terminal, so as to certain The flexibility of audio broadcasting is improved in degree.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is audio play control method one embodiment schematic flow sheet provided by the invention;
Fig. 2 is audio play control method device one embodiment structural representation provided by the invention;
Fig. 3 is mobile terminal one embodiment structural representation provided by the invention.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders description of the invention.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence in following embodiments of the method, respectively The execution sequence of process should determine that the implementation process without tackling each embodiment forms any limit with its function and internal logic It is fixed.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one
The embodiment of the present invention provides a kind of audio play control method, referring to Fig. 1, the audio in the embodiment of the present invention is broadcast Place control method includes:
Step 101, the audio play instruction for receiving input mobile terminal;
In the embodiment of the present invention, above-mentioned audio play instruction plays out to trigger mobile terminal to some audio. That is, when receiving above-mentioned audio play instruction, the demand for currently having by mobile terminal playing audio is shown.
In actual applications, user (such as can click on and move by directly triggering some audio file in mobile terminal Some audio file of dynamic terminal) mode input audio play instruction to the mobile terminal, or user can also be by touching The hair play control related to some audio inputs audio play instruction to the mobile terminal.
Step 102, under the instruction of above-mentioned audio play instruction, detect above-mentioned mobile terminal relative to preset reference direction Angle of inclination;
In the embodiment of the present invention, before audio is played based on above-mentioned audio play instruction, it is relative first to detect mobile terminal In the angle of inclination in preset reference direction.
In a kind of application scenarios, above-mentioned preset reference direction can be horizontal direction, then above-mentioned detection is above-mentioned mobile whole End is embodied in relative to the angle of inclination in preset reference direction:Detect inclination of the above-mentioned mobile terminal relative to horizontal direction Angle.
In another application scenarios, above-mentioned preset reference direction can be vertical direction, then the above-mentioned movement of above-mentioned detection Terminal is embodied in relative to the angle of inclination in preset reference direction:Detect above-mentioned mobile terminal inclining relative to vertical direction Rake angle.
Certainly, in the embodiment of the present invention, above-mentioned preset reference direction can also be other directions.Specifically, the present invention is real Applying the mobile terminal configuration in example has acceleration transducer and gravity sensor, in a step 102, can be by above-mentioned mobile whole Acceleration transducer and gravity sensor in end detect angle of inclination of the above-mentioned mobile terminal relative to preset reference direction.When So, the embodiment of the present invention, inclination angle of the above-mentioned mobile terminal relative to preset reference direction can also be detected otherwise Degree, such as above-mentioned mobile terminal is only detected relative to pre- by the acceleration transducer in above-mentioned mobile terminal or gravity sensor If the angle of inclination of reference direction, or, under the scene that above-mentioned mobile terminal configuration has gyroscope, above-mentioned shifting can also be passed through Gyroscope in dynamic terminal detects above-mentioned mobile terminal relative to the angle of inclination in preset reference direction, does not limit herein.
Step 103, the angle of inclination obtained based on detection and default correspondence relationship information, adjust the first acoustical generator respectively The play parameter of the play parameter of part and the second microphone device;
In the embodiment of the present invention, above-mentioned first microphone device and above-mentioned second microphone device are that can be used in the mobile terminal Play the device of audio.Wherein, above-mentioned first microphone device and above-mentioned second microphone device are configured in above-mentioned mobile terminal not Same position, when playing audio simultaneously by above-mentioned first microphone device and above-mentioned second microphone device, to produce vertical Body sound effective value.
In the embodiment of the present invention, above-mentioned correspondence relationship information is pre-set, above-mentioned correspondence relationship information includes:Mobile terminal Angle of inclination and above-mentioned first acoustical generator play parameter between corresponding relation configured information (for ease of description, subsequently will The corresponding relation configured information related to the first acoustical generator is described as the first corresponding relation configured information), the inclination of mobile terminal Between angle and the play parameter of above-mentioned second acoustical generator corresponding relation configured information (for ease of description, subsequently will be with first The related corresponding relation configured information of acoustical generator is described as the second corresponding relation configured information).
In a kind of application scenarios, above-mentioned first corresponding relation configured information and above-mentioned second corresponding relation configured information can To show as corresponding relation curve, in corresponding relation curve, angle of inclination can be arranged to axis of abscissas, by play parameter Axis of ordinates is arranged to, then each point in the corresponding relation curve can be embodied between angle of inclination and play parameter Corresponding relation.Or in another application scenarios, above-mentioned first corresponding relation configured information and above-mentioned second corresponding relation refer to Show that information can also indicate that the corresponding relation between different angle of inclination sections and play parameter, then in step 103, be based on Detect obtained angle of inclination and can determine that angle of inclination section where the angle of inclination, and then referred to according to above-mentioned first corresponding relation Show that information and above-mentioned second corresponding relation configured information can determine that the broadcasting corresponding with the first acoustical generator and the second acoustical generator Parameter, and then adjust the play parameter of the first microphone device and the second microphone device.
In the embodiment of the present invention, differing tilt angles that can in advance in mobile terminal relative to above-mentioned preset reference direction Under play out test, with determine under differing tilt angles, above-mentioned first acoustical generator and above-mentioned second acoustical generator are preferably broadcast Parameter (such as power output and/or frequency response) is put, and builds above-mentioned first corresponding relation configured information and above-mentioned second pair Configured information should be related to.
Optionally, above-mentioned first microphone device is receiver, and above-mentioned second microphone device is loudspeaker;And above-mentioned first hair Acoustic device is arranged in the apex zone of above-mentioned mobile terminal, and above-mentioned second microphone device is arranged on the bottom of above-mentioned mobile terminal In region., can be just for the language received by instant messaging application program in the embodiment of the present invention herein under optional mode Sound message carries out audio and plays control.That is, only receive the meeting in the instant messaging application program of mobile terminal in step 101 When talking about the audio play instruction of interface input, the execution of the step 102 and subsequent step shown in Fig. 1 is just triggered.Below with this Optional mode and preset reference direction be horizontal direction exemplified by, to above-mentioned first corresponding relation configured information and above-mentioned second correspondence The setting of relation configured information is for example, because the first microphone device is arranged in the apex zone of mobile terminal, and second Microphone device is arranged in the bottom zone of the mobile terminal, therefore, when mobile terminal by vertical display or it is hand-held when, first hair Acoustic device is relative to the second microphone device apart from human ear closer to now can be using the first microphone device as main player Part, such as the power output of the first microphone device can be set to higher value and be set to the frequency response of the first microphone device Low frequency, and the power output of the second microphone device is set to smaller value and the frequency response of the second microphone device is set to high frequency. When detecting the intelligent terminal relative to the angle of inclination of horizontal direction in the angle of inclination section at 90 degree or 90 degree places, Correspondingly adjust the play parameter of the first microphone device and the second microphone device.In another example when mobile terminal is positioned horizontally, The second microphone device can be apart from human ear closer to now can be by the second microphone device relative to the first microphone device under normal circumstances As main broadcasting device, such as the power output of the second microphone device can be set to higher value and by the second microphone device Frequency response be set to middle low frequency, and the power output of the first microphone device is set to smaller value and by the frequency of the first microphone device Rate response is set to high frequency.Inclination where detecting that the intelligent terminal is 0 degree or 0 degree relative to the angle of inclination of horizontal direction When in angular interval, the play parameter of the first microphone device and the second microphone device is correspondingly adjusted.
Step 104, above-mentioned first microphone device and above-mentioned second microphone device are controlled based on the broadcasting ginseng after each self-adjusting Number plays the audio corresponding with above-mentioned audio play instruction;
In the embodiment of the present invention, after step 103, above-mentioned first microphone device and above-mentioned second microphone device base are controlled Play parameter after each self-adjusting plays the audio corresponding with above-mentioned audio play instruction.
It should be noted that because the implementation procedure of step 102 and step 103 is time-consuming very short, therefore, for user Speech, it is generally not detectable the time delay that audio caused by control parameter adjustment process plays.
Optionally, after step 103, in the playing process of above-mentioned audio, continue to detect above-mentioned mobile terminal relative In the angle of inclination in preset reference direction (can continue to detect, can also be periodically detected);Above-mentioned inclined based on what detection obtained Rake angle and above-mentioned correspondence relationship information, adjust the play parameter of above-mentioned first microphone device and/or above-mentioned second microphone device. Specifically, based on the obtained above-mentioned angle of inclination of detection and above-mentioned correspondence relationship information, adjust above-mentioned first microphone device and/or The play parameter of above-mentioned second microphone device can include:The above-mentioned angle of inclination obtained based on detection and above-mentioned corresponding relation letter Breath judges whether to need the play parameter for adjusting above-mentioned first microphone device, and the above-mentioned angle of inclination that is obtained based on detection and Above-mentioned correspondence relationship information judges whether to need the play parameter for adjusting above-mentioned second microphone device;If judge to need to adjust The play parameter of the first microphone device is stated, then according to above-mentioned first microphone device corresponding with the angle of inclination that current detection obtains Play parameter adjust the play parameter of above-mentioned first microphone device;If judge to need to adjust broadcasting for above-mentioned second microphone device Put parameter, then it is above-mentioned according to the adjustment of the play parameter of above-mentioned second microphone device corresponding with the angle of inclination that current detection obtains The play parameter of second microphone device.
It should be noted that the audio play control method in the embodiment of the present invention can be applied to audio broadcast control device In, above-mentioned audio broadcast control device can be independent equipment, or can also be integrated in mobile terminal (such as intelligent hand Machine, tablet personal computer etc.) or miscellaneous equipment in, be not construed as limiting herein.
Therefore in embodiments of the present invention, when receiving the audio play instruction of input mobile terminal, detection should Mobile terminal equivalent to preset reference direction angle of inclination, and based on the obtained angle of inclination of detection and default corresponding relation Information adjusts the play parameter of the first microphone device and the second microphone device on the mobile terminal respectively, control afterwards this first Microphone device and second microphone device are played corresponding with the audio play instruction based on the play parameter after each self-adjusting Audio.By the way that the play parameter of the first microphone device and the second microphone device is related to the angle of inclination of mobile terminal so that Under different scenes, user can obtain desired stereophonic effect by changing the angle of inclination of mobile terminal, so as to one Determine to improve the flexibility that audio plays in degree.
Embodiment two
The embodiment of the present invention also provides a kind of audio broadcast control device, as shown in Fig. 2 the audio in the embodiment of the present invention Broadcast control device 200 includes:
Receiving unit 201, for receiving the audio play instruction of input mobile terminal;
Detection unit 202, under the instruction for the audio play instruction received in receiving unit 201, detect the shifting Move angle of inclination of the terminal relative to preset reference direction;
Adjustment unit 203, for detecting obtained angle of inclination and default corresponding relation letter based on detection unit 202 Breath, the play parameter of the first microphone device and play parameter (such as power output and/or the frequency of the second microphone device are adjusted respectively Rate respond), wherein, first microphone device and second microphone device configuration the mobile terminal diverse location, And the correspondence relationship information includes:It is corresponding between the angle of inclination of mobile terminal and the play parameter of first acoustical generator Corresponding relation instruction letter between the play parameter of relation configured information, the angle of inclination of mobile terminal and second acoustical generator Breath;
Control unit 204, for controlling first microphone device and second microphone device based on after each self-adjusting Play parameter play the audio corresponding with the audio play instruction.
Optionally, detection unit 202 is additionally operable to:In the playing process of the audio, it is relative to detect the mobile terminal In the angle of inclination in preset reference direction;Adjustment unit 203 is additionally operable to:Obtained angle of inclination is detected based on detection unit 202 With the correspondence relationship information, the play parameter of adjustment first microphone device and/or second microphone device.
Optionally, the mobile terminal configuration in the embodiment of the present invention has acceleration transducer and gravity sensor, detection list Member 202 is specifically used for:The mobile terminal phase is detected by the acceleration transducer in the mobile terminal and gravity sensor For the angle of inclination in preset reference direction.
Optionally, first microphone device is specially receiver, and second microphone device is specially loudspeaker;And institute State the first microphone device to be arranged in the apex zone of the mobile terminal, second microphone device is arranged on described mobile whole In the bottom zone at end.Receiving unit 201 is specifically used for:Receive at the session interface of the instant messaging application program of mobile terminal The audio play instruction of input.
It should be noted that the audio broadcast control device in the embodiment of the present invention can be independent equipment, Huo Zheye It can be integrated in mobile terminal (such as mobile phone, tablet personal computer etc.) or miscellaneous equipment, be not construed as limiting herein.
Therefore in embodiments of the present invention, when receiving the audio play instruction of input mobile terminal, detection should Mobile terminal equivalent to preset reference direction angle of inclination, and based on the obtained angle of inclination of detection and default corresponding relation Information adjusts the play parameter of the first microphone device and the second microphone device on the mobile terminal respectively, control afterwards this first Microphone device and second microphone device are played corresponding with the audio play instruction based on the play parameter after each self-adjusting Audio.By the way that the play parameter of the first microphone device and the second microphone device is related to the angle of inclination of mobile terminal so that Under different scenes, user can obtain desired stereophonic effect by changing the angle of inclination of mobile terminal, so as to one Determine to improve the flexibility that audio plays in degree.
Embodiment three
The embodiment of the present invention provides a kind of mobile terminal, referring to Fig. 3, the mobile terminal in the embodiment of the present invention includes: Memory 301, one or more processors 302 (one is only shown in Fig. 3) and is stored on memory 301 and can be in processor The computer program of upper operation.Wherein:Memory 301 is used to store software program and module, and processor 302 is deposited by operation The software program and unit in memory 301 are stored up, so as to perform various function application and data processing.Specifically, handle Device 302 realizes following steps when being stored in the above computer program of memory 301 by operation:
Receive the audio play instruction of input mobile terminal;
Under the instruction of the audio play instruction, inclination angle of the mobile terminal relative to preset reference direction is detected Degree;
The angle of inclination obtained based on detection and default correspondence relationship information, adjust the first microphone device respectively The play parameter of play parameter and the second microphone device, wherein, first microphone device and second microphone device configuration In the diverse location of the mobile terminal, and the correspondence relationship information includes:The angle of inclination of mobile terminal and described first Corresponding relation configured information, the angle of inclination of mobile terminal and broadcasting for second acoustical generator between the play parameter of acoustical generator Put the corresponding relation configured information between parameter;
Control first microphone device and second microphone device based on after each self-adjusting play parameter play with The corresponding audio of the audio play instruction.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, it is described based on adjustment play parameter after first microphone device and described second After microphone device plays the audio corresponding with the audio play instruction, processor 302 is stored in memory by operation Following steps can also be realized during 301 above computer program:
In the playing process of the audio, angle of inclination of the mobile terminal relative to preset reference direction is detected;
Based on the obtained angle of inclination of detection and the correspondence relationship information, adjust first microphone device and/ Or the play parameter of second microphone device.
It is described in the third the possible embodiment provided based on above-mentioned second possible implementation Mobile terminal configuration has acceleration transducer and gravity sensor;
It is described to detect the mobile terminal relative to the angle of inclination in preset reference direction, be:Pass through the mobile terminal In acceleration transducer and gravity sensor detect the angle of inclination of the mobile terminal relative to preset reference direction.
In the first above-mentioned possible implementation, either above-mentioned second possible implementation or the above-mentioned 3rd In the 4th kind of possible embodiment provided based on the possible implementation of kind, first microphone device is specially Receiver, second microphone device is specially loudspeaker;And first microphone device is arranged on the top of the mobile terminal In end regions, second microphone device is arranged in the bottom zone of the mobile terminal;
It is described receive input mobile terminal audio play instruction be specially:Receive the instant messaging application in mobile terminal The audio play instruction of the session interface input of program.
It is described in the 5th kind of possible embodiment provided based on above-mentioned 4th kind of possible implementation Play parameter includes:Power output and/or frequency response.
Further, as shown in figure 3, above-mentioned mobile terminal may also include:One or more input equipments 303 (only show in Fig. 3 Go out one) and one or more output equipments 304 (one is only shown in Fig. 3).Memory 301, processor 302, input equipment 303 and output equipment 304 connected by bus 305.
It should be appreciated that in embodiments of the present invention, alleged processor 302 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 303 can include keyboard, Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and The directional information of fingerprint), microphone etc., output equipment 304 can include display, loudspeaker etc..
Memory 304 can include read-only storage and random access memory, and provide instruction sum to processor 301 According to.Part or all of memory 304 can also include nonvolatile RAM.For example, memory 304 may be used also With the information of storage device type.
Therefore in embodiments of the present invention, when receiving the audio play instruction of input mobile terminal, detection should Mobile terminal equivalent to preset reference direction angle of inclination, and based on the obtained angle of inclination of detection and default corresponding relation Information adjusts the play parameter of the first microphone device and the second microphone device on the mobile terminal respectively, control afterwards this first Microphone device and second microphone device are played corresponding with the audio play instruction based on the play parameter after each self-adjusting Audio.By the way that the play parameter of the first microphone device and the second microphone device is related to the angle of inclination of mobile terminal so that Under different scenes, user can obtain desired stereophonic effect by changing the angle of inclination of mobile terminal, so as to one Determine to improve the flexibility that audio plays in degree.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of said apparatus are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, system embodiment described above is only schematical, for example, the division of above-mentioned module or unit, Only a kind of division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can be with With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or Communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-described embodiment side All or part of flow in method, by computer program the hardware of correlation can also be instructed to complete, above-mentioned computer Program can be stored in a computer-readable recording medium, and the computer program can be achieved above-mentioned each when being executed by processor The step of individual embodiment of the method.Wherein, above computer program includes computer program code, and above computer program code can Think source code form, object identification code form, executable file or some intermediate forms etc..Above computer computer-readable recording medium can be with Including:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, the light of above computer program code can be carried Disk, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that above computer The content that computer-readable recording medium includes can carry out appropriate increase and decrease according to legislation in jurisdiction and the requirement of patent practice, such as In some jurisdictions, according to legislation and patent practice, computer-readable medium does not include being electric carrier signal and telecommunications letter Number.
Above above-described embodiment is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should Within protection scope of the present invention.

Claims (10)

  1. A kind of 1. audio play control method, it is characterised in that including:
    Receive the audio play instruction of input mobile terminal;
    Under the instruction of the audio play instruction, angle of inclination of the mobile terminal relative to preset reference direction is detected;
    The angle of inclination obtained based on detection and default correspondence relationship information, adjust the broadcasting of the first microphone device respectively The play parameter of parameter and the second microphone device, wherein, first microphone device and second microphone device configuration are in institute The diverse location of mobile terminal is stated, and the correspondence relationship information includes:The angle of inclination of mobile terminal and first sounding Join with the broadcasting of second acoustical generator at the angle of inclination of corresponding relation configured information, mobile terminal between the play parameter of device Corresponding relation configured information between number;
    Control first microphone device and second microphone device based on after each self-adjusting play parameter play with it is described The corresponding audio of audio play instruction.
  2. 2. audio play control method according to claim 1, it is characterised in that after the play parameter based on adjustment First microphone device and after second microphone device plays the audio corresponding with the audio play instruction, institute Stating audio play control method also includes:
    In the playing process of the audio, angle of inclination of the mobile terminal relative to preset reference direction is detected;
    The angle of inclination obtained based on detection and the correspondence relationship information, adjust first microphone device and/or institute State the play parameter of the second microphone device.
  3. 3. audio play control method according to claim 2, it is characterised in that the mobile terminal configuration has acceleration Sensor and gravity sensor;
    It is described to detect the mobile terminal relative to the angle of inclination in preset reference direction, be:By in the mobile terminal Acceleration transducer and gravity sensor detect angle of inclination of the mobile terminal relative to preset reference direction.
  4. 4. according to the audio play control method described in any one of claims 1 to 3, it is characterised in that first acoustical generator Part is specially receiver, and second microphone device is specially loudspeaker;And first microphone device is arranged on the movement In the apex zone of terminal, second microphone device is arranged in the bottom zone of the mobile terminal;
    It is described receive input mobile terminal audio play instruction be specially:Receive the instant messaging application program in mobile terminal Session interface input audio play instruction.
  5. 5. audio play control method according to claim 4, it is characterised in that the play parameter includes:Output work Rate and/or frequency response.
  6. A kind of 6. audio broadcast control device, it is characterised in that including:
    Receiving unit, for receiving the audio play instruction of input mobile terminal;
    Detection unit, under the instruction for the audio play instruction received in the receiving unit, detect the mobile terminal Relative to the angle of inclination in preset reference direction;
    Adjustment unit, for detecting obtained angle of inclination and default correspondence relationship information based on the detection unit, respectively The play parameter of the first microphone device and the play parameter of the second microphone device are adjusted, wherein, first microphone device and institute Diverse location of the second microphone device configuration in the mobile terminal is stated, and the correspondence relationship information includes:Mobile terminal The angle of inclination of corresponding relation configured information, mobile terminal between the play parameter of angle of inclination and first acoustical generator with Corresponding relation configured information between the play parameter of second acoustical generator;
    Control unit, for controlling first microphone device and second microphone device based on the broadcasting ginseng after each self-adjusting Number plays the audio corresponding with the audio play instruction.
  7. 7. audio broadcast control device according to claim 6, it is characterised in that the detection unit is additionally operable to:Institute In the playing process for stating audio, angle of inclination of the mobile terminal relative to preset reference direction is detected;
    The adjustment unit is additionally operable to:Obtained angle of inclination and the correspondence relationship information are detected based on the detection unit, Adjust the play parameter of first microphone device and/or second microphone device.
  8. 8. audio broadcast control device according to claim 7, it is characterised in that the mobile terminal configuration has acceleration Sensor and gravity sensor;
    The detection unit is specifically used for:By described in the acceleration transducer in the mobile terminal and gravity sensor detection Mobile terminal relative to preset reference direction angle of inclination.
  9. 9. a kind of mobile terminal, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 5 described in the computing device during computer program The step of any one methods described.
  10. 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 methods described.
CN201710799761.1A 2017-09-07 2017-09-07 Audio playing control method, audio playing control device and mobile terminal Active CN107404587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710799761.1A CN107404587B (en) 2017-09-07 2017-09-07 Audio playing control method, audio playing control device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710799761.1A CN107404587B (en) 2017-09-07 2017-09-07 Audio playing control method, audio playing control device and mobile terminal

Publications (2)

Publication Number Publication Date
CN107404587A true CN107404587A (en) 2017-11-28
CN107404587B CN107404587B (en) 2020-09-11

Family

ID=60398027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710799761.1A Active CN107404587B (en) 2017-09-07 2017-09-07 Audio playing control method, audio playing control device and mobile terminal

Country Status (1)

Country Link
CN (1) CN107404587B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683812A (en) * 2018-05-14 2018-10-19 Oppo(重庆)智能科技有限公司 volume adjusting method, device and mobile terminal
CN109257504A (en) * 2018-10-26 2019-01-22 维沃移动通信有限公司 A kind of audio-frequency processing method and terminal device
CN109348399A (en) * 2018-08-09 2019-02-15 瑞声科技(新加坡)有限公司 The control method of terminal and its stereo audio
CN112927711A (en) * 2021-01-20 2021-06-08 维沃移动通信有限公司 Audio parameter adjusting method and device of intelligent glasses

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355614A (en) * 2010-06-07 2012-02-15 索尼公司 Audio signal processing apparatus and audio signal processing method
CN102752687A (en) * 2012-06-28 2012-10-24 华为终端有限公司 Sound effect adjusting method for terminal device and terminal device
WO2014010272A1 (en) * 2012-07-13 2014-01-16 Necカシオモバイルコミュニケーションズ株式会社 Communication device, control method therefor, and program
CN104640029A (en) * 2013-11-06 2015-05-20 索尼公司 Audio outputting method and device, and electronic device
CN104969571A (en) * 2013-02-06 2015-10-07 华为技术有限公司 Method for rendering a stereo signal
CN106060710A (en) * 2016-06-08 2016-10-26 维沃移动通信有限公司 Audio output method and electronic equipment
US9491560B2 (en) * 2010-07-20 2016-11-08 Analog Devices, Inc. System and method for improving headphone spatial impression
CN106126175A (en) * 2016-06-16 2016-11-16 广东欧珀移动通信有限公司 The control method of a kind of sound effect parameters and mobile terminal
CN106170037A (en) * 2016-06-27 2016-11-30 乐视控股(北京)有限公司 Audio play control method and device
CN107113527A (en) * 2014-09-30 2017-08-29 苹果公司 The method for determining loudspeaker position change

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355614A (en) * 2010-06-07 2012-02-15 索尼公司 Audio signal processing apparatus and audio signal processing method
US9491560B2 (en) * 2010-07-20 2016-11-08 Analog Devices, Inc. System and method for improving headphone spatial impression
CN102752687A (en) * 2012-06-28 2012-10-24 华为终端有限公司 Sound effect adjusting method for terminal device and terminal device
WO2014010272A1 (en) * 2012-07-13 2014-01-16 Necカシオモバイルコミュニケーションズ株式会社 Communication device, control method therefor, and program
CN104969571A (en) * 2013-02-06 2015-10-07 华为技术有限公司 Method for rendering a stereo signal
CN104640029A (en) * 2013-11-06 2015-05-20 索尼公司 Audio outputting method and device, and electronic device
CN107113527A (en) * 2014-09-30 2017-08-29 苹果公司 The method for determining loudspeaker position change
CN106060710A (en) * 2016-06-08 2016-10-26 维沃移动通信有限公司 Audio output method and electronic equipment
CN106126175A (en) * 2016-06-16 2016-11-16 广东欧珀移动通信有限公司 The control method of a kind of sound effect parameters and mobile terminal
CN106170037A (en) * 2016-06-27 2016-11-30 乐视控股(北京)有限公司 Audio play control method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683812A (en) * 2018-05-14 2018-10-19 Oppo(重庆)智能科技有限公司 volume adjusting method, device and mobile terminal
CN109348399A (en) * 2018-08-09 2019-02-15 瑞声科技(新加坡)有限公司 The control method of terminal and its stereo audio
CN109257504A (en) * 2018-10-26 2019-01-22 维沃移动通信有限公司 A kind of audio-frequency processing method and terminal device
CN109257504B (en) * 2018-10-26 2020-11-10 维沃移动通信有限公司 Audio processing method and terminal equipment
CN112927711A (en) * 2021-01-20 2021-06-08 维沃移动通信有限公司 Audio parameter adjusting method and device of intelligent glasses

Also Published As

Publication number Publication date
CN107404587B (en) 2020-09-11

Similar Documents

Publication Publication Date Title
US10721550B2 (en) Detection of headphone rotation
CN107071648B (en) Sound playing adjusting system, device and method
US8160265B2 (en) Method and apparatus for enhancing the generation of three-dimensional sound in headphone devices
CN107404587A (en) Audio play control method, audio broadcast control device and mobile terminal
US10805708B2 (en) Headset sound channel control method and system, and related device
CN110175014B (en) Wireless earphone volume control method, system, wireless earphone and storage medium
CN106790940B (en) Recording method, recording playing method, device and terminal
CN106878915B (en) Control method, device and the playback equipment and mobile terminal of playback equipment
CN106358127A (en) Left and right sound channel switching method and mobile terminal
CN109982231B (en) Information processing method, device and storage medium
CN104753484A (en) Volume control method for wireless loudspeaker boxes and terminal
CN107861665A (en) Reminding method and device, terminal, the readable storage medium storing program for executing of a kind of volume adjusting
CN109508168B (en) Multi-channel volume adjusting method and related device
CN109361994A (en) Speaker control method, mobile terminal and computer readable storage medium
CN109085985A (en) Sounding control method, device, electronic device and storage medium
CN109086024A (en) Screen vocal technique, device, electronic device and storage medium
KR20200124948A (en) Electronic device and Method of controlling thereof
CN106488039A (en) Volume adjusting method and system, mobile terminal and playback equipment
CN108712706A (en) Vocal technique, device, electronic device and storage medium
CN105516451A (en) Sound effect adjustment method and device
CN105242859A (en) Voice information processing method and terminal
CN108958631A (en) Screen sounding control method, device and electronic device
CN105824597A (en) Terminal audio processing method and terminal
CN105472128A (en) Call control method and call control device
CN105389118B (en) A kind of switching method and user terminal of audio file

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant