CN105187625B - A kind of electronic equipment and audio-frequency processing method - Google Patents
A kind of electronic equipment and audio-frequency processing method Download PDFInfo
- Publication number
- CN105187625B CN105187625B CN201510410099.7A CN201510410099A CN105187625B CN 105187625 B CN105187625 B CN 105187625B CN 201510410099 A CN201510410099 A CN 201510410099A CN 105187625 B CN105187625 B CN 105187625B
- Authority
- CN
- China
- Prior art keywords
- audio
- angle
- electronic equipment
- parameter
- module
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 14
- 238000012512 characterization method Methods 0.000 claims description 24
- 238000000034 method Methods 0.000 claims description 24
- 238000012545 processing Methods 0.000 claims description 19
- 238000004891 communication Methods 0.000 description 26
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 8
- 238000010295 mobile communication Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- NJPPVKZQTLUDBO-UHFFFAOYSA-N novaluron Chemical compound C1=C(Cl)C(OC(F)(F)C(OC(F)(F)F)F)=CC=C1NC(=O)NC(=O)C1=C(F)C=CC=C1F NJPPVKZQTLUDBO-UHFFFAOYSA-N 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 241000208340 Araliaceae Species 0.000 description 3
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 3
- 235000003140 Panax quinquefolius Nutrition 0.000 description 3
- 235000008434 ginseng Nutrition 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000008030 elimination Effects 0.000 description 2
- 238000003379 elimination reaction Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000002123 temporal effect Effects 0.000 description 2
- 101150012579 ADSL gene Proteins 0.000 description 1
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 1
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 1
- 241000256844 Apis mellifera Species 0.000 description 1
- 241000196324 Embryophyta Species 0.000 description 1
- 244000283207 Indigofera tinctoria Species 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000005764 inhibitory process Effects 0.000 description 1
- 238000011173 large scale experimental method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 230000002463 transducing effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a kind of electronic equipment and audio-frequency processing method, the electronic equipment includes:Decoder module obtains uncompressed sound waveform for being decoded to the first audio in first state;Receiving module, setting parameter for receiving input, the setting parameter is for specified playback angle;Compensating parameter determining module, for determining compensating parameter according to the setting parameter and preset HRTF model;Rotary module obtains the second audio, second audio has specified playback angle for being modified according to the compensating parameter to the sound waveform.
Description
Technical field
The present invention relates to the information processing technology more particularly to a kind of electronic equipment and audio-frequency processing methods.
Background technique
The angle of audio playback is generally determined by the angle that microphone when the recording audio is put.Currently, mobile whole
End playback audio when, user cannot learn the angle of audio playback from mobile terminal, can not automatically tuning frequency section playback
Angle.
In mobile terminal in use, user wishes the angle for learning audio playback from mobile terminal, it is also desirable to Neng Gougen
According to the angle for needing automatically to adjust audio playback.But the prior art is not obviously able to satisfy the above-mentioned requirements of user.
Summary of the invention
To solve existing technical problem, the embodiment of the invention provides a kind of electronic equipment and audio processing sides
Method.
The embodiment of the present invention provides a kind of electronic equipment, and the electronic equipment includes:
Decoder module obtains uncompressed sound waveform for being decoded to the first audio in first state;
Receiving module, setting parameter for receiving input, the setting parameter is for specified playback angle;
Compensating parameter determining module, for determining compensating parameter according to the setting parameter and preset HRTF model;
Rotary module obtains the second audio for being modified according to the compensating parameter to the sound waveform, described
Second audio has specified playback angle.
Wherein, the electronic equipment further includes characterization parameter determining module, for according to sound waveform determination
The characterization parameter of first audio;
Initial playback angle-determining module, is used for according to the characterization parameter and preset source of sound angle-data library, really
The initial playback angle of fixed first audio, source of sound angle-data library, which includes that characterization parameter is corresponding with source of sound angle, closes
System;
Output module, for exporting the initial playback angle.
Wherein, the output module, for the initial playback angle to be shown the display screen in the electronic equipment
On.
Wherein, the decoder module, for being decoded to the first audio in broadcast state.
Wherein, the electronic equipment further includes:Judgment module, for judging whether preset audio processing function opens,
When the audio processing function is opened, control decoder module executes operation.
The embodiment of the present invention provides a kind of audio-frequency processing method, is applied in electronic equipment, the method includes:
The first audio in first state is decoded, uncompressed sound waveform is obtained;
The setting parameter of input is received, the setting parameter is for specified playback angle;
According to the setting parameter and preset HRTF model, compensating parameter is determined;
The sound waveform is modified according to the compensating parameter, obtains the second audio, second audio has
Specified playback angle.
Wherein, the method includes also:
The characterization parameter of first audio is determined according to the sound waveform;
According to the characterization parameter and preset source of sound angle-data library, the initial playback of first audio is determined
Angle, source of sound angle-data library include the corresponding relationship of characterization parameter Yu source of sound angle;
Export the initial playback angle.
Wherein, the output initial playback angle, including:
The initial playback angle is shown on the display screen of the electronic equipment.
Wherein, described pair of the first audio in first state is decoded, including:
The first audio in broadcast state is decoded.
Wherein, the method also includes:
Judge whether preset audio processing function opens, when the audio processing function is opened, executes in the
The step of first audio of one state is decoded.
From the foregoing, it will be observed that the electronic equipment in the technical solution of the embodiment of the present invention includes:Decoder module, for in the
First audio of one state is decoded, and obtains uncompressed sound waveform;Receiving module, setting ginseng for receiving input
Number, the setting parameter is for specified playback angle;Compensating parameter determining module is used for according to the setting parameter and presets
HRTF model, determine compensating parameter;Rotary module, for being modified according to the compensating parameter to the sound waveform,
The second audio is obtained, second audio has specified playback angle.In this way, the technical solution of the embodiment of the present invention can make
User automatically adjusts the angle of audio playback according to their needs, additionally it is possible to user be made to learn audio playback from mobile terminal
Angle.
Detailed description of the invention
The hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the structure composition schematic diagram for the electronic equipment that one embodiment of the invention provides;
Fig. 4 is the schematic diagram of audio playback angle provided in an embodiment of the present invention;
Fig. 5 be another embodiment of the present invention provides electronic equipment structure composition schematic diagram;
Fig. 6 is the schematic diagram of sound waveform provided in an embodiment of the present invention;
Fig. 7 is the flow diagram for the audio-frequency processing method that one embodiment of the invention provides;
Fig. 8 be another embodiment of the present invention provides audio-frequency processing method flow diagram.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The electronic equipment of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use
For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself
There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Electronic equipment can be implemented in a variety of manners.For example, electronic equipment described in the present invention may include such as
Mobile phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer),
The mobile terminal of PMP (portable media player), navigation device etc. and such as number TV, desktop computer etc.
Fixed terminal.Hereinafter it is assumed that electronic equipment is mobile terminal.However, it will be understood by those skilled in the art that in addition to especially using
Except the element of mobile purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190
Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown
Part.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system
Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111, mobile communication module
112, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast from external broadcast management server via broadcast channel
Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server, which can be, to be generated and sent
The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information
And send it to the server of terminal.Broadcast singal may include TV broadcast singal, radio signals, data broadcasting
Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB)
Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast
Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Particularly, broadcasting reception module 111
It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video
It broadcasts-holds (DVB-H), the Radio Data System of forward link media (MediaFLO@), received terrestrial digital broadcasting integrated service
(ISDB-T) etc. digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively
Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via the received broadcast singal of broadcasting reception module 111 and/
Or broadcast related information can store in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical
Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting short range communication.Some examples of short-range communication technology include indigo plant
Tooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
Location information module 115 is the module for checking or obtaining the location information of mobile terminal.Location information module
Typical case be GPS (global positioning system).According to current technology, GPS module 115, which calculates, comes from three or more satellites
Range information and correct time information and the Information application triangulation for calculating, thus according to longitude, latitude
Highly accurately calculate three-dimensional current location information.Currently, it is defended for the method for calculating position and temporal information using three
Star and the error that calculated position and temporal information are corrected by using an other satellite.In addition, GPS module 115
It can be by Continuous plus current location information in real time come calculating speed information.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera
Microphone 1220, camera 121 is to the static map obtained in video acquisition mode or image capture mode by image capture apparatus
The image data of piece or video is handled.Treated, and picture frame may be displayed on display unit 151.At camera 121
Picture frame after reason can store in memory 160 (or other storage mediums) or carry out via wireless communication unit 110
It sends, two or more cameras 1210 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone relation mould
Sound (audio data) is received via microphone in formula, logging mode, speech recognition mode etc. operational mode, and can be incited somebody to action
Such acoustic processing is audio data.Audio that treated (voice) data can be converted in the case where telephone calling model
For the format output that can be sent to mobile communication base station via mobile communication module 112.Various types can be implemented in microphone 122
Noise eliminate (or inhibit) algorithm with eliminate noise that (or inhibition) generates during sending and receiving audio signal or
Person's interference.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal
Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch
Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc.
Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape
State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal
100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100
The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone
The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 may include that proximity sensor 1410 will combine below
Touch screen is described this.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user
It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM)
Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know
Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from
The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100
One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it
Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it
It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is
The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated
Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display
Unit 151, audio output module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity
When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file
Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode
Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure
Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit
151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving
Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch
Input pressure and touch input position and touch input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode,
It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160
The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes.
Audio output module 152 may include loudspeaker, buzzer etc..
Alarm unit 153 can provide output notifying event to mobile terminal 100.Typical event can be with
Including calling reception, message sink, key signals input, touch input etc..Other than audio or video output, alarm unit
153 can provide output in different ways with the generation of notification event.For example, alarm unit 153 can be in the form of vibration
Output is provided, when receiving calling, message or some other entrance communications (incoming communication), alarm list
Member 153 can provide tactile output (that is, vibration) to notify to user.By providing such tactile output, even if
When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153
The output of the generation of notification event can be provided via display unit 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen
Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more
Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection
The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data
Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers
The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or can be structured as and control
Device 180 processed separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or figure
Piece draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member
Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof
Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations
Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai
Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, for the sake of brevity, will description such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any
Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2 description communication system that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication system.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (particularly, long term evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such introduction is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system may include multiple mobile terminals 100, multiple base stations (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link.
Back haul link can be constructed according to any in several known interfaces, and the interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system may include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction
Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception
Antenna covering.Each BS270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295
100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295
Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals
At least one of 100.
In Fig. 2, multiple satellites 300 are depicted, it is understood that, it is useful to can use any number of satellite acquisition
Location information.GPS module 115 as shown in Figure 1 is generally configured to cooperate with satellite 300 to obtain desired positioning and believe
Breath.It substitutes GPS tracking technique or except GPS tracking technique, the other of the position that can track mobile terminal can be used
Technology.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100
Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each anti-
It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call
The mobile management function of resource allocation and the coordination including the soft switching process between BS270.The number that BSC275 will also be received
According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with
MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 controls BS270 correspondingly with by forward link signals
It is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the method for the present invention is proposed.
The embodiment of the present invention provides a kind of electronic equipment, as shown in figure 3, the electronic equipment includes:
Decoder module 301 obtains uncompressed sound waves for being decoded to the first audio in first state
Shape;
In practical applications, the decoder module can be used for being decoded the first audio in broadcast state.
Here, it is to be noted that, in one embodiment, the decoder module can be used for in playlist
It is decoded in the first audio of state to be played.
Receiving module 302, setting parameter for receiving input, the setting parameter is for specified playback angle;
In practical applications, user can select angle to be listened to by human-computer interaction interface, referring to fig. 4 institute
Show, such as listens to angle and be set as 30 degree to the left of front, the elevation angle is 45 degree.
Certainly, user can also input setting parameter in such a way that voice indicates.
Compensating parameter determining module 303, for determining compensation ginseng according to the setting parameter and preset HRTF model
Number;
Here, the HRTF model is characterized in, general mankind's head sizes, diffraction, reflection, Transfer Parameters is taken to be averaged
Value, or it is directed to the average value or typical value of target group (such as Asian), under noise elimination laboratory environment, approved using industry
The emulation headform of standard receives sound wave, acquires the waveform of the swept-frequency signal of each coordinate points of three-dimensional space.Certainly, acoustics educational circles
In have multiple large-scale experiment rooms measurement carried out to this partial data, directly adopt the data of these laboratories publication, as
Preset HRTF model, also possible in mobile terminal.
What needs to be explained here is that the compensating parameter may include phase, frequency, intensity.
Rotary module 304 obtains the second audio for being modified according to the compensating parameter to the sound waveform,
Second audio has specified playback angle.
It is understood that second audio output can be brought accurate user to user by output interface
The result of broadcast of angle is listened to after adjusting.
The embodiment of the present invention provides a kind of electronic equipment, as shown in figure 5, the electronic equipment includes:
Decoder module 301 obtains uncompressed sound waves for being decoded to the first audio in first state
Shape;
In practical applications, the decoder module can be used for being decoded the first audio in broadcast state.
Receiving module 302, setting parameter for receiving input, the setting parameter is for specified playback angle;
Compensating parameter determining module 303, for determining compensation ginseng according to the setting parameter and preset HRTF model
Number;
Rotary module 304 obtains the second audio for being modified according to the compensating parameter to the sound waveform,
Second audio has specified playback angle.
The electronic equipment further includes characterization parameter determining module 305, for determining described according to the sound waveform
The characterization parameter of one audio;
Here, the characterization parameter includes ITD, IID and frequency response.
Initial playback angle-determining module 306, for according to the characterization parameter and preset source of sound angle-data
Library, determines the initial playback angle of first audio, and source of sound angle-data library includes characterization parameter and source of sound angle
Corresponding relationship;
Formation source of sound angle-data library is introduced below.Under noise elimination laboratory environment, it is with two relative angles
180 ° of microphone forms an array, using this array as the center of circle, on concentric circles on each three-dimensional coordinate point, plays【20,
20000】The swept-frequency signal of Hz acquires the sound waveform on each three-dimensional coordinate point by microphone array, such as Fig. 6 institute
Show, it can be seen that in the case where other two axis are constant, change an angle merely, the response of the sound wave of different frequency is different
's.Then, in addition ITD (the Inter-microphone Time Difference, when between microphone that microphone array receives
Between it is poor) and IID (Inter-microphone Intensity Difference, microphone between intensity difference) it is different, three conditions
Current source of sound angle can be accurately positioned out.It, can be with different between the coordinate points of acquisition according to different discrimination effects
Spacing accuracy, it is however generally that, it is distinguished and is required for the human ear that precision can satisfy most users with 1 ° to 5 °.All acquire
Bi Hou forms source of sound angle-data library.
It can be appreciated that source of sound angle-data library can be stored in the memory of electronic equipment, as inquiry foundation.
Here it is possible to be determined according to the characterization parameter and the corresponding relationship of preset characterization parameter and source of sound angle
The initial playback angle of first audio.Specifically, passing through ITD, IID of left and right acoustic channels and frequency response and source of sound angle
Degree lane database save all angles in ITD, IID and frequency response be compared, find out the most close to data, i.e.,
Indicate that current music playback angle is the corresponding angle of the data, such as playing angle is 0 degree of front, and the elevation angle is 0 degree.
Output module 307, for exporting the initial playback angle.
In one embodiment, the output module 307, for showing the initial playback angle in the electronic equipment
Display screen on.
It should be understood, of course, that the output module 307, can be also used for exporting by way of voice described initial time
Put angle.
In practical applications, the electronic equipment further includes:Judgment module 308, for judging preset audio processing function
Whether can open, when the audio processing function is opened, control decoder module executes operation.
In practical applications, user can open the audio processing function by menu, button etc..
It is pointed out here that the receiving module 302, output module 307 can be realized by human-computer interaction module.
It is pointed out here that electronic equipment provided in an embodiment of the present invention includes following device:Audio decoder core
Piece, digital analog converter, the CPU for calculating and handling or DSP, output interface, such as earphone, HDMI, included loudspeaker array
Deng.
Technical solution provided in an embodiment of the present invention can be realized the pre- judgement of music playback angle as a result, prompt user
Current to listen to angle, user can voluntarily adjust at 360 ° of the total space according to the hobby of oneself and listen to angle.
The embodiment of the present invention provides a kind of audio-frequency processing method, is applied in electronic equipment, as shown in fig. 7, the method
Including:
Step 701 is decoded the first audio in first state, obtains uncompressed sound waveform;
Step 702, the setting parameter for receiving input, the setting parameter is for specified playback angle;
Step 703, according to the setting parameter and preset HRTF model, determine compensating parameter;
Step 704 is modified the sound waveform according to the compensating parameter, obtains the second audio, and described second
Audio has specified playback angle.
The embodiment of the present invention provides a kind of audio-frequency processing method, is applied in electronic equipment, as shown in figure 8, the method
Including:
Step 801, when determining that preset audio processing function is opened, solved in the first audio of first state
Code, obtains uncompressed sound waveform;
Here, described pair of the first audio in first state is decoded, including:To the first sound for being in broadcast state
Frequency is decoded.
Step 802, the characterization parameter that first audio is determined according to the sound waveform.
Step 803, according to the characterization parameter and preset source of sound angle-data library, determine first audio
Initial playback angle, source of sound angle-data library includes the corresponding relationship of characterization parameter Yu source of sound angle.
Step 804, the output initial playback angle.
Here, the output initial playback angle, including:The initial playback angle is shown and is set in the electronics
On standby display screen.
Step 805, the setting parameter for receiving input, the setting parameter is for specified playback angle.
Step 806, according to the setting parameter and preset HRTF model, determine compensating parameter.
Step 807 is modified the sound waveform according to the compensating parameter, obtains the second audio, and described second
Audio has specified playback angle.
In conclusion technical solution provided by the invention is able to use the angle that audio playback is learnt at family from mobile terminal,
Also it is able to use the angle that family automatically adjusts audio playback according to their needs.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Decoder module obtains uncompressed sound waveform for being decoded to the first audio in first state;
Receiving module, setting parameter for receiving input, the setting parameter is for specified playback angle;
Compensating parameter determining module, it is described for determining compensating parameter according to the setting parameter and preset HRTF model
Compensating parameter includes frequency;
Rotary module obtains the second audio for being modified according to the compensating parameter to the sound waveform, and described second
Audio has specified playback angle.
2. electronic equipment according to claim 1, which is characterized in that the electronic equipment further includes that characterization parameter determines mould
Block, for determining the characterization parameter of first audio according to the sound waveform;
Initial playback angle-determining module, for determining institute according to the characterization parameter and preset source of sound angle-data library
The initial playback angle of the first audio is stated, source of sound angle-data library includes the corresponding relationship of characterization parameter Yu source of sound angle;
Output module, for exporting the initial playback angle.
3. electronic equipment according to claim 2, which is characterized in that the output module is used for the initial playback
Angle is shown on the display screen of the electronic equipment.
4. electronic equipment according to claim 1, which is characterized in that the decoder module, for in broadcast state
The first audio be decoded.
5. electronic equipment according to claim 1, which is characterized in that the electronic equipment further includes:Judgment module is used for
Judge whether preset audio processing function opens, when the audio processing function is opened, control decoder module executes operation.
6. a kind of audio-frequency processing method is applied in electronic equipment, which is characterized in that the method includes:
The first audio in first state is decoded, uncompressed sound waveform is obtained;
The setting parameter of input is received, the setting parameter is for specified playback angle;
According to the setting parameter and preset HRTF model, determine that compensating parameter, the compensating parameter include frequency;
The sound waveform is modified according to the compensating parameter, obtains the second audio, second audio has specified
Playback angle.
7. audio-frequency processing method according to claim 6, which is characterized in that the method includes also:
The characterization parameter of first audio is determined according to the sound waveform;
According to the characterization parameter and preset source of sound angle-data library, the initial playback angle of first audio is determined,
Source of sound angle-data library includes the corresponding relationship of characterization parameter Yu source of sound angle;
Export the initial playback angle.
8. audio-frequency processing method according to claim 7, which is characterized in that the output initial playback angle, packet
It includes:
The initial playback angle is shown on the display screen of the electronic equipment.
9. audio-frequency processing method according to claim 6, which is characterized in that described pair of the first audio in first state
It is decoded, including:
The first audio in broadcast state is decoded.
10. audio-frequency processing method according to claim 6 or 9, which is characterized in that the method also includes:
Judge whether preset audio processing function opens, when the audio processing function is opened, executes in the first shape
The step of first audio of state is decoded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510410099.7A CN105187625B (en) | 2015-07-13 | 2015-07-13 | A kind of electronic equipment and audio-frequency processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510410099.7A CN105187625B (en) | 2015-07-13 | 2015-07-13 | A kind of electronic equipment and audio-frequency processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105187625A CN105187625A (en) | 2015-12-23 |
CN105187625B true CN105187625B (en) | 2018-11-16 |
Family
ID=54909462
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510410099.7A Active CN105187625B (en) | 2015-07-13 | 2015-07-13 | A kind of electronic equipment and audio-frequency processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105187625B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105916096B (en) * | 2016-05-31 | 2018-01-09 | 努比亚技术有限公司 | A kind of processing method of sound waveform, device, mobile terminal and VR helmets |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103650539A (en) * | 2011-07-01 | 2014-03-19 | 杜比实验室特许公司 | System and method for adaptive audio signal generation, coding and rendering |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120004909A (en) * | 2010-07-07 | 2012-01-13 | 삼성전자주식회사 | Stereo playback method and apparatus |
CN102665156B (en) * | 2012-03-27 | 2014-07-02 | 中国科学院声学研究所 | Virtual 3D replaying method based on earphone |
US20140328505A1 (en) * | 2013-05-02 | 2014-11-06 | Microsoft Corporation | Sound field adaptation based upon user tracking |
CN103607550B (en) * | 2013-11-27 | 2016-08-24 | 北京海尔集成电路设计有限公司 | A kind of method according to beholder's position adjustment Television Virtual sound channel and TV |
-
2015
- 2015-07-13 CN CN201510410099.7A patent/CN105187625B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103650539A (en) * | 2011-07-01 | 2014-03-19 | 杜比实验室特许公司 | System and method for adaptive audio signal generation, coding and rendering |
Also Published As
Publication number | Publication date |
---|---|
CN105187625A (en) | 2015-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106502693B (en) | A kind of image display method and device | |
CN104918208B (en) | Mobile terminal matching method and mobile terminal | |
CN105227743B (en) | A kind of method for recording, device and mobile terminal | |
CN105916096B (en) | A kind of processing method of sound waveform, device, mobile terminal and VR helmets | |
CN104967744B (en) | Adjust the method and device of terminal parameter | |
CN105357367B (en) | Recognition by pressing keys device and method based on pressure sensor | |
CN104967726B (en) | Phonetic order treating method and apparatus, mobile terminal | |
CN105100413B (en) | A kind of information processing method and device, terminal | |
CN106131322A (en) | Dual-screen mobile terminal plays the method and device of sound | |
CN106791238A (en) | The call control method and device of MPTY conference system | |
CN105100477B (en) | Terminal notifying device and method | |
CN106131274B (en) | Mobile terminal control device and method | |
CN106157970A (en) | A kind of audio identification methods and terminal | |
CN104731508B (en) | Audio frequency playing method and device | |
CN106101455A (en) | Page jump management method, device and terminal | |
CN106899908B (en) | Apparatus for processing audio, method and system | |
CN105933907B (en) | A kind of pseudo-base station identification device, method and mobile terminal | |
CN105785608B (en) | A kind of screen water ripples test macro and method | |
CN105100408B (en) | A kind of method and apparatus controlling mobile terminal | |
CN106125898A (en) | The method and device of screen rotation | |
CN106550133A (en) | Calling identification device and method | |
CN106385514B (en) | A kind of music processing method, device and terminal | |
CN106227454B (en) | A kind of touch trajectory detection system and method | |
CN107241497A (en) | Mobile terminal and loudness output adjusting method | |
CN106534557B (en) | A kind of the wallpaper switching system and method for display terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |