CN107690026A - A kind of signal processing method and mobile terminal - Google Patents

A kind of signal processing method and mobile terminal Download PDF

Info

Publication number
CN107690026A
CN107690026A CN201710698180.9A CN201710698180A CN107690026A CN 107690026 A CN107690026 A CN 107690026A CN 201710698180 A CN201710698180 A CN 201710698180A CN 107690026 A CN107690026 A CN 107690026A
Authority
CN
China
Prior art keywords
audio signal
amplitude
wave band
clipping distortion
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.)
Granted
Application number
CN201710698180.9A
Other languages
Chinese (zh)
Other versions
CN107690026B (en
Inventor
陆阿楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710698180.9A priority Critical patent/CN107690026B/en
Publication of CN107690026A publication Critical patent/CN107690026A/en
Application granted granted Critical
Publication of CN107690026B publication Critical patent/CN107690026B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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
    • 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/0208Noise filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files

Landscapes

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

Abstract

The invention provides a kind of signal processing method and mobile terminal, methods described includes:Detect whether the first audio signal clipping distortion occurs, wherein first audio signal is audio signal to be played;If there is clipping distortion, clipping distortion wave band in first audio signal, and time cycle corresponding to the clipping distortion wave band are determined;Original wave band corresponding with the time cycle in the second audio signal is obtained, wherein, second audio signal is original audio signal;Clipping distortion wave band in first audio signal is correspondingly replaced using the original wave band, generates the 3rd audio signal.The wave band of clipping distortion occurs using corresponding replace of original audio, the problem of can effectively avoiding audio signal clipping distortion, so as to avoid because of audio signal clipping distortion and caused by noise problem, therefore the usage experience of user can be lifted.

Description

A kind of signal processing method and mobile terminal
Technical field
The present invention relates to signal processing technology field, more particularly to a kind of signal processing method and mobile terminal.
Background technology
Terminal is that user plays the multimedia files such as song, audiobook, broadcast by audio player and loudspeaker. When audio signal amplitude to be played is smaller, audio signal can be submerged during the bottom of loudspeaker in itself makes an uproar, and user can not hear institute The sound of broadcasting.In order to solve the above problems, exported again after audio signal is amplified into processing in the prior art.
In actual application, the maximum output of terminal loudspeaker is limited in one's ability, when audio player puts audio signal Amplitude after big, more than loudspeaker maximum output when, the situation of audio signal clipping distortion can be caused, ultimately result in audio letter Number missing, produce noise.
The content of the invention
The invention provides a kind of signal processing method and mobile terminal, to solve present in prior art because audio is believed Number clipping distortion and the problem of produce noise.
In order to solve the above problems, the invention discloses a kind of signal processing method, methods described includes:Detect the first sound Whether frequency signal there is clipping distortion, wherein first audio signal is audio signal to be played;If there is clipping distortion, really Clipping distortion wave band in fixed first audio signal, and time cycle corresponding to the clipping distortion wave band;Obtain second Original wave band corresponding with the time cycle in audio signal, wherein, second audio signal is original audio signal;Adopt The clipping distortion wave band in first audio signal is correspondingly replaced with the original wave band, generates the 3rd audio signal.
In order to solve the above problems, the invention also discloses a kind of mobile terminal, the mobile terminal includes:Detect mould Block, for detecting whether the first audio signal clipping distortion occurs, wherein first audio signal is audio signal to be played; First determining module, if for there is clipping distortion, clipping distortion wave band in first audio signal is determined, and described cut Time cycle corresponding to wave distortion wave band;Acquisition module, it is corresponding with the time cycle in the second audio signal for obtaining Original wave band, wherein, second audio signal is original audio signal;Replacement module, for using the original wave band pair The clipping distortion wave band in first audio signal should be replaced, generates the 3rd audio signal.
In order to solve the above problems, the invention also discloses a kind of mobile terminal, including:Memory, processor and storage On the memory and the signal handler that can run on the processor, the signal handler is by the processing The step of described signal processing method is realized when device performs.
It is described computer-readable the invention also discloses a kind of computer-readable recording medium in order to solve the above problems Signal handler is stored with storage medium, described signal transacting is realized when the signal handler is executed by processor The step of method.
Compared with prior art, the present invention has advantages below:
Signal transacting scheme provided in an embodiment of the present invention, treats the detection of playing audio signal, judges whether to cut Wave distortion, when it is determined that clipping distortion occur, determine the clipping distortion wave band of playing audio signal, and clipping distortion wave band pair The time cycle answered;Original wave band corresponding with the time cycle in original audio signal is obtained, and will appear from the ripple of clipping distortion The original wave bands of Duan Caiyong are replaced, and generate the 3rd audio signal.By signal transacting scheme provided in an embodiment of the present invention, original is used Beginning audio is corresponding to replace the wave band that clipping distortion occurs, the problem of can effectively avoiding audio signal clipping distortion, so as to avoid Noise problem caused by because of audio signal clipping distortion, therefore the usage experience of user can be lifted.
Brief description of the drawings
Fig. 1 is a kind of step flow chart of signal processing method of the embodiment of the present invention one;
Fig. 2 is the waveform signal of clipping distortion of the embodiment of the present invention;
Fig. 3 is a kind of step flow chart of signal processing method of the embodiment of the present invention two;
Fig. 4 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention three;
Fig. 5 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention four;
Fig. 6 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention five;
Fig. 7 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention six.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is further detailed explanation.
Embodiment one
Reference picture 1, show a kind of step flow chart of signal processing method of the embodiment of the present invention one.
Signal processing method provided in an embodiment of the present invention comprises the following steps:
Step 101:Detect whether the first audio signal clipping distortion occurs.
Wherein, the first audio signal is audio signal to be played.Specifically, the detection for the first audio signal passes through shifting FPGA (Field-Programmable Gate Array, field programmable gate array) processing unit, audio in dynamic terminal Decoding chip and processor are detected.
At present, audio signal to be played is the signal that primary signal exported after algorithm process, and original waveform is not deposited There is clipping distortion.After by the processing of some algorithms or effect, because the maximum amplitude of data signal is 0dB, When the audio signal output after by processing, a part of wave band of audio signal will be reamed, signal as shown in Figure 2 occur Waveform, because clipping distortion occurs in the signal for being given to power amplifier, therefore the sound that final electro-acoustic element plays just has noise.
In the embodiment of the present invention, effectively to solve the problems, such as audio signal clipping distortion to be played, when needing to carry out audio During broadcasting, first the audio signal of audio to be played is detected, judges whether band playing audio signal clipping distortion occurs.
A kind of preferable detection method is:It is 0dB to detect the no digital audio and video signals amplitude for having a continuous sampling point;If have Continuous 0dB signals occur, then show that clipping distortion occurs in audio signal to be played;It is on the contrary, it is determined that audio signal to be played Do not occur clipping distortion.
Step 102:If there is clipping distortion, clipping distortion wave band in the first audio signal, and clipping distortion ripple are determined Time cycle corresponding to section.
As shown in Fig. 2 when it is determined that clipping distortion occurs in audio signal to be played, the t periods pair as depicted are obtained The wave band answered, and continuously there is the time intersection point t of 0dB amplitudes wave band and X-axis or so0And t1Between time cycle.
Step 103:Obtain original wave band corresponding with the time cycle in the second audio signal.
Wherein, the second audio signal is original audio signal.
As shown in Fig. 2 the time cycle is the time intersection point t for continuously occurring 0dB amplitudes wave band and X-axis or so0And t1Between Time cycle, at the time of determining corresponding with this wave band in original audio signal in original audio signal according to the time cycle t0- t and t1- t, wherein, delays of the t between original audio signal and audio signal to be played.
Step 104:Using the corresponding clipping distortion wave band replaced in the first audio signal of original wave band, the 3rd audio is generated Signal.
As shown in Fig. 2 using t in original audio signal and the second audio signal0- t and t1The wave band of-t, it is corresponding Replace t in the first audio signal0And t1The wave band at moment.
Signal processing method provided in an embodiment of the present invention, the detection of playing audio signal is treated, judge whether to cut Wave distortion, when it is determined that clipping distortion occur, determine the clipping distortion wave band of playing audio signal, and clipping distortion wave band pair The time cycle answered;Original wave band corresponding with the time cycle in original audio signal is obtained, and will appear from the ripple of clipping distortion The original wave bands of Duan Caiyong are replaced, and generate the 3rd audio signal.By signal processing method provided in an embodiment of the present invention, original is used Beginning audio is corresponding to replace the wave band that clipping distortion occurs, the problem of can effectively avoiding audio signal clipping distortion, so as to avoid Noise problem caused by because of audio signal clipping distortion, therefore the usage experience of user can be lifted.
Embodiment two
Reference picture 3, a kind of step flow chart of signal processing method of the embodiment of the present invention two is shown.
Signal processing method provided in an embodiment of the present invention comprises the following steps:
Step 201:For each amplitude of the first audio signal, detect whether that continuous multiple amplitudes be present is default width Value;If so, step 202 is then performed, if otherwise performing step 209.
Wherein, default amplitude could be arranged to 0dB.
Specifically, the detection for the first audio signal passes through the FPGA (Field-Programmable in mobile terminal Gate Array, field programmable gate array) processing unit, audio decoder chip and processor detected.
Step 202:If, it is determined that has there is clipping distortion in the first audio signal.
Wherein, it is 0dB to preset amplitude.Each amplitude of audio signal to be played is detected, because audio signal to be played is Just profound ripple, the corresponding amplitude of each time t, is detected whether to each amplitude to preset amplitude, if audio to be played is believed Number do not occur clipping distortion, then within the audio signal time cycle to be played, it is default amplitude that there should be two amplitudes, works as presence When continuous multiple amplitudes are default amplitude, it is determined that clipping distortion occurs in audio signal to be played.
Step 203:Determine clipping distortion wave band in the first audio signal, and week time corresponding to clipping distortion wave band Phase.
As shown in Fig. 2 when it is determined that clipping distortion occurs in audio signal to be played, the t periods pair as depicted are obtained The wave band answered, and continuously there is the time intersection point t of 0dB amplitudes wave band and X-axis or so0And t1Between time cycle.
Step 204:Obtain original wave band corresponding with the time cycle in the second audio signal.
Wherein, the second audio signal is original audio signal.
As shown in Fig. 2 the time cycle is the time intersection point t for continuously occurring 0dB amplitudes wave band and X-axis or so0And t1Between Time cycle, at the time of determining corresponding with this wave band in original audio signal in original audio signal according to the time cycle t0- t and t1- t, wherein delays of the ▽ t between original audio signal and audio signal to be played.
Step 205:Using the corresponding clipping distortion wave band replaced in the first audio signal of original wave band, the 3rd audio is generated Signal.
The clipping distortion wave band of acquisition is replaced using original wave band so that the signal of clipping distortion be able to it is perfect, And then avoid noise occur in the 3rd audio signal playing process, influence the experience of user.
Step 206:Determine the amplitude of each crest in the 3rd audio signal, and the amplitude of each trough.
Multiple crests, multiple troughs in 3rd audio signal be present;Each corresponding wave band of crest, each trough are corresponding One wave band.The present invention subsequently carries out range-adjusting in implementing to wave band corresponding to each crest, trough.
Step 207:For each amplitude, the difference of amplitude and default amplitude is determined.
Such as:When default amplitude is 0dB, the amplitude of amplitude and each trough for each crest of acquisition, with Default amplitude makes the difference, and obtains difference a.
Step 208:Each amplitude in wave band corresponding to amplitude is amplified according to difference.
By time cycle t0To t1Waveform overall magnitude increase a in period so that the amplitude of each crest and trough To preset amplitude, the amplification to the 3rd audio signal is completed.
Preferably, the detection of clipping distortion is carried out again to the audio signal after amplification after execution of step 208, until Ensure that clipping distortion situation is not present untill in this segment signal.
So far, signal processing flow terminates.
Step 209:If not, it is determined that the first audio signal does not occur clipping distortion.
If the first audio signal does not occur clipping distortion, play the first audio signal can be without carrying out audio signal again Clipping distortion wave band is replaced.
Signal processing method provided in an embodiment of the present invention, the detection of playing audio signal is treated, judge whether to cut Wave distortion, when it is determined that clipping distortion occur, determine the clipping distortion wave band of playing audio signal, and clipping distortion wave band pair The time cycle answered;Original wave band corresponding with the time cycle in original audio signal is obtained, and will appear from the ripple of clipping distortion The original wave bands of Duan Caiyong are replaced, and generate the 3rd audio signal.By signal processing method provided in an embodiment of the present invention, original is used Beginning audio is corresponding to replace the wave band that clipping distortion occurs, the problem of can effectively avoiding audio signal clipping distortion, so as to avoid Noise problem caused by because of audio signal clipping distortion, therefore the usage experience of user can be lifted.
Embodiment three
Reference picture 4, a kind of structured flowchart of mobile terminal of the embodiment of the present invention three is shown.
Mobile terminal provided in an embodiment of the present invention includes:Detection module 301, for detecting whether the first audio signal goes out Existing clipping distortion, wherein first audio signal is audio signal to be played;First determining module 302, if for cutting Wave distortion, determine clipping distortion wave band in first audio signal, and time cycle corresponding to the clipping distortion wave band; Acquisition module 303, for obtaining original wave band corresponding with the time cycle in the second audio signal, wherein, described second Audio signal is original audio signal;Replacement module 304, for correspondingly replacing the first audio letter using the original wave band Clipping distortion wave band in number, generate the 3rd audio signal.
Mobile terminal provided in an embodiment of the present invention, the detection of playing audio signal is treated, judge whether slicing mistake occur Very, when it is determined that clipping distortion occur, determine that the clipping distortion wave band of audio signal to be played, and clipping distortion wave band correspond to Time cycle;Original wave band corresponding with the time cycle in original audio signal is obtained, and will appear from the wave band of clipping distortion Replaced using original wave band, generate the 3rd audio signal.By mobile terminal provided in an embodiment of the present invention, original audio is used It is corresponding to replace the wave band that clipping distortion occurs, the problem of can effectively avoiding audio signal clipping distortion, so as to avoid because of audio Signal wave elimination distortion and caused noise problem, therefore the usage experience of user can be lifted.
Example IV
Reference picture 5, a kind of structured flowchart of mobile terminal of the embodiment of the present invention four is shown.
Mobile terminal provided in an embodiment of the present invention includes:Detection module 401, for detecting whether the first audio signal goes out Existing clipping distortion, wherein first audio signal is audio signal to be played;First determining module 402, if for cutting Wave distortion, determine clipping distortion wave band in first audio signal, and time cycle corresponding to the clipping distortion wave band; Acquisition module 403, for obtaining original wave band corresponding with the time cycle in the second audio signal, wherein, described second Audio signal is original audio signal;Replacement module 404, for correspondingly replacing the first audio letter using the original wave band Clipping distortion wave band in number, generate the 3rd audio signal.
Preferably, the mobile terminal also includes:Second determining module 405, described in being used in the replacement module After original wave band correspondingly replaces the clipping distortion wave band in first audio signal, the 3rd audio signal is generated, determines institute State the amplitude of each crest in the 3rd audio signal, and the amplitude of each trough;Target audio signal generation module 406, for according to According to the amplitude of each crest, the amplitude of each trough and default amplitude, the 3rd audio signal is amplified, generates target sound Frequency signal.
Preferably, the target audio signal generation module 406 includes:Difference determination sub-module 4061, for for every Individual amplitude, determine the difference of the amplitude and the default amplitude;Amplify submodule 4062, for according to the difference to described Each amplitude in wave band corresponding to amplitude is amplified.
Preferably, the detection module 401 includes:Detection sub-module 4011, for for first audio signal Each amplitude, detect whether that continuous multiple amplitudes be present is default amplitude;First determination sub-module 4012, for if so, then true Has there is clipping distortion in fixed first audio signal;Second determination sub-module 4013, for if not, it is determined that first sound Frequency signal does not occur clipping distortion.
Mobile terminal provided in an embodiment of the present invention, the detection of playing audio signal is treated, judge whether slicing mistake occur Very, when it is determined that clipping distortion occur, determine that the clipping distortion wave band of audio signal to be played, and clipping distortion wave band correspond to Time cycle;Original wave band corresponding with the time cycle in original audio signal is obtained, and will appear from the wave band of clipping distortion Replaced using original wave band, generate the 3rd audio signal.By mobile terminal provided in an embodiment of the present invention, original audio is used It is corresponding to replace the wave band that clipping distortion occurs, the problem of can effectively avoiding audio signal clipping distortion, so as to avoid because of audio Signal wave elimination distortion and caused noise problem, therefore the usage experience of user can be lifted.
Embodiment five
Reference picture 6, show the structured flowchart of the mobile terminal of the embodiment of the present invention.
The mobile terminal 800 of the embodiment of the present invention includes:At least one processor 801, memory 802, at least one net Network interface 804 and other users interface 803.Each component in mobile terminal 800 is coupled by bus system 805. It is understood that bus system 805 is used to realize the connection communication between these components.Bus system 805 except include data/address bus it Outside, in addition to power bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, in figure 6 will be various total Line is all designated as bus system 805.
Wherein, user interface 803 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 802 be intended to including but not limited to these With the memory of any other suitable type.
In some embodiments, memory 802 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for Realize various basic businesses and the hardware based task of processing.Application program 8022, include various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 8022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 802, specifically, can be application The program stored in program 8022 or instruction, processor 801 are used for:Detect whether the first audio signal clipping distortion occurs, its Described in the first audio signal be audio signal to be played;If there is clipping distortion, slicing in first audio signal is determined Distortion wave band, and time cycle corresponding to the clipping distortion wave band;Obtain in the second audio signal with the time cycle Corresponding original wave band, wherein, second audio signal is original audio signal;Institute is correspondingly replaced using the original wave band The clipping distortion wave band in the first audio signal is stated, generates the 3rd audio signal.
The method that the embodiments of the present invention disclose can apply in processor 801, or be realized by processor 801. Processor 801 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 802, processor 801 read the information in memory 802, with reference to the step of its hardware completion above method.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realized for software, can be by performing the module (such as process, function etc.) of function described in the embodiment of the present invention To realize the technology described in the embodiment of the present invention.Software code is storable in memory and passes through computing device.Storage Device can be realized within a processor or outside processor.
Alternatively, processor 801 is additionally operable to:First audio signal is correspondingly replaced using the original wave band described In clipping distortion wave band, generate three audio signals the step of after, methods described also includes:Determine the 3rd audio letter The amplitude of each crest in number, and the amplitude of each trough;The amplitude and default amplitude of amplitude, each trough according to each crest, 3rd audio signal is amplified, generates target audio signal.
Alternatively, processor 801 is additionally operable to:The amplitude and default amplitude of amplitude, each trough according to each crest, to institute The 3rd audio signal is stated to be amplified, generate target audio signal the step of, including:For each amplitude, the amplitude is determined With the difference of the default amplitude;Each amplitude in wave band corresponding to the amplitude is amplified according to the difference.
Alternatively, processor 801 is additionally operable to:Whether the first audio signal of the detection there is the step of clipping distortion, wraps Include:For each amplitude of first audio signal, detect whether that continuous multiple amplitudes be present is default amplitude;If so, then Determine that clipping distortion has occurred in first audio signal;If not, it is determined that first audio signal does not occur clipping distortion.
Mobile terminal 800 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.
By mobile terminal provided in an embodiment of the present invention, the detection of playing audio signal is treated, judges whether to cut Wave distortion, when it is determined that clipping distortion occur, determine the clipping distortion wave band of audio signal to be played, and clipping distortion wave band The corresponding time cycle;Original wave band corresponding with the time cycle in original audio signal is obtained, and will appear from clipping distortion Wave band is replaced using original wave band, generates the 3rd audio signal.It is original by mobile terminal provided in an embodiment of the present invention, use Audio is corresponding to replace the wave band that clipping distortion occurs, the problem of can effectively avoiding audio signal clipping distortion, so as to avoid because Audio signal clipping distortion and caused noise problem, therefore the usage experience of user can be lifted.
Embodiment six
Reference picture 7, show the structured flowchart of the mobile terminal of the embodiment of the present invention.
Mobile terminal in the embodiment of the present invention can be mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 7 includes radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block 930th, display unit 940, processor 960, voicefrequency circuit 970, WiFi (Wireless Fidelity) modules 980 and power supply 990。
Wherein, input block 930 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal User set and function control it is relevant signal input.Specifically, in the embodiment of the present invention, the input block 930 can be with Including contact panel 931.Contact panel 931, also referred to as touch-screen, collect touch operation (ratio of the user on or near it Such as user uses the operation of finger, any suitable object of stylus or annex on contact panel 931), and according to setting in advance Fixed formula drives corresponding attachment means.Optionally, contact panel 931 may include touch detecting apparatus and touch controller two Individual part.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, signal is passed Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then Give the processor 960, and the order sent of reception processing device 960 and can be performed.Furthermore, it is possible to using resistance-type, electricity The polytypes such as appearance formula, infrared ray and surface acoustic wave realize contact panel 931.Except contact panel 931, input block 930 Can also include other input equipments 932, other input equipments 932 can include but is not limited to physical keyboard, function key (such as Volume control button, switch key etc.), trace ball, mouse, the one or more in action bars etc..
Wherein, display unit 940 can be used for display by the information of user's input or be supplied to information and the movement of user The various menu interfaces of terminal.Display unit 940 may include display panel 941, optionally, can use LCD or organic light emission The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 941.
It should be noted that contact panel 931 can cover display panel 941, touch display screen is formed, when the touch display screen is examined After measuring the touch operation on or near it, processor 960 is sent to determine the type of touch event, is followed by subsequent processing device 960 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And arrangement mode of the conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 960 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone Individual part, by running or performing the software program and/or module that are stored in first memory 921, and call and be stored in Data in second memory 922, the various functions and processing data of mobile terminal are performed, it is overall so as to be carried out to mobile terminal Monitoring.Optionally, processor 960 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 921 in software program and/or module and/ Or the data in the second memory 922, processor 960 are used for:Detect whether the first audio signal clipping distortion occurs, wherein First audio signal is audio signal to be played;If there is clipping distortion, determine that slicing loses in first audio signal True wave band, and time cycle corresponding to the clipping distortion wave band;Obtain in the second audio signal with the time cycle pair The original wave band answered, wherein, second audio signal is original audio signal;Described in being replaced using the original wave band is corresponding Clipping distortion wave band in first audio signal, generate the 3rd audio signal.
Alternatively, processor 960 is additionally operable to:First audio signal is correspondingly replaced using the original wave band described In clipping distortion wave band, generate three audio signals the step of after, methods described also includes:Determine the 3rd audio letter The amplitude of each crest in number, and the amplitude of each trough;The amplitude and default amplitude of amplitude, each trough according to each crest, 3rd audio signal is amplified, generates target audio signal.
Alternatively, processor 960 is additionally operable to:The amplitude and default amplitude of amplitude, each trough according to each crest, to institute The 3rd audio signal is stated to be amplified, generate target audio signal the step of, including:For each amplitude, the amplitude is determined With the difference of the default amplitude;Each amplitude in wave band corresponding to the amplitude is amplified according to the difference.
Alternatively, processor 960 is additionally operable to:Whether the first audio signal of the detection there is the step of clipping distortion, wraps Include:For each amplitude of first audio signal, detect whether that continuous multiple amplitudes be present is default amplitude;If so, then Determine that clipping distortion has occurred in first audio signal;If not, it is determined that first audio signal does not occur clipping distortion.
By mobile terminal provided in an embodiment of the present invention, the detection of playing audio signal is treated, judges whether to cut Wave distortion, when it is determined that clipping distortion occur, determine the clipping distortion wave band of audio signal to be played, and clipping distortion wave band The corresponding time cycle;Original wave band corresponding with the time cycle in original audio signal is obtained, and will appear from clipping distortion Wave band is replaced using original wave band, generates the 3rd audio signal.It is original by mobile terminal provided in an embodiment of the present invention, use Audio is corresponding to replace the wave band that clipping distortion occurs, the problem of can effectively avoiding audio signal clipping distortion, so as to avoid because Audio signal clipping distortion and caused noise problem, therefore the usage experience of user can be lifted.
A kind of mobile terminal, including:Memory, processor and it is stored on the memory and can be on the processor The signal handler of operation, the signal handler are realized described signal processing method during the computing device Step.
A kind of computer-readable recording medium, signal handler is stored with the computer-readable recording medium, institute State the step of described signal processing method is realized when signal handler is executed by processor.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
Provided herein signal processing method not with the intrinsic phase of any certain computer, virtual system or miscellaneous equipment Close.Various general-purpose systems can also be used together with teaching based on this.As described above, construction has present invention side Structure required by the system of case is obvious.In addition, the present invention is not also directed to any certain programmed language.Should be bright In vain, various programming languages can be utilized to realize the content of invention described herein, and that is done above to language-specific retouches State is to disclose the preferred forms of the present invention.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the embodiment, wherein the conduct of each claim in itself The separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Mode it can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor (DSP) are realized in the processing method of signal transacting according to embodiments of the present invention The some or all functions of some or all parts.The present invention is also implemented as being used to perform method as described herein Some or all equipment or program of device (for example, computer program and computer program product).Such reality The program of the existing present invention can store on a computer-readable medium, or can have the form of one or more signal. Such signal can be downloaded from internet website and obtained, and either be provided or in the form of any other on carrier signal There is provided.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with The difference of other embodiment, between each embodiment identical similar part mutually referring to.For system embodiment For, because it is substantially similar to embodiment of the method, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation Defend oneself bright.

Claims (10)

1. a kind of signal processing method, it is characterised in that methods described includes:
Detect whether the first audio signal clipping distortion occurs, wherein first audio signal is audio signal to be played;
If there is clipping distortion, clipping distortion wave band in first audio signal, and the clipping distortion wave band pair are determined The time cycle answered;
Original wave band corresponding with the time cycle in the second audio signal is obtained, wherein, second audio signal is original Beginning audio signal;
Clipping distortion wave band in first audio signal, generation the 3rd audio letter are correspondingly replaced using the original wave band Number.
2. according to the method for claim 1, it is characterised in that correspondingly replace described the using the original wave band described Clipping distortion wave band in one audio signal, generate three audio signals the step of after, methods described also includes:
Determine the amplitude of each crest in the 3rd audio signal, and the amplitude of each trough;
The amplitude and default amplitude of amplitude, each trough according to each crest, are amplified to the 3rd audio signal, generation Target audio signal.
3. according to the method for claim 2, it is characterised in that the amplitude of amplitude, each trough according to each crest and pre- If amplitude, the 3rd audio signal is amplified, generate target audio signal the step of, including:
For each amplitude, the difference of the amplitude and the default amplitude is determined;
Each amplitude in wave band corresponding to the amplitude is amplified according to the difference.
4. according to the method for claim 1, it is characterised in that whether the first audio signal of the detection clipping distortion occurs The step of, including:
For each amplitude of first audio signal, detect whether that continuous multiple amplitudes be present is default amplitude;
If, it is determined that has there is clipping distortion in first audio signal;
If not, it is determined that first audio signal does not occur clipping distortion.
5. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Detection module, for detecting whether the first audio signal clipping distortion occurs, wherein first audio signal is to wait to broadcast Put audio signal;
First determining module, if for there is clipping distortion, determine clipping distortion wave band in first audio signal, Yi Jisuo State the time cycle corresponding to clipping distortion wave band;
Acquisition module, for obtaining original wave band corresponding with the time cycle in the second audio signal, wherein, described second Audio signal is original audio signal;
Replacement module, it is raw for correspondingly replacing the clipping distortion wave band in first audio signal using the original wave band Into the 3rd audio signal.
6. mobile terminal according to claim 5, it is characterised in that the mobile terminal also includes:
Second determining module, used in correspondingly replacing first audio signal using the original wave band in the replacement module Clipping distortion wave band after, generate the 3rd audio signal, determine the amplitude of each crest in the 3rd audio signal, and respectively The amplitude of trough;
Target audio signal generation module, for the amplitude according to each crest, the amplitude of each trough and default amplitude, to described 3rd audio signal is amplified, and generates target audio signal.
7. mobile terminal according to claim 6, it is characterised in that the target audio signal generation module includes:
Difference determination sub-module, for for each amplitude, determining the difference of the amplitude and the default amplitude;
Amplify submodule, for being amplified according to the difference to each amplitude in wave band corresponding to the amplitude.
8. mobile terminal according to claim 5, it is characterised in that the detection module includes:
Detection sub-module, for each amplitude for first audio signal, detect whether that continuous multiple amplitudes be present is Default amplitude;
First determination sub-module, if for, it is determined that has there is clipping distortion in first audio signal;
Second determination sub-module, for if not, it is determined that first audio signal does not occur clipping distortion.
A kind of 9. mobile terminal, it is characterised in that including:Memory, processor and it is stored on the memory and can be in institute The signal handler run on processor is stated, the signal handler is realized such as claim during the computing device The step of signal processing method any one of 1 to 4.
10. a kind of computer-readable recording medium, it is characterised in that be stored with the computer-readable recording medium at signal Program is managed, the signal transacting as any one of Claims 1-4 is realized when the signal handler is executed by processor The step of method.
CN201710698180.9A 2017-08-15 2017-08-15 Signal processing method and mobile terminal Active CN107690026B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710698180.9A CN107690026B (en) 2017-08-15 2017-08-15 Signal processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710698180.9A CN107690026B (en) 2017-08-15 2017-08-15 Signal processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107690026A true CN107690026A (en) 2018-02-13
CN107690026B CN107690026B (en) 2020-10-27

Family

ID=61153365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710698180.9A Active CN107690026B (en) 2017-08-15 2017-08-15 Signal processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107690026B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600915A (en) * 2018-08-09 2018-09-28 歌尔科技有限公司 A kind of method, apparatus of audio output, harmonic distortion filtering equipment and terminal
CN109893163A (en) * 2019-01-23 2019-06-18 苏州美糯爱医疗科技有限公司 A method of it is automatically positioned and repairs electronic auscultation device clipping distortion waveform
CN114403866A (en) * 2022-01-28 2022-04-29 广东工业大学 Noninvasive blood glucose prediction device based on near-infrared light wavelength conversion
CN117998254A (en) * 2024-04-07 2024-05-07 腾讯科技(深圳)有限公司 Broken sound restoration method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005136544A (en) * 2003-10-29 2005-05-26 Nec Corp Distorted speech restoring device and restoring method
CN103746668A (en) * 2013-12-31 2014-04-23 上海斐讯数据通信技术有限公司 Sound volume control method and system
CN104469607A (en) * 2013-09-20 2015-03-25 恩智浦有限公司 An audio and ultrasound signal processing circuit and an ultrasound signal processing circuit, and associated methods
CN106024035A (en) * 2016-05-04 2016-10-12 珠海市魅族科技有限公司 Audio processing method and terminal
CN106847307A (en) * 2016-12-21 2017-06-13 广州酷狗计算机科技有限公司 Signal detecting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005136544A (en) * 2003-10-29 2005-05-26 Nec Corp Distorted speech restoring device and restoring method
CN104469607A (en) * 2013-09-20 2015-03-25 恩智浦有限公司 An audio and ultrasound signal processing circuit and an ultrasound signal processing circuit, and associated methods
CN103746668A (en) * 2013-12-31 2014-04-23 上海斐讯数据通信技术有限公司 Sound volume control method and system
CN106024035A (en) * 2016-05-04 2016-10-12 珠海市魅族科技有限公司 Audio processing method and terminal
CN106847307A (en) * 2016-12-21 2017-06-13 广州酷狗计算机科技有限公司 Signal detecting method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600915A (en) * 2018-08-09 2018-09-28 歌尔科技有限公司 A kind of method, apparatus of audio output, harmonic distortion filtering equipment and terminal
CN108600915B (en) * 2018-08-09 2024-02-06 歌尔科技有限公司 Audio output method and device, harmonic distortion filtering equipment and terminal
CN109893163A (en) * 2019-01-23 2019-06-18 苏州美糯爱医疗科技有限公司 A method of it is automatically positioned and repairs electronic auscultation device clipping distortion waveform
CN114403866A (en) * 2022-01-28 2022-04-29 广东工业大学 Noninvasive blood glucose prediction device based on near-infrared light wavelength conversion
CN117998254A (en) * 2024-04-07 2024-05-07 腾讯科技(深圳)有限公司 Broken sound restoration method, device and storage medium

Also Published As

Publication number Publication date
CN107690026B (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN106817656B (en) A kind of outer method and mobile terminal for putting sound system audio calibration
CN107690026A (en) A kind of signal processing method and mobile terminal
CN106205580B (en) A kind of audio data processing method and terminal
CN106502619A (en) A kind of method for controlling volume and device
CN106993097B (en) Music playing method and mobile terminal
CN107438204A (en) A kind of method and mobile terminal of media file loop play
CN105824557B (en) A kind of method and mobile terminal for playing voice messaging
CN106681603A (en) Method for adjusting video playing progress and mobile terminal
CN106681604A (en) Method for adjusting video playing progress and mobile terminal
CN107172465B (en) A kind of video playing control method and mobile terminal
CN106341538A (en) Lyrics poster push method and mobile terminal
CN106648426A (en) Method for adjusting video playing progress and mobile terminal
CN106068009A (en) Method and the electronic installation of calibration is put outside speaker
CN106254640A (en) A kind of task start method based on alarm clock and mobile terminal
CN107181871A (en) The method and mobile terminal of a kind of volume adjusting
CN106888319A (en) The display methods and mobile terminal of a kind of shortcuts bar
CN107026986B (en) A kind of processing method and mobile terminal of video background music
CN107562404A (en) A kind of audio frequency playing method, mobile terminal and computer-readable recording medium
CN106686402A (en) Video processing method and mobile terminal
CN107066231A (en) A kind of acoustic information player method and mobile terminal
CN107124656A (en) The player method and mobile terminal of a kind of multimedia file
CN107172486A (en) A kind of video encoding/decoding method and mobile terminal
CN106611404A (en) Puzzle template selecting method and mobile terminal
CN106937001A (en) A kind of audio store method and mobile terminal
CN106210335A (en) The detection method of a kind of audio parts duty and mobile terminal

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
GR01 Patent grant
GR01 Patent grant