CN103916734B - A kind of audio signal processing method and terminal - Google Patents

A kind of audio signal processing method and terminal Download PDF

Info

Publication number
CN103916734B
CN103916734B CN201310753791.0A CN201310753791A CN103916734B CN 103916734 B CN103916734 B CN 103916734B CN 201310753791 A CN201310753791 A CN 201310753791A CN 103916734 B CN103916734 B CN 103916734B
Authority
CN
China
Prior art keywords
source
geographical location
sound
terminal
location information
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
Application number
CN201310753791.0A
Other languages
Chinese (zh)
Other versions
CN103916734A (en
Inventor
王洪利
乔建文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Dongguan 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 Huawei Device Dongguan Co Ltd filed Critical Huawei Device Dongguan Co Ltd
Priority to CN201310753791.0A priority Critical patent/CN103916734B/en
Publication of CN103916734A publication Critical patent/CN103916734A/en
Application granted granted Critical
Publication of CN103916734B publication Critical patent/CN103916734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

The embodiment of the invention discloses a kind of audio signal processing method and terminals, wherein this method can include: terminal receives the target sound signal that target source of sound generates by least three MIC;Terminal calculates the relative position of the target source of sound and the terminal according to the receiving time of each MIC, and the receiving time of the MIC is the time that the MIC receives the target sound signal;Geographical location information and the relative position of the terminal according to the terminal, calculate the geographical location information of the target source of sound;Terminal binds the geographical location information of the target source of sound and the target sound signal, and generates the audio files of the geographical location information including the target sound signal and the target source of sound.The audio files that the embodiment of the present invention generates can also include the geographical location information of target source of sound, to enrich recorded content.

Description

A kind of audio signal processing method and terminal
Technical field
The present invention relates to the communications field more particularly to a kind of audio signal processing method and terminals.
Background technique
With popularizing for the terminals such as mobile phone, tablet computer, sound pick-up outfit and video recording equipment, people often use these ends The things that end record occurs at one's side.Such as: people in life by record or record a video it is happy at the time of record, this Sample people can recall the pervious happy moment by the audio and video of recording afterwards.In addition, with network technology Develop people often by some audios or video distribution to social networks, to show oneself life on social networks It is living.But current recording technology can only all support individually record or recording function, that is, the content recorded only include audio or Person's video.As it can be seen that the content that current recording technology is recorded is excessively single.
Summary of the invention
The embodiment of the invention provides a kind of audio signal processing method and terminals, can solve current recording technology record The excessively single problem of the content being made.
In a first aspect, the present invention provides a kind of audio signal processing method, comprising:
Terminal receives the target sound signal that target source of sound generates by least three microphones (microphone, MIC);
The terminal calculates the relative position of the target source of sound and the terminal according to the receiving time of each MIC, The receiving time of the MIC is the time that the MIC receives the target sound signal;
Geographical location information and the relative position of the terminal according to the terminal, calculate the target source of sound Geographical location information;
The terminal binds the geographical location information of the target source of sound and the target sound signal, and generates and include The audio files of the geographical location information of the target sound signal and the target source of sound.
In the first possible implementation, the terminal calculates the target according to the receiving time of each MIC The relative position of source of sound and the terminal, comprising:
The terminal calculates the relative position of the target source of sound Yu each MIC according to the receiving time of each MIC.
With reference to first aspect or the first possible implementation of first aspect, second in first aspect can In the implementation of energy, geographical location information and the relative position of the terminal according to the terminal calculate the mesh The geographical location information in mark with phonetic symbols source, comprising:
The terminal detects the current angular of the terminal by three-axis gyroscope, then is surveyed by global position system GPS Measure the geographical location information of each MIC under the current angular;
Geographical location information and the relative position of the terminal according to each MIC, calculate the target source of sound Geographical location information.
Second aspect, the present invention provide a kind of audio signal processing method, comprising:
Terminal obtains the first geographical location information;
The terminal obtains the audio files including the second geographical location information, institute according to first geographical location information The geographical location for stating the expression of the second geographical location information is similar to the geographical location that first geographical location information indicates;
The target sound signal that audio files described in the terminal plays includes, the target sound signal and described second Geographical location information binding.
In the first possible implementation of the second aspect, what audio files described in the terminal plays included is described Before target sound signal, the method also includes:
The terminal receives the source voice signal that source source of sound generates by least three microphone MIC;
The terminal calculates the relative position of the source source of sound and the terminal, institute according to the receiving time of each MIC State the time that the receiving time of MIC receives the source voice signal for the MIC;
The target sound signal that audio files described in the terminal plays includes, comprising:
The terminal adjusts the beep pattern of loudspeaker depending on that relative position, and by described in the loudspeaker broadcasting after adjusting The target sound signal that audio files includes.
In conjunction with the first possible implementation of second aspect, in second of possible implementation of second aspect In, the terminal calculates the relative position of the source source of sound and the terminal according to the receiving time of each MIC, comprising:
The terminal detects the current angular of the terminal by three-axis gyroscope, then is surveyed by global position system GPS Measure the geographical location information of each MIC under the current angular;
Geographical location information and the relative position of the terminal according to each MIC, calculate the source source of sound Geographical location information;
The terminal calculates the geographical location information of each loudspeaker by the geographical location information of each MIC;
The terminal calculates institute according to the geographical location information of each loudspeaker and the geographical location information of the source source of sound State the relative position of source source of sound Yu each loudspeaker;
The terminal adjusts the beep pattern of loudspeaker according to the relative position of the source source of sound and the terminal, comprising:
The terminal adjusts the beep pattern of each loudspeaker according to the relative position of the source source of sound and each loudspeaker.
The third aspect, the present invention provide a kind of audio signal processing method, comprising:
The terminal receives the source voice signal that source source of sound generates by least three MIC;
The terminal calculates the relative position of the source source of sound and the terminal, institute according to the receiving time of each MIC State the time that the receiving time of MIC receives the source voice signal for the MIC;
The terminal adjusts horn sounding patterns depending on that relative position, and plays target sound by the loudspeaker after adjusting Sound signal.
In the first possible implementation of the third aspect, the terminal is according to the receiving time meter of each MIC Calculate the relative position of the source source of sound and the terminal, comprising:
The terminal detects the current angular of the terminal by three-axis gyroscope, then is surveyed by global position system GPS Measure the geographical location information of each MIC under the current angular;
Geographical location information and the relative position of the terminal according to each MIC, calculate the source source of sound Geographical location information;
The terminal calculates the geographical location information of each loudspeaker by the geographical location information of each MIC;
The terminal calculates institute according to the geographical location information of each loudspeaker and the geographical location information of the source source of sound State the relative position of source source of sound Yu each loudspeaker;
The terminal adjusts the beep pattern of loudspeaker according to the relative position of the source source of sound and the terminal, comprising:
The terminal adjusts the beep pattern of each loudspeaker according to the relative position of the source source of sound and each loudspeaker.
Fourth aspect, the present invention provide a kind of sound signal processing terminal, comprising: receiving unit, the first computing unit, Two computing units and generation unit, in which:
The receiving unit, for receiving the target sound signal that target source of sound generates by least three MIC;
First computing unit, for calculating the target source of sound and the end according to the receiving time of each MIC The relative position at end, the receiving time of the MIC are the time that the MIC receives the target sound signal;
Second computing unit, for according to the terminal geographical location information and the relative position, calculate The geographical location information of the target source of sound;
The generation unit, for the geographical location information of the target source of sound and the target sound signal to be bound, And generate the audio files of the geographical location information including the target sound signal and the target source of sound.
In the first possible implementation of the fourth aspect, first computing unit is used for according to each MIC Receiving time calculate the relative position of the target source of sound Yu each MIC.
In conjunction with the possible implementation of the first of fourth aspect or fourth aspect, second in fourth aspect may Implementation in, second computing unit includes:
Measuring unit for detecting the current angular of the terminal by three-axis gyroscope, then passes through global positioning system GPS measures the geographical location information of each MIC under the current angular;
Computation subunit, for according to each MIC geographical location information and the relative position, calculate the mesh The geographical location information in mark with phonetic symbols source.
5th aspect, the present invention provide a kind of sound signal processing terminal, comprising: first acquisition unit, second obtain list Member and broadcast unit, in which:
The first acquisition unit, for obtaining the first geographical location information;
The second acquisition unit includes the second geographical location information for being obtained according to first geographical location information Audio files, the geography that the geographical location and first geographical location information that second geographical location information indicates indicate Position is similar;
The broadcast unit, the target sound signal for including for playing the audio files, the target sound signal It is bound with second geographical location information.
In the first possible implementation of the 5th aspect, the terminal further include:
Receiving unit, for receiving the source voice signal that source source of sound generates by least three microphone MIC;
Computing unit, for calculating the opposite position of the source source of sound Yu the terminal according to the receiving time of each MIC It sets, the receiving time of the MIC is the time that the MIC receives the source voice signal;
The broadcast unit passes through the loudspeaker after adjusting for adjusting the beep pattern of loudspeaker depending on that relative position Play the target sound signal that the audio files includes.
In conjunction with the first possible implementation of the 5th aspect, in second of possible implementation of the 5th aspect In, the computing unit, comprising:
Measuring unit for detecting the current angular of the terminal by three-axis gyroscope, then passes through global positioning system GPS measures the geographical location information of each MIC under the current angular;
First computation subunit, for according to each MIC geographical location information and the relative position, calculate institute State the geographical location information of source source of sound;
Second computation subunit, for calculating the geographical location of each loudspeaker by the geographical location information of each MIC Information;
Third computation subunit, for according to the geographical location information of each loudspeaker and the geographical location of the source source of sound Information calculates the relative position of the source source of sound Yu each loudspeaker;
The broadcast unit is used to adjust the sounding of each loudspeaker according to the relative position of the source source of sound and each loudspeaker Mode, and the target sound signal that the audio files includes is played by the loudspeaker after adjusting.
6th aspect, the present invention provide a kind of sound signal processing terminal, comprising: receiving unit, computing unit and broadcasting Unit, in which:
The receiving unit, for receiving the source voice signal that source source of sound generates by least three microphone MIC;
The computing unit, for calculating the phase of the source source of sound and the terminal according to the receiving time of each MIC To position, the receiving time of the MIC is the time that the MIC receives the source voice signal;
The broadcast unit for adjusting horn sounding patterns depending on that relative position, and passes through the loudspeaker after adjusting Play target sound signal.
In the first possible implementation of the 6th aspect, the computing unit includes:
Measuring unit for detecting the current angular of the terminal by three-axis gyroscope, then passes through global positioning system GPS measures the geographical location information of each MIC under the current angular;
First computation subunit, for according to each MIC geographical location information and the relative position, calculate institute State the geographical location information of source source of sound;
Second computation subunit, for calculating the geographical location of each loudspeaker by the geographical location information of each MIC Information;
Third computation subunit, for according to the geographical location information of each loudspeaker and the geographical location of the source source of sound Information calculates the relative position of the source source of sound Yu each loudspeaker;
The broadcast unit, for adjusting the sounding of each loudspeaker according to the relative position of the source source of sound and each loudspeaker Mode, and target sound signal is played by the loudspeaker after adjusting.
In above-mentioned technical proposal, terminal receives the target sound signal that target source of sound generates by least three MIC;Terminal The relative position of the target source of sound and the terminal is calculated further according to the receiving time of each MIC;Terminal in this way According to the geographical location information of the terminal and the relative position, the geographical location information of the target source of sound is calculated;From And terminal can bind the geographical location information of the target source of sound and the target sound signal, and generating includes the mesh Mark the audio files of the geographical location information of voice signal and the target source of sound.Compared to the prior art, the file of generation Including target sound signal or vision signal, the audio files that the present invention generates can also include that the geographical location of source of sound is believed Breath, to enrich recorded content.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of audio signal processing method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another audio signal processing method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another audio signal processing method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another audio signal processing method provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another audio signal processing method provided in an embodiment of the present invention;
Fig. 6 is the flow diagram of another audio signal processing method provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of sound signal processing terminal provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another sound signal processing terminal provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another sound signal processing terminal provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of another sound signal processing terminal provided in an embodiment of the present invention;
Figure 11 is the structural schematic diagram of another sound signal processing terminal provided in an embodiment of the present invention;
Figure 12 is the structural schematic diagram of another sound signal processing terminal provided in an embodiment of the present invention;
Figure 13 is the structural schematic diagram of another sound signal processing terminal provided in an embodiment of the present invention;
Figure 14 is the structural schematic diagram of another sound signal processing terminal provided in an embodiment of the present invention;
Figure 15 is the structural schematic diagram of another sound signal processing terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Terminal in the embodiment of the present invention can be any equipment for having sound-recording function, such as: tablet computer, mobile phone, Electronic reader, remote controler, personal computer (Personal Computer, PC), laptop, picture pick-up device, recording are set Standby, mobile unit, Web TV, wearable device etc. have the smart machine of network function.In addition, right in the embodiment of the present invention Target source of sound is also not construed as limiting, and target source of sound can be any object that can produce target sound signal.Such as: people, animal, Water flow, electronic equipment etc..In addition, the target sound signal in the embodiment of the present invention can be the voice signal that recording obtains, also It can be video recording and obtain the voice signal in vision signal.In addition, being also not construed as limiting in the embodiment of the present invention to source source of sound, source sound Source can be any object that can produce target sound signal.Such as: people, animal, water flow, electronic equipment etc..In addition, this hair Source voice signal in bright embodiment can be the voice signal that recording obtains, and can also be that video recording obtains the sound in vision signal Sound signal.In addition, above-mentioned target source of sound and source source of sound are two sources of sound or above-mentioned target source of sound for being located at diverse geographic location It is two different sources of sound from source source of sound.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of audio signal processing method provided in an embodiment of the present invention, such as Shown in Fig. 1, comprising the following steps:
101, terminal receives the target sound signal that target source of sound generates by least three MIC.
102, terminal calculates the relative position of the target source of sound and the terminal according to the receiving time of each MIC, The receiving time of the MIC is the time that the MIC receives the target sound signal.
Optionally, above-mentioned relative position can refer to that relative position in the same plane, the i.e. relative position only include Direction and distance;Such as the relative position in latitude and longitude coordinates system.Any point is to fixing three points in approximately the same plane Distance be it is unique, i.e., can determine another point in plane by any 3 points.Since above-mentioned MIC is to be fixed on terminal On, i.e., the position of above-mentioned MIC be it is known, the positional distance between MIC each in this way is exactly known, and target sound signal The speed of propagation be also it is known that these known conditions add again the receiving time of each MIC can calculate target source of sound with it is described The relative position of terminal, such as: the relative position of target source of sound Yu the terminal is calculated by plane geometry related algorithm.Its In, the relative position of target source of sound and the terminal specifically can be the opposite position of reference position point in target source of sound and terminal It sets or the relative position etc. of target source of sound and each MIC.
In addition, above-mentioned relative position can also refer in the relative position of three-dimensional space, i.e., the relative position may include Direction, horizontal direction distance and vertical direction distance.And any point is to the distance for fixing four points in same three-dimensional space It is that uniquely, i.e., can determine another point in three-dimensional space by any 4 points.The embodiment, step 101 specifically may be used To be to receive above-mentioned target sound signal by least four MIC.
103, geographical location information and the relative position of the terminal according to the terminal, calculates the target source of sound Geographical location information.
Optionally, after known to the geographical location information of terminal and relative position, so that it may calculate the ground of target source of sound Manage location information.Wherein, geographical location information specifically can be geographical position coordinates, which includes plane geography Position coordinates, such as: longitude, latitude coordinate, in addition, the geographical position coordinates include three-dimensional geographical position coordinates, such as: warp Degree, latitude and height (such as: height above sea level) coordinate.In addition, above-mentioned geographical location information can also be in the map installed in terminal Geographical location information, in this way can it is more vivid at the terminal be the geographical location for embodying target source of sound.
104, terminal binds the geographical location information of the target source of sound and the target sound signal, and generates and include The audio files of the geographical location information of the target sound signal and the target source of sound.
Optionally, the geographical location information by target sound signal and target source of sound can be realized through the above steps Binding, can learn the place of the target sound signal of recording, in time in this way more galore to show target sound signal.Example Such as: people are being the above sound files generated on the way by above-mentioned terminal of travelling, and such people are after tourism, Ke Yitong The target source of sound location side for the target sound signal that the audio files is known clearly in the audio files is crossed, so as to people's note Recall and recalls.In addition, people by audio files when online shared, the target sound signal in the audio files can also be shown Target source of sound geographical location information.
Optionally, the geographical location information of above-mentioned calculating target source of sound, which can be, is only receiving above-mentioned target sound signal Start time calculates the geographical location information of target source of sound, and one section of target sound signal and a geographical position may be implemented in this way Confidence breath binding, i.e., can find one section of target sound signal by the geographical location information.Such as: step 101 can be with It is to terminate in execution until recording always, and step 102 and step 103 are only executed in start time, step 104 can be It is executed again after recording.Furthermore it is also possible to be the geographical location information etc. for calculating target source of sound at equal intervals, i.e. one section of target sound Sound signal can be bound with multiple geographical location information, for example, target source of sound is mobile object, not limited this present embodiment It is fixed.
In above-mentioned technical proposal, terminal receives the target sound signal that target source of sound generates by least three MIC;Terminal The relative position of the target source of sound and the terminal is calculated further according to the receiving time of each MIC;Terminal in this way According to the geographical location information of the terminal and the relative position, the geographical location information of the target source of sound is calculated;From And terminal can bind the geographical location information of the target source of sound and the target sound signal, and generating includes the mesh Mark the audio files of the geographical location information of voice signal and the target source of sound.Compared to the prior art, the file of generation Including target sound signal or vision signal, the audio files that the present invention generates can also include that the geographical location of source of sound is believed Breath, to enrich recorded content.
Referring to FIG. 2, Fig. 2 is the flow diagram of another audio signal processing method provided in an embodiment of the present invention, As shown in Figure 2, comprising the following steps:
201, terminal receives the target sound signal that target source of sound generates by least three MIC.
202, terminal calculates the relative position of the target source of sound Yu each MIC according to the receiving time of each MIC, The receiving time of the MIC is the time that the MIC receives the target sound signal.
Optionally, since the position of each MIC at the terminal is difference, the time of above-mentioned target sound signal is received in this way Also be different, i.e., the receiving time of each MIC can have a time difference, and the speed that target sound signal is propagated be it is fixed, in this way The relative position of target source of sound Yu each MIC can be calculated according to the receiving time of each MIC.Wherein, above-mentioned opposite position The relative position that can specifically refer in plane is set, when the relative position is the relative position in the plane, in the present embodiment The relative position can be calculated by the receiving time of three MIC;In addition, above-mentioned relative position can also be three-dimensional space Relative position can pass through the reception of four MIC when the relative position is the relative position of the three-dimensional space in the present embodiment Time calculates the relative position.
203, geographical location information and the relative position of the terminal according to the terminal, calculates the target source of sound Geographical location information.
Optionally, step 203 may include:
Terminal detects the current angular of the terminal by three-axis gyroscope, then passes through global positioning system (Global Positioning System, GPS) geographical location information of each MIC under the measurement current angular;
Geographical location information and the relative position of the terminal according to each MIC, calculate the ground of the target source of sound Manage location information.
Optionally, be in the position of terminal due to each MIC it is fixed, i.e., can be obtained by respectively by above-mentioned current angular Relative position of the reference position point (such as: installing the location point of GPS device) of MIC and terminal in latitude and longitude coordinates system, and By the geographical location information of the reference position point of the available terminal of GPS, so as to obtain the geographical location letter of each MIC Breath.
Optionally, when the geographical location information of each MIC it is known that and target source of sound and each MIC relative position When knowing, so that it may the geographical location information of target source of sound is calculated, such as: geographical position coordinates, the geographical position coordinates can be with It is plane geographical position coordinates, such as: longitude, latitude coordinate, in addition, the geographical position coordinates include that three-dimensional geographical location is sat Mark, such as: longitude, latitude and height (such as: height above sea level) coordinate.
204, terminal binds the geographical location information of the target source of sound and the target sound signal, and generates and include The audio files of the geographical location information of the target sound signal and the target source of sound.
In another embodiment, as shown in figure 3, after step 204, the method can also include:
205, terminal obtains target geographic position information, the geographical location and the sound which indicates The geographical location that the geographical location information for the target source of sound that sound file includes indicates is similar.
Optionally, terminal specifically can be a geographic name for receiving user's input, search further according to the geographic name To corresponding geographical location information, such as: geographical position coordinates.Furthermore it is also possible to be to directly acquire above-mentioned target by network Geographical location information, target geographic position information that is being inputted such as user or being obtained by network.
Optionally, above-mentioned preset threshold can be the operation for receiving user's input in advance and be arranged or terminal is automatic Equipment etc..
206, terminal obtains the audio files.
207, the target sound signal that audio files described in terminal plays includes.
Optionally, while playing above-mentioned target sound signal, terminal can also receive the generation of other sources of sound When voice signal (for example, user's voice), terminal can also calculate the relative position of the source of sound and terminal, and according to this Relative position adjusts the beep pattern of loudspeaker, then the loudspeaker by adjusting after play above sound signal.Root may be implemented in this way According to the beep pattern of the position adjustment loudspeaker of other sources of sound, such as: closer from terminal when user talks, adjustment loudspeaker play Sound is smaller, otherwise bigger;When user is located at the terminal left side, so that it may which the volume for turning the loudspeaker on the terminal left side down tunes up terminal The horn volume etc. on the right, preferably to show target sound signal to user.
In the embodiment, target sound signal can be got by geographical location information in real time, then play target sound Signal.
In above-mentioned technical proposal, the mode of plurality of optional is realized on the basis of one embodiment, and can be real Now enrich recorded content.
Referring to Fig. 4, Fig. 4 is the flow diagram of another audio signal processing method provided in an embodiment of the present invention, As shown in Figure 4, comprising the following steps:
401, terminal obtains the first geographical location information.
Optionally, terminal specifically can be a geographic name for receiving user's input, search further according to the geographic name To corresponding geographical location information, such as: geographical position coordinates, the geographical position coordinates include plane geographical position coordinates, example Such as: longitude, latitude coordinate, in addition, the geographical position coordinates include three-dimensional geographical position coordinates, and such as: longitude, latitude and height (such as: height above sea level) coordinate.Furthermore it is also possible to be to directly acquire above-mentioned first geographical location information by network, as user inputs Or by network obtain the first geographical location information.
402, terminal obtains the audio files including the second geographical location information, institute according to first geographical location information The geographical location for stating the expression of the second geographical location information is similar to the geographical location that first geographical location information indicates.
Optionally, terminal, which specifically can be, obtains above sound file from local according to above-mentioned first geographical location information, It can also be and above sound file is obtained by network according to above-mentioned first geographical location information.
Optionally, what the geographical location and first geographical location information that above-mentioned second geographical location information indicates indicated Geographical location is similar to be referred to, the ground that the geographical location and the first geographical location information that the second geographical location information indicates indicate Manage position it is very close or identical, such as: for example: the second geographical location information be 73 ° 3333 of longitude and 3 ° 5133 of latitude, that , when step 401 obtain the second geographical location information similar in the first geographical location information when, such as: step 401 be retrieved as through Spend 73 ° 3334 and 3 ° 5134,73 ° 3332 of latitude and the first of 3 ° 5132 or 73 ° 3333 and 3 ° 5133 of latitude of latitude When geographical location information, step 402 can get above sound file.
403, the target sound signal that audio files described in terminal plays includes, the target sound signal and described second Geographical location information binding.
Optionally, above-mentioned second geographical location information specifically can also be ties up with the initial time of above-mentioned target sound signal Fixed, in this way when obtaining above-mentioned first geographical location information, so that it may which realization is broadcast from the initial time of the target sound signal Put the target sound signal.
In another embodiment, as shown in figure 5, before step 403, the method can also include:
404, terminal receives the source voice signal that source source of sound generates by least three MIC;
405, terminal calculates the relative position of the source source of sound and the terminal, institute according to the receiving time of each MIC State the time that the receiving time of MIC receives the source voice signal for the MIC.
Step 403 may include:
The terminal adjusts the beep pattern of loudspeaker depending on that relative position, and by described in the loudspeaker broadcasting after adjusting The target sound signal that audio files includes.
It should be noted that above-mentioned target sound signal and above-mentioned source voice signal are two different in the present embodiment Voice signal, such as: the target source of sound of above-mentioned target sound signal can be located at different from the source source of sound of above-mentioned source voice signal Geographical location or target source of sound and the source source of sound of above-mentioned source voice signal of above-mentioned target sound signal be different sounding Body.
Optionally, while playing above-mentioned target sound signal, terminal can also receive the source of source source of sound generation When voice signal (for example, user's voice), terminal can also calculate the relative position of the source source of sound and terminal, and according to The relative position adjusts the beep pattern of loudspeaker, then the loudspeaker by adjusting after play above-mentioned target sound signal.It in this way can be with Realize the beep pattern that loudspeaker are adjusted according to the position of source source of sound, such as: closer from terminal when user talks, adjustment loudspeaker are broadcast The sound put is smaller, otherwise bigger;When user is located at the terminal left side, so that it may which the volume for turning the loudspeaker on the terminal left side down tunes up Horn volume etc. on the right of terminal, preferably to show target sound signal to user.
Optionally, the calculation method for calculating the relative position of the source source of sound and the terminal can refer to preceding embodiment Any embodiment of introduction.It is not repeated explanation herein.
Optionally, step 405 may include:
Terminal detects the current angular of the terminal by three-axis gyroscope, then is measured under the current angular by GPS The geographical location information of each MIC;
Geographical location information and the relative position of the terminal according to each MIC, calculate the geography of the source source of sound Location information;
Terminal calculates the geographical location information of each loudspeaker by the geographical location information of each MIC;
Terminal calculates the source according to the geographical location information of each loudspeaker and the geographical location information of the source source of sound The relative position of source of sound and each loudspeaker.
Above-mentioned terminal adjusts the beep pattern of loudspeaker according to the relative position of the source source of sound and the terminal, can wrap It includes:
Terminal adjusts the beep pattern of each loudspeaker according to the relative position of the source source of sound and each loudspeaker.
Above-mentioned each loudspeaker can refer to terminal said one or multiple loudspeaker.
The beep pattern that each loudspeaker are adjusted according to the relative position of source source of sound and each loudspeaker, example may be implemented in this way Such as: the volume of closer loudspeaker is smaller with source source of sound, and the volume of remoter loudspeaker is bigger with source source of sound.
In above-mentioned technical proposal, terminal obtains the first geographical location information;It includes second geographical location that terminal, which obtains, The audio files of information, the geography that the geographical location and first geographical location that second geographical location information indicates indicate Location information is similar;The target sound signal that audio files described in terminal plays includes.It may be implemented to play the ground including source of sound Manage the audio files of location information.
Referring to Fig. 6, Fig. 6 is the flow diagram of another audio signal processing method provided in an embodiment of the present invention, As shown in Figure 6, comprising the following steps:
601, terminal receives the source voice signal that source source of sound generates by least three MIC.
602, terminal calculates the relative position of the source source of sound and the terminal, institute according to the receiving time of each MIC State the time that the receiving time of MIC receives the source voice signal for the MIC.
603, terminal adjusts horn sounding patterns depending on that relative position, and plays target sound by the loudspeaker after adjusting Sound signal.
Optionally, above-mentioned target sound signal can be the target sound signal of terminal local or terminal receives network The target sound signal of transmission, in addition, being not construed as limiting to the form of target sound signal, for example, it may be one embodiment The target sound signal that the audio files of generation includes can also be the target sound signal not with geographical location information binding (such as: one section of music, voice etc.).
Optionally, above-mentioned source voice signal can be user's voice signal, the i.e. voice signal of terminal recording, on Stating target sound signal can be terminal when recording above-mentioned source voice signal, the voice signal of terminal plays, such as: terminal exists In realizing that call carries out, i.e., during user is made a phone call by terminal realization, so that it may realize according to phase between user and terminal To position, the beep pattern of loudspeaker is adjusted;Such as: terminal is during playing music, and when user is far from terminal, user will feel Feel that the volume of terminal plays music is too small, user to terminal by talking, i.e. the terminal speech signals that receive user, thus root According to relative position between user and terminal, the volume of loudspeaker is tuned up.
In another embodiment, step 603 may include:
Terminal detects the current angular of the terminal by three-axis gyroscope, then is measured under the current angular by GPS The geographical location information of each MIC;
Geographical location information and the relative position of the terminal according to each MIC, calculate the geography of the source source of sound Location information;
Terminal calculates the geographical location information of each loudspeaker by the geographical location information of each MIC;
Terminal calculates the source according to the geographical location information of each loudspeaker and the geographical location information of the source source of sound The relative position of source of sound and each loudspeaker;
Above-mentioned terminal adjusts the beep pattern of loudspeaker according to the relative position of the source source of sound and the terminal, can wrap It includes:
Terminal adjusts the beep pattern of each loudspeaker according to the relative position of the source source of sound and each loudspeaker.
Above-mentioned each loudspeaker can refer to terminal said one or multiple loudspeaker.
Optionally, above-mentioned loudspeaker specifically can be the loudspeaker being arranged in terminal, can also be the external loudspeaker of terminal.
In above-mentioned technical proposal, terminal receives the source voice signal that source source of sound generates by least three microphone MIC;Eventually End calculates the relative position of the source source of sound and the terminal, the receiving time of the MIC according to the receiving time of each MIC The time of the source voice signal is received for the MIC;The terminal adjusts horn sounding patterns depending on that relative position, and Target sound signal is played by the loudspeaker after adjusting, so as to realize the target sound played according to the adjustment of the position of source source of sound Sound signal.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is for executing embodiment of the present invention method one to four The method of realization, for ease of description, only parts related to embodiments of the present invention are shown, and particular technique details does not disclose , please refer to the embodiment of the present invention one, embodiment two, embodiment three and example IV.
Referring to FIG. 7, Fig. 7 is a kind of structural schematic diagram of sound signal processing terminal provided in an embodiment of the present invention, such as Shown in Fig. 7, comprising: receiving unit 71, the first computing unit 72, the second computing unit 73 and generation unit 74, in which:
Receiving unit 71, for receiving the target sound signal that target source of sound generates by least three MIC.
First computing unit 72, for calculating the target source of sound and the terminal according to the receiving time of each MIC Relative position, the receiving time of the MIC is the time that the MIC receives the target sound signal.
Optionally, above-mentioned relative position can refer to that relative position in the same plane, the i.e. relative position only include Direction and distance;Such as the relative position in latitude and longitude coordinates system.Any point is to fixing three points in approximately the same plane Distance be it is unique, i.e., can determine another point in plane by any 3 points.Since above-mentioned MIC is to be fixed on terminal On, i.e., the position of above-mentioned MIC be it is known, the positional distance between MIC each in this way is exactly known, and target sound signal The speed of propagation be also it is known that these known conditions add again the receiving time of each MIC can calculate target source of sound with it is described The relative position of terminal.Wherein, the relative position of target source of sound and the terminal specifically can be joins in target source of sound and terminal Examine the relative position of location point or the relative position etc. of target source of sound and each MIC.
In addition, above-mentioned relative position can also refer in the relative position of three-dimensional space, i.e., the relative position may include Direction, horizontal direction distance and vertical direction distance.And any point is to the distance for fixing four points in same three-dimensional space It is that uniquely, i.e., can determine another point in three-dimensional space by any 4 points.The embodiment, receiving unit 71 are specific It can be and receive above-mentioned target sound signal by least four MIC.
Second computing unit 73, for according to the terminal geographical location information and the relative position, calculate institute State the geographical location information of target source of sound.
Optionally, after known to the geographical location information of terminal and relative position, so that it may calculate the ground of target source of sound Manage location information.Wherein, geographical location information specifically can be geographical position coordinates, which includes plane geography Position coordinates, such as: longitude, latitude coordinate, in addition, the geographical position coordinates include three-dimensional geographical position coordinates, such as: warp Degree, latitude and height (such as: height above sea level) coordinate.In addition, above-mentioned geographical location information can also be in the map installed in terminal Geographical location information, in this way can it is more vivid at the terminal be the geographical location for embodying target source of sound.
Generation unit 74, for the geographical location information of the target source of sound and the target sound signal to be bound, and Generate the audio files of the geographical location information including the target sound signal and the target source of sound.
Optionally, the geographical location information by target sound signal and target source of sound can be realized through the above steps Binding, can learn the place of the target sound signal of recording, in time in this way more galore to show target sound signal.Example Such as: people are being the above sound files generated on the way by above-mentioned terminal of travelling, and such people are after tourism, Ke Yitong The target source of sound location side for the target sound signal that the audio files is known clearly in the audio files is crossed, so as to people's note Recall and recalls.In addition, people by audio files when online shared, the target sound signal in the audio files can also be shown Target source of sound geographical location information.
Optionally, the geographical location information of above-mentioned calculating target source of sound, which can be, is only receiving above-mentioned target sound signal Start time calculates the geographical location information of target source of sound, and one section of target sound signal and a geographical position may be implemented in this way Confidence breath binding, i.e., can find one section of target sound signal by the geographical location information.Furthermore it is also possible between being equal Every the geographical location information etc. for calculating target source of sound, i.e. one section of target sound signal can be bound with multiple geographical location information, For example, target source of sound is mobile object, to this, this embodiment is not limited.
In above-mentioned technical proposal, terminal receives the target sound signal that target source of sound generates by least three MIC;Terminal The relative position of the target source of sound and the terminal is calculated further according to the receiving time of each MIC;Terminal in this way According to the geographical location information of the terminal and the relative position, the geographical location information of the target source of sound is calculated;From And terminal can bind the geographical location information of the target source of sound and the target sound signal, and generating includes the mesh Mark the audio files of the geographical location information of voice signal and the target source of sound.Compared to the prior art, the file of generation Including target sound signal or vision signal, the audio files that the present invention generates can also include that the geographical location of source of sound is believed Breath, to enrich recorded content.
Referring to FIG. 8, Fig. 8 is the structural schematic diagram of another sound signal processing terminal provided in an embodiment of the present invention, As shown in Figure 8, comprising: receiving unit 81, the first computing unit 82, the second computing unit 83 and generation unit 84, in which:
Receiving unit 81, for receiving the target sound signal that target source of sound generates by least three MIC.
First computing unit 82, for calculating the target source of sound and each MIC according to the receiving time of each MIC Relative position, the receiving time of the MIC is the time that the MIC receives the target sound signal.
Optionally, since the position of each MIC at the terminal is difference, the time of above-mentioned target sound signal is received in this way Also be different, i.e., the receiving time of each MIC can have a time difference, and the speed that target sound signal is propagated be it is fixed, in this way The relative position of target source of sound Yu each MIC can be calculated according to the receiving time of each MIC.Wherein, above-mentioned opposite position The relative position that can specifically refer in plane is set, when the relative position is the relative position in the plane, in the present embodiment The relative position can be calculated by the receiving time of three MIC;In addition, above-mentioned relative position can also be three-dimensional space Relative position can pass through the reception of four MIC when the relative position is the relative position of the three-dimensional space in the present embodiment Time calculates the relative position.
Second computing unit 83, for according to the terminal geographical location information and the relative position, calculate institute State the geographical location information of target source of sound.
Optionally, the second computing unit 83 may include:
Measuring unit 831 measures institute for detecting the current angular of the terminal by three-axis gyroscope, then by GPS State the geographical location information of each MIC under current angular;
Computation subunit 832, for according to each MIC geographical location information and the relative position, calculate institute State the geographical location information of target source of sound.
Optionally, be in the position of terminal due to each MIC it is fixed, i.e., can be obtained by respectively by above-mentioned current angular Relative position of the reference position point (such as: installing the location point of GPS device) of MIC and terminal in latitude and longitude coordinates system, and By the geographical location information of the reference position point of the available terminal of GPS, so as to obtain the geographical location letter of each MIC Breath.
Optionally, when the geographical location information of each MIC it is known that and target source of sound and each MIC relative position When knowing, so that it may the geographical location information of target source of sound is calculated, such as: geographical position coordinates, the geographical position coordinates can be with It is plane geographical position coordinates, such as: longitude, latitude coordinate, in addition, the geographical position coordinates include that three-dimensional geographical location is sat Mark, such as: longitude, latitude and height (such as: height above sea level) coordinate.
Generation unit 84, for the geographical location information of the target source of sound and the target sound signal to be bound, and Generate the audio files of the geographical location information including the target sound signal and the target source of sound.
In another embodiment, as shown in figure 9, the terminal can also include:
First acquisition unit 85, for obtaining target geographic position information, the target geographic position information and the sound The geographical location information for the target source of sound that file includes is similar;
Second acquisition unit 86, for obtaining the audio files;
Broadcast unit 87.For playing the target sound signal.
Optionally, while playing above-mentioned target sound signal, terminal can also receive the generation of other sources of sound When voice signal (for example, user's voice), terminal can also calculate the relative position of the source of sound and terminal, and according to this Relative position adjusts the beep pattern of loudspeaker, then the loudspeaker by adjusting after play above sound signal.Root may be implemented in this way According to the beep pattern of the position adjustment loudspeaker of other sources of sound, such as: closer from terminal when user talks, adjustment loudspeaker play Sound is smaller, otherwise bigger;When user is located at the terminal left side, so that it may which the volume for turning the loudspeaker on the terminal left side down tunes up terminal The horn volume etc. on the right, preferably to show target sound signal to user.
In the embodiment, target sound signal can be got by geographical location information in real time, then play target sound Signal.
In above-mentioned technical proposal, the mode of plurality of optional is realized on the basis of first Installation practice, and all may be used To realize abundant recorded content.
Referring to FIG. 10, Figure 10 is the structural representation of another sound signal processing terminal provided in an embodiment of the present invention Figure, as shown in Figure 10, comprising: first acquisition unit 101, second acquisition unit 102 and broadcast unit 103, in which:
First acquisition unit 101, for obtaining the first geographical location information.
Optionally, first acquisition unit 101 specifically can be a geographic name for receiving user's input, further according to the ground Reason title finds corresponding geographical location information, such as: geographical position coordinates, the geographical position coordinates include plane geography position Coordinate is set, such as: longitude, latitude coordinate, in addition, the geographical position coordinates include three-dimensional geographical position coordinates, such as: longitude, Latitude and height (such as: height above sea level) coordinate.Furthermore it is also possible to be that above-mentioned first geographical location information is directly acquired by network, The first geographical location information that is being inputted such as user or being obtained by network.
Second acquisition unit 102 includes the second geographical location information for being obtained according to first geographical location information Audio files, the geography that the geographical location and first geographical location information that second geographical location information indicates indicate Position is similar.
Broadcast unit 103, the target sound signal for including for playing the audio files, the target sound signal with The second geographical location information binding.
In another embodiment, as shown in figure 11, the terminal can also include:
Receiving unit 104, for receiving the source voice signal that source source of sound generates by least three microphone MIC;
Computing unit 105 is opposite with the terminal for calculating the source source of sound according to the receiving time of each MIC Position, the receiving time of the MIC are the time that the MIC receives the source voice signal;
Broadcast unit 103 can be used for adjusting the beep pattern of loudspeaker depending on that relative position, and by adjusting after Loudspeaker play the target sound signal.
Optionally, computing unit 105 may include:
Measuring unit (is not drawn into) in attached drawing, for detecting the current angular of the terminal by three-axis gyroscope, then is led to Cross the geographical location information that global position system GPS measures each MIC under the current angular;
First computation subunit (is not drawn into) in attached drawing, for according to the geographical location information of each MIC and described Relative position calculates the geographical location information of the source source of sound;
Second computation subunit (is not drawn into) in attached drawing, for being calculated respectively by the geographical location information of each MIC The geographical location information of loudspeaker;
Third computation subunit, for according to the geographical location information of each loudspeaker and the geographical location of the source source of sound Information calculates the relative position of the source source of sound Yu each loudspeaker;
Broadcast unit 103 can be used for adjusting the hair of each loudspeaker according to the relative position of the source source of sound and each loudspeaker Sound pattern, and the target sound signal that the audio files includes is played by the loudspeaker after adjusting.
Above-mentioned each loudspeaker can refer to terminal said one or multiple loudspeaker.
The beep pattern that each loudspeaker are adjusted according to the relative position of source source of sound and each loudspeaker, example may be implemented in this way Such as: the volume of closer loudspeaker is smaller with source source of sound, and the volume of remoter loudspeaker is bigger with source source of sound.
In above-mentioned technical proposal, terminal obtains the first geographical location information;Terminal is according to first geographical location information The audio files including second geographical location information is obtained, the geographical location and institute that second geographical location information indicates The geographical location for stating the expression of the first geographical location information is similar;The target sound signal that audio files described in terminal plays includes, The target sound signal and second geographical location information are bound.Abundant recorded content may be implemented.
Figure 12 is please referred to, Figure 12 is the structural representation of another sound signal processing terminal provided in an embodiment of the present invention Figure, as shown in figure 12, comprising: receiving unit 121, computing unit 122 and broadcast unit 123, in which:
Receiving unit 121, for receiving the source voice signal that source source of sound generates by least three microphone MIC.
Computing unit 122 is opposite with the terminal for calculating the source source of sound according to the receiving time of each MIC Position, the receiving time of the MIC are the time that the MIC receives the source voice signal.
The broadcast unit 123 for adjusting horn sounding patterns depending on that relative position, and passes through the loudspeaker after adjusting Broadcasting target sound signal.
In another embodiment, the computing unit 122 may include:
Measuring unit (is not drawn into) in attached drawing, for detecting the current angular of the terminal by three-axis gyroscope, then is led to Cross the geographical location information that global position system GPS measures each MIC under the current angular;
First computation subunit (is not drawn into) in attached drawing, for according to the geographical location information of each MIC and described Relative position calculates the geographical location information of the source source of sound;
Second computation subunit (is not drawn into) in attached drawing, for being calculated respectively by the geographical location information of each MIC The geographical location information of the loudspeaker;
Third computation subunit (is not drawn into) in attached drawing, for according to each loudspeaker geographical location information and the source The geographical location information of source of sound calculates the relative position of the source source of sound Yu each loudspeaker;
Broadcast unit 123 can be used for adjusting the hair of each loudspeaker according to the relative position of the source source of sound and each loudspeaker Sound pattern, and the target sound signal is played by the loudspeaker after adjusting.
Above-mentioned each loudspeaker can refer to terminal said one or multiple loudspeaker.
In above-mentioned technical proposal, terminal receives the source voice signal that source source of sound generates by least three microphone MIC;Eventually End calculates the relative position of the source source of sound and the terminal, the receiving time of the MIC according to the receiving time of each MIC The time of the source voice signal is received for the MIC;The terminal adjusts horn sounding patterns depending on that relative position, and The target sound signal is played by the loudspeaker after adjusting, so as to realize the mesh played according to the adjustment of the position of source source of sound Mark voice signal.
Figure 13 is please referred to, Figure 13 is the structural representation of another sound signal processing terminal provided in an embodiment of the present invention Figure, as shown in figure 13, comprising: memory 131 and processor 132, wherein memory 131 is used to store a set of program code, place The code that reason device 132 is used to that memory 131 to be called to store performs the following operations:
The target sound signal that target source of sound generates is received by least three MIC;
The relative position of the target source of sound and the terminal is calculated according to the receiving time of each MIC, the MIC's Receiving time is the time that the MIC receives the target sound signal;
According to the geographical location information of the terminal and the relative position, the geographical location of the target source of sound is calculated Information;
The geographical location information of the target source of sound and the target sound signal are bound, and generating includes the target The audio files of the geographical location information of voice signal and the target source of sound.
Optionally, above-mentioned relative position can refer to that relative position in the same plane, the i.e. relative position only include Direction and distance;Such as the relative position in latitude and longitude coordinates system.Any point is to fixing three points in approximately the same plane Distance be it is unique, i.e., can determine another point in plane by any 3 points.Since above-mentioned MIC is to be fixed on terminal On, i.e., the position of above-mentioned MIC be it is known, the positional distance between MIC each in this way is exactly known, and target sound signal The speed of propagation be also it is known that these known conditions add again the receiving time of each MIC can calculate target source of sound with it is described The relative position of terminal.Wherein, the relative position of target source of sound and the terminal specifically can be joins in target source of sound and terminal Examine the relative position of location point or the relative position etc. of target source of sound and each MIC.
In addition, above-mentioned relative position can also refer in the relative position of three-dimensional space, i.e., the relative position may include Direction, horizontal direction distance and vertical direction distance.And any point is to the distance for fixing four points in same three-dimensional space It is that uniquely, i.e., can determine another point in three-dimensional space by any 4 points.The embodiment, processor 132 are specific It can be and receive above-mentioned target sound signal by least four MIC.
Optionally, after known to the geographical location information of terminal and relative position, so that it may calculate the ground of target source of sound Manage location information.Wherein, geographical location information specifically can be geographical position coordinates, which includes plane geography Position coordinates, such as: longitude, latitude coordinate, in addition, the geographical position coordinates include three-dimensional geographical position coordinates, such as: warp Degree, latitude and height (such as: height above sea level) coordinate.In addition, above-mentioned geographical location information can also be in the map installed in terminal Geographical location information, in this way can it is more vivid at the terminal be the geographical location for embodying target source of sound.
Optionally, what processor 132 executed calculates the target source of sound and the end according to the receiving time of each MIC The operation of the relative position at end may include:
The relative position of the target source of sound Yu each MIC is calculated according to the receiving time of each MIC.
Optionally, the geographical location information according to the terminal and the relative position that processor 132 executes, calculate The operation of the geographical location information of the target source of sound may include:
The current angular of the terminal is detected by three-axis gyroscope, then by working as described in global position system GPS measurement The geographical location information of each MIC under preceding angle;
According to the geographical location information of each MIC and the relative position, the geographical position of the target source of sound is calculated Confidence breath.
In above-mentioned technical proposal, terminal receives the target sound signal that target source of sound generates by least three MIC;Terminal The relative position of the target source of sound and the terminal is calculated further according to the receiving time of each MIC;Terminal in this way According to the geographical location information of the terminal and the relative position, the geographical location information of the target source of sound is calculated;From And terminal can bind the geographical location information of the target source of sound and the target sound signal, and generating includes the mesh Mark the audio files of the geographical location information of voice signal and the target source of sound.Compared to the prior art, the file of generation Including target sound signal or vision signal, the audio files that the present invention generates can also include that the geographical location of source of sound is believed Breath, to enrich recorded content.
Figure 14 is please referred to, Figure 14 is the structural representation of another sound signal processing terminal provided in an embodiment of the present invention Figure, as shown in figure 14, comprising: memory 141 and processor 142, wherein memory 141 is used to store a set of program code, place The code that reason device 142 is used to that memory 141 to be called to store performs the following operations:
Obtain the first geographical location information;
The audio files including the second geographical location information, second ground are obtained according to first geographical location information It is similar to the geographical location that first geographical location information indicates to manage the geographical location that location information indicates;
Play the target sound signal that the audio files includes, the target sound signal and second geographical location Information binding.
Optionally, processor 142 specifically can be a geographic name for receiving user's input, further according to the geographic name Corresponding geographical location information is found, such as: geographical position coordinates, the geographical position coordinates include that plane geographical location is sat Mark, such as: longitude, latitude coordinate, in addition, the geographical position coordinates include three-dimensional geographical position coordinates, such as: longitude, latitude With height (such as: height above sea level) coordinate.Furthermore it is also possible to be to directly acquire above-mentioned first geographical location information by network, such as use The first geographical location information that is family input or being obtained by network.
Optionally, processor 142 is before executing the operation for playing the target sound signal that the audio files includes, also It can be used for performing the following operations:
The source voice signal that source source of sound generates is received by least three microphone MIC;
The relative position of the source source of sound and the terminal is calculated according to the receiving time of each MIC, the MIC's connects The time of the source voice signal is received between time receiving for the MIC;
The operation for the broadcasting target sound signal that processor 142 executes may include:
The beep pattern of loudspeaker is adjusted depending on that relative position, and plays the audio files by the loudspeaker after adjusting Including target sound signal.
Optionally, what processor 142 executed calculates the source source of sound and the terminal according to the receiving time of each MIC Relative position operation, may include:
The current angular of the terminal is detected by three-axis gyroscope, then by working as described in global position system GPS measurement The geographical location information of each MIC under preceding angle;
According to the geographical location information of each MIC and the relative position, the geographical location of the source source of sound is calculated Information;
The geographical location information of each loudspeaker is calculated by the geographical location information of each MIC;
According to the geographical location information of the geographical location information of each loudspeaker and the source source of sound, the source source of sound is calculated With the relative position of each loudspeaker;
Optionally, the hair that loudspeaker are adjusted according to the relative position of the source source of sound and the terminal that processor 142 executes The operation of sound pattern may include:
The beep pattern of each loudspeaker is adjusted according to the relative position of the source source of sound and each loudspeaker.
In above-mentioned technical proposal, terminal obtains the first geographical location information;It includes second geographical location that terminal, which obtains, The audio files of information, what the geographical location and first geographical location information that second geographical location information indicates indicated Geographical location is similar;The target sound signal that audio files described in terminal plays includes.Abundant recorded content may be implemented.
Figure 15 is please referred to, Figure 15 is the structural representation of another sound signal processing terminal provided in an embodiment of the present invention Figure, as shown in figure 15, comprising: memory 151 and processor 152, wherein memory 151 is used to store a set of program code, place The code that reason device 152 is used to that memory 151 to be called to store performs the following operations:
The source voice signal that source source of sound generates is received by least three microphone MIC;
The relative position of the source source of sound and the terminal is calculated according to the receiving time of each MIC, the MIC's connects The time of the source voice signal is received between time receiving for the MIC;
Horn sounding patterns are adjusted depending on that relative position, and play target sound signal by the loudspeaker after adjusting.
Optionally, above-mentioned target sound signal can be the voice signal of terminal local or terminal receives network transmission Voice signal, in addition, be not construed as limiting to the form of target sound signal, for example, it may be the sound that one embodiment generates The target sound signal that sound file includes, can also be not with geographical location information binding target sound signal (such as: one Duan Yinle, voice etc.).
Optionally, what processor 152 executed calculates the source source of sound and the terminal according to the receiving time of each MIC Relative position operation, may include:
The current angular of the terminal is detected by three-axis gyroscope, then by working as described in global position system GPS measurement The geographical location information of each MIC under preceding angle;
According to the geographical location information of each MIC and the relative position, the geographical location of the source source of sound is calculated Information;
The geographical location information of each loudspeaker is calculated by the geographical location information of each MIC;
According to the geographical location information of the geographical location information of each loudspeaker and the source source of sound, the source source of sound is calculated With the relative position of each loudspeaker;
Optionally, the hair that loudspeaker are adjusted according to the relative position of the source source of sound and the terminal that processor 152 executes The operation of sound pattern may include:
The beep pattern of each loudspeaker is adjusted according to the relative position of the source source of sound and each loudspeaker.
In above-mentioned technical proposal, terminal receives the source voice signal that source source of sound generates by least three microphone MIC;Eventually End calculates the relative position of the source source of sound and the terminal, the receiving time of the MIC according to the receiving time of each MIC The time of the source voice signal is received for the MIC;The terminal adjusts horn sounding patterns depending on that relative position, and Target sound signal is played by the loudspeaker after adjusting, so as to realize the target sound played according to the adjustment of the position of source source of sound Sound signal.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of audio signal processing method characterized by comprising
Terminal receives the target sound signal that target source of sound generates by least three microphone MIC;
The terminal calculates the relative position of the target source of sound and the terminal according to the receiving time of each MIC, described The receiving time of MIC is the time that the MIC receives the target sound signal;
Geographical location information and the relative position of the terminal according to the terminal, calculate the geography of the target source of sound Location information;
The terminal binds the geographical location information of the target source of sound and the target sound signal, and it includes described for generating The audio files of the geographical location information of target sound signal and the target source of sound;Wherein the geographical location information includes warp Degree, latitude coordinate, or including the geographical location information in map;The audio files is used to obtain the first geographical position in terminal Confidence breath, the audio files obtained according to first geographical location information and broadcasting, the geography of the target source of sound Location information is similar to the geographical location that first geographical location information indicates;
Before wherein terminal obtains according to first geographical location information and plays the audio files, pass through at least three wheats Gram wind MIC receives the source voice signal that source source of sound generates;According to the receiving time of each MIC calculate the source source of sound with it is described The relative position of terminal, the receiving time of the MIC are the time that the MIC receives the source voice signal;Terminal plays institute It states audio files and specifically includes the beep pattern for adjusting loudspeaker according to the relative position of the source source of sound and the terminal, and pass through Loudspeaker after adjusting play the target sound signal that the audio files includes;The source voice signal and the target sound are believed Number be two different voice signals.
2. the method as described in claim 1, which is characterized in that the terminal calculates institute according to the receiving time of each MIC State the relative position of target source of sound Yu the terminal, comprising:
The terminal calculates the relative position of the target source of sound Yu each MIC according to the receiving time of each MIC.
3. method according to claim 1 or 2, which is characterized in that the terminal is according to the geographical location information of the terminal And the relative position, calculate the geographical location information of the target source of sound, comprising:
The terminal detects the current angular of the terminal by three-axis gyroscope, then measures institute by global position system GPS State the geographical location information of each MIC under current angular;
Geographical location information and the relative position of the terminal according to each MIC, calculate the ground of the target source of sound Manage location information.
4. a kind of audio signal processing method characterized by comprising
Terminal obtains the first geographical location information;
The terminal obtained according to first geographical location information include the second geographical location information audio files, described the The geographical location that two geographical location information indicate is similar to the geographical location that first geographical location information indicates;
The target sound signal that audio files described in the terminal plays includes, the target sound signal and second geography Location information binding;
Wherein the audio files is the audio files generated by the method according to claim 1;
Before the target sound signal that audio files described in the terminal plays includes, the method also includes:
The terminal receives the source voice signal that source source of sound generates by least three microphone MIC;
The terminal calculates the relative position of the source source of sound and the terminal, the MIC according to the receiving time of each MIC Receiving time be that the MIC receives time of the source voice signal;
The target sound signal that audio files described in the terminal plays includes, comprising:
The terminal adjusts the beep pattern of loudspeaker depending on that relative position, and plays the sound by the loudspeaker after adjusting The target sound signal that file includes.
5. method as claimed in claim 4, which is characterized in that the terminal calculates institute according to the receiving time of each MIC State the relative position of source source of sound Yu the terminal, comprising:
The terminal detects the current angular of the terminal by three-axis gyroscope, then measures institute by global position system GPS State the geographical location information of each MIC under current angular;
Geographical location information and the relative position of the terminal according to each MIC, calculate the geography of the source source of sound Location information;
The terminal calculates the geographical location information of each loudspeaker by the geographical location information of each MIC;
The terminal calculates the source according to the geographical location information of each loudspeaker and the geographical location information of the source source of sound The relative position of source of sound and each loudspeaker;
The terminal adjusts the beep pattern of loudspeaker according to the relative position of the source source of sound and the terminal, comprising:
The terminal adjusts the beep pattern of each loudspeaker according to the relative position of the source source of sound and each loudspeaker.
6. a kind of sound signal processing terminal characterized by comprising receiving unit, the first computing unit, the second computing unit And generation unit, in which:
The receiving unit, for receiving the target sound signal that target source of sound generates by least three microphone MIC;
First computing unit, for calculating the target source of sound and the terminal according to the receiving time of each MIC Relative position, the receiving time of the MIC are the time that the MIC receives the target sound signal;
Second computing unit, for according to the terminal geographical location information and the relative position, described in calculating The geographical location information of target source of sound;
The generation unit, for the geographical location information of the target source of sound and the target sound signal to be bound, and it is raw At the audio files for the geographical location information for including the target sound signal and the target source of sound;The wherein geographical location Information includes longitude, latitude coordinate, or including the geographical location information in map;The audio files is used to obtain in terminal First geographical location information, the audio files obtained according to first geographical location information and broadcasting, the target The geographical location information of source of sound is similar to the geographical location that first geographical location information indicates;
Before wherein terminal obtains according to first geographical location information and plays the audio files, pass through at least three wheats Gram wind MIC receives the source voice signal that source source of sound generates;According to the receiving time of each MIC calculate the source source of sound with it is described The relative position of terminal, the receiving time of the MIC are the time that the MIC receives the source voice signal;Terminal plays institute It states audio files and specifically includes the beep pattern for adjusting loudspeaker according to the relative position of the source source of sound and the terminal, and pass through Loudspeaker after adjusting play the target sound signal that the audio files includes;The source voice signal and the target sound are believed Number be two different voice signals.
7. terminal as claimed in claim 6, which is characterized in that first computing unit is used for connecing according to each MIC The relative position of the target source of sound Yu each MIC is calculated between time receiving.
8. terminal as claimed in claims 6 or 7, which is characterized in that second computing unit includes:
Measuring unit is surveyed for detecting the current angular of the terminal by three-axis gyroscope, then by global position system GPS Measure the geographical location information of each MIC under the current angular;
Computation subunit, for according to each MIC geographical location information and the relative position, calculate the target sound The geographical location information in source.
9. a kind of sound signal processing terminal characterized by comprising first acquisition unit, second acquisition unit and broadcasting are single Member, in which:
The first acquisition unit, for obtaining the first geographical location information;
The second acquisition unit, for obtaining the sound including the second geographical location information according to first geographical location information Sound file, the geographical location that the geographical location and first geographical location information that second geographical location information indicates indicate It is similar;
The broadcast unit, the target sound signal for including for playing the audio files, the target sound signal and institute State the binding of the second geographical location information;Wherein the geographical location information includes longitude, latitude coordinate, or including in map Geographical location information;
Wherein the audio files is the sound generated by the described in any item sound signal processing terminals of such as claim 7-8 File;
The terminal further include:
Receiving unit, for receiving the source voice signal that source source of sound generates by least three microphone MIC;
Computing unit, for calculating the relative position of the source source of sound and the terminal, institute according to the receiving time of each MIC State the time that the receiving time of MIC receives the source voice signal for the MIC;
The broadcast unit is played for adjusting the beep pattern of loudspeaker depending on that relative position, and by the loudspeaker after adjusting The target sound signal that the audio files includes.
10. sound signal processing terminal as claimed in claim 9, which is characterized in that the computing unit, comprising:
Measuring unit is surveyed for detecting the current angular of the terminal by three-axis gyroscope, then by global position system GPS Measure the geographical location information of each MIC under the current angular;
First computation subunit, for according to each MIC geographical location information and the relative position, calculate the source The geographical location information of source of sound;
Second computation subunit, for calculating the geographical location information of each loudspeaker by the geographical location information of each MIC;
Third computation subunit, for being believed according to the geographical location information of each loudspeaker and the geographical location of the source source of sound Breath, calculates the relative position of the source source of sound Yu each loudspeaker;
The broadcast unit is used to adjust the beep pattern of each loudspeaker according to the relative position of the source source of sound and each loudspeaker, And the target sound signal that the audio files includes is played by the loudspeaker after adjusting.
CN201310753791.0A 2013-12-31 2013-12-31 A kind of audio signal processing method and terminal Active CN103916734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310753791.0A CN103916734B (en) 2013-12-31 2013-12-31 A kind of audio signal processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310753791.0A CN103916734B (en) 2013-12-31 2013-12-31 A kind of audio signal processing method and terminal

Publications (2)

Publication Number Publication Date
CN103916734A CN103916734A (en) 2014-07-09
CN103916734B true CN103916734B (en) 2018-12-07

Family

ID=51042063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310753791.0A Active CN103916734B (en) 2013-12-31 2013-12-31 A kind of audio signal processing method and terminal

Country Status (1)

Country Link
CN (1) CN103916734B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410939B (en) * 2014-10-16 2017-12-29 华为技术有限公司 Acoustic image direction feeling treating method and apparatus
CN105277921B (en) * 2015-09-23 2017-12-26 浙江大学 A kind of passive acoustic localization method based on smart mobile phone
CN107404684A (en) * 2016-05-19 2017-11-28 华为终端(东莞)有限公司 A kind of method and apparatus of collected sound signal
CN107360387A (en) * 2017-07-13 2017-11-17 广东小天才科技有限公司 The method, apparatus and terminal device of a kind of video record
EP3496417A3 (en) * 2017-12-06 2019-08-07 Oticon A/s Hearing system adapted for navigation and method therefor
CN112346016B (en) * 2020-10-28 2023-11-28 苏州触达信息技术有限公司 Positioning method for personnel in water and wearable equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5600727A (en) * 1993-07-17 1997-02-04 Central Research Laboratories Limited Determination of position
US5901232A (en) * 1996-09-03 1999-05-04 Gibbs; John Ho Sound system that determines the position of an external sound source and points a directional microphone/speaker towards it
CN1241345A (en) * 1997-05-19 2000-01-12 综合数据通信公司 System and method to communicate time stamped, 3-axis geo-position data within telecommunication networks
CN101218853A (en) * 2005-07-08 2008-07-09 雅马哈株式会社 Audio transmission system and communication conference device
CN101656908A (en) * 2008-08-19 2010-02-24 深圳华为通信技术有限公司 Method for controlling sound focusing, communication device and communication system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299835A (en) * 2008-06-03 2008-11-05 天津华永无线科技有限公司 System and method for labeling geographical position information into mobile phone multimedia document
CN101872638A (en) * 2009-04-24 2010-10-27 动力媒体有限公司 Mobile multimedia player and play control method thereof
CN102025954A (en) * 2009-09-18 2011-04-20 神达电脑股份有限公司 Method for retrieving, cataloguing and playing archives by using portable electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5600727A (en) * 1993-07-17 1997-02-04 Central Research Laboratories Limited Determination of position
US5901232A (en) * 1996-09-03 1999-05-04 Gibbs; John Ho Sound system that determines the position of an external sound source and points a directional microphone/speaker towards it
CN1241345A (en) * 1997-05-19 2000-01-12 综合数据通信公司 System and method to communicate time stamped, 3-axis geo-position data within telecommunication networks
CN101218853A (en) * 2005-07-08 2008-07-09 雅马哈株式会社 Audio transmission system and communication conference device
CN101656908A (en) * 2008-08-19 2010-02-24 深圳华为通信技术有限公司 Method for controlling sound focusing, communication device and communication system

Also Published As

Publication number Publication date
CN103916734A (en) 2014-07-09

Similar Documents

Publication Publication Date Title
CN103916734B (en) A kind of audio signal processing method and terminal
CN102630385B (en) Method, device and system for audio zooming process within an audio scene
US9918174B2 (en) Wireless exchange of data between devices in live events
CN107211216B (en) For providing the method and apparatus of virtual audio reproduction
CN105793723B (en) It is self-positioning using the microphone of moving sound
CN104813683B (en) Constrained dynamic amplitude panning in collaborative sound systems
CN108877770A (en) For testing the methods, devices and systems of intelligent sound equipment
US9697814B2 (en) Method and device for changing interpretation style of music, and equipment
US20090310802A1 (en) Virtual sound source positioning
CN109658942A (en) A kind of audio data processing method, device and relevant device
CN106659936A (en) System and method for determining audio context in augmented-reality applications
KR20170013931A (en) Determination and use of auditory-space-optimized transfer functions
US11482237B2 (en) Method and terminal for reconstructing speech signal, and computer storage medium
CN105101027A (en) Real-time Control Of An Acoustic Environment
US11451923B2 (en) Location based audio signal message processing
WO2022267468A1 (en) Sound processing method and apparatus thereof
CN105307077A (en) Sound box volume intelligent adjustment method based on distance information and sound box
WO2013077197A1 (en) Mobile communication terminal, mobile communication method, mobile communication program, and storage medium
JP2013532919A (en) Method for mobile communication
CN114360546A (en) Electronic equipment and awakening method thereof
US9992536B2 (en) Information provision device, information provision method, and information provision system
CN115273431A (en) Device retrieving method and device, storage medium and electronic device
CN106255898A (en) Use the distance between audio signal measurement equipment
CN206517613U (en) It is a kind of based on motion-captured 3D audio systems
CN112295226B (en) Sound effect playing control method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20171030

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Applicant after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Applicant before: Huawei Device Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.

CP01 Change in the name or title of a patent holder