CN106358135A - Stereo reducing method and device - Google Patents

Stereo reducing method and device Download PDF

Info

Publication number
CN106358135A
CN106358135A CN201610899974.7A CN201610899974A CN106358135A CN 106358135 A CN106358135 A CN 106358135A CN 201610899974 A CN201610899974 A CN 201610899974A CN 106358135 A CN106358135 A CN 106358135A
Authority
CN
China
Prior art keywords
sound channel
channel signal
spectrum component
signal
audio signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610899974.7A
Other languages
Chinese (zh)
Inventor
肖纯智
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201610899974.7A priority Critical patent/CN106358135A/en
Publication of CN106358135A publication Critical patent/CN106358135A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S5/00Pseudo-stereo systems, e.g. in which additional channel signals are derived from monophonic signals by means of phase shifting, time delay or reverberation 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S1/00Two-channel systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S7/00Indicating arrangements; Control arrangements, e.g. balance control

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Stereophonic System (AREA)

Abstract

The invention discloses a stereo reducing method and device, and belongs to the technical field of media. The method comprises the following steps: acquiring an audio signal to be played, wherein the audio signal at least comprises two sound channel signals; performing phase shift processing on a spectrum component corresponding to a first sound channel signal in the audio signal to obtain a processed spectrum component; re-determining a first sound channel signal according to the processed spectrum component; and outputting the second sound channel signal in the audio signal and the re-determined first sound channel signal. The stereo reducing method can realize stereo reduction of a sound without setting a plurality of loudspeakers, so that the system cost is reduced.

Description

A kind of stereo method of reducing and device
Technical field
The present invention relates to multimedia technology field, particularly to a kind of stereo method of reducing and device.
Background technology
In the modern life, music has become important ingredient in consumer entertainment life.With multimedia technology Development, user is not only satisfied with and can hear sound, more often user want to hear realistic and live That feels is stereo.
In order to meet the demand of listening to of user, prior art adopts the reduction of multichannel Play System stereo, raises multiple Sound device is placed in the different azimuth of listening room, so that the sound that user is listened to has third dimension.
During realizing the present invention, inventor find correlation technique at least there is problems in that
Using multichannel Play System reduction stereo when, need multiple speakers and it needs to listening room have certain Play space so that system cost is higher.
Content of the invention
In order to solve problem of the prior art, embodiments provide a kind of stereo method of reducing and device.Institute State technical scheme as follows:
A kind of first aspect, there is provided stereo method of reducing, methods described includes:
Obtain audio signal to be played;Wherein, described audio signal at least includes two sound channel signals;
According to predetermined angle, phase shift process is carried out to the corresponding spectrum component of the first sound channel signal in described audio signal, Spectrum component after being processed;
First sound channel signal is redefined according to the spectrum component after described process;
Export the second sound channel signal in described audio signal and described the first sound channel signal redefining.
Optionally, described according to predetermined angle, the corresponding spectrum component of the first sound channel signal in described audio signal is entered Row phase shift is processed, the spectrum component after being processed, comprising:
Resolution is carried out to described first sound channel signal, obtains frequency spectrum on frequency domain direction for described first sound channel signal Component;
According to predetermined angle, phase shift process is carried out to described spectrum component, the spectrum component after being processed.
Optionally, described according to described process after spectrum component redefine the first sound channel signal, comprising:
Spectrum component after described process is inversely reduced, obtain described in the first sound channel signal of redefining.
Optionally,
Described resolution is carried out to described first sound channel signal, obtain described first sound channel signal on frequency domain direction Spectrum component, comprising: framing windowing process is carried out to described first sound channel signal;Using discrete Fourier transform to framing adding window The first sound channel signal after process carries out resolution, obtains spectrum component on frequency domain direction for described first sound channel signal;
Described to described process after spectrum component inversely reduced, obtain described in redefine first sound channel letter Number, comprising: using inverse discrete Fourier transform to described process after spectrum component inversely reduced, obtain described in again true The first fixed sound channel signal.
Optionally, the described second sound channel signal exporting in described audio signal and described the first sound channel letter redefining Number, comprising:
Export the second sound channel signal in described audio signal;
When the duration of the second sound channel signal in exporting described audio signal reaches preset duration, redefine described The first sound channel signal together export.
On the other hand, there is provided a kind of stereo reduction apparatus, described device includes:
Acquisition module, for obtaining audio signal to be played;Wherein, described audio signal at least includes two sound channel letters Number;
Processing module, for according to predetermined angle to the corresponding spectrum component of the first sound channel signal in described audio signal Carry out phase shift process, the spectrum component after being processed;
Weight determining module, for redefining the first sound channel signal according to the spectrum component after described process;
Output module, for exporting the second sound channel signal in described audio signal and described the first sound channel redefining Signal.
Optionally, described processing module, comprising:
Analyzing sub-module, for carrying out resolution to described first sound channel signal, obtains described first sound channel signal and exists Spectrum component on frequency domain direction;
Phase shift processes submodule, for carrying out phase shift process according to predetermined angle to described spectrum component, after being processed Spectrum component.
Optionally, described heavy determining module, for inversely being reduced to the spectrum component after described process, obtains described The first sound channel signal redefining.
Optionally,
Described analyzing sub-module, for carrying out framing windowing process to described first sound channel signal;Using discrete fourier Conversion carries out resolution to the first sound channel signal after framing windowing process, obtains described first sound channel signal in frequency domain direction On spectrum component;
Described heavy determining module, for being carried out inversely to the spectrum component after described process using inverse discrete Fourier transform Reduction, obtain described in the first sound channel signal of redefining.
Optionally, described output module, for exporting the second sound channel signal in described audio signal;Exporting described sound When the duration of the second sound channel signal in frequency signal reaches preset duration, will be together defeated for described the first sound channel signal redefining Go out.
Technical scheme provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, by the first sound channel signal in audio signal to be played is carried out on frequency domain direction Phase shift processes the phase predetermined angle so that the first sound channel signal redefining and second sound channel signal after processing, And then between the first sound channel signal of redefining and described second sound channel signal, there is different described in making, furthered institute State the sound field distance between the first sound channel signal redefining and described second sound channel signal, described when being play using speaker When the first sound channel signal redefining and second sound channel signal, it is that user has built one kind and has relief sound.It can be seen that, By the stereo reduction scheme described in the embodiment of the present invention, multiple speakers need not be set and can achieve that the stereo of sound is gone back Former, reduce system cost.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of flow chart of steps of stereo method of reducing in the embodiment of the present invention;
Fig. 2 is the flow chart of steps of another stereo method of reducing in the embodiment of the present invention;
Fig. 3 is a kind of structured flowchart of stereo reduction apparatus in the embodiment of the present invention;
Fig. 4 is the structural representation of the terminal involved by the embodiment of the present invention.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
With reference to Fig. 1, show a kind of flow chart of steps of stereo method of reducing in the embodiment of the present invention.In the present embodiment In, described stereo method of reducing includes:
Step 101, obtains audio signal to be played;Wherein, described audio signal at least includes two sound channel signals.
Step 102, is carried out to the corresponding spectrum component of the first sound channel signal in described audio signal according to predetermined angle Phase shift is processed, the spectrum component after being processed.
Step 103, redefines the first sound channel signal according to the spectrum component after described process.
Step 104, exports the second sound channel signal in described audio signal and described the first sound channel signal redefining.
In sum, the stereo method of reducing described in the embodiment of the present invention, by by audio signal to be played First sound channel signal carry out phase shift process on frequency domain direction so that process after the first sound channel signal and second redefining The phase predetermined angle of sound channel signal, and then the first sound channel signal of redefining and described second sound channel letter described in making There is between number different, furthered described in sound between the first sound channel signal of redefining and described second sound channel signal Field distance, when the first sound channel signal redefining described in being play using speaker and second sound channel signal, is user's construction One kind has relief sound.It can be seen that, by the stereo method of reducing described in the embodiment of the present invention, need not arrange multiple Speaker can achieve the stereo reduction of sound, reduces system cost.
In another embodiment of the present invention, according to predetermined angle to the first sound channel signal pair in described audio signal The spectrum component answered carries out phase shift process, the spectrum component after being processed, comprising:
Resolution is carried out to described first sound channel signal, obtains frequency spectrum on frequency domain direction for described first sound channel signal Component;
According to predetermined angle, phase shift process is carried out to described spectrum component, the spectrum component after being processed.
In another embodiment of the present invention, the first sound channel letter is redefined according to the spectrum component after described process Number, comprising:
Spectrum component after described process is inversely reduced, obtain described in the first sound channel signal of redefining.
In another embodiment of the present invention,
Described resolution is carried out to described first sound channel signal, obtain described first sound channel signal on frequency domain direction Spectrum component, comprising:
Framing windowing process is carried out to described first sound channel signal;Using discrete Fourier transform to framing windowing process after The first sound channel signal carry out resolution, obtain spectrum component on frequency domain direction for described first sound channel signal.
Described to described process after spectrum component inversely reduced, obtain described in redefine first sound channel letter Number, comprising:
Using inverse discrete Fourier transform to described process after spectrum component inversely reduced, obtain described in again true The first fixed sound channel signal.
In another embodiment of the present invention,
Export the second sound channel signal in described audio signal and described the first sound channel signal redefining, comprising:
Export the second sound channel signal in described audio signal;
When the duration of the second sound channel signal in exporting described audio signal reaches preset duration, redefine described The first sound channel signal together export.
Above-mentioned all optional technical schemes, can be using the alternative embodiment arbitrarily combining to form the present invention, and here is no longer Repeat one by one.
With reference to Fig. 2, show the flow chart of steps of another stereo method of reducing in the embodiment of the present invention.In this enforcement In example, described stereo method of reducing includes:
Step 201, terminal obtains audio signal to be played.
In the present embodiment, described audio signal at least includes two sound channel signals.Wherein, terminal has audio frequency broadcasting work( Can, the smart mobile phone of application, panel computer etc. or mp3 (moving picture can be play for installing audio frequency Experts group, Motion Picture Experts Group), the independent playback equipment such as walkman, the present embodiment do not make to the type of terminal Specific restriction.
Described audio signal to be played is the digital signal processing without the later stage, obtains sound to be played with regard to terminal The mode of frequency signal, including but not limited to following manner:
The first step, by microphone collected sound signal, and the acoustical signal of collection is converted into the faint signal of telecommunication.
Due to there being one layer of very thin and sensitive carbon film inside microphone, when sound transmission is to carbon film, carbon film can be with sound Sound together vibrates, and due to being connected to an electrode under carbon film, carbon film can touch electrode when vibration, thus is passing through During microphone recorded voice, the acoustical signal of collection can be converted into the signal of telecommunication.
The faint signal of telecommunication is amplified by second step using amplifying circuit, the signal of telecommunication after being amplified.
Generally the signal of telecommunication accessed by microphone is fainter, and the degree of accuracy that the faint signal of telecommunication is processed is relatively low, In order to improve the degree of accuracy that the signal of telecommunication is processed, frequently with amplifying circuit, processing and amplifying is made to the faint signal of telecommunication.
3rd step, converts electrical signals to digital signal.
Terminal, when converting electrical signals to digital signal, can choose sampled point in the signal of telecommunication, will according to sampling thheorem The signal of telecommunication is converted into digital signal.Wherein, sampling thheorem is: when signal bandwidth is less than 1/2nd of sample frequency, can adopt Completely represent sampled signal with discrete sampled point.
Clear, the sense that has levels stereo in order to obtain, terminal when audio signal is obtained based on aforesaid way, Chang Lu In the different azimuth of tone chamber, a microphone is set, and passes through each microphone independent acquisition acoustical signal, and then will be using different words The acoustical signal that cylinder is recorded is amplified merging using multiple independent amplifying circuits, finally gives an audio signal.Many Field of media, the digital signal obtaining after the sound signal processing that will be recorded using microphone as a sound channel signal, because And two sound channel signals in the audio signal accessed by terminal in the present invention, should be included at least.Describe for the ease of follow-up, this Invention only will need sound channel signal to be processed to be referred to as the first sound channel signal in audio signal, will remove the first sound channel letter in audio signal Remaining sound channel signal outside number is referred to as second sound channel signal.
Step 202, terminal is according to predetermined angle to the corresponding spectrum component of the first sound channel signal in described audio signal Carry out phase shift process, the spectrum component after being processed.
In embodiments of the present invention, can process to realize stereosonic reduction based on the phase shift on frequency domain direction, specifically , resolution can be carried out to described first sound channel signal, obtain frequency spectrum on frequency domain direction for described first sound channel signal Component;Then, according to predetermined angle, phase shift process is carried out to described spectrum component, the spectrum component after being processed.
Wherein, described predetermined angle can pre-set according to practical situation, for example, described predetermined angle include but not only It is limited to: 60 °, 70 °, 90 ° etc., the present embodiment is not restricted to this.
Step 203, redefines the first sound channel signal according to the spectrum component after described process.
As it was previously stated, in above-mentioned steps 202, resolution has been carried out to described first sound channel signal, and in frequency domain direction On carried out phase shift process, at this in rapid 203, the phase shift result on frequency domain direction after needing phase shift is processed is carried out also Former, specifically, can to described process after spectrum component inversely reduced, obtain described in redefine first sound channel letter Number.
It should be noted that in the present embodiment, described resolution and reverse reduction can but be not limited only to refer to: positive Inverse discrete Fourier transform and reverse inverse discrete Fourier transform.Specific:
Described resolution is carried out to described first sound channel signal, obtain described first sound channel signal on frequency domain direction Spectrum component, specifically may include that and carries out framing windowing process to described first sound channel signal;Using discrete Fourier transform pair The first sound channel signal after framing windowing process carries out resolution, obtains frequency on frequency domain direction for described first sound channel signal Spectral component.
In practical implementation, a kind of feasible implementation is as follows:
First sound channel signal is carried out with frame length is 2n (wherein, n may be greater than the arbitrarily suitable integer value equal to 1), Frame moves the framing adding window for n, and degree of rectificating be 2n discrete Fourier transform (discrete fourier transform, Dft), obtain each spectrum component.Wherein, spectrum component represents and can be such that
xk=akexp[jαk],0≤k≤2n-1
Wherein, xkRepresent k-th spectrum component, akRepresent the amplitude of k-th spectrum component, αkShow k-th spectrum component Phase place.
Further, according to predetermined angle, phase shift process is carried out to described spectrum component, the spectrum component after being processed Specific implementation can be such that
If the spectrum component after phase shift is processed is: yk, then the spectrum component after phase shift is processed is:
yk=akexp[j(αk-θ)]
=xkexp[-jθ]
=(real (xk)+j*imag(xk))*(cos(θ)-j*sin(θ))
=(real (xk)*cos(θ)+imag(xk)*sin(θ))+j*(imag(xk)*cos(θ)-real(xk)*sin (θ))
Wherein, 1≤k≤n-1;θ is predetermined angle (positive frequency delayed phase θ, negative frequency phase lead θ).
Because real sequence spectrum is real part even symmetry, imaginary part odd symmetry, that is, amplitude spectrum is even symmetry, and phase spectrum is very right Claim, so akAnd αkSymmetrical with regard to k=n.Therefore, can be obtained by symmetry:
yk=(real (xk)*cos(θ)+imag(xk)*sin(θ))-j*(imag(xk)*cos(θ)-real(xk)*sin (θ))
Now, the span of k is: n+1≤k≤2n-1.That is, the spectrum component after the process finally giving is:
yk=(real (xk)*cos(θ)+imag(xk)*sin(θ))-j*(imag(xk)*cos(θ)-real(xk)*sin (θ))
Further, described spectrum component after described process is inversely reduced, obtain described in redefine the One sound channel signal, specifically be may include that and using inverse discrete Fourier transform, the spectrum component after described process is carried out inversely also Former, obtain described in the first sound channel signal of redefining.
In practical implementation, a kind of feasible implementation is as follows:
To ykCarry out reverse dft conversion, and carry out framing overlap-add process, obtain described in the first sound channel of redefining Signal, now, described the first sound channel signal redefining is pre- with the carrier phase shift of untreated described second sound channel signal If angle, θ.
Step 204, terminal exports the second sound channel signal in described audio signal.
In embodiments of the present invention, after completing the process to the first sound channel signal in audio signal, terminal can be led to Cross speaker and play described second sound channel signal.
Step 205, when the duration of the second sound channel signal in exporting described audio signal reaches preset duration, will be described The first sound channel signal redefining together exports.
As it was previously stated, carrying out to described first sound channel signal employing framing windowing process when phase shift is processed in abovementioned steps Mode, the first sound channel signal after phase shift is processed employs frame stacked system when inversely being reduced, above two is processed All there is certain frame and damage situation in mode, and then the first sound channel signal of redefining described in leading to and described second sound channel letter There is certain time delay between number;Additionally, the sound field of the first sound channel signal redefining obtaining after described process also occurs Certain skew.In embodiments of the present invention, for the first sound channel signal of redefining described in eliminating and the described rising tone Time delay between road signal, and, the sound field of the first sound channel signal redefining described in correction (redefines so that described The sound field of the sound field of the first sound channel signal and second sound channel signal is in middle position), can by described redefine first Sound channel signal is play when second sound channel signal playing duration reaches preset duration.Wherein said, preset duration can for 1ms, 2ms, 3ms etc., the present embodiment is not restricted to this.
It should be noted that above-mentioned taking comprise multiple sound channel signals in audio signal to be played as a example illustrate, when When only comprising two sound channel signals in described audio signal to be played, the first sound channel signal can be right-channel signals, second Sound channel can be left channel signals, and the now processing procedure to the audio signal comprising left channel signals and right-channel signals can Referring to the above-mentioned processing procedure to the audio signal to be played comprising multiple sound channel signals, here is omitted.
Further, when audio signal to be played is monophonic signal, can be using described monophonic signal as institute State the phase shift that the first sound channel signal carries out on frequency domain direction to process, obtain described in the first sound channel signal of redefining, then, will Described the first sound channel signal redefining is exported together with the original monophonic signal not dealt with.In other words, permissible Described monophonic signal is also served as second sound channel signal as the first sound channel signal and carries out stereosonic reduction, concrete reduction Flow process may refer to the above-mentioned processing procedure to the audio signal to be played comprising multiple sound channel signals, and here is omitted.
In sum, the stereo method of reducing described in the embodiment of the present invention, by by audio signal to be played First sound channel signal carry out phase shift process on frequency domain direction so that process after the first sound channel signal and second redefining The phase predetermined angle of sound channel signal, and then the first sound channel signal of redefining and described second sound channel letter described in making There is between number different, furthered described in sound between the first sound channel signal of redefining and described second sound channel signal Field distance, when the first sound channel signal redefining described in being play using speaker and second sound channel signal, is user's construction One kind has relief sound.It can be seen that, by the stereo method of reducing described in the embodiment of the present invention, need not arrange multiple Speaker can achieve the stereo reduction of sound, reduces system cost.
Further, compared to existing, stereo reduction is realized using the phase place that Hilbert filter to change audio frequency Scheme, the stereo method of reducing described in the embodiment of the present invention also has the advantages that operand is little and (adopts Hilbert filter, be Ensure the flatness of frequency spectrum, the exponent number of filter factor is generally larger, lead to the operand larger), also overcome existing scheme simultaneously The deep debility problems at zero-frequency existing.
Additionally, existing Hilbert filter scheme only enables 90 ° of phase change, it is fixing that phase angle changes , and the stereo method of reducing described in the embodiment of the present invention can change according to the phase place that practical situation arranges any predetermined angle Become, obtain the Stereo-width of any predetermined angle, with meet different application scenarios it is ensured that output sound quality.
Based on identical technology design, the embodiment of the present invention additionally provides a kind of stereo reduction apparatus.
With reference to Fig. 3, show a kind of structured flowchart of stereo reduction apparatus in the embodiment of the present invention.In the present embodiment In, described stereo reduction apparatus include:
Acquisition module 301, for obtaining audio signal to be played;Wherein, described audio signal at least includes two sound Road signal.
Processing module 302, for according to predetermined angle to the corresponding frequency spectrum of the first sound channel signal in described audio signal Component carries out phase shift process, the spectrum component after being processed.
Weight determining module 303, for redefining the first sound channel signal according to the spectrum component after described process.
Output module 304, for export the second sound channel signal in described audio signal and described redefine first Sound channel signal.
In another embodiment of the present invention, described processing module 302 specifically may include that analyzing sub-module 3021, For resolution is carried out to described first sound channel signal, obtain frequency spectrum on frequency domain direction for described first sound channel signal and divide Amount.Phase shift processes submodule 3022, for carrying out phase shift process according to predetermined angle to described spectrum component, after being processed Spectrum component.
Optionally, described analyzing sub-module 3021, specifically can be used for carrying out framing adding window to described first sound channel signal Process;Resolution is carried out to the first sound channel signal after framing windowing process using discrete Fourier transform, obtains described Spectrum component on frequency domain direction for one sound channel signal.
In another embodiment of the present invention, described heavy determining module 303, after specifically can be used for described process Spectrum component is inversely reduced, obtain described in the first sound channel signal of redefining.
In another embodiment of the present invention, described heavy determining module 303, specifically can be used for adopting discrete fourier Inverse transformation is inversely reduced to the spectrum component after described process, obtain described in the first sound channel signal of redefining.
In another embodiment of the present invention, described output module 304, specifically can be used for exporting described audio signal In second sound channel signal;When the duration of the second sound channel signal in exporting described audio signal reaches preset duration, by institute State the first sound channel signal redefining together to export.
In sum, the stereo reduction apparatus described in the embodiment of the present invention, by by audio signal to be played First sound channel signal carry out phase shift process on frequency domain direction so that process after the first sound channel signal and second redefining The phase predetermined angle of sound channel signal, and then the first sound channel signal of redefining and described second sound channel letter described in making There is between number different, furthered described in sound between the first sound channel signal of redefining and described second sound channel signal Field distance, when the first sound channel signal redefining described in being play using speaker and second sound channel signal, is user's construction One kind has relief sound.It can be seen that, by the stereo reduction apparatus described in the embodiment of the present invention, need not arrange multiple Speaker can achieve the stereo reduction of sound, reduces system cost.
Further, compared to existing, stereo reduction is realized using the phase place that Hilbert filter to change audio frequency Scheme, the stereo reduction apparatus described in the embodiment of the present invention also have the advantages that operand is little and (adopt Hilbert filter, be Ensure the flatness of frequency spectrum, the exponent number of filter factor is generally larger, lead to the operand larger), also overcome existing scheme simultaneously The deep debility problems at zero-frequency existing.
Additionally, existing Hilbert filter scheme only enables 90 ° of phase change, it is fixing that phase angle changes , and the stereo reduction apparatus described in the embodiment of the present invention can change according to the phase place that practical situation arranges any predetermined angle Become, obtain the Stereo-width of any predetermined angle, with meet different application scenarios it is ensured that output sound quality.
With reference to Fig. 4, go out the structural representation of the terminal involved by the embodiment of the present invention, described terminal can be used for implementing The stereo method of reducing providing in above-described embodiment.Specifically:
Terminal 400 can include rf (radio frequency, radio frequency) circuit 410, include one or more meters The memorizer 420 of calculation machine readable storage medium storing program for executing, input block 430, display unit 440, sensor 450, voicefrequency circuit 460, Wifi (wireless fidelity, Wireless Fidelity) module 470, include the process of or more than one processing core The part such as device 480 and power supply 490.It will be understood by those skilled in the art that the terminal structure shown in Fig. 4 do not constitute right The restriction of terminal, can include ratio and illustrate more or less of part, or combine some parts, or different part cloth Put.Wherein:
Rf circuit 410 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, especially, by base station After downlink information receives, transfer to one or more than one processor 480 is processed;In addition, by be related to up data is activation to Base station.Generally, rf circuit 410 includes but is not limited to antenna, at least one amplifier, tuner, one or more agitator, use Family identity module (sim) card, transceiver, bonder, lna (low noise amplifier, low-noise amplifier), duplex Device etc..Additionally, rf circuit 410 can also be communicated with network and other equipment by radio communication.Described radio communication can make With arbitrary communication standard or agreement, and including but not limited to gsm (global system of mobile communication, entirely Ball mobile communcations system), gprs (general packet radio service, general packet radio service), cdma (code Division multiple access, CDMA), wcdma (wideband code division multiple Access, WCDMA), lte (long term evolution, Long Term Evolution), Email, sms (short Messaging service, Short Message Service) etc..
Memorizer 420 can be used for storing software program and module, and processor 480 is stored in memorizer 420 by operation Software program and module, thus executing various function application and data processing.Memorizer 420 can mainly include storing journey Sequence area and storage data field, wherein, storing program area can (compare the application program needed for storage program area, at least one function As sound-playing function, image player function etc.) etc.;Storage data field can store according to terminal 400 using the number being created According to (such as voice data, phone directory etc.) etc..Additionally, memorizer 420 can include high-speed random access memory, can also wrap Include nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memorizer 420 can also include Memory Controller, to provide processor 480 and input block 430 to memorizer 420 access.
Input block 430 can be used for numeral or the character information of receives input, and produces and user setup and function Control relevant keyboard, mouse, action bars, optics or trace ball signal input.Specifically, input block 430 may include tactile Sensitive surfaces 431 and other input equipments 432.Touch sensitive surface 431, also referred to as touch display screen or Trackpad, can collect use Family thereon or neighbouring touch operation (such as user uses any suitable object such as finger, stylus or adnexa in touch-sensitive table Operation on face 431 or near Touch sensitive surface 431), and corresponding attachment means are driven according to formula set in advance.Optional , Touch sensitive surface 431 may include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller is from touch Receive touch information in detection means, and be converted into contact coordinate, then give processor 480, and can receiving processor 480 The order sent simultaneously is executed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize Touch sensitive surface 431.Except Touch sensitive surface 431, input block 430 can also include other input equipments 432.Specifically, Other input equipments 432 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One or more of trace ball, mouse, action bars etc..
Display unit 440 can be used for showing by the information of user input or is supplied to the information of user and terminal 400 Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any. Display unit 440 may include display floater 441, optionally, can adopt lcd (liquid crystal display, liquid crystal Show device), the form such as oled (organic light-emitting diode, Organic Light Emitting Diode) to be configuring display floater 441.Further, Touch sensitive surface 431 can cover display floater 441, when Touch sensitive surface 431 detects thereon or neighbouring touches After touching operation, send processor 480 to determine the type of touch event, with preprocessor 480 according to the type of touch event Corresponding visual output is provided on display floater 441.Although in the diagram, Touch sensitive surface 431 and display floater 441 are conducts Two independent parts realizing input and input function, but in some embodiments it is possible to by Touch sensitive surface 431 and display Panel 441 integrated and realize input and output function.
Terminal 400 may also include at least one sensor 450, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to environment Adjusting the brightness of display floater 441, proximity transducer can cut out display when terminal 400 moves in one's ear to the light and shade of light Panel 441 and/or backlight.As one kind of motion sensor, Gravity accelerometer can detect in all directions (generally Three axles) acceleration size, can detect that size and the direction of gravity when static, can be used for identify mobile phone attitude application (ratio As horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Extremely The other sensors such as the gyroscope that can also configure in terminal 400, barometer, drimeter, thermometer, infrared ray sensor, here Repeat no more.
Voicefrequency circuit 460, speaker 461, microphone 462 can provide the audio interface between user and terminal 400.Audio frequency The signal of telecommunication after the voice data receiving conversion can be transferred to speaker 461, is converted to sound by speaker 461 by circuit 460 Sound signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 462, after being received by voicefrequency circuit 460 Be converted to voice data, then after voice data output processor 480 is processed, through rf circuit 410 to be sent to such as another end End, or voice data is exported to memorizer 420 to process further.Voicefrequency circuit 460 is also possible that earphone jack, To provide the communication of peripheral hardware earphone and terminal 400.
Wifi belongs to short range wireless transmission technology, and terminal 400 can help user's transceiver electronicses by wifi module 470 Mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 4 illustrates Wifi module 470, but it is understood that, it is simultaneously not belonging to must be configured into of terminal 400, can exist as needed completely Omit in the scope of the essence not changing invention.
Processor 480 is the control centre of terminal 400, using each portion of various interfaces and connection whole mobile phone Point, it is stored in software program and/or module in memorizer 420 by running or executing, and call and be stored in memorizer 420 Interior data, the various functions of execution terminal 400 and processing data, thus carry out integral monitoring to mobile phone.Optionally, processor 480 may include one or more processing cores;Preferably, processor 480 can integrated application processor and modem processor, Wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor is mainly processed no Line communicates.It is understood that above-mentioned modem processor can not also be integrated in processor 480.
Terminal 400 also includes the power supply 490 (such as battery) powered to all parts it is preferred that power supply can be by electricity Management system is logically contiguous with processor 480, thus realizing management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 490 can also include one or more direct current or alternating current power supply, recharging system, power supply event Barrier testing circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 400 can also include photographic head, bluetooth module etc., will not be described here.Specifically in this reality Apply in example, the display unit of terminal 400 is touch-screen display, and terminal 400 also includes memorizer, and one or one Above program, one of or more than one program storage in memorizer, and be configured to by one or one with Upper computing device is one or more than one program bag is containing the instruction for carrying out following operation:
Obtain audio signal to be played;Wherein, described audio signal at least includes two sound channel signals;
According to predetermined angle, phase shift process is carried out to the corresponding spectrum component of the first sound channel signal in described audio signal, Spectrum component after being processed;
First sound channel signal is redefined according to the spectrum component after described process;
Export the second sound channel signal in described audio signal and described the first sound channel signal redefining.
Assume above-mentioned for the first possible embodiment, then provide based on the first possible embodiment The possible embodiment of second in, in the memorizer of terminal, also comprise the instruction for executing following operation:
According to predetermined angle, phase shift process is carried out to the corresponding spectrum component of the first sound channel signal in described audio signal, Spectrum component after being processed, comprising:
Resolution is carried out to described first sound channel signal, obtains frequency spectrum on frequency domain direction for described first sound channel signal Component;
According to predetermined angle, phase shift process is carried out to described spectrum component, the spectrum component after being processed.
Assume the above-mentioned embodiment possible for second, then provide based on the possible embodiment of second The third possible embodiment in, in the memorizer of terminal, also comprise the instruction for executing following operation:
First sound channel signal is redefined according to the spectrum component after described process, comprising:
Spectrum component after described process is inversely reduced, obtain described in the first sound channel signal of redefining.
Assume above-mentioned for the third possible embodiment, then provide based on the third possible embodiment The 4th kind of possible embodiment in, in the memorizer of terminal, also comprise the instruction for executing following operation:
Described resolution is carried out to described first sound channel signal, obtain described first sound channel signal on frequency domain direction Spectrum component, comprising: framing windowing process is carried out to described first sound channel signal;Using discrete Fourier transform to framing adding window The first sound channel signal after process carries out resolution, obtains spectrum component on frequency domain direction for described first sound channel signal;
Described to described process after spectrum component inversely reduced, obtain described in redefine first sound channel letter Number, comprising: using inverse discrete Fourier transform to described process after spectrum component inversely reduced, obtain described in again true The first fixed sound channel signal.
Assume that above-mentioned is the 4th kind of possible embodiment, then provide based on the 4th kind of possible embodiment The 5th kind of possible embodiment in, in the memorizer of terminal, also comprise the instruction for executing following operation:
Export the second sound channel signal in described audio signal and described the first sound channel signal redefining, comprising:
Export the second sound channel signal in described audio signal;
When the duration of the second sound channel signal in exporting described audio signal reaches preset duration, redefine described The first sound channel signal together export.
In sum, the terminal described in the embodiment of the present invention, by believing the first sound channel in audio signal to be played Number on frequency domain direction, carry out phase shift process so that the first sound channel signal redefining after processing and second sound channel signal Phase predetermined angle, and then have one between the first sound channel signal of redefining and described second sound channel signal described in making Determine diversity, furthered described in sound field distance between the first sound channel signal of redefining and described second sound channel signal, when Using speaker play described in the first sound channel signal of redefining and during second sound channel signal, be that user has built one kind and has Relief sound.It can be seen that, by the terminal described in the embodiment of the present invention, multiple speakers need not be set and can achieve sound Stereo reduction, reduces system cost.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, and this computer-readable recording medium can be The computer-readable recording medium included in memorizer in above-described embodiment;Can also be individualism, without allocating end into Computer-readable recording medium in end.This computer-readable recording medium storage has one or more than one program, and this one Individual or more than one program is used for executing above-mentioned stereo method of reducing, the method by one or more than one processor Including:
Obtain audio signal to be played;Wherein, described audio signal at least includes two sound channel signals;
According to predetermined angle, phase shift process is carried out to the corresponding spectrum component of the first sound channel signal in described audio signal, Spectrum component after being processed;
First sound channel signal is redefined according to the spectrum component after described process;
Export the second sound channel signal in described audio signal and described the first sound channel signal redefining.
Assume above-mentioned for the first possible embodiment, then provide based on the first possible embodiment The possible embodiment of second in, in the memorizer of terminal, also comprise the instruction for executing following operation:
According to predetermined angle, phase shift process is carried out to the corresponding spectrum component of the first sound channel signal in described audio signal, Spectrum component after being processed, comprising:
Resolution is carried out to described first sound channel signal, obtains frequency spectrum on frequency domain direction for described first sound channel signal Component;
According to predetermined angle, phase shift process is carried out to described spectrum component, the spectrum component after being processed.
Assume the above-mentioned embodiment possible for second, then provide based on the possible embodiment of second The third possible embodiment in, in the memorizer of terminal, also comprise the instruction for executing following operation:
First sound channel signal is redefined according to the spectrum component after described process, comprising:
Spectrum component after described process is inversely reduced, obtain described in the first sound channel signal of redefining.
Assume above-mentioned for the third possible embodiment, then provide based on the third possible embodiment The 4th kind of possible embodiment in, in the memorizer of terminal, also comprise the instruction for executing following operation:
Described resolution is carried out to described first sound channel signal, obtain described first sound channel signal on frequency domain direction Spectrum component, comprising: framing windowing process is carried out to described first sound channel signal;Using discrete Fourier transform to framing adding window The first sound channel signal after process carries out resolution, obtains spectrum component on frequency domain direction for described first sound channel signal;
Described to described process after spectrum component inversely reduced, obtain described in redefine first sound channel letter Number, comprising: using inverse discrete Fourier transform to described process after spectrum component inversely reduced, obtain described in again true The first fixed sound channel signal.
Assume that above-mentioned is the 4th kind of possible embodiment, then provide based on the 4th kind of possible embodiment The 5th kind of possible embodiment in, in the memorizer of terminal, also comprise the instruction for executing following operation:
Export the second sound channel signal in described audio signal and described the first sound channel signal redefining, comprising:
Export the second sound channel signal in described audio signal;
When the duration of the second sound channel signal in exporting described audio signal reaches preset duration, redefine described The first sound channel signal together export.
In sum, the computer-readable recording medium described in the embodiment of the present invention, by by audio signal to be played In the first sound channel signal carry out phase shift process on frequency domain direction so that process after the first sound channel signal redefining with The phase predetermined angle of second sound channel signal, and then the first sound channel signal of redefining and the described rising tone described in making Between road signal, there is different, furthered described between the first sound channel signal of redefining and described second sound channel signal Sound field distance, when the first sound channel signal redefining described in being play using speaker and second sound channel signal, be user Build one kind and there is relief sound.It can be seen that, by the computer-readable recording medium described in the embodiment of the present invention, need not The stereo reduction that multiple speakers can achieve sound is set, reduces system cost.
It should be understood that the stereo reduction apparatus that above-described embodiment provides are when reducing stereo, only with above-mentioned each The division of functional module is illustrated, and in practical application, can distribute above-mentioned functions by different work(as desired Module can complete, the internal structure of stereo reduction apparatus will be divided into different functional modules, described above to complete All or part of function.In addition, the stereo reduction apparatus that above-described embodiment provides are belonged to stereo method of reducing embodiment In same design, it implements process and refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware To complete it is also possible to the hardware being instructed correlation by program is completed, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of stereo method of reducing is it is characterised in that methods described includes:
Obtain audio signal to be played;Wherein, described audio signal at least includes two sound channel signals;
According to predetermined angle, phase shift process is carried out to the corresponding spectrum component of the first sound channel signal in described audio signal, obtain Spectrum component after process;
First sound channel signal is redefined according to the spectrum component after described process;
Export the second sound channel signal in described audio signal and described the first sound channel signal redefining.
2. method according to claim 1 it is characterised in that described according to predetermined angle in described audio signal The corresponding spectrum component of one sound channel signal carries out phase shift process, the spectrum component after being processed, comprising:
Resolution is carried out to described first sound channel signal, obtains frequency spectrum on frequency domain direction for described first sound channel signal and divide Amount;
According to predetermined angle, phase shift process is carried out to described spectrum component, the spectrum component after being processed.
3. method according to claim 2 is it is characterised in that described redefine according to the spectrum component after described process First sound channel signal, comprising:
Spectrum component after described process is inversely reduced, obtain described in the first sound channel signal of redefining.
4. method according to claim 3 it is characterised in that
Described resolution is carried out to described first sound channel signal, obtain frequency spectrum on frequency domain direction for described first sound channel signal Component, comprising: framing windowing process is carried out to described first sound channel signal;Using discrete Fourier transform to framing windowing process The first sound channel signal afterwards carries out resolution, obtains spectrum component on frequency domain direction for described first sound channel signal;
Described spectrum component after described process is inversely reduced, obtain described in the first sound channel signal of redefining, bag Include: using inverse discrete Fourier transform, the spectrum component after described process is inversely reduced, obtain described in redefine First sound channel signal.
5. method according to claim 1 is it is characterised in that second sound channel signal in the described audio signal of described output And described the first sound channel signal redefining, comprising:
Export the second sound channel signal in described audio signal;
When the duration of second sound channel signal in exporting described audio signal reaches preset duration, by described redefine the One sound channel signal together exports.
6. a kind of stereo reduction apparatus are it is characterised in that described device includes:
Acquisition module, for obtaining audio signal to be played;Wherein, described audio signal at least includes two sound channel signals;
Processing module, for carrying out to the corresponding spectrum component of the first sound channel signal in described audio signal according to predetermined angle Phase shift is processed, the spectrum component after being processed;
Weight determining module, for redefining the first sound channel signal according to the spectrum component after described process;
Output module, for exporting the second sound channel signal in described audio signal and described the first sound channel letter redefining Number.
7. device according to claim 6 is it is characterised in that described processing module, comprising:
Analyzing sub-module, for carrying out resolution to described first sound channel signal, obtains described first sound channel signal in frequency domain Spectrum component on direction;
Phase shift processes submodule, for carrying out phase shift process according to predetermined angle to described spectrum component, the frequency after being processed Spectral component.
8. device according to claim 7 is it is characterised in that described heavy determining module, for the frequency after described process Spectral component is inversely reduced, obtain described in the first sound channel signal of redefining.
9. device according to claim 8 it is characterised in that
Described analyzing sub-module, for carrying out framing windowing process to described first sound channel signal;Using discrete Fourier transform Resolution is carried out to the first sound channel signal after framing windowing process, obtains described first sound channel signal on frequency domain direction Spectrum component;
Described heavy determining module, for being carried out inversely also to the spectrum component after described process using inverse discrete Fourier transform Former, obtain described in the first sound channel signal of redefining.
10. device according to claim 6 is it is characterised in that described output module, for exporting in described audio signal Second sound channel signal;When the duration of the second sound channel signal in exporting described audio signal reaches preset duration, will be described The first sound channel signal redefining together exports.
CN201610899974.7A 2016-10-14 2016-10-14 Stereo reducing method and device Pending CN106358135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610899974.7A CN106358135A (en) 2016-10-14 2016-10-14 Stereo reducing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610899974.7A CN106358135A (en) 2016-10-14 2016-10-14 Stereo reducing method and device

Publications (1)

Publication Number Publication Date
CN106358135A true CN106358135A (en) 2017-01-25

Family

ID=57867235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610899974.7A Pending CN106358135A (en) 2016-10-14 2016-10-14 Stereo reducing method and device

Country Status (1)

Country Link
CN (1) CN106358135A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107274907A (en) * 2017-07-03 2017-10-20 北京小鱼在家科技有限公司 The method and apparatus that directive property pickup is realized in dual microphone equipment
CN113875265A (en) * 2020-04-20 2021-12-31 深圳市大疆创新科技有限公司 Audio signal processing method, audio processing device and recording equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101039A (en) * 2015-08-31 2015-11-25 广州酷狗计算机科技有限公司 Stereo restoring method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101039A (en) * 2015-08-31 2015-11-25 广州酷狗计算机科技有限公司 Stereo restoring method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张涛等: "基于希尔伯特变换的测井曲线高分辨率处理方法", 《中国石油大学学报(自然科学版)》 *
陶华伟等: "面向语音情感识别的语谱图特征提取算法", 《东南大学学报(自然科学版)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107274907A (en) * 2017-07-03 2017-10-20 北京小鱼在家科技有限公司 The method and apparatus that directive property pickup is realized in dual microphone equipment
CN113875265A (en) * 2020-04-20 2021-12-31 深圳市大疆创新科技有限公司 Audio signal processing method, audio processing device and recording equipment

Similar Documents

Publication Publication Date Title
US9525942B2 (en) Mobile apparatus and control method thereof
CN103414982B (en) A kind of method and apparatus that sound is provided
CN105788612B (en) A kind of method and apparatus detecting sound quality
CN103513769B (en) Method, device and mobile terminal for setting key function
CN104427083B (en) The method and apparatus for adjusting volume
CN106782613A (en) Signal detecting method and device
CN109243488B (en) Audio detection method, device and storage medium
CN106847307A (en) Signal detecting method and device
CN105606117A (en) Navigation prompting method and navigation prompting apparatus
EP3755080A1 (en) Method for determining position of paging message, communication device, network and user equipment
CN106254910A (en) A kind of method and apparatus recording image
CN107786714A (en) Sound control method, apparatus and system based on vehicle-mounted multimedia equipment
WO2021057733A1 (en) Listen before talk (lbt) subband partitioning method and apparatus, device, and medium
CN106358135A (en) Stereo reducing method and device
CN106057213A (en) Method and apparatus for displaying voice pitch data
CN106210838A (en) Caption presentation method and device
CN103489452B (en) Method and device for eliminating call noise and terminal device
CN106228994A (en) A kind of method and apparatus detecting tonequality
CN106686211A (en) Processing method and terminal for sound playing in split screen mode
CN106231499A (en) A kind of audio Enhancement Method and device
CN103606373B (en) A kind of audio frequency method of reducing, device and terminal unit
WO2015117550A1 (en) Method and apparatus for acquiring reverberated wet sound
CN105554246A (en) Call reminding method and device
CN105101039B (en) Stereo restoring method and device
CN103634462B (en) Method and device for recording and processing user activities and terminal

Legal Events

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

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant before: Guangzhou KuGou Networks Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170125