CN106550141A - A kind of terminal and terminal audio frequency control method for playing back and device - Google Patents

A kind of terminal and terminal audio frequency control method for playing back and device Download PDF

Info

Publication number
CN106550141A
CN106550141A CN201610955224.7A CN201610955224A CN106550141A CN 106550141 A CN106550141 A CN 106550141A CN 201610955224 A CN201610955224 A CN 201610955224A CN 106550141 A CN106550141 A CN 106550141A
Authority
CN
China
Prior art keywords
terminal
speaker
attitude information
data
state
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
CN201610955224.7A
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.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610955224.7A priority Critical patent/CN106550141A/en
Publication of CN106550141A publication Critical patent/CN106550141A/en
Pending legal-status Critical Current

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stereophonic System (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present invention is that, with regard to a kind of terminal and terminal audio frequency control method for playing back and device, its method includes:Obtain the left channel data and right data in voice data to be played;Obtain the attitude information of the terminal;The left speaker and right speaker of the terminal are determined according to the attitude information of the terminal;The left channel data is sent to the left speaker and the right data sent to the right speaker.So when the attitude information of terminal changes, adaptive adjustment can be carried out, not only make the sound of terminal plays possess stereophonic effect, may also adapt to the audition needs of user.

Description

A kind of terminal and terminal audio frequency control method for playing back and device
Technical field
The present embodiments relate to field of terminal technology, more particularly to a kind of terminal and terminal audio frequency control method for playing back And device.
Background technology
With the continuous development of technology, the kind and type of the terminal that can be provided the user is also more and more, for example:Intelligence Energy mobile phone, panel computer etc., watch video by terminal, or listen music etc. to have become the daily habits of many users.
However, inventor is during the present invention is realized, it is found that at least there are the following problems in prior art:Current When the speaker by carrying is played out, typically single speaker plays audio frequency to terminal, it is impossible to meets and pursues high-quality The demand at stereo sound effectiveness family.
The content of the invention
In order that terminal can be very good the result of broadcast for producing stereo sound effect, the embodiment of the present invention a kind of terminal is provided with And terminal audio frequency control method for playing back and device.
A kind of first aspect according to embodiments of the present invention, there is provided terminal audio frequency control method for playing back, including:
Obtain the left channel data and right data in voice data to be played;
Obtain the attitude information of the terminal;
The left speaker and right speaker of the terminal are determined according to the attitude information of the terminal;
The left channel data is sent to the left speaker and right data is sent to the right side and is raised Sound device.
So when the attitude information of terminal changes, adaptive adjustment can be carried out, terminal plays are not only made Sound possesses stereophonic effect, may also adapt to the audition needs of user.
Alternatively, the attitude information for obtaining the terminal includes:
The SOT state of termination parameter that sensor in the terminal is detected is obtained, the sensor includes acceleration transducer And/or turn-sensitive device;
The attitude information of terminal according to the SOT state of termination parameter determination.
So by presetting the SOT state of termination parameter that sensor is detected, the attitude information of terminal can be effectively determined.
Alternatively, the attitude information for obtaining the terminal, including:
The screen display state of the terminal is detected, wherein, the screen display state of the terminal, including:First transverse screen Dispaly state, the second transverse screen dispaly state or portrait layout dispaly state;
The attitude information of the terminal is determined according to the screen display state of the terminal.
Alternatively, the first speaker is provided with the top of the terminal, the terminal bottom is provided with the second speaker;It is described The left speaker and right speaker of the terminal are determined according to the attitude information of the terminal, including:
When the attitude information of the terminal is the first transverse screen dispaly state, using first speaker as described The left speaker of terminal, using second speaker as the terminal right speaker;
When the attitude information of the terminal is the second transverse screen dispaly state, using second speaker as described The left speaker of terminal, using first speaker as the terminal right speaker.
Alternatively, the bottom of the terminal is additionally provided with three loudspeakers;The attitude information according to the terminal is true The left speaker and right speaker of the fixed terminal, including:
When the attitude information of the terminal is the portrait layout dispaly state, using second speaker as the terminal Left speaker, using the three loudspeakers as the terminal right speaker;
Wherein, when the attitude information of the terminal is portrait layout dispaly state, second speaker is located at the terminal Left side below display screen, the three loudspeakers are located at the right side below the terminal display screen.
A kind of second aspect according to embodiments of the present invention, there is provided terminal audio frequency broadcast control device, including:
Data acquisition module, for obtaining left channel data and right data in voice data to be played;
Attitude information acquisition module, for obtaining the attitude information of the terminal;
Speaker determining module, the left speaker and the right side for the terminal is determined according to the attitude information of the terminal are raised Sound device;
Data transmission blocks, for the left channel data is sent to the left speaker and by the R channel Data is activation is to the right speaker
So when the attitude information of terminal changes, adaptive adjustment can be carried out, terminal plays are not only made Sound possesses stereophonic effect, may also adapt to the audition needs of user.And it is that transverse screen is played or portrait layout is broadcast for terminal Put, or concrete broadcasting which kind of in the case of of transverse screen when playing, to reach preferably solid result of broadcast.
A kind of third aspect according to embodiments of the present invention, there is provided terminal, including:
Processor, for obtaining left channel data and right data in voice data to be played;It is additionally operable to obtain institute State the attitude information of terminal;And for the left speaker and right speaker of the terminal are determined according to the attitude information;
Left speaker, for receiving the left channel data that the processor sends, and for playing the L channel Data;
Right speaker, for receiving the right data that the processor sends, and for playing the R channel Data.
Alternatively, the terminal also includes:
Sensor, for detection terminal state parameter, wherein, the sensor includes acceleration transducer and/or rotation Sensor;
The processor, for the attitude information of the terminal is obtained according to the SOT state of termination parameter.
Alternatively, the processor is additionally operable to the screen display state for detecting the terminal, wherein, the screen display shape State, including:First transverse screen dispaly state, the second transverse screen dispaly state or portrait layout dispaly state;
The processor, for determining the attitude information according to the screen display state.
Alternatively, the first speaker is provided with the top of the terminal, the terminal bottom is provided with the second speaker;
When the attitude information that the processor is obtained is the first transverse screen dispaly state, the left speaker is First speaker, the right speaker are second speaker;
When the attitude information that the processor is obtained is the second transverse screen dispaly state, the left speaker is Second speaker, the right speaker are first speaker.
Alternatively, the bottom of the terminal is additionally provided with three loudspeakers;
When the attitude information that the processor is obtained is portrait layout dispaly state, the left speaker is described second Speaker, the right speaker are the three loudspeakers;Wherein, it is when the attitude information is portrait layout dispaly state, described Second speaker is located at the left side below the terminal display screen, and the three loudspeakers are located at below the terminal display screen Right side.
Fourth aspect according to embodiments of the present invention, there is provided a kind of electronic equipment, including:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
Obtain the left channel data and right data in voice data to be played;
Obtain the attitude information of the terminal;
The left speaker and right speaker of the terminal are determined according to the attitude information of the terminal;
The left channel data is sent to the left speaker and right data is sent to the right side and is raised Sound device.
The technical scheme that embodiments of the invention are provided can include following beneficial effect:
Terminal provided in an embodiment of the present invention and terminal audio frequency control method for playing back and device, are getting sound to be played When left channel data of the frequency according in and right data, the left speaker of terminal is determined by the attitude information of acquisition terminal With right speaker, left channel data, right data are respectively sent to into left speaker, right speaker.So in the appearance of terminal When state information changes, adaptive adjustment can be carried out, not only make the sound of terminal plays possess stereophonic effect, may be used also To adapt to the audition needs of user.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The embodiment of the present invention can be limited.
Description of the drawings
During accompanying drawing herein is merged in description and the part of this specification is constituted, show the enforcement for meeting the present invention Example, and be used for explaining the principle of the embodiment of the present invention together with description.
Figure 1A is the schematic diagram of a scenario of terminal under a broadcast state according to one embodiment of the invention;
Figure 1B is the schematic diagram of a scenario of terminal under a broadcast state according to another embodiment of the present invention;
Fig. 1 C are the schematic diagram of a scenario of terminal under a broadcast state according to further embodiment of this invention;
Fig. 2 is a kind of flow chart of the terminal audio frequency control method for playing back according to an exemplary embodiment of the invention;
Fig. 3 is the flow chart of step S220 in Fig. 2 according to an exemplary embodiment of the invention;
Fig. 4 is the flow chart of step S220 in Fig. 2 according to further example embodiment of the present invention;
Fig. 5 is the flow chart of step S230 in Fig. 2 according to an exemplary embodiment of the invention;
Fig. 6 is the flow chart of step S230 in Fig. 2 according to further example embodiment of the present invention;
Fig. 7 is a kind of structural representation of the terminal audio frequency broadcast control device according to an exemplary embodiment of the invention Figure;
Fig. 8 is the schematic diagram of attitude information acquisition module in Fig. 7 according to an exemplary embodiment of the invention;
Fig. 9 is the schematic diagram of attitude information acquisition module in Fig. 7 according to an exemplary embodiment of the invention;
Figure 10 is the schematic diagram of speaker determining module in Fig. 7 according to an exemplary embodiment of the invention;
Figure 11 is the schematic diagram of speaker determining module in Fig. 7 according to further example embodiment of the present invention;
Figure 12 is the structural representation of a kind of electronic equipment according to an exemplary embodiment of the invention;
Figure 13 is a kind of structural representation of the terminal according to an exemplary embodiment of the invention.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the embodiment of the present invention.Conversely, they be only with As described in detail in the appended claims, embodiment of the present invention some in terms of consistent apparatus and method example.
In order to meet the demand at the stereo sound effectiveness family for pursuing high-quality, a kind of terminal in the embodiment of the present invention, is provided Audio play control method, determines terminal left speaker and right speaker by the attitude information of detection terminal, and then will be eventually The left channel data and right data of the voice data to be played in end, is played by left speaker and right speaker respectively, Realize terminal played in stereo effect.
Schematic diagram of a scenario when Figure 1A~Fig. 1 C are user's using terminal playing audio-fequency data respectively, wherein, the present invention is real Illustrate so that terminal is as mobile phone as an example in applying example.Figure 1A is mobile phone the first transverse screen dispaly state, and Figure 1B is the second transverse screen of mobile phone Dispaly state, Fig. 1 C are mobile phone portrait layout dispaly state.The state of Figure 1A is overturn into 180 ° of states for being Figure 1B
In the embodiment that the present invention is provided, three speakers A, B and C are provided with mobile phone.Wherein, it is perpendicular in mobile phone During screen state, as shown in Figure 1 C, speaker A is located at the top of mobile phone, and speaker B and C are respectively positioned at the bottom of mobile phone, speaker B is located at the left side below mobile phone screen, and speaker C is located at the right side below mobile phone screen.In addition, the present invention provide other In embodiment, speaker B and speaker C can be combined into a speaker, i.e., can also be below mobile phone screen that one is raised Sound device.
The voice data that mobile phone is played in the embodiment of the present invention, can be independent voice data, in can also be video Comprising voice data, embodiment of the present invention not limited to this, wherein, the voice data includes left channel data and R channel number According to.
When mobile phone plays the voice data comprising L channel and R channel, need to obtain the attitude information of mobile phone.This The attitude information of mobile phone is divided into into three kinds in bright embodiment, i.e. the first transverse screen dispaly state in Figure 1A~Fig. 1 C, the second transverse screen Dispaly state or portrait layout dispaly state.Left speaker and right speaker on mobile phone are determined according to the attitude information of mobile phone, i.e., really Left channel data and right data in audio data is to be played out by which speaker on mobile phone respectively.
It is exemplary, in user by the first transverse screen state of Figure 1A mobile phones to watch the video played on mobile phone when, be Cause the sound that mobile phone plays video that there is stereophonic effect, need to play by the nearer speaker of distance users left ears and regard Left channel data in frequency, plays the right data in video by the nearer speaker of distance users auris dextra.With Figure 1A As a example by, left channel data can be played using speaker A as the left speaker of mobile phone, speaker B and/or C can be used as The right speaker of mobile phone plays right data so that the audio frequency that mobile phone is played possesses stereophonic effect.Believe in the attitude of mobile phone When breath changes, then needs carry out adaptive adjustment according to the attitude information of mobile phone, and the left side redefined on mobile phone is raised Sound device and right speaker, by the left channel data in voice data, right data respectively by the left speaker on mobile phone, the right side Speaker is played.
In order to elaborate the execution flow process of above-described embodiment, in the embodiment that the present invention is provided, there is provided a kind of whole End audio play control method, as shown in Fig. 2 the method may include steps of:
In step S210, the left channel data and right data in voice data to be played is obtained.
The voice data to be played, can be independent audio file, can also be the audio frequency from data acquisitions such as videos Data.And the voice data to be played, including the left channel data and right data that can produce stereo sound effect.
In step S220, the attitude information of terminal is obtained.
Can with reference to above-described embodiment and its accompanying drawing, by the attitude information can be divided into the first transverse screen dispaly state, second Transverse screen dispaly state or portrait layout dispaly state.
In step S230, the left speaker and right speaker of terminal are determined according to the attitude information of terminal.
In order to ensure the audio of terminal plays possesses stereosonic effect, raise one's voice distance users in terminal left ear nearer Device plays left channel data, distance users auris dextra in terminal nearer speaker is played right data, it is thus necessary to determine that terminal Left speaker and right speaker.Can be determined by the attitude information of terminal, according to above-described embodiment and Figure 1A~figure 1C, is repeated no more here.
In step S240, left channel data is sent to left speaker and right data is sent to the right side and is raised one's voice Device.
After left speaker and right speaker on terminal is determined, it is possible to left channel data is sent to a left side and raised one's voice Device and right data is sent to right speaker, left channel data is played will pass through left speaker, by right speaker Right data is played, and when user adjusts the attitude of terminal, end can be redefined with the attitude information according to terminal The left speaker at end and right speaker, to adapt to the attitude of terminal, it is to avoid the speaker for making the left ear of distance users nearer is played right Channel data, the speaker for making distance users auris dextra nearer play left channel data etc..
Terminal audio frequency control method for playing back provided in an embodiment of the present invention, the left sound in voice data to be played is got When track data and right data, the left speaker and right speaker of terminal are determined by the attitude information of acquisition terminal, will Left channel data, right data are respectively sent to left speaker, right speaker, will pass through left speaker, right speaker point Bo Fang not left channel data, right data.So when the attitude information of terminal changes, adaptive tune can be carried out It is whole, not only make the sound of terminal plays possess stereophonic effect, may also adapt to the audition needs of user.
In order to elaborate on how to obtain the attitude information of terminal, as the refinement of Fig. 2 methods, in another reality of the present invention Apply in example, as shown in figure 3, step S220 can also comprise the steps:
In step S221, the SOT state of termination parameter that sensor is detected is preset in obtaining terminal.
Wherein, the default sensor includes acceleration transducer and/or turn-sensitive device.
In step S222, according to the attitude information of SOT state of termination parameter determination terminal.
The state parameter detected by acceleration transducer or turn-sensitive device determining the attitude information of terminal, is Jing more ripe technology, can be checked using existing detection method, be repeated no more here.Those skilled in the art should It is also possible using other types of sensor when being appreciated that, as long as can realize obtaining SOT state of termination parameter, for obtaining The attitude information of terminal.
By presetting the SOT state of termination parameter that sensor is detected, the attitude information of terminal can be effectively determined.
In addition, obtaining the process of the attitude information of terminal, can be determined with the dispaly state of detection terminal screen, because This, as the refinement of Fig. 2 methods, in another embodiment of the invention, as shown in figure 4, step S220 can also include it is as follows Step:
In step S223, the screen display state of detection terminal.
The screen display interface of terminal, the picture for for example showing, video or other interfaces etc., can be with the display of detection terminal The state at interface, is that transverse screen shows, or portrait layout shows, and then determines the attitude information of terminal.If transverse screen shows, also need Judge that specifically which kind of transverse screen shows, that is, need judgement to be the first transverse screen dispaly state or the second transverse screen dispaly state.
In step S224, the attitude information of terminal is determined according to the screen display state of terminal.
Wherein, the screen display state of terminal, including:First transverse screen dispaly state, the second transverse screen dispaly state or portrait layout Dispaly state.Figure 1A~Fig. 1 the C in above-described embodiment can be corresponded to.
With reference to the various embodiments described above, such as Figure 1A and Figure 1B, the first speaker-speaker A can be provided with the top of terminal, Terminal bottom (in the present embodiment, have square button in legend be considered as terminal bottom) be provided with second and raise one's voice Device-speaker B, or speaker C, or speaker B and speaker C be combined into a speaker and (only set in the bottom of terminal Put a speaker, not shown in such case figure), as the refinement of Fig. 2 methods, in another embodiment of the invention, such as Shown in Fig. 5, step S230 can also comprise the steps:
In step S231, when the attitude information of terminal is the first transverse screen dispaly state, using the first speaker as end The left speaker at end, using the second speaker as terminal right speaker.
With reference to shown in Figure 1A, now the first speaker corresponds to the speaker A in Figure 1A as left speaker;Second raises Sound device corresponds to the speaker B and/or speaker C in Figure 1A as right speaker.It should be noted that the second speaker is made For right speaker when, speaker B in Figure 1A and speaker C can also be combined into a speaker and (only be set in the bottom of terminal Put a speaker, not shown in such case figure).
In step S232, when the attitude information of terminal is the second transverse screen dispaly state, using the second speaker as end The left speaker at end, using the first speaker of terminal as terminal right speaker.
With reference to shown in Figure 1B, now the first speaker corresponds to the speaker A in Figure 1B as right speaker, and second raises Sound device corresponds to the speaker B and/or speaker C in Figure 1B as left speaker.It should be noted that the second speaker is also Can by speaker B in Figure 1B and speaker C be combined into a speaker (one speaker is only set in the bottom of terminal, this Plant not shown in situation map).
On the basis of above-described embodiment, the bottom of terminal is additionally provided with three loudspeakers, as the refinement of Fig. 2 methods, In another embodiment of the invention, as shown in fig. 6, step S230 can also comprise the steps:
In step S233, when the attitude information of terminal is portrait layout dispaly state, using the second speaker as terminal Left speaker, using three loudspeakers as terminal right speaker.
Wherein, when the attitude information of terminal is portrait layout dispaly state, the second speaker is located at below terminal display screen Left side, three loudspeakers are located at the right side below terminal display screen.
Fig. 1 C can be corresponded to, the second speaker is speaker B, and three loudspeakers are speaker C, i.e.,:The attitude of terminal When information is portrait layout dispaly state, speaker B is located at the left side below terminal display screen, and speaker C is located under terminal display screen The right side of side;Speaker B is played into left channel data, speaker C is played into right data.
Terminal audio frequency control method for playing back provided in an embodiment of the present invention, the left sound in voice data to be played is got When track data and right data, the left speaker and right speaker of terminal are determined by the attitude information of acquisition terminal, will Left channel data, right data are played by left speaker, right speaker respectively.Attitude information so in terminal occurs to become During change, adaptive adjustment can be carried out, not only make the sound of terminal plays possess stereophonic effect, may also adapt to user's Audition needs.And it is that transverse screen is played or portrait layout is played for terminal, or concrete when playing of transverse screen is in the case of which kind of Play, to reach preferably solid result of broadcast.
The description of the embodiment of the method by more than, those skilled in the art can be understood that of the invention real Apply example to add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but many situations It is lower the former be more preferably embodiment.Based on such understanding, the technical scheme of the embodiment of the present invention is substantially in other words to existing There is the part that technology contributes embody in the form of software product, the computer software product is stored in one and deposits In storage media, use so that a computer equipment (can be personal computer, server, or network including some instructions Equipment etc.) perform all or part of step of each embodiment methods described of the invention.And aforesaid storage medium includes:It is read-only Memorizer (ROM), random access memory (RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
In addition, used as the realization to the various embodiments described above, the embodiment of the present invention additionally provides a kind of terminal audio frequency and plays control Device processed, the device are located in terminal, as shown in fig. 7, the device includes:
Data acquisition module 10, for obtaining left channel data and right data in voice data to be played;
Attitude information acquisition module 20, for obtaining the attitude information of the terminal;
Speaker determining module 30, for left speaker and the right side of the terminal are determined according to the attitude information of the terminal Speaker;
Data transmission blocks 40, for the left channel data is sent to the left speaker and by the right sound Track data is sent to the right speaker.
In still another embodiment of the process, based on Fig. 7, as shown in figure 8, the attitude information acquisition module 20, including:
Parameter acquiring submodule 21, preset the SOT state of termination parameter that sensor is detected, institute for obtaining in the terminal Stating default sensor includes acceleration transducer and/or turn-sensitive device;
Acquisition of information submodule 22, for the attitude information of the terminal according to the SOT state of termination parameter determination.
In still another embodiment of the process, based on Fig. 7, as shown in figure 9, the attitude information acquisition module 20, including:
State-detection submodule 23, for detecting the screen display state of the terminal;
Attitude information determination sub-module 24, for the attitude of the terminal is determined according to the screen display state of the terminal Information;
Wherein, the screen display state of the terminal, including:First transverse screen dispaly state, the second transverse screen dispaly state or Portrait layout dispaly state.
In still another embodiment of the process, based on Fig. 9, as shown in Figure 10, the first speaker is provided with the top of the terminal, The terminal bottom is provided with the second speaker;The speaker determining module 30, including:
First speaker determination sub-module 31, is the first transverse screen dispaly state for the attitude information in the terminal When, using first speaker as the left speaker of the terminal, second speaker is raised as the right side of the terminal Sound device;
Second speaker determination sub-module 32, is the second transverse screen dispaly state for the attitude information in the terminal When, using second speaker as the terminal left speaker, using the first speaker of the terminal as the terminal Right speaker.
In still another embodiment of the process, based on Figure 10, as shown in figure 11, the bottom of the terminal is additionally provided with the 3rd and raises Sound device;The speaker determining module 30, including:
Three loudspeakers determination sub-module 33, for the attitude information in the terminal be the portrait layout dispaly state when, Using second speaker as the left speaker of the terminal, the three loudspeakers are raised one's voice as the right side of the terminal Device;
Wherein, when the attitude information of the terminal is portrait layout dispaly state, second speaker is located at the terminal Left side below display screen, the three loudspeakers are located at the right side below the terminal display screen.
With regard to the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Terminal audio frequency broadcast control device provided in an embodiment of the present invention, the left sound in voice data to be played is got When track data and right data, the left speaker and right speaker of terminal are determined by the attitude information of acquisition terminal, will Left channel data, right data are played by left speaker, right speaker respectively.Attitude information so in terminal occurs to become During change, adaptive adjustment can be carried out, not only make the sound of terminal plays possess stereophonic effect, may also adapt to user's Audition needs.And it is that transverse screen is played or portrait layout is played for terminal, or concrete when playing of transverse screen is in the case of which kind of Play, to reach preferably solid result of broadcast.
The embodiment of the present invention also provides a kind of electronic equipment, and as shown in figure 12, the terminal 210 includes:At least one is processed Device 211, at least one bus 212, at least one communication interface 213 and at least one memorizer 214, wherein,
Memorizer 214 is used to store computer executed instructions;Memorizer 214 can include read only memory and random access memory Memorizer, and to 211 provide instruction and data of processor.The a part of of memorizer 214 can also be deposited including non-volatile random Access to memory (NVRAM, Non-Volatile Random Access Memory);
Processor 211 is connected by bus 212 with communication interface 213, memorizer 214;
In an embodiment of the invention, when computer runs, the meter that processor 211 is stored in performing memorizer 214 Calculation machine execute instruction, processor 211 can perform the step in embodiment illustrated in fig. 2, be used for:
Obtain the left channel data and right data in voice data to be played;
Obtain the attitude information of the terminal;
The left speaker and right speaker of the terminal are determined according to the attitude information of the terminal;
The left channel data is sent to the left speaker and right data is sent to the right side and is raised Sound device.
The embodiment of the present invention also provides a kind of terminal, as shown in figure 13, including:
Processor 91, for obtaining left channel data and right data in voice data to be played;It is additionally operable to obtain The attitude information of the terminal;And for the left speaker and right speaker of the terminal are determined according to the attitude information;
Left speaker 92, for receiving the left channel data that the processor sends, and for playing the left sound Track data;
Right speaker 93, for receiving the right data that the processor sends, and for playing the right sound Track data.
In the another embodiment that the present invention is provided, the terminal can also include:Sensor 94, wherein,
Sensor 94, for detection terminal state parameter, wherein, the sensor includes acceleration transducer and/or rotation Turn sensor;
The processor 91, is additionally operable to the attitude information of the terminal is obtained according to the SOT state of termination parameter.
In the another embodiment that the present invention is provided, the processor is additionally operable to the screen display shape for detecting the terminal State, wherein, the screen display state, including:First transverse screen dispaly state, the second transverse screen dispaly state or portrait layout show shape State;
The processor 91, is additionally operable to determine the attitude information according to the screen display state.
In the another embodiment that the present invention is provided, the first speaker, the terminal bottom at the top of the terminal, are provided with It is provided with the second speaker;
When the attitude information that the processor is obtained is the first transverse screen dispaly state, the left speaker is First speaker, the right speaker are second speaker;
When the attitude information that the processor is obtained is the second transverse screen dispaly state, the left speaker is Second speaker, the right speaker are first speaker.
In the another embodiment that the present invention is provided, the bottom of the terminal is additionally provided with three loudspeakers;
When the attitude information that the processor is obtained is portrait layout dispaly state, the left speaker is described second Speaker, the right speaker are the three loudspeakers;Wherein, it is when the attitude information is portrait layout dispaly state, described Second speaker is located at the left side below the terminal display screen, and the three loudspeakers are located at below the terminal display screen Right side.
It is understood that the embodiment of the present invention can be used in numerous general or special purpose computing system environment or configuration. For example:Personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, base System, set top box, programmable consumer-elcetronics devices in microprocessor, network PC, minicomputer, mainframe computer, bag Include distributed computing environment of any of the above system or equipment etc..
The embodiment of the present invention can be described in the general context of computer executable instructions, example Such as program module.Usually, program module include performing particular task or realize the routine of particular abstract data type, program, Object, component, data structure etc..The embodiment of the present invention is put into practice in a distributed computing environment can also, it is distributed at these In computing environment, task is performed by the remote processing devices connected by communication network.In a distributed computing environment, Program module is may be located at including in the local and remote computer-readable storage medium including storage device.
It should be noted that herein, the relational terms of such as " first " and " second " or the like are used merely to one Individual entity or operation are made a distinction with another entity or operation, and are not necessarily required or implied these entities or operate it Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to Cover including for nonexcludability, so that a series of process, method, article or equipment including key elements not only includes those Key element, but also including other key elements being not expressly set out, or also include for this process, method, article or set Standby intrinsic key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that Also there is other identical element in the process including the key element, method, article or equipment.
Those skilled in the art will readily occur to this after considering description and putting into practice inventive embodiments disclosed herein Other embodiments of bright embodiment.The application is intended to any modification, purposes or the adaptability of the embodiment of the present invention and becomes Change, these modifications, purposes or adaptations follow the general principle of the embodiment of the present invention and including the embodiment of the present invention Undocumented common knowledge or conventional techniques in the art.Description and embodiments be considered only as it is exemplary, The true scope and spirit of the embodiment of the present invention is pointed out by claim below.
It should be appreciated that the embodiment of the present invention is not limited to the accurate knot for being described above and being shown in the drawings Structure, and various modifications and changes can be being carried out without departing from the scope.The scope of the embodiment of the present invention is only by appended right Require to limit.

Claims (12)

1. a kind of terminal audio frequency control method for playing back, it is characterised in that include:
Obtain the left channel data and right data in voice data to be played;
Obtain the attitude information of the terminal;
The left speaker and right speaker of the terminal are determined according to the attitude information of the terminal;
The left channel data is sent to the left speaker and the right data sent to the right speaker.
2. terminal audio frequency control method for playing back according to claim 1, it is characterised in that the appearance of the acquisition terminal State information includes:
The SOT state of termination parameter that sensor is detected is preset in obtaining the terminal, the default sensor includes acceleration sensing Device and/or turn-sensitive device;
The attitude information of terminal according to the SOT state of termination parameter determination.
3. terminal audio frequency control method for playing back according to claim 1, it is characterised in that the appearance of the acquisition terminal State information, including:
The screen display state of the terminal is detected, wherein, the screen display state of the terminal, including:First transverse screen shows State, the second transverse screen dispaly state or portrait layout dispaly state;
The attitude information of the terminal is determined according to the screen display state of the terminal.
4. terminal audio frequency control method for playing back according to claim 3, it is characterised in that is provided with the top of the terminal One speaker, the terminal bottom are provided with the second speaker;The attitude information according to the terminal determines the terminal Left speaker and right speaker, including:
When the attitude information of the terminal is the first transverse screen dispaly state, using first speaker as the terminal Left speaker, using second speaker as the terminal right speaker;
When the attitude information of the terminal is the second transverse screen dispaly state, using second speaker as the terminal Left speaker, using first speaker as the terminal right speaker.
5. terminal audio frequency control method for playing back according to claim 4, it is characterised in that the bottom of the terminal also sets up There are three loudspeakers;The attitude information according to the terminal determines the left speaker and right speaker of the terminal, including:
The terminal attitude information be the portrait layout dispaly state when, using second speaker as the terminal a left side Speaker, using the three loudspeakers as the terminal right speaker;
Wherein, when the attitude information of the terminal is portrait layout dispaly state, second speaker is shown positioned at the terminal The left side of screen lower section, the three loudspeakers are located at the right side below the terminal display screen.
6. a kind of terminal audio frequency broadcast control device, it is characterised in that include:
Data acquisition module, for obtaining left channel data and right data in voice data to be played;
Attitude information acquisition module, for obtaining the attitude information of the terminal;
Speaker determining module, the left speaker and the right side for the terminal is determined according to the attitude information of the terminal are raised one's voice Device;
Data transmission blocks, for the left channel data is sent to the left speaker and by the right data Send to the right speaker.
7. a kind of terminal, it is characterised in that include:
Processor, for obtaining left channel data and right data in voice data to be played;It is additionally operable to obtain the end The attitude information at end;And for the left speaker and right speaker of the terminal are determined according to the attitude information;
Left speaker, for receiving the left channel data that the processor sends, and for playing the left channel data;
Right speaker, for receiving the right data that the processor sends, and for playing the right data.
8. terminal according to claim 7, it is characterised in that also include:
Sensor, for detection terminal state parameter, wherein, the sensor includes acceleration transducer and/or rotation sensing Device;
The processor, is additionally operable to the attitude information of the terminal is obtained according to the SOT state of termination parameter.
9. terminal according to claim 7, it is characterised in that the processor is additionally operable to detect that the screen of the terminal shows Show state, wherein, the screen display state, including:First transverse screen dispaly state, the second transverse screen dispaly state or portrait layout show State;
The processor, is additionally operable to determine the attitude information according to the screen display state.
10. terminal according to claim 9, it is characterised in that the first speaker, the end are provided with the top of the terminal End bottom is provided with the second speaker;
When the attitude information that the processor is obtained is the first transverse screen dispaly state, the left speaker is described First speaker, the right speaker are second speaker;
When the attitude information that the processor is obtained is the second transverse screen dispaly state, the left speaker is described Second speaker, the right speaker are first speaker.
11. terminals according to claim 10, it is characterised in that the bottom of the terminal is additionally provided with three loudspeakers;
When the attitude information that the processor is obtained is portrait layout dispaly state, the left speaker is raised one's voice for described second Device, the right speaker are the three loudspeakers;Wherein, when the attitude information is portrait layout dispaly state, described second Speaker is located at the left side below the terminal display screen, and the three loudspeakers are located at the right side below the terminal display screen Side.
12. a kind of electronic equipment, it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
Obtain the left channel data and right data in voice data to be played;
Obtain the attitude information of the terminal;
The left speaker and right speaker of the terminal are determined according to the attitude information of the terminal;
The left channel data is sent to the left speaker and right data is sent to the right side and is raised one's voice Device.
CN201610955224.7A 2016-10-27 2016-10-27 A kind of terminal and terminal audio frequency control method for playing back and device Pending CN106550141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610955224.7A CN106550141A (en) 2016-10-27 2016-10-27 A kind of terminal and terminal audio frequency control method for playing back and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610955224.7A CN106550141A (en) 2016-10-27 2016-10-27 A kind of terminal and terminal audio frequency control method for playing back and device

Publications (1)

Publication Number Publication Date
CN106550141A true CN106550141A (en) 2017-03-29

Family

ID=58393119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610955224.7A Pending CN106550141A (en) 2016-10-27 2016-10-27 A kind of terminal and terminal audio frequency control method for playing back and device

Country Status (1)

Country Link
CN (1) CN106550141A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107484082A (en) * 2017-08-08 2017-12-15 广东小天才科技有限公司 A kind of method and user terminal based on sound channel control audio signal transmission
CN108668193A (en) * 2017-03-30 2018-10-16 展讯通信(上海)有限公司 A kind of bass enhancing method, device and playback equipment for playback equipment
CN109257496A (en) * 2018-09-28 2019-01-22 努比亚技术有限公司 A kind of sound channel switching method, terminal and computer readable storage medium
CN109391726A (en) * 2017-08-03 2019-02-26 西安中兴新软件有限责任公司 A kind of method and terminal playing sound
CN109803212A (en) * 2018-12-19 2019-05-24 武汉西山艺创文化有限公司 A kind of method and device thereof realized based on pixelation sound around sound equipment
CN110580141A (en) * 2019-08-07 2019-12-17 上海摩软通讯技术有限公司 Mobile terminal and sound effect control method
CN110989961A (en) * 2019-10-30 2020-04-10 华为终端有限公司 Sound processing method and device
CN111294438A (en) * 2020-01-22 2020-06-16 华为技术有限公司 Method and terminal for realizing stereo output
CN112543250A (en) * 2019-09-04 2021-03-23 中兴通讯股份有限公司 Audio playing control method, smart phone, device and readable storage medium
CN113347297A (en) * 2021-04-25 2021-09-03 瑞声光电科技(常州)有限公司 Mobile terminal, stereo control method, and computer-readable storage medium
CN113810838A (en) * 2021-09-16 2021-12-17 Oppo广东移动通信有限公司 Audio control method and audio playing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974184A (en) * 2013-01-24 2014-08-06 华为终端有限公司 Sound channel switching method and device and multimedia equipment
CN104640029A (en) * 2013-11-06 2015-05-20 索尼公司 Audio outputting method and device, and electronic device
CN105163241A (en) * 2015-09-14 2015-12-16 小米科技有限责任公司 Audio playing method and device as well as electronic device
CN105681946A (en) * 2015-12-31 2016-06-15 东莞酷派软件技术有限公司 Earphone, earphone channel control method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974184A (en) * 2013-01-24 2014-08-06 华为终端有限公司 Sound channel switching method and device and multimedia equipment
CN104640029A (en) * 2013-11-06 2015-05-20 索尼公司 Audio outputting method and device, and electronic device
CN105163241A (en) * 2015-09-14 2015-12-16 小米科技有限责任公司 Audio playing method and device as well as electronic device
CN105681946A (en) * 2015-12-31 2016-06-15 东莞酷派软件技术有限公司 Earphone, earphone channel control method and terminal

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108668193A (en) * 2017-03-30 2018-10-16 展讯通信(上海)有限公司 A kind of bass enhancing method, device and playback equipment for playback equipment
CN109391726A (en) * 2017-08-03 2019-02-26 西安中兴新软件有限责任公司 A kind of method and terminal playing sound
CN107484082A (en) * 2017-08-08 2017-12-15 广东小天才科技有限公司 A kind of method and user terminal based on sound channel control audio signal transmission
CN109257496A (en) * 2018-09-28 2019-01-22 努比亚技术有限公司 A kind of sound channel switching method, terminal and computer readable storage medium
CN109803212A (en) * 2018-12-19 2019-05-24 武汉西山艺创文化有限公司 A kind of method and device thereof realized based on pixelation sound around sound equipment
CN110580141A (en) * 2019-08-07 2019-12-17 上海摩软通讯技术有限公司 Mobile terminal and sound effect control method
CN110580141B (en) * 2019-08-07 2022-09-30 上海摩软通讯技术有限公司 Mobile terminal
CN112543250A (en) * 2019-09-04 2021-03-23 中兴通讯股份有限公司 Audio playing control method, smart phone, device and readable storage medium
CN112543250B (en) * 2019-09-04 2023-06-09 中兴通讯股份有限公司 Audio play control method, smart phone, device and readable storage medium
CN110989961A (en) * 2019-10-30 2020-04-10 华为终端有限公司 Sound processing method and device
CN111294438A (en) * 2020-01-22 2020-06-16 华为技术有限公司 Method and terminal for realizing stereo output
CN111294438B (en) * 2020-01-22 2021-06-01 华为技术有限公司 Method and terminal for realizing stereo output
WO2021147415A1 (en) * 2020-01-22 2021-07-29 华为技术有限公司 Method for implementing stereo output and terminal
CN113438341A (en) * 2020-01-22 2021-09-24 华为技术有限公司 Method and terminal for realizing stereo output
CN113347297A (en) * 2021-04-25 2021-09-03 瑞声光电科技(常州)有限公司 Mobile terminal, stereo control method, and computer-readable storage medium
CN113810838A (en) * 2021-09-16 2021-12-17 Oppo广东移动通信有限公司 Audio control method and audio playing device
WO2023040515A1 (en) * 2021-09-16 2023-03-23 Oppo广东移动通信有限公司 Audio control method and audio playback device

Similar Documents

Publication Publication Date Title
CN106550141A (en) A kind of terminal and terminal audio frequency control method for playing back and device
CN102486716B (en) Mobile terminal and display packing thereof
CN103226961B (en) A kind of playing method and device
CN107659637B (en) Sound effect setting method and device, storage medium and terminal
US20140146970A1 (en) Collaborative sound system
US11474775B2 (en) Sound effect adjustment method, device, electronic device and storage medium
US9525942B2 (en) Mobile apparatus and control method thereof
CN107656718A (en) A kind of audio signal direction propagation method, apparatus, terminal and storage medium
CN103139375A (en) Mobile terminal and control method thereof
US20130163794A1 (en) Dynamic control of audio on a mobile device with respect to orientation of the mobile device
CN106997283B (en) Information processing method and electronic equipment
CN109168038A (en) A kind of processing method of resource, device and equipment
CN106060261A (en) Audio playing device and method
CN108366299A (en) A kind of media playing method and device
CN106851451A (en) A kind of earpiece volume control method and device
CN106409286A (en) Method and device for implementing audio processing
CN103335644A (en) Voice broadcast method for street view map, and relevant apparatus
CN110022493B (en) Playing progress display method and device, electronic equipment and storage medium
CN104081444A (en) Information processing device, information processing method and program
CN107547987B (en) A kind of effect adjusting method and mobile terminal
CN104378728A (en) Stereophonic audio processing method and device
CN112133319A (en) Audio generation method, device, equipment and storage medium
CN104469250A (en) Information processing method and electronic devices
CN106331356A (en) Volume control method and terminal
CN106601252A (en) Voice identification device and method

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170329

WD01 Invention patent application deemed withdrawn after publication