CN110349594A - Audio-frequency processing method, device, mobile terminal and computer readable storage medium - Google Patents

Audio-frequency processing method, device, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN110349594A
CN110349594A CN201910649832.9A CN201910649832A CN110349594A CN 110349594 A CN110349594 A CN 110349594A CN 201910649832 A CN201910649832 A CN 201910649832A CN 110349594 A CN110349594 A CN 110349594A
Authority
CN
China
Prior art keywords
audio signals
current audio
amplitude
signal waveforms
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
CN201910649832.9A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910649832.9A priority Critical patent/CN110349594A/en
Publication of CN110349594A publication Critical patent/CN110349594A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0316Speech enhancement, e.g. noise reduction or echo cancellation by changing the amplitude

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

The application is suitable for technical field of mobile terminals, provides a kind of audio-frequency processing method, device, mobile terminal and computer readable storage medium, comprising: obtains current audio signals;When the current audio signals generate distortion, correction parameter corresponding with the amplitude of the current audio signals is obtained;According to the correction parameter, the amplitude of the current audio signals is corrected.The distortion that audio signal generation can be eliminated by the application, improves the quality of audio signal.

Description

Audio-frequency processing method, device, mobile terminal and computer readable storage medium
Technical field
The application belongs to technical field of mobile terminals more particularly to a kind of audio-frequency processing method, device, mobile terminal and meter Calculation machine readable storage medium storing program for executing.
Background technique
For audio signal in acquisition or transmission process, the noise in environment may make audio signal generate distortion, example Such as, when the frequency of the frequency of the noise in environment and sound to be collected is closer to, during acquiring audio signal, in environment Noise collected audio signal may be made to generate distortion, influence the quality of audio signal.
Summary of the invention
This application provides a kind of audio-frequency processing method, device, mobile terminal and computer readable storage mediums, to eliminate The distortion that audio signal generates, improves the quality of audio signal.
The first aspect of the application provides a kind of audio-frequency processing method, and the audio-frequency processing method includes:
Obtain current audio signals;
When the current audio signals generate distortion, correction ginseng corresponding with the amplitude of the current audio signals is obtained Number;
According to the correction parameter, the amplitude of the current audio signals is corrected.
The second aspect of the application provides a kind of apparatus for processing audio, and the apparatus for processing audio includes:
Signal acquisition module, for obtaining current audio signals;
Parameter acquisition module, for obtaining and the current audio signals when the current audio signals generate distortion The corresponding correction parameter of amplitude;
Correction of amplitude module, for correcting the amplitude of the current audio signals according to the correction parameter.
The third aspect of the application provides a kind of mobile terminal, including memory, processor and is stored in described deposit In reservoir and the computer program that can run on the processor, the processor are realized such as when executing the computer program The step of audio-frequency processing method described in above-mentioned first aspect.
The fourth aspect of the application provides a kind of computer readable storage medium, and the computer readable storage medium is deposited Computer program is contained, the audio-frequency processing method as described in above-mentioned first aspect is realized when the computer program is executed by processor The step of.
The 5th aspect of the application provides a kind of computer program product, and the computer program product includes computer Program realizes the audio-frequency processing method as described in above-mentioned first aspect when the computer program is executed by one or more processors The step of.
Therefore application scheme can first obtain current audio signals when current audio signals are distorted Amplitude, and correction parameter corresponding with the amplitude of current audio signals is obtained, current audio signals are corrected further according to correction parameter Amplitude the distortion of current audio signals generation can be eliminated by the correction of the amplitude to current audio signals, improve audio The quality of signal.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram for the audio-frequency processing method that the embodiment of the present application one provides;
Fig. 2 is the implementation process schematic diagram for the audio-frequency processing method that the embodiment of the present application two provides;
Fig. 3 is the implementation process schematic diagram for the audio-frequency processing method that the embodiment of the present application three provides;
Fig. 4 is the schematic diagram for the apparatus for processing audio that the embodiment of the present application four provides;
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides;
Fig. 6 is the schematic diagram for the mobile terminal that the embodiment of the present application six provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, the presence or addition of element, component and/or its set.
It is also understood that term " first ", " second ", " third ", " the 4th " etc. are only in the description of present specification It is described for distinguishing, is not understood to indicate or imply relative importance.
In the specific implementation, mobile terminal described in the embodiment of the present application is including but not limited to such as with the sensitive table of touch Mobile phone, laptop computer or the tablet computer in face (for example, touch-screen display and/or touch tablet) etc it is other Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch tablet).
In following discussion, the mobile terminal including display and touch sensitive surface is described.However, should manage Solution, mobile terminal may include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects Jaws equipment.
Mobile terminal supports various application programs, such as one of the following or multiple: drawing application program, demonstration application Program, word-processing application, website creation application program, disk imprinting application program, spreadsheet applications, game are answered With program, telephony application, videoconference application, email application, instant messaging applications, forging Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing to answer With program, digital music player application and/or video frequency player application program.
At least one of such as touch sensitive surface can be used in the various application programs that can be executed on mobile terminals Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick Feel the corresponding information shown in the one or more functions and terminal on surface.In this way, terminal public physical structure (for example, Touch sensitive surface) it can support the various application programs with user interface intuitive and transparent for a user.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in the present embodiment, each process Execution sequence should be determined by its function and internal logic, and the implementation process without coping with the embodiment of the present application constitutes any restriction.
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
Referring to Fig. 1, it is the implementation process schematic diagram for the audio-frequency processing method that the embodiment of the present application one provides, as shown in the figure should Audio-frequency processing method may comprise steps of:
Step S101 obtains current audio signals.
In the embodiment of the present application, current audio signals can refer to the audio signal of current acquisition or current transmission. Specifically, mobile terminal available current acquisition or current transmission when acquiring audio signal and perhaps transmitting audio signal Audio signal.
Optionally, mobile terminal can first detect the audio signal when acquiring audio signal or transmission audio signal Whether it is pure noise signal, obtains the audio signal if the audio signal is not pure noise signal, if the audio signal is pure Noise signal then continues to test, and is not that the audio signal of pure noise signal then obtains until detecting.Pure noise signal can be Refer to that the noise signal of unmixed useful audio signal, useful audio signal can refer to the audio signal that user needs.
Wherein, the audio signal of mobile terminal acquisition can refer to the audio that mobile terminal is acquired by audio collecting device Signal, audio collecting device (such as microphone) is for acquiring audio signal.Mobile terminal receive audio collection instruction when, Audio signal can be acquired by audio collecting device.Audio collection instruction can refer to that being used to indicate mobile terminal carries out audio The instruction of acquisition, mobile terminal can trigger audio acquisition instructions when starting voice collecting function, such as mobile terminal is opening Voice call function or when video call function, trigger audio acquisition instructions in dynamic wechat or QQ.
The audio signal of mobile terminal transmission can refer to the audio signal transmitted between mobile terminal and other equipment, His equipment can be the arbitrary equipment for referring to carry out audio signal transmission, such as other equipment are earphone, and mobile terminal is being examined When measuring earphone insertion, the audio signal of earphone transmission is received;Or other equipment are the equipment conversed with mobile terminal, Mobile terminal can be referred to as local device, the equipment conversed with mobile terminal is opposite equip., mobile terminal with it is right When end equipment is conversed, mobile terminal receives the audio signal of opposite equip. transmission.
Step S102 obtains the amplitude pair with the current audio signals when the current audio signals generate distortion The correction parameter answered.
In the embodiment of the present application, mobile terminal can detecte present video letter after getting current audio signals Number whether generate distortion, and when current audio signals generate distortion, obtain the amplitude of current audio signals, and obtain with it is current The corresponding correction parameter of the amplitude of audio signal.Wherein, correction parameter is used to correct the amplitude for the audio signal for generating distortion, no Same amplitude can correspond to different correction parameters, and the correction ginseng for audio signal correction can be adaptively obtained according to amplitude Number.Correction parameter includes but is not limited to parameter, the parameter of encoding calibration etc. of audio denoising, and the parameter of audio denoising is for real The parameter, such as decibel, the frequency of audio etc. of existing audio denoising, the parameter of encoding calibration is the ginseng for realizing encoding calibration Number, encoding calibration includes but is not limited to waveform coding, parameter coding, hybrid coding etc..
Step S103 corrects the amplitude of the current audio signals according to the correction parameter.
Optionally, the amplitude of the correction current audio signals includes:
The amplitude of the current audio signals is adjusted to preset range.
Wherein, preset range can refer to range locating for the amplitude for the audio signal for not generating distortion, audio signal Amplitude is in the preset range, illustrates that audio signal does not generate distortion.
The embodiment of the present application can first obtain the amplitude of current audio signals when current audio signals are distorted, and Correction parameter corresponding with the amplitude of current audio signals is obtained, the amplitude of current audio signals is corrected further according to correction parameter, By the correction of the amplitude to current audio signals, the distortion of current audio signals generation can be eliminated, audio signal is improved Audio calibration effect can be improved by correcting amplitude since the amplitude of audio signal is relatively easy to obtain and be easy correction in quality Rate.
Referring to fig. 2, it is the implementation process schematic diagram for the audio-frequency processing method that the embodiment of the present application two provides, as shown in the figure should Audio-frequency processing method may comprise steps of:
Step S201 obtains current audio signals.
The step is identical as step S101, and for details, reference can be made to the associated descriptions of step S101, and details are not described herein.
Step S202 obtains the signal waveforms of the current audio signals.
Wherein, the signal waveforms of current audio signals can refer to the spectrogram of current audio signals, using frequency as Horizontal axis is drawn in the amplitude of current audio signals in the frequency corresponding to it using amplitude as the longitudinal axis, can be obtained present video The amplitude-frequency distribution map of signal, i.e. spectrogram.
Step S203 detects whether the current audio signals produce according to the signal waveforms of the current audio signals Raw distortion.
In the embodiment of the present application, the signal waveforms of current audio signals can be analyzed, analyzes present video Whether the signal waveforms of signal are regular distribution, if the signal waveforms of current audio signals are regular distribution, really Determine current audio signals and do not generate distortion, if the signal waveforms of current audio signals are random distribution, it is determined that current sound Frequency signal generates distortion.Regular distribution can refer to that the distribution of signal waveforms is regular;Random distribution can refer to letter The distribution of number waveform diagram is more mixed and disorderly, random.
Optionally, whether the signal waveforms according to the current audio signals, detect the current audio signals Generating distortion includes:
It detects in the signal waveforms of the current audio signals with the presence or absence of distortion point;
If there are the distortion points in the signal waveforms of the current audio signals, it is determined that the current audio signals Generate distortion;
If the distortion point is not present in the signal waveforms of the current audio signals, it is determined that the present video letter Number distortion is not generated.
Optionally, include: with the presence or absence of distortion point in the signal waveforms of the detection current audio signals
It detects in the signal waveforms of the current audio signals with the presence or absence of the point of amplitude not within a preset range;
If the point in the signal waveforms of the current audio signals there are amplitude not in the preset range, it is determined that There are distortion points in the signal waveforms of the current audio signals;
If point of the amplitude not in the preset range is not present in the waveform diagram of the current audio signals, it is determined that institute It states and distortion point is not present in the signal waveforms of current audio signals.
In the embodiment of the present application, distortion can be whether there is in the signal waveforms by detecting current audio signals Point judges whether the signal waveforms of current audio signals are regular distribution, if in the signal waveforms of current audio signals There are distortion points, it is determined that the signal waveforms of current audio signals are random distribution, and current audio signals generate distortion;If Distortion point is not present in the signal waveforms of current audio signals, it is determined that the signal waveforms of current audio signals are regular Distribution, current audio signals do not generate distortion.Wherein, distortion point can refer in signal waveforms amplitude not within a preset range Frequency point, which refers to frequency in signal waveforms, and the point in signal waveforms can be regarded as being located at signal waveform The frequency of the horizontal axis of figure.
Optionally, whether the signal waveforms according to the current audio signals, detect the current audio signals Generating distortion includes:
The signal waveforms of the current audio signals are divided into multiple signal waveforms;
The multiple signal waveforms are matched with preset signals waveform diagram respectively, obtain the multiple signal waveform Scheme the matching value with the preset signals waveform diagram respectively;
If there are the signal waveforms that matching value is lower than preset matching value in multiple signal waveforms, it is determined that described current Audio signal generates distortion;
If there is no the signal waveforms that matching value is lower than the preset matching value in the multiple signal waveforms, really The fixed current audio signals do not generate distortion.
Wherein, the signal waveforms of current audio signals being divided into multiple signal waveforms can refer to present video The signal waveforms of signal are divided into the signal waveforms of multiple and different frequency ranges, i.e., multiple signal waveforms composition present video letters Number and the frequency ranges of multiple signal waveforms be not overlapped.Predetermined waveform figure can refer to the pre-set signal wave for not generating distortion Shape figure.Preset matching value can refer to it is pre-set for judging whether current audio signals generate the numerical value of distortion, can be with Sets itself preset matching value according to actual needs.Signal waveforms and the matching value of preset signals waveform diagram can refer to signal The similarity of waveform diagram and preset signals waveform diagram.
Step S204 obtains the amplitude pair with the current audio signals when the current audio signals generate distortion The correction parameter answered.
The step is identical as step S102, and for details, reference can be made to the associated descriptions of step S102, and details are not described herein.
Wherein, the amplitude of current audio signals can refer to the flat of all amplitudes in the signal waveforms of current audio signals Mean value may also mean that the corresponding amplitude of frequency that distortion is generated in the signal waveforms of current audio signals.
Step S205 corrects the amplitude of the current audio signals according to the correction parameter.
The step is identical as step S103, and for details, reference can be made to the associated descriptions of step S103, and details are not described herein.
It should be noted that the amplitude in current audio signals is all amplitudes in the signal waveforms of current audio signals Average value when, correct current audio signals amplitude can refer to correction current audio signals signal waveforms in all vibrations Width;The corresponding amplitude of frequency of distortion is generated in the signal waveforms that the amplitude of current audio signals is current audio signals When, the amplitude for correcting current audio signals can refer to the frequency that distortion is generated in the signal waveforms for correcting current audio signals Corresponding amplitude.
The embodiment of the present application increases on the basis of example 1 " obtains the signal waveforms of the current audio signals; According to the signal waveforms of the current audio signals, detect whether the current audio signals generate distortion ", that is, pass through analysis The signal waveforms of current audio signals can be quickly detected from whether current audio signals generate distortion, eliminate distortion, mention High tone quality.
Referring to Fig. 3, it is the implementation process schematic diagram for the audio-frequency processing method that the embodiment of the present application three provides, as shown in the figure should Audio-frequency processing method may comprise steps of:
Step S301 establishes the amplitude of audio signal and the corresponding relationship of correction parameter.
In the embodiment of the present application, due to not generating the audio signal of distortion, without by correction parameter to its amplitude into Row correction, is established in audio signal not then the corresponding relationship of the amplitude and correction parameter of establishing audio signal can specifically refer to The corresponding relationship of amplitude and correction parameter within a preset range.
Step S302 obtains current audio signals.
The step is identical as step S101, and for details, reference can be made to the associated descriptions of step S101, and details are not described herein.
Step S303 obtains the signal waveforms of the current audio signals.
The step is identical as step S202, and for details, reference can be made to the associated descriptions of step S202, and details are not described herein.
Step S304 detects whether the current audio signals produce according to the signal waveforms of the current audio signals Raw distortion.
The step is identical as step S203, and for details, reference can be made to the associated descriptions of step S203, and details are not described herein.
Step S305, when the current audio signals generate distortion, from the amplitude and correction parameter of the audio signal Corresponding relationship in, search corresponding with the amplitude of current audio signals correction parameter.
In the embodiment of the present application, when current audio signals generate distortion, the amplitude of available current audio signals, Join from correction corresponding with the amplitude of current audio signals in the corresponding relationship of the amplitude of audio signal and correction parameter, is searched Number improves the correction efficiency of audio signal to obtain the correction parameter for audio signal correction according to amplitude adaptability.
Step S306 corrects the amplitude of the current audio signals according to the correction parameter.
The step is identical as step S103, and for details, reference can be made to the associated descriptions of step S103, and details are not described herein.
The embodiment of the present application, can be according to working as by pre-establishing the amplitude of audio signal and the corresponding relationship of correction parameter The amplitude of preceding audio signal adaptively obtains correction parameter, improves the correction efficiency of audio signal.
It referring to fig. 4, is that the schematic diagram of apparatus for processing audio that the embodiment of the present application four provides only shows for ease of description Part relevant to the embodiment of the present application is gone out.
The apparatus for processing audio includes:
Signal acquisition module 41, for obtaining current audio signals;
Parameter acquisition module 42, for obtaining and believing with the present video when the current audio signals generate distortion Number the corresponding correction parameter of amplitude;
Correction of amplitude module 43, for correcting the amplitude of the current audio signals according to the correction parameter.
Optionally, the apparatus for processing audio further include:
Waveform obtains module 44, for obtaining the signal waveforms of the current audio signals;
Distortion Detect module 45 detects the present video for the signal waveforms according to the current audio signals Whether signal generates distortion.
Optionally, the Distortion Detect module 45 includes:
Detection unit whether there is distortion point in the signal waveforms for detecting the current audio signals;
First determination unit, if for there are the distortion points in the signal waveforms of the current audio signals, really The fixed current audio signals generate distortion;
Second determination unit, if for the distortion point to be not present in the signal waveforms of the current audio signals, Determine that the current audio signals do not generate distortion.
Optionally, the detection unit is specifically used for:
It detects in the signal waveforms of the current audio signals with the presence or absence of the point of amplitude not within a preset range;
If the point in the signal waveforms of the current audio signals there are amplitude not in the preset range, it is determined that There are the distortion points in the signal waveforms of the current audio signals;
If point of the amplitude not in the preset range is not present in the waveform diagram of the current audio signals, it is determined that institute It states and the distortion point is not present in the signal waveforms of current audio signals.
Optionally, the Distortion Detect module 45 includes:
Division unit, for the signal waveforms of the current audio signals to be divided into multiple signal waveforms;
Acquiring unit obtains institute for matching the multiple signal waveforms with preset signals waveform diagram respectively State matching value of multiple signal waveforms respectively with the preset signals waveform diagram;
Third determination unit, if for there are the signal waveforms that matching value is lower than preset matching value in multiple signal waveforms Figure, it is determined that the current audio signals generate distortion;
4th determination unit, if for there is no matching values to be lower than the preset matching value in the multiple signal waveforms Signal waveforms, it is determined that the current audio signals do not generate distortion.
Optionally, the apparatus for processing audio further include:
Relationship establishes module 46, for establishing the amplitude of audio signal and the corresponding relationship of correction parameter;
The parameter acquisition module 42 is specifically used for:
From in the corresponding relationship of the amplitude of the audio signal and correction parameter, the vibration with the current audio signals is searched Corresponding correction parameter.
Optionally, the correction of amplitude module 43 is specifically used for:
The amplitude of the current audio signals is adjusted to preset range.
It should be noted that the contents such as information exchange, implementation procedure between above-mentioned module/unit, due to the application Embodiment of the method is based on same design, concrete function and bring technical effect, for details, reference can be made to embodiment of the method part, this Place repeats no more.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides.The mobile terminal as shown in the figure can wrap Include: one or more processors 501 (only show one) in figure;One or more input equipments 502 (one is only shown in figure), One or more output equipments 503 (one is only shown in figure) and memory 505.It is above-mentioned processor 501, input equipment 502, defeated Equipment 503 and memory 505 are connected by bus 505 out.Memory 505 for storing instruction, deposit for executing by processor 501 The instruction that reservoir 505 stores.Wherein:
The processor 501, for obtaining current audio signals;When the current audio signals generate distortion, obtain Correction parameter corresponding with the amplitude of the current audio signals;According to the correction parameter, the current audio signals are corrected Amplitude.
Optionally, the processor 501 is also used to:
Obtain the signal waveforms of the current audio signals;
According to the signal waveforms of the current audio signals, detect whether the current audio signals generate distortion.
Optionally, the processor 501 is specifically used for:
It detects in the signal waveforms of the current audio signals with the presence or absence of distortion point;
If there are the distortion points in the signal waveforms of the current audio signals, it is determined that the current audio signals Generate distortion;
If the distortion point is not present in the signal waveforms of the current audio signals, it is determined that the present video letter Number distortion is not generated.
Optionally, the processor 501 is specifically used for:
It detects in the signal waveforms of the current audio signals with the presence or absence of the point of amplitude not within a preset range;
If the point in the signal waveforms of the current audio signals there are amplitude not in the preset range, it is determined that There are the distortion points in the signal waveforms of the current audio signals;
If point of the amplitude not in the preset range is not present in the waveform diagram of the current audio signals, it is determined that institute It states and the distortion point is not present in the signal waveforms of current audio signals.
Optionally, the processor 501 is specifically used for:
The signal waveforms of the current audio signals are divided into multiple signal waveforms;
The multiple signal waveforms are matched with preset signals waveform diagram respectively, obtain the multiple signal waveform Scheme the matching value with the preset signals waveform diagram respectively;
If there are the signal waveforms that matching value is lower than preset matching value in multiple signal waveforms, it is determined that described current Audio signal generates distortion;
If there is no the signal waveforms that matching value is lower than the preset matching value in the multiple signal waveforms, really The fixed current audio signals do not generate distortion.
Optionally, the processor 501 is also used to:
Establish the amplitude of audio signal and the corresponding relationship of correction parameter;
From in the corresponding relationship of the amplitude of the audio signal and correction parameter, the vibration with the current audio signals is searched Corresponding correction parameter.
Optionally, the processor 501 is specifically used for:
The amplitude of the current audio signals is adjusted to preset range.
It should be appreciated that in the embodiment of the present application, the processor 501 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
Input equipment 502 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user Directional information), microphone, data receiver interface etc..Output equipment 503 may include display (LCD etc.), loudspeaker, data Transmission interface etc..
The memory 505 may include read-only memory and random access memory, and to processor 501 provide instruction and Data.The a part of of memory 505 can also include nonvolatile RAM.For example, memory 505 can also be deposited Store up the information of device type.
In the specific implementation, processor 501, input equipment 502 described in the embodiment of the present application, 503 and of output equipment Implementation described in the embodiment of audio-frequency processing method provided by the embodiments of the present application can be performed in memory 505, can also Implementation described in apparatus for processing audio described in example IV is executed, details are not described herein.
Fig. 6 is the schematic diagram for the mobile terminal that the embodiment of the present application six provides.As shown in fig. 6, the mobile end of the embodiment End 6 includes: at least one processor 60 (only showing one in Fig. 6), memory 61 and is stored in the memory 61 simultaneously The computer program 62 that can be run at least one described processor 60.The processor 60 executes the computer program 62 Step in the above-mentioned each audio-frequency processing method embodiment of Shi Shixian
The mobile terminal 6 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The mobile terminal may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 6 The only example of mobile terminal 6 does not constitute the restriction to mobile terminal 6, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as the mobile terminal can also include input-output equipment, net Network access device, bus etc..
Alleged processor 60 can be central processing unit CPU, can also be other general processors, Digital Signal Processing Device DSP, application-specific integrated circuit ASIC, ready-made programmable gate array FPGA or other programmable logic device, discrete gate or Transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor is also possible to appoint What conventional processor etc..
The memory 61 can be the internal storage unit of the mobile terminal 6, such as the hard disk or interior of mobile terminal 6 It deposits.The memory 61 is also possible to the External memory equipment of the mobile terminal 6, such as be equipped on the mobile terminal 6 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 61 can also both include the storage inside list of the mobile terminal 6 Member also includes External memory equipment.The memory 61 is for storing needed for the computer program and the mobile terminal Other programs and data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
The embodiment of the present application also provides a kind of computer readable storage medium, the computer-readable recording medium storage There is computer program, the step that can be achieved in above-mentioned each embodiment of the method is realized when the computer program is executed by processor Suddenly.
The embodiment of the present application provides a kind of computer program product, when computer program product is run on mobile terminals When, so that realizing the step that can be achieved in above-mentioned each embodiment of the method when mobile terminal execution.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/mobile terminal and method, it can be with It realizes by another way.For example, device described above/mobile terminal embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Comprising within the scope of protection of this application.

Claims (10)

1. a kind of audio-frequency processing method, which is characterized in that the audio-frequency processing method includes:
Obtain current audio signals;
When the current audio signals generate distortion, correction parameter corresponding with the amplitude of the current audio signals is obtained;
According to the correction parameter, the amplitude of the current audio signals is corrected.
2. audio-frequency processing method as described in claim 1, which is characterized in that further include:
Obtain the signal waveforms of the current audio signals;
According to the signal waveforms of the current audio signals, detect whether the current audio signals generate distortion.
3. audio-frequency processing method as claimed in claim 2, which is characterized in that the signal according to the current audio signals Waveform diagram, detects the current audio signals and whether generates distortion and include:
It detects in the signal waveforms of the current audio signals with the presence or absence of distortion point;
If there are the distortion points in the signal waveforms of the current audio signals, it is determined that the current audio signals generate Distortion;
If the distortion point is not present in the signal waveforms of the current audio signals, it is determined that the current audio signals are not Generate distortion.
4. audio-frequency processing method as claimed in claim 3, which is characterized in that the signal of the detection current audio signals Include: with the presence or absence of distortion point in waveform diagram
It detects in the signal waveforms of the current audio signals with the presence or absence of the point of amplitude not within a preset range;
If the point in the signal waveforms of the current audio signals there are amplitude not in the preset range, it is determined that described There are the distortion points in the signal waveforms of current audio signals;
If point of the amplitude not in the preset range is not present in the waveform diagram of the current audio signals, it is determined that described to work as The distortion point is not present in the signal waveforms of preceding audio signal.
5. audio-frequency processing method as claimed in claim 2, which is characterized in that the signal according to the current audio signals Waveform diagram, detects the current audio signals and whether generates distortion and include:
The signal waveforms of the current audio signals are divided into multiple signal waveforms;
The multiple signal waveforms are matched with preset signals waveform diagram respectively, obtain the multiple signal waveforms point Not with the matching value of the preset signals waveform diagram;
If there are the signal waveforms that matching value is lower than preset matching value in multiple signal waveforms, it is determined that the present video Signal generates distortion;
If there is no the signal waveforms that matching value is lower than the preset matching value in the multiple signal waveforms, it is determined that institute It states current audio signals and does not generate distortion.
6. audio-frequency processing method as described in claim 1, which is characterized in that further include:
Establish the amplitude of audio signal and the corresponding relationship of correction parameter;
It obtains corresponding with the amplitude of current audio signals correction parameter correspondingly, described and includes:
From in the corresponding relationship of the amplitude of the audio signal and correction parameter, the amplitude pair with the current audio signals is searched The correction parameter answered.
7. such as audio-frequency processing method as claimed in any one of claims 1 to 6, which is characterized in that the correction present video The amplitude of signal includes:
The amplitude of the current audio signals is adjusted to preset range.
8. a kind of apparatus for processing audio, which is characterized in that the apparatus for processing audio includes:
Signal acquisition module, for obtaining current audio signals;
Parameter acquisition module, for obtaining the vibration with the current audio signals when the current audio signals generate distortion Corresponding correction parameter;
Correction of amplitude module, for correcting the amplitude of the current audio signals according to the correction parameter.
9. a kind of mobile terminal, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 7 when executing the computer program The step of any one audio-frequency processing method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the step of realization audio-frequency processing method as described in any one of claim 1 to 7 when the computer program is executed by processor Suddenly.
CN201910649832.9A 2019-07-18 2019-07-18 Audio-frequency processing method, device, mobile terminal and computer readable storage medium Pending CN110349594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910649832.9A CN110349594A (en) 2019-07-18 2019-07-18 Audio-frequency processing method, device, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910649832.9A CN110349594A (en) 2019-07-18 2019-07-18 Audio-frequency processing method, device, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110349594A true CN110349594A (en) 2019-10-18

Family

ID=68178692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910649832.9A Pending CN110349594A (en) 2019-07-18 2019-07-18 Audio-frequency processing method, device, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110349594A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02153400A (en) * 1988-12-06 1990-06-13 Nec Corp Voice encoding system
CN101036293A (en) * 2004-08-10 2007-09-12 安东尼·邦焦维 System for and method of audio signal processing for presentation in a high-noise environment
CN101136204A (en) * 2006-08-30 2008-03-05 富士通株式会社 Signal processing method and apparatus
US20140149111A1 (en) * 2012-11-29 2014-05-29 Fujitsu Limited Speech enhancement apparatus and speech enhancement method
CN106303804A (en) * 2016-07-28 2017-01-04 维沃移动通信有限公司 The control method of a kind of mike and mobile terminal
CN106878866A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 Acoustic signal processing method, device and terminal
CN107527624A (en) * 2017-07-17 2017-12-29 北京捷通华声科技股份有限公司 A kind of method for recognizing sound-groove and device
CN108401209A (en) * 2018-02-08 2018-08-14 青岛海信电器股份有限公司 Realize method and device, the readable storage medium storing program for executing of voice broadcast correction
CN109035275A (en) * 2018-06-25 2018-12-18 国网山东省电力公司检修公司 Substation's indoor equipment sound status recognition methods and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02153400A (en) * 1988-12-06 1990-06-13 Nec Corp Voice encoding system
CN101036293A (en) * 2004-08-10 2007-09-12 安东尼·邦焦维 System for and method of audio signal processing for presentation in a high-noise environment
CN101136204A (en) * 2006-08-30 2008-03-05 富士通株式会社 Signal processing method and apparatus
US20140149111A1 (en) * 2012-11-29 2014-05-29 Fujitsu Limited Speech enhancement apparatus and speech enhancement method
CN106303804A (en) * 2016-07-28 2017-01-04 维沃移动通信有限公司 The control method of a kind of mike and mobile terminal
CN106878866A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 Acoustic signal processing method, device and terminal
CN107527624A (en) * 2017-07-17 2017-12-29 北京捷通华声科技股份有限公司 A kind of method for recognizing sound-groove and device
CN108401209A (en) * 2018-02-08 2018-08-14 青岛海信电器股份有限公司 Realize method and device, the readable storage medium storing program for executing of voice broadcast correction
CN109035275A (en) * 2018-06-25 2018-12-18 国网山东省电力公司检修公司 Substation's indoor equipment sound status recognition methods and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张刚,张雪英: "《语音处理与编码》", 31 August 2000 *
李念芦: "《影视技术基础 插图修订第3版》", 30 November 2012 *

Similar Documents

Publication Publication Date Title
CN108076226B (en) Method for adjusting call quality, mobile terminal and storage medium
CN110413812A (en) Training method, device, electronic equipment and the storage medium of neural network model
CN110225104A (en) Data capture method, device and terminal device
CN104142879A (en) Audio loudness prompting method and device as well as user terminal
CN109151337A (en) Recognition of face light compensation method, recognition of face light compensating apparatus and mobile terminal
CN103873455A (en) Method and device for information check
CN111383651A (en) Voice noise reduction method and device and terminal equipment
CN108400868A (en) Storage method, device and the mobile terminal of seed key
CN108874134A (en) Eyeshield mode treatment method, mobile terminal and computer readable storage medium
CN110070884A (en) Audio originates point detecting method and device
CN107317928B (en) Information processing method, mobile terminal and computer readable storage medium
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
CN110445558A (en) Performance test methods, device and terminal device
WO2021068493A1 (en) Method and apparatus for processing information
WO2020134547A1 (en) Fixed-point acceleration method and apparatus for data, electronic device and storage medium
CN109960485A (en) A kind of audio adjustment method, audio debugging apparatus and terminal device
CN107332988A (en) Information processing method, mobile terminal and computer-readable recording medium
CN110349594A (en) Audio-frequency processing method, device, mobile terminal and computer readable storage medium
CN107864295A (en) Call control method, mobile terminal and computer-readable recording medium
CN104573448A (en) Voice-operated unlocking method and device
CN107957899B (en) Screen recording method and device, computer readable storage medium and mobile terminal
CN109104481A (en) file integrity detection method, file integrity detection device and terminal device
CN106782614B (en) Sound quality detection method and device
CN113766385B (en) Earphone noise reduction method and device
WO2023066258A1 (en) Data processing method and apparatus for private data, computer device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191018

RJ01 Rejection of invention patent application after publication