CN107799113A - Audio-frequency processing method, device, storage medium and mobile terminal - Google Patents
Audio-frequency processing method, device, storage medium and mobile terminal Download PDFInfo
- Publication number
- CN107799113A CN107799113A CN201710881185.5A CN201710881185A CN107799113A CN 107799113 A CN107799113 A CN 107799113A CN 201710881185 A CN201710881185 A CN 201710881185A CN 107799113 A CN107799113 A CN 107799113A
- Authority
- CN
- China
- Prior art keywords
- audio
- cutting
- signals
- audio signal
- duration
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 32
- 238000003860 storage Methods 0.000 title claims abstract description 20
- 238000005520 cutting process Methods 0.000 claims abstract description 153
- 230000005236 sound signal Effects 0.000 claims abstract description 136
- 238000012545 processing Methods 0.000 claims abstract description 57
- 230000011218 segmentation Effects 0.000 claims abstract description 18
- 230000015654 memory Effects 0.000 claims description 17
- 238000012216 screening Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 6
- 238000000034 method Methods 0.000 abstract description 25
- 230000000694 effects Effects 0.000 abstract description 16
- 238000005516 engineering process Methods 0.000 abstract description 15
- 230000002093 peripheral effect Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 9
- 230000008901 benefit Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000003321 amplification Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 229910000831 Steel Inorganic materials 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000003306 harvesting Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/04—Segmentation; Word boundary detection
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/03—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the present application discloses a kind of audio-frequency processing method, device, storage medium and mobile terminal.This method includes:Obtain pending audio signal;Cutting duration is determined according to default segmentation rule, and cutting processing is carried out to the pending audio signal according to the cutting duration, obtains audio sub-signals;The audio sub-signals are played out according to preset rules.Technical scheme provided herein, it is possible to achieve improve entertaining sense and the effect of technology sense of user.
Description
Technical field
The invention relates to computer realm, more particularly to a kind of audio-frequency processing method, device, storage medium and shifting
Dynamic terminal.
Background technology
At this stage, with the development of Internet technology, user has been able to obtain miscellaneous sound by internet
Data, such as song.But existing voice data production method is excessively single, it is impossible to according to the intention carry out sound of oneself
Sound data processing, it is difficult to transfer the interest of users.Therefore, existing sound processing mode existing defects are, it is necessary to improve.
The content of the invention
The embodiment of the present application provides a kind of audio-frequency processing method, device, storage medium and mobile terminal, it is possible to achieve improves
The entertaining sense of user and the effect of technology sense.
In a first aspect, the embodiment of the present application provides a kind of audio-frequency processing method, this method includes:
Obtain pending audio signal;
Cutting duration is determined according to default segmentation rule, and the pending audio signal is entered according to the cutting duration
Row cutting is handled, and obtains audio sub-signals;
The audio sub-signals are played out according to preset rules.
Second aspect, the embodiment of the present application provide a kind of apparatus for processing audio, and the device includes:
Audio signal acquisition module, for obtaining pending audio signal;
Audio signal cutting module, for determining cutting duration according to default segmentation rule, and according to the cutting duration
Cutting processing is carried out to the pending audio signal, obtains audio sub-signals;
Playing module, for being played out according to preset rules to the audio sub-signals.
The third aspect, the embodiment of the present application provide a kind of computer-readable recording medium, are stored thereon with computer journey
Sequence, the audio-frequency processing method as described in the embodiment of the present application is realized when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of mobile terminal, including memory, processor and are stored in storage
On device and it can be realized in the computer program of processor operation described in the computing device during computer program as the application is real
Apply the audio-frequency processing method described in example.
The technical scheme that the embodiment of the present application is provided, by obtaining pending audio signal;According to default segmentation rule
Cutting duration is determined, and cutting processing is carried out to the pending audio signal according to the cutting duration, obtains audio son letter
Number;The audio sub-signals are played out according to preset rules.By using technical scheme provided herein, Ke Yishi
Now to being played out after the pending audio signal cutting that gets according to the setting rule of user, so as to improve the entertaining of user
Sense and the effect of technology sense.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet for audio-frequency processing method that the embodiment of the present application provides;
Fig. 2 is the schematic flow sheet for another audio-frequency processing method that the embodiment of the present application provides;
Fig. 3 is the schematic flow sheet for another audio-frequency processing method that the embodiment of the present application provides;
Fig. 4 is the schematic flow sheet for another audio-frequency processing method that the embodiment of the present application provides;
Fig. 5 is the schematic flow sheet for another audio-frequency processing method that the embodiment of the present application provides;
Fig. 6 is a kind of structured flowchart for apparatus for processing audio that the embodiment of the present application provides;
Fig. 7 is a kind of structural representation for mobile terminal that the embodiment of the present application provides.
Embodiment
The technical scheme of the application is further illustrated below in conjunction with the accompanying drawings and by embodiment.It is appreciated that
It is that specific embodiment described herein is used only for explaining the application, rather than the restriction to the application.Further need exist for illustrating
, for the ease of description, the part related to the application rather than entire infrastructure are illustrate only in accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation
The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with
Corresponding to method, function, code, subroutine, subprogram etc..
Fig. 1 is a kind of schematic flow sheet for audio-frequency processing method that the embodiment of the present application provides, and this method can be by audio
Processing unit performs, and wherein the device can be realized by software and/or hardware, can typically integrate in the terminal.Such as Fig. 1 institutes
Show, this method includes:
S101, obtain pending audio signal.
Wherein, pending audio signal can be the audio signal recorded or be read from internal storage
Audio signal, one section of voice signal is such as recorded, or one section of voice signal is intercepted from the music of local.
The acquisition modes of pending audio signal can be recorded by user interface (User Interface, UI)
Or the mode such as selection, obtain pending audio frequency process signal.
Wherein, for the audio signal of recording, it can use microphone that the audio signal collected is inputted into operation amplifier
Device, after amplification, is filtered to the audio signal after amplification, and the simulated audio signal after after filtering is passed through into A/D converter
Be converted to digital audio and video signals.And then the digital audio and video signals after conversion are further processed again.
S102, cutting duration is determined according to default segmentation rule, and according to the cutting duration to the pending audio
Signal carries out cutting processing, obtains audio sub-signals.
Wherein, cutting duration can be fixed that such as each cutting duration is 50 milliseconds, and cutting duration can also be not
Fixed, if cutting duration can be 30 milliseconds, 50 milliseconds or 100 milliseconds, and not each cutting duration is equal.According to pre-
If segmentation rules can be user setting default segmentation rule, as user set every 100 milliseconds of cuttings once, then during cutting
Long is just 100 milliseconds, can also be that mobile terminal dispatches from the factory what is set before.Alternatively, it is also possible to be according to pending audio believe
Number some information determine, such as cutting duration can be determined according to the signal to noise ratio of audio signal.
It is determined that after cutting duration, cutting processing is carried out to pending audio signal according to cutting duration, obtains audio
Signal.Such as it is determined that during cutting after a length of 100 milliseconds, cutting of every 100 milliseconds of progress, an audio sub-signals are obtained.Value
It must illustrate, when completing a cutting, last remaining audio sub-signals can be less than 100 milliseconds.In addition, the application is real
Example is applied exemplified by carrying out cutting one by one, in addition can also synchronously be carried out, multiple audio letters are obtained after a direct cutting
Number.
S103, according to preset rules the audio sub-signals are played out.
Wherein, to the broadcasting of audio sub-signals, the application for being specifically used to carry out pending Audio Signal Processing can be used
Program plays, and can also have been installed by mobile terminal or self-contained playout software plays.According to default rule
Then the audio sub-signals are played out, preset rules therein can be the rule of User Defined setting, such as to all
Audio sub-signals played out according to the form of inverted order, or Reverse Play etc. is carried out to part audio sub-signals.So set
The benefit put is that the broadcasting of audio sub-signals can be carried out according to user-defined mode, can improve user customized
Entertaining sense during Audio Signal Processing, different effects can be realized by inverted order or adjustment order, obtain user's hardly possible
With the sound expected.Technology sense of the user in audio processing process is carried out using mobile terminal, impression science and technology can also be increased
The colourful life brought.
The technical scheme that the embodiment of the present application is provided, by obtaining pending audio signal;According to default segmentation rule
Cutting duration is determined, and cutting processing is carried out to the pending audio signal according to the cutting duration, obtains audio son letter
Number;The audio sub-signals are played out according to preset rules.By using technical scheme provided herein, Ke Yishi
Now to being played out after the pending audio signal cutting that gets according to the setting rule of user, so as to improve the entertaining of user
Sense and the effect of technology sense.
Fig. 2 is the schematic flow sheet for another audio-frequency processing method that the embodiment of the present application provides, as shown in Fig. 2 the party
Method includes:
S201, obtain pending audio signal.
S202, the duration for obtaining pending audio signal.
Wherein, remembered in the voice data that the duration of pending audio signal can be by reading the pending audio signal
The mode of the duration of load obtains.If pending audio signal is the part intercepted from a certain audio signal, can lead to
Cross the acquisition at that time for obtaining the interception duration.
S203, cutting duration determined according to the duration of the pending audio signal.
Wherein, cutting duration can determine according to the duration of pending audio signal, such as pending audio signal when
A length of 60 seconds, it may be determined that a length of 100 milliseconds during its cutting, as tape handling audio signal when a length of 10 seconds, it may be determined that its
A length of 10 milliseconds during cutting.Wherein, can also can be determined specific corresponding to relation with default setting by user.
S204, cutting processing carried out to the pending audio signal according to the cutting duration, obtain audio sub-signals.
It is determined that after cutting duration, cutting processing is carried out to the pending audio signal according to the cutting duration,
Obtain audio sub-signals.
The benefit so set is that can both meet the needs of user, is carried out according to requirement of the user to Audio Signal Processing
Cutting duration is determined, the processing speed of calculating speed and audio signal can be taken into account again, avoids the occurrence of the audio sub-signals of cutting
Excessive phenomenon, improve the response speed during Audio Signal Processing.
S205, according to preset rules the audio sub-signals are played out.
Wherein it is possible to it is that all or part of audio sub-signals are played out according to inverted order rule or other rules.
The technical program is on the basis of above-mentioned each technical scheme, there is provided it is a kind of according to pending audio signal it is total when
The long method for determining cutting duration, and then pending audio signal is carried out cutting and obtains audio sub-signals, then audio is believed
Number play out.The benefit so set is that the meter of Audio Signal Processing can also be improved while meeting the needs of user
Speed and response speed are calculated, is avoided because the audio sub-signals that cutting obtains excessively influence the speed of the calculating in audio processing process
Response speed in degree and audio sub-signals playing process.
Fig. 3 is the schematic flow sheet for another audio-frequency processing method that the embodiment of the present application provides, as shown in figure 3, the party
Method includes:
S301, obtain pending audio signal.
S302, the energy information for obtaining pending audio signal.
Wherein, the energy information of pending audio signal can be related to the amplitude of pending audio signal, such as shake
Width is bigger, then energy is higher, and the amplitude can be in the voice data of pending audio signal.In addition, pending audio signal
Energy information may be influenceed by the volume of mobile terminal itself, as mobile terminal broadcast sound volume adjust it is larger when, meeting
So that energy when really pending audio signal plays is larger, can be set here by obtaining the broadcast sound volume of mobile terminal
One coefficient value, when calculating the energy information of pending audio signal, be multiplied by accordingly or divided by mobile terminal currently broadcast
The corresponding coefficient value of playback amount, so as to avoid energy information of the broadcast sound volume of mobile terminal itself to pending audio signal
Influence.
S303, cutting duration determined according to the energy information of the pending audio signal.
Cutting duration is determined according to the energy information of pending audio signal, can be according to pending audio signal per for the moment
Between section energy information, determine cutting duration.Such as when pending audio signal is records people's one's voice in speech, one is not being said
When individual word, energy is larger, each word or every words among interval when, energy is smaller, then can speak people process
In pronunciation to each word when beginning and end carry out cutting, each word is pronounced among interval carry out cutting, thus
Pronunciation part can be obtained and without pronunciation two kinds of part audio sub-signals.
S304, cutting processing carried out to the pending audio signal according to the cutting duration, obtain audio sub-signals.
Wherein, cutting duration can be mutual, and the audio sub-signals that cutting obtains can contain pronunciation
Part and no two kinds of part of pronunciation.It can also be and carry out cutting according to other rules, audio sub-signals also can obtained from
It is different.
S305, according to preset rules the audio sub-signals are played out.
Wherein, preset rules can be inverted order rule, in the examples described above, can also be during people is spoken comprising pair
The audio sub-signals of each word pronunciation carry out played in order etc..Specifically, it can be determined according to the selection situation of user, in reality
In the implementation process of border, alternative option can be provided the user, so can processing of the easier user to audio signal
Process, arbitrary processing audio signal, improve the usage experience effect of user.
The technical program is on the basis of above-mentioned each technical scheme, there is provided a kind of energy according to pending audio signal
The method that information determines cutting duration, and then pending audio signal is carried out cutting and obtains audio sub-signals, then to audio
Signal plays out.The benefit so set is can be when audio sub-signals only higher to energy play out, Ke Yishi
Now accelerate the effect of word speed, and entertaining sense and the effect of technology sense of user can be improved.
Fig. 4 is the schematic flow sheet for another audio-frequency processing method that the embodiment of the present application provides, as shown in figure 4, the party
Method includes:
S401, obtain pending audio signal.
S402, the duration for obtaining pending audio signal, and the energy information of pending audio signal.
The duration and energy information of pending audio signal, wherein energy information can be obtained simultaneously, can entirely treat
The energy information of each period, wherein time in the energy information of processing audio signal or pending audio signal
Section can be 50 milliseconds, can also be and obtain the curve that the energy of pending audio signal changes over time, determined from curve
The overall energy information and the energy information of each period of pending audio signal.
S403, duration and energy information according to the pending audio signal, determine cutting duration.
According to the duration and energy information of the pending audio signal, cutting duration is determined, can be that basis is waited to locate
The duration of reason audio signal determines the number of cutting duration, and each cutting section is determined according to the energy information of pending audio signal
Cutting duration.
S404, cutting processing carried out to the pending audio signal according to the cutting duration, obtain audio sub-signals.
S405, according to preset rules the audio sub-signals are played out.
The technical program is on the basis of above-mentioned each technical scheme, there is provided it is a kind of according to pending audio signal it is total when
The method that long and energy information determines cutting duration, and then pending audio signal is carried out cutting and obtains audio sub-signals, then
Audio sub-signals are played out.The benefit so set is can be while cutting be carried out, according to treating according to energy information
The total duration of processing audio signal determines the number of cutting section, can so take into account treatment effect and processing speed, reach
Improve the entertaining sense of user and the effect of technology sense.
Fig. 5 is the schematic flow sheet for another audio-frequency processing method that the embodiment of the present application provides, as shown in figure 5, the party
Method includes:
S501, obtain pending audio signal.
S502, cutting duration is determined according to default segmentation rule, and according to the cutting duration to the pending audio
Signal carries out cutting processing, obtains audio sub-signals.
S503, the multiplicity for veritifying audio sub-signals.
Wherein, verifying the multiplicity of audio sub-signals can be, according to contrast adjacent two audio sub-signals energy,
The data such as frequency are verified, such as in the example that people speaks is recorded, if two adjacent audio sub-signals are all at two
Discontinuity position among word pronunciation, then it is considered that this two neighboring audio sub-signals repeats, all audio letters can be counted
In number, the number of the repetition of adjacent audio sub-signals, it is defined as multiplicity.
S504, the multiplicity according to the audio sub-signals, redefine cutting duration.
When multiplicity is higher than a certain threshold value, such as 50% audio sub-signals repeat, then it is too small to illustrate that cutting duration is set,
Can suitably it tune up.When multiplicity is less than a certain threshold value, such as 5% audio sub-signals repeat, then illustrate that cutting duration is set
It is excessive, can suitably it turn down.Specifically the regulation for cutting duration can be determined by multiplicity.
The cutting duration that S505, basis redefine, cutting processing is carried out to the pending audio signal, is adjusted
Audio sub-signals afterwards.
Cutting processing is carried out to the pending audio signal according to the cutting after adjustment, the audio son letter after being adjusted
Number.
S506, according to preset rules the audio sub-signals after adjustment are played out.
The audio sub-signals after adjustment are played out according to preset rules.
The technical program is on the basis of above-mentioned each technical scheme, there is provided one kind determines whether need according to audio sub-signals
The method to be adjusted to cutting duration, it can so realize and cutting duration is adjusted automatically, to obtain suitable sound
Frequency subsignal does subsequent treatment, and computation burden is alleviated for subsequent treatment, while in turn ensure that treatment effect, has reached raising and has used
The entertaining sense at family and the effect of technology sense.
On the basis of above-mentioned each technical scheme, optionally, the audio sub-signals are played out according to preset rules,
Including:The audio sub-signals are numbered;According to Reverse Play rule, the audio sub-signals are continuously played.Such as to steel
After qin Qu Jinhang Reverse Plays, different note effect can be obtained, the benefit so set is to improve the entertaining sense of user
And technology sense.
On the basis of above-mentioned each technical scheme, optionally, the audio sub-signals are played out according to preset rules,
Including:The audio sub-signals are screened according to default screening rule;Audio sub-signals after screening are numbered;Press
According to played in order rule, the audio sub-signals after the screening are continuously played.Audio signal when such as being spoken to the people of recording is entered
Row processing, it is possible to achieve accelerate word speed, and to the effect that content of speaking is adjusted, increase the entertaining sense of user.
Fig. 6 is a kind of structured flowchart for apparatus for processing audio that the embodiment of the present application provides, the device can by software and/or
Hardware is realized, is typically integrated in mobile terminal, audio signal can be handled by performing audio-frequency processing method.Such as figure
Shown in 6, the device includes:
Audio signal acquisition module 601, for obtaining pending audio signal;
Audio signal cutting module 602, for determining cutting duration according to default segmentation rule, and during according to the cutting
It is long that cutting processing is carried out to the pending audio signal, obtain audio sub-signals;
Playing module 603, for being played out according to preset rules to the audio sub-signals.
The technical scheme that the embodiment of the present application is provided, by obtaining pending audio signal;According to default segmentation rule
Cutting duration is determined, and cutting processing is carried out to the pending audio signal according to the cutting duration, obtains audio son letter
Number;The audio sub-signals are played out according to preset rules.By using technical scheme provided herein, Ke Yishi
Now to being played out after the pending audio signal cutting that gets according to the setting rule of user, so as to improve the entertaining of user
Sense and the effect of technology sense.
On the basis of above-mentioned each technical scheme, optionally, the audio signal cutting module 602 includes:
Duration acquiring unit, for obtaining the duration of pending audio signal;
First cutting duration determining unit, for determining cutting duration according to the duration of the pending audio signal;
Cutting unit, for carrying out cutting processing to the pending audio signal according to the cutting duration, obtain sound
Frequency subsignal.
On the basis of above-mentioned each technical scheme, optionally, the audio signal cutting module 602 includes:
Energy harvesting unit, for obtaining the energy information of pending audio signal;
Second cutting duration determining unit, during for determining cutting according to the energy information of the pending audio signal
It is long;
Cutting unit, for carrying out cutting processing to the pending audio signal according to the cutting duration, obtain sound
Frequency subsignal.
On the basis of above-mentioned each technical scheme, optionally, the audio signal cutting module 602 includes:
Cutting element acquiring unit, for obtaining the duration of pending audio signal, and the energy of pending audio signal
Measure information;
3rd cutting duration determining unit, for the duration and energy information according to the pending audio signal, really
Determine cutting duration;
Cutting unit, for carrying out cutting processing to the pending audio signal according to the cutting duration, obtain sound
Frequency subsignal.
On the basis of above-mentioned each technical scheme, optionally, described device also includes:
Cutting adjusting module, is used for:
Veritify the multiplicity of audio sub-signals;
According to the multiplicity of the audio sub-signals, cutting duration is redefined;
According to the cutting duration redefined, cutting processing is carried out to the pending audio signal, after being adjusted
Audio sub-signals.
On the basis of above-mentioned each technical scheme, optionally, the playing module 603 includes:
Audio sub-signals numbered cell, for the audio sub-signals to be numbered;
Audio sub-signals broadcast unit, for according to Reverse Play rule, continuously playing the audio sub-signals.
On the basis of above-mentioned each technical scheme, optionally, the playing module 603 includes:
Audio sub-signals screening unit, for being screened according to default screening rule to the audio sub-signals;
Audio sub-signals numbered cell, for the audio sub-signals after screening to be numbered;
Audio sub-signals broadcast unit, for play rules in sequence, continuously play the son letter of the audio after the screening
Number.
The embodiment of the present application also provides a kind of storage medium for including computer executable instructions, and the computer can perform
Instruction is used to perform a kind of audio-frequency processing method when being performed by computer processor, and this method includes:
Obtain pending audio signal;
Cutting duration is determined according to default segmentation rule, and the pending audio signal is entered according to the cutting duration
Row cutting is handled, and obtains audio sub-signals;
The audio sub-signals are played out according to preset rules.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap
Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums
(such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other
The memory of type or its combination.In addition, storage medium can be located at program in the computer system being wherein performed, or
It can be located in different second computer systems, second computer system is connected to computer by network (such as internet)
System.Second computer system can provide programmed instruction and be used to perform to computer.Term " storage medium " can include can
To reside in diverse location two or more storage mediums of (such as in different computer systems by network connection).
Storage medium can store the programmed instruction (such as being implemented as computer program) that can be performed by one or more processors.
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, its computer
The operation for the audio frequency process that executable instruction is not limited to the described above, it can also carry out the sound that the application any embodiment is provided
Associative operation in frequency processing method.
The embodiment of the present application provides a kind of mobile terminal, and the sound of the embodiment of the present application offer can be integrated in the mobile terminal
Frequency processing device.Fig. 7 is a kind of structural representation for mobile terminal that the embodiment of the present application provides.As shown in fig. 7, the movement is whole
End can include:Memory 701, central processing unit (Central Processing Unit, CPU) 702 (also known as processor, with
Lower abbreviation CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in the housing
The interior volume surrounded;The CPU702 and the memory 701 are arranged on the circuit board;The power circuit, is used for
Powered for each circuit or device of the mobile terminal;The memory 701, for storing executable program code;It is described
CPU702 is run and the executable program code pair by reading the executable program code stored in the memory 701
The computer program answered, to realize following steps:
Obtain pending audio signal;
Cutting duration is determined according to default segmentation rule, and the pending audio signal is entered according to the cutting duration
Row cutting is handled, and obtains audio sub-signals;
The audio sub-signals are played out according to preset rules.
The mobile terminal also includes:Peripheral Interface 703, RF (Radio Frequency, radio frequency) circuit 705, audio-frequency electric
Road 706, loudspeaker 711, power management chip 708, input/output (I/O) subsystem 709, touch-screen 712, other input/controls
Control equipment 710 and outside port 704, these parts are communicated by one or more communication bus or signal wire 707.
It should be understood that diagram mobile terminal 700 is only an example of mobile terminal, and mobile terminal 700
Can have than more or less parts shown in figure, can combine two or more parts, or can be with
Configured with different parts.Various parts shown in figure can be including one or more signal transactings and/or special
Hardware, software including integrated circuit are realized in the combination of hardware and software.
Below with regard to the present embodiment provide the mobile terminal for audio frequency process be described in detail, the mobile terminal with
Exemplified by mobile phone.
Memory 701, the memory 701 can be accessed by CPU702, Peripheral Interface 703 etc., and the memory 701 can
Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories,
Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU702 and deposited by Peripheral Interface 703, the Peripheral Interface 703
Reservoir 701.
I/O subsystems 709, the I/O subsystems 709 can be by the input/output peripherals in equipment, such as touch-screen 712
With other input/control devicess 710, Peripheral Interface 703 is connected to.I/O subsystems 709 can include the He of display controller 7091
For controlling one or more input controllers 7092 of other input/control devicess 710.Wherein, one or more input controls
Device 7092 processed receives electric signal from other input/control devicess 710 or sends electric signal to other input/control devicess 710,
Other input/control devicess 710 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole, click on roller.What deserves to be explained is input controller 7092 can with it is following any one be connected:Keyboard, infrared port,
The instruction equipment of USB interface and such as mouse.
Touch-screen 712, the touch-screen 712 are the input interface and output interface between customer mobile terminal and user,
Visual output display can be included into figure, text, icon, video etc. to user, visual output.
Display controller 7091 in I/O subsystems 709 receives electric signal from touch-screen 712 or sent out to touch-screen 712
Electric signals.Touch-screen 712 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 7091
The interaction of user interface object on touch-screen 712, that is, realize man-machine interaction, the user interface being shown on touch-screen 712
Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light
Mouse, light mouse is not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 705, it is mainly used in establishing the communication of mobile phone and wireless network (i.e. network side), realizes mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 705 receive and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 705 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications
Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 705 can include being used to perform
The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one
Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identify mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 706, it is mainly used in receiving audio signal from Peripheral Interface 703, the audio signal is converted into telecommunications
Number, and the electric signal is sent to loudspeaker 711.
Loudspeaker 711, for the voice signal for receiving mobile phone from wireless network by RF circuits 705, it is reduced to sound
And play the sound to user.
Power management chip 708, the hardware for being connected by CPU702, I/O subsystem and Peripheral Interface are powered
And power management.
The mobile terminal that the embodiment of the present application provides, it is possible to achieve improve entertaining sense and the effect of technology sense of user.
Apparatus for processing audio, storage medium and the mobile terminal provided in above-described embodiment, which can perform the application, arbitrarily to be implemented
The audio-frequency processing method that example is provided, possess and perform the corresponding functional module of this method and beneficial effect.Not in above-described embodiment
In detailed description ins and outs, reference can be made to the audio-frequency processing method that the application any embodiment is provided.
Pay attention to, above are only preferred embodiment and the institute's application technology principle of the application.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out by above example to the application
It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also
Other more equivalent embodiments can be included, and scope of the present application is determined by scope of the appended claims.
Claims (10)
- A kind of 1. audio-frequency processing method, it is characterised in that including:Obtain pending audio signal;Cutting duration is determined according to default segmentation rule, and the pending audio signal is cut according to the cutting duration Office is managed, and obtains audio sub-signals;The audio sub-signals are played out according to preset rules.
- 2. audio-frequency processing method according to claim 1, it is characterised in that when determining cutting according to default segmentation rule It is long, and cutting processing is carried out to the pending audio signal according to the cutting duration, audio sub-signals are obtained, including:Obtain the duration of pending audio signal;Cutting duration is determined according to the duration of the pending audio signal;Cutting processing is carried out to the pending audio signal according to the cutting duration, obtains audio sub-signals.
- 3. audio-frequency processing method according to claim 1, it is characterised in that when determining cutting according to default segmentation rule It is long, and cutting processing is carried out to the pending audio signal according to the cutting duration, audio sub-signals are obtained, including:Obtain the energy information of pending audio signal;Cutting duration is determined according to the energy information of the pending audio signal;Cutting processing is carried out to the pending audio signal according to the cutting duration, obtains audio sub-signals.
- 4. audio-frequency processing method according to claim 1, it is characterised in that when determining cutting according to default segmentation rule It is long, and cutting processing is carried out to the pending audio signal according to the cutting duration, audio sub-signals are obtained, including:Obtain the duration of pending audio signal, and the energy information of pending audio signal;According to the duration and energy information of the pending audio signal, cutting duration is determined;Cutting processing is carried out to the pending audio signal according to the cutting duration, obtains audio sub-signals.
- 5. according to the audio-frequency processing method described in claim any one of 2-4, it is characterised in that according to the cutting duration pair The pending audio signal carries out cutting processing, after obtaining audio sub-signals, in addition to:Veritify the multiplicity of audio sub-signals;According to the multiplicity of the audio sub-signals, cutting duration is redefined;According to the cutting duration redefined, cutting processing, the audio after being adjusted are carried out to the pending audio signal Subsignal.
- 6. audio-frequency processing method according to claim 1, it is characterised in that according to preset rules to the audio sub-signals Play out, including:The audio sub-signals are numbered;According to Reverse Play rule, the audio sub-signals are continuously played.
- 7. audio-frequency processing method according to claim 1, it is characterised in that according to preset rules to the audio sub-signals Play out, including:The audio sub-signals are screened according to default screening rule;Audio sub-signals after screening are numbered;Play rules in sequence, continuously play the audio sub-signals after the screening.
- A kind of 8. apparatus for processing audio, it is characterised in that including:Audio signal acquisition module, for obtaining pending audio signal;Audio signal cutting module, for determining cutting duration according to default segmentation rule, and according to the cutting duration to institute State pending audio signal and carry out cutting processing, obtain audio sub-signals;Playing module, for being played out according to preset rules to the audio sub-signals.
- 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The audio-frequency processing method as described in any in claim 1-7 is realized during row.
- 10. a kind of mobile terminal, including memory, processor and storage are on a memory and can be in the computer of processor operation Program, it is characterised in that realize the sound as described in any in claim 1-7 described in the computing device during computer program Frequency processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710881185.5A CN107799113B (en) | 2017-09-26 | 2017-09-26 | Audio processing method and device, storage medium and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710881185.5A CN107799113B (en) | 2017-09-26 | 2017-09-26 | Audio processing method and device, storage medium and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107799113A true CN107799113A (en) | 2018-03-13 |
CN107799113B CN107799113B (en) | 2021-12-07 |
Family
ID=61531569
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710881185.5A Active CN107799113B (en) | 2017-09-26 | 2017-09-26 | Audio processing method and device, storage medium and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107799113B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108597546A (en) * | 2018-06-27 | 2018-09-28 | Oppo广东移动通信有限公司 | The background music for recalling video determines method and relevant device |
CN110312146A (en) * | 2019-06-06 | 2019-10-08 | 百度在线网络技术(北京)有限公司 | Audio-frequency processing method, device, electronic equipment and storage medium |
CN110400580A (en) * | 2019-08-30 | 2019-11-01 | 北京百度网讯科技有限公司 | Audio-frequency processing method, device, equipment and medium |
CN112669885A (en) * | 2020-12-31 | 2021-04-16 | 咪咕文化科技有限公司 | Audio editing method, electronic equipment and storage medium |
CN113539295A (en) * | 2021-06-10 | 2021-10-22 | 联想(北京)有限公司 | Voice processing method and device |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6314392B1 (en) * | 1996-09-20 | 2001-11-06 | Digital Equipment Corporation | Method and apparatus for clustering-based signal segmentation |
US6785663B2 (en) * | 2000-12-28 | 2004-08-31 | International Business Machines Corporation | System and method for meta-pattern discovery |
JP2008145923A (en) * | 2006-12-13 | 2008-06-26 | Nippon Telegr & Teleph Corp <Ntt> | Speech signal section estimating device, method thereof, program thereof, and recording medium |
CN101419796A (en) * | 2008-12-02 | 2009-04-29 | 无敌科技(西安)有限公司 | Device and method for automatically splitting speech signal of single character |
CN101901612A (en) * | 2009-05-27 | 2010-12-01 | 珠海扬智电子有限公司 | Sound playing method and device with variable speed and invariable tone |
CN102682760A (en) * | 2011-03-07 | 2012-09-19 | 株式会社理光 | Overlapped voice detection method and system |
CN103165127A (en) * | 2011-12-15 | 2013-06-19 | 佳能株式会社 | Sound segmentation equipment, sound segmentation method and sound detecting system |
CN103271737A (en) * | 2013-05-23 | 2013-09-04 | 山东师范大学 | Heart rate turbulence tendency extraction method based on cloud model and scatter diagram |
CN103400593A (en) * | 2013-07-03 | 2013-11-20 | 网易(杭州)网络有限公司 | Audio-auditioning method and device |
CN103730111A (en) * | 2013-08-15 | 2014-04-16 | 中华电信股份有限公司 | Method for cutting audio and video signal segments by speaker identification |
CN103824555A (en) * | 2012-11-19 | 2014-05-28 | 腾讯科技(深圳)有限公司 | Audio band extraction method and extraction device |
CN105323652A (en) * | 2014-07-31 | 2016-02-10 | 腾讯科技(深圳)有限公司 | Method and device for playing multimedia file |
-
2017
- 2017-09-26 CN CN201710881185.5A patent/CN107799113B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6314392B1 (en) * | 1996-09-20 | 2001-11-06 | Digital Equipment Corporation | Method and apparatus for clustering-based signal segmentation |
US6785663B2 (en) * | 2000-12-28 | 2004-08-31 | International Business Machines Corporation | System and method for meta-pattern discovery |
JP2008145923A (en) * | 2006-12-13 | 2008-06-26 | Nippon Telegr & Teleph Corp <Ntt> | Speech signal section estimating device, method thereof, program thereof, and recording medium |
CN101419796A (en) * | 2008-12-02 | 2009-04-29 | 无敌科技(西安)有限公司 | Device and method for automatically splitting speech signal of single character |
CN101901612A (en) * | 2009-05-27 | 2010-12-01 | 珠海扬智电子有限公司 | Sound playing method and device with variable speed and invariable tone |
CN102682760A (en) * | 2011-03-07 | 2012-09-19 | 株式会社理光 | Overlapped voice detection method and system |
CN103165127A (en) * | 2011-12-15 | 2013-06-19 | 佳能株式会社 | Sound segmentation equipment, sound segmentation method and sound detecting system |
CN103824555A (en) * | 2012-11-19 | 2014-05-28 | 腾讯科技(深圳)有限公司 | Audio band extraction method and extraction device |
CN103271737A (en) * | 2013-05-23 | 2013-09-04 | 山东师范大学 | Heart rate turbulence tendency extraction method based on cloud model and scatter diagram |
CN103400593A (en) * | 2013-07-03 | 2013-11-20 | 网易(杭州)网络有限公司 | Audio-auditioning method and device |
CN103730111A (en) * | 2013-08-15 | 2014-04-16 | 中华电信股份有限公司 | Method for cutting audio and video signal segments by speaker identification |
CN105323652A (en) * | 2014-07-31 | 2016-02-10 | 腾讯科技(深圳)有限公司 | Method and device for playing multimedia file |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108597546A (en) * | 2018-06-27 | 2018-09-28 | Oppo广东移动通信有限公司 | The background music for recalling video determines method and relevant device |
CN110312146A (en) * | 2019-06-06 | 2019-10-08 | 百度在线网络技术(北京)有限公司 | Audio-frequency processing method, device, electronic equipment and storage medium |
CN110400580A (en) * | 2019-08-30 | 2019-11-01 | 北京百度网讯科技有限公司 | Audio-frequency processing method, device, equipment and medium |
CN110400580B (en) * | 2019-08-30 | 2022-06-17 | 北京百度网讯科技有限公司 | Audio processing method, apparatus, device and medium |
CN112669885A (en) * | 2020-12-31 | 2021-04-16 | 咪咕文化科技有限公司 | Audio editing method, electronic equipment and storage medium |
CN113539295A (en) * | 2021-06-10 | 2021-10-22 | 联想(北京)有限公司 | Voice processing method and device |
CN113539295B (en) * | 2021-06-10 | 2024-04-23 | 联想(北京)有限公司 | Voice processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107799113B (en) | 2021-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107799113A (en) | Audio-frequency processing method, device, storage medium and mobile terminal | |
US11251763B2 (en) | Audio signal adjustment method, storage medium, and terminal | |
CN107040660A (en) | Control method, device and the mobile terminal of mobile terminal playing volume | |
CN107509153A (en) | Detection method, device, storage medium and the terminal of Audio Players part | |
CN103558916A (en) | Man-machine interaction system, method and device | |
CN107580113A (en) | Reminding method, device, storage medium and terminal | |
CN107483731A (en) | Control method, device and the storage medium and mobile terminal of audio broadcast sound volume | |
CN107562405A (en) | Audio play control method, device and storage medium and mobile terminal | |
CN107526568A (en) | volume adjusting method, device, terminal device and storage medium | |
CN107566618A (en) | volume adjusting method, device, terminal device and storage medium | |
CN108418968B (en) | Voice call data processing method and device, storage medium and mobile terminal | |
CN110799936B (en) | Volume adjusting method, volume adjusting device, terminal equipment and storage medium | |
CN107526570B (en) | Volume adjusting method and device, terminal equipment and storage medium | |
CN106713653A (en) | Audio/video playing control method and device, and terminal | |
CN107465824A (en) | volume adjusting method, device, mobile terminal and storage medium | |
CN107885816A (en) | Method, apparatus, storage medium and the terminal device that music is recommended | |
CN107371102A (en) | Control method, device and the storage medium and mobile terminal of audio broadcast sound volume | |
CN107436751A (en) | volume adjusting method, device, terminal device and storage medium | |
CN108449502A (en) | Voice communication data processing method, device, storage medium and mobile terminal | |
CN108449506A (en) | Voice communication data processing method, device, storage medium and mobile terminal | |
CN106886387A (en) | A kind of audio data processing method and its equipment | |
CN107479852B (en) | Volume adjusting method, device, terminal device and storage medium | |
CN107483734B (en) | Volume adjusting method and device, terminal equipment and storage medium | |
CN107508983A (en) | volume adjusting method, device, storage medium and terminal device | |
CN107526569A (en) | A kind of volume adjusting method, device, storage medium 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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |