CN106126171B - A kind of sound effect treatment method and mobile terminal - Google Patents
A kind of sound effect treatment method and mobile terminal Download PDFInfo
- Publication number
- CN106126171B CN106126171B CN201610440034.1A CN201610440034A CN106126171B CN 106126171 B CN106126171 B CN 106126171B CN 201610440034 A CN201610440034 A CN 201610440034A CN 106126171 B CN106126171 B CN 106126171B
- Authority
- CN
- China
- Prior art keywords
- sound effect
- preset
- target
- plug
- voiceprint
- 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.)
- Expired - Fee Related
Links
- 230000000694 effects Effects 0.000 title claims abstract description 570
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000012545 processing Methods 0.000 claims abstract description 95
- 238000001514 detection method Methods 0.000 claims abstract description 27
- 238000003672 processing method Methods 0.000 claims description 16
- 239000012634 fragment Substances 0.000 claims description 14
- 238000009499 grossing Methods 0.000 claims description 12
- 238000000605 extraction Methods 0.000 claims description 7
- 238000000926 separation method Methods 0.000 claims description 6
- 238000005070 sampling Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 16
- 238000004590 computer program Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000001413 cellular effect Effects 0.000 description 3
- 230000002708 enhancing effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of sound effect treatment method and mobile terminal, wherein, this method includes:Obtain target audio;Default audio corresponding with the target audio whether is created in detection mobile terminal;If creating default audio corresponding with the target audio in the mobile terminal, audio effect processing is carried out to the default audio, obtains the first audio;Detect whether the target audio fails according to first audio and the default audio;If the target audio failure, restarts the target audio.The target audio can be restarted after the failure of target audio using the embodiment of the present invention, so as to reduce the probability that audio fails.
Description
Technical Field
The embodiment of the invention relates to the technical field of audio processing, in particular to a sound effect processing method and a mobile terminal.
Background
At present, with the gradual popularization of mobile terminals (such as mobile phones, tablet computers and the like), the integrated functions of the mobile terminals are more and more, and in order to meet the higher pursuit of users for sound effects, the mobile terminals all have a sound effect processing function. For example, the mobile terminal may perform sound effect processing on music, sound recordings, movie soundtracks, and the like, so as to achieve the purposes of enhancing the music effect, enhancing the reality of sound, and rendering the scene atmosphere. However, due to the abnormal operating system in the mobile terminal or the incompatibility of the third party application software, etc., the sound effect failure may be encountered during the sound effect processing.
Disclosure of Invention
The embodiment of the invention provides a sound effect processing method and a mobile terminal, which can restart a sound effect after the sound effect is invalid, so that the probability of the sound effect invalidation is reduced.
The first aspect of the embodiments of the present invention provides a sound effect processing method, including:
acquiring a target sound effect;
detecting whether a preset sound effect corresponding to the target sound effect is created in the mobile terminal;
if a preset sound effect corresponding to the target sound effect is created in the mobile terminal, performing sound effect processing on the preset sound effect to obtain a first sound effect;
detecting whether the target sound effect is invalid or not according to the first sound effect and the preset sound effect;
and if the target sound effect is invalid, restarting the target sound effect.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the performing sound effect processing on the preset sound effect includes:
calling a pre-loaded plug-in manager to obtain a sound effect plug-in corresponding to the preset sound effect;
acquiring a sound effect configuration file configured in advance by the plug-in manager, and determining sound effect processing parameters corresponding to the preset sound effect according to the sound effect configuration file;
and calling the plug-in manager to send the preset sound effect to the sound effect plug-in, and carrying out sound effect processing on the preset sound effect by the sound effect plug-in according to the sound effect processing parameters.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the detecting whether the target sound effect is disabled according to the first sound effect and the preset sound effect includes:
extracting a first voiceprint of the preset sound effect;
extracting a second sound pattern of the first sound effect;
and judging whether the similarity between the first voiceprint and the second voiceprint is greater than a preset threshold value or not, and determining that the target sound effect is invalid when the similarity between the first voiceprint and the second voiceprint is greater than the preset threshold value.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the extracting the first voiceprint of the preset sound effect includes:
determining a section in a preset frequency range in the preset sound effect;
separating the fragments to obtain target fragments;
and smoothing the target segment to obtain a first voiceprint.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the restarting the target sound effect includes:
if the target sound effect is detected to be effective in restarting within preset time and/or preset restarting times, playing the target sound effect;
or,
and if the target sound effect is detected to be invalid in the preset time and/or the preset restarting times, prompting a user to restart the mobile terminal.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, after detecting whether a preset sound effect corresponding to the target sound effect is created in the mobile terminal, the method further includes:
and if the preset sound effect corresponding to the target sound effect is not created in the mobile terminal, reminding a user that the sound effect corresponding to the target sound effect does not exist in the mobile terminal.
A second aspect of an embodiment of the present invention provides a mobile terminal, including:
the acquisition unit is used for acquiring a target sound effect;
the detection unit is used for detecting whether a preset sound effect corresponding to the target sound effect acquired by the acquisition unit is created in the mobile terminal;
the processing unit is used for performing sound effect processing on a preset sound effect to obtain a first sound effect if the detection result of the detection unit is that the preset sound effect corresponding to the target sound effect is created in the mobile terminal;
the detection unit is further specifically configured to:
detecting whether the target sound effect is invalid or not according to the first sound effect processed by the processing unit and the preset sound effect acquired by the acquisition unit;
and the restarting unit is used for restarting the target sound effect if the detection result of the detection unit is that the target sound effect is invalid.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the processing unit includes:
the calling module is used for calling the pre-loaded plug-in manager to acquire the sound effect plug-in corresponding to the preset sound effect;
the acquisition module is used for acquiring a sound effect configuration file configured in advance by the plug-in manager and determining sound effect processing parameters corresponding to the preset sound effect according to the sound effect configuration file;
the calling module is further specifically configured to:
and calling the plug-in manager to send the preset sound effect to the sound effect plug-in, and carrying out sound effect processing on the preset sound effect by the sound effect plug-in according to the sound effect processing parameters.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the detection unit includes:
the extraction module is used for extracting a first voiceprint of the preset sound effect;
the extraction module is further specifically configured to:
extracting a second sound pattern of the first sound effect;
and the judging module is used for judging whether the similarity between the first voiceprint and the second voiceprint extracted by the extracting module is greater than a preset threshold value or not, and determining that the target sound effect is invalid when the judging result of the judging module is that the similarity between the first voiceprint and the second voiceprint is greater than the preset threshold value.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the extraction module includes:
the determining module is used for determining the segments in the preset sound effect within the preset frequency range;
the separation module is used for carrying out separation processing on the fragments to obtain target fragments;
and the processing module is used for carrying out smoothing processing on the target segment to obtain a first voiceprint.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the restart unit is specifically configured to:
if the target sound effect is detected to be effective in restarting within preset time and/or preset restarting times, playing the target sound effect;
or,
and if the target sound effect is detected to be invalid in the preset time and/or the preset restarting times, prompting a user to restart the mobile terminal.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the mobile terminal further includes:
and the reminding unit is used for reminding the user if the detection result of the detection unit is that the preset sound effect corresponding to the target sound effect is not created in the mobile terminal, and the sound effect corresponding to the target sound effect does not exist in the mobile terminal.
A third aspect of the embodiments of the present invention provides a mobile terminal, including:
a processor and a memory; wherein the processor performs any part or all of the steps as described in the first aspect and possible embodiments thereof by calling code or instructions in the memory.
The embodiment of the invention has the following beneficial effects:
it can be seen that the embodiment of the present invention can obtain a target sound effect, and detect whether a preset sound effect corresponding to the target sound effect is created in a mobile terminal, if the preset sound effect corresponding to the target sound effect is created in the mobile terminal, perform sound effect processing on the preset sound effect to obtain a first sound effect, detect whether the target sound effect is invalid according to the first sound effect and the preset sound effect, and if the target sound effect is invalid, restart the target sound effect. Therefore, the target sound effect can be restarted after the target sound effect is invalid, and the probability of sound effect invalidation is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the embodiments and the drawings used in the description will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a sound effect processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a sound processing method according to a second embodiment of the present invention;
fig. 3a is a schematic structural diagram of a first embodiment of a mobile terminal according to an embodiment of the present invention;
FIG. 3b is a schematic diagram of a processing unit of the mobile terminal depicted in FIG. 3a according to an embodiment of the present invention;
fig. 3c is a schematic structural diagram of a detection unit of the mobile terminal depicted in fig. 3a disclosed in the embodiment of the present invention;
fig. 3d is a schematic structural diagram of the first embodiment of the mobile terminal according to the embodiment of the present invention;
fig. 4 is a schematic structural diagram of a second embodiment of a mobile terminal according to the embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile phone disclosed in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a sound effect processing method and a mobile terminal, which can restart a sound effect after the sound effect is invalid, so that the probability of the sound effect invalidation is reduced.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of the invention and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The mobile terminal described in the embodiment of the present invention may include a smart Phone (such as an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palm computer, a notebook computer, a mobile internet device (MID, mobile internet Devices), or a wearable device, and the mobile terminal is merely an example, and is not exhaustive and includes but is not limited to the mobile terminal.
It should be explained that sound effects are effects made by sound for enhancing the reality or atmosphere of the scene, and noise or sound added to the soundtrack. The sound includes music and effect sounds. The sound effects may include digital sound effects, ambient sound effects, MP3 sound effects (general sound effects, professional sound effects, etc.). Thus, sound effects are artificially created or enhanced sounds that can be used to enhance sound processing of art or other content of movies, video games, music, or other media. Based on the definition of the sound effect, the preset sound effect may be: the downloaded sound effects in the network or the sound effects recorded by the user. Similarly, in the embodiment of the present invention, the target sound effect is similar to the preset sound effect.
Referring to fig. 1, fig. 1 is a flowchart illustrating a sound processing method according to a first embodiment of the present invention. The sound effect processing method described in the embodiment includes the following steps:
101. and acquiring a target sound effect.
Optionally, a plurality of sound effect options to be selected can be displayed on a display interface of the mobile terminal, and then one sound effect selected from the sound effect options is used as a target sound effect.
Optionally, before the target sound effect is acquired, at least one preset sound effect may be pre-stored in the mobile terminal.
Alternatively, the user may input the sound effect type on the display interface of the mobile terminal, wherein the sound effect type may include, but is not limited to: and after the sound effect type is input, the mobile terminal can search at least one sound effect corresponding to the music type, and a user selects one sound effect from the at least one sound effect as a target sound effect.
Optionally, the target sound effect may be multiple, that is, the user selects multiple sound effects as the target sound effect, for example, the mobile terminal may start the second target sound effect after the first target sound effect is ended, and start the third target sound effect after the second target sound effect is ended. Or, when there are multiple target sound effects, a first target sound effect is activated in a first time period, a second target sound effect is activated in a second time period, a third target sound effect is activated in a third time period, and so on, wherein there is no intersection between the first time period, the second time period, and the third time period, and so on.
102. And detecting whether a preset sound effect corresponding to the target sound effect is created in the mobile terminal.
In concrete implementation, a plurality of preset sound effects are usually pre-stored in the mobile terminal, after a target sound effect is input by a user, the mobile terminal can match the plurality of preset sound effects with the target sound effect, and if the target sound effect is successfully matched with one sound effect of the plurality of preset sound effects, the preset sound effect corresponding to the target sound effect can be established in the mobile terminal.
For example, the preset sound effect A, B, C, D is pre-stored in the mobile terminal, and then the target sound effect is a, which indicates that the preset sound effect corresponding to the target sound effect is created in the mobile terminal.
103. And if a preset sound effect corresponding to the target sound effect is established in the mobile terminal, carrying out sound effect processing on the preset sound effect to obtain a first sound effect.
In the concrete implementation, if a preset sound effect corresponding to the target sound effect is created in the mobile terminal, then the mobile terminal can perform sound effect processing on the preset sound effect, and the sound effect after processing can be called as a first sound effect.
Optionally, the sound effect processing is performed on the preset sound effect to obtain a first sound effect, and the method can be divided into the following three steps:
1) calling a pre-loaded plug-in manager to obtain a sound effect plug-in corresponding to the preset sound effect;
2) acquiring a sound effect configuration file configured in advance by the plug-in manager, and determining sound effect processing parameters corresponding to the preset sound effect according to the sound effect configuration file;
3) and calling the plug-in manager to send the preset sound effect and the sound effect processing parameter to the sound effect plug-in, and carrying out sound effect processing on the preset sound effect according to the sound effect processing parameter by the sound effect plug-in.
The plug-in manager can be used for managing sound effect plug-ins, and each sound effect plug-in can process at least one preset sound effect or can process a certain type or several types of preset sound effects. The sound effect configuration file stores sound effect processing parameters for each preset sound effect, wherein the sound effect processing parameters can include but are not limited to: audio format, sampling frequency of audio, number of channels, frame length of audio, etc. The sound effect plug-in can carry out the sound effect processing to predetermineeing the sound effect according to sound effect processing parameter.
Specifically, the mobile terminal may call the plug-in manager to acquire a sound plug-in of a preset sound corresponding to the target sound, and may select a default sound plug-in if the plug-in manager fails to acquire the sound plug-in of the preset sound corresponding to the target sound. Then, a sound effect configuration file preset and configured by the plug-in manager is obtained, a sound effect processing parameter corresponding to a preset sound effect corresponding to the target sound effect is found according to the sound effect configuration file, the preset sound effect and the sound effect processing parameter are sent to the sound effect plug-in via the plug-in manager, and the sound effect plug-in can perform sound effect processing on the preset sound effect according to the sound effect processing parameter, so that the first sound effect is obtained. If the similarity between the first sound effect and the preset sound effect reaches a certain threshold value, it indicates that the preset sound effect is not processed, and then the target sound effect is invalid. If the similarity between the first sound effect and the preset sound effect is smaller than the certain threshold value, the preset sound effect is processed.
104. And detecting whether the target sound effect is invalid or not according to the first sound effect and the preset sound effect.
In the concrete implementation, the similarity between the first sound effect and the preset sound effect can be detected, and when the similarity between the first sound effect and the preset sound effect is greater than a certain threshold value, the target sound effect is proved to be invalid, because if the similarity between the first sound effect and the preset sound effect is higher, the fact that the preset sound effect is processed by the sound effect is less is proved, or the preset sound effect is not processed at all, and under the condition, the target sound effect can be proved to be invalid.
105. And if the target sound effect is invalid, restarting the target sound effect.
In specific implementation, if the target sound effect is invalid, the mobile terminal may restart the target sound effect.
Optionally, the mobile terminal may set a preset time, prompt the user to restart the mobile terminal if the restart target sound effect fails within the preset time, play the target sound effect if the restart target sound effect is valid within the preset time, or perform other operations using the target sound effect, for example, edit the target sound effect. The preset time may include, but is not limited to: 1 minute, 5 minutes, 10 minutes, 1 hour, etc.
Optionally, the mobile terminal may set a preset restart time, prompt the user to restart the mobile terminal if the restart target sound effect fails within the preset restart time, and play the target sound effect if the restart target sound effect is valid within the preset restart time, or use the target sound effect to perform other operations, for example, edit the target sound effect. The preset time may include, but is not limited to: 1 time, 5 times, 10 times, etc.
Optionally, the mobile terminal may set a preset time and a preset restart time, prompt the user to restart the mobile terminal if the restart target sound effect fails when one of the preset time and the preset restart time arrives, play the target sound effect if the restart target sound effect is valid before both the preset time arrives and the preset restart time arrives, or use the target sound effect to perform other operations, for example, edit the target sound effect.
Alternatively, the execution process of the restart target sound effect may be as follows: and further, if the target sound effect fails within the preset time and/or preset times, prompting a user to restart the terminal, or prompting the user to reselect the target sound effect.
It can be seen that the embodiment of the present invention can obtain a target sound effect, and detect whether a preset sound effect corresponding to the target sound effect is created in a mobile terminal, if the preset sound effect corresponding to the target sound effect is created in the mobile terminal, perform sound effect processing on the preset sound effect to obtain a first sound effect, detect whether the target sound effect is invalid according to the first sound effect and the preset sound effect, and if the target sound effect is invalid, restart the target sound effect. Therefore, the target sound effect can be restarted after the target sound effect is invalid, and the probability of sound effect invalidation is reduced.
In accordance with the foregoing embodiment, please refer to fig. 2, which is a flowchart illustrating a sound processing method according to a second embodiment of the present invention. The sound effect processing method described in the embodiment includes the following steps:
201. and acquiring a target sound effect.
202. And detecting whether a preset sound effect corresponding to the target sound effect is created in the mobile terminal.
203. And if a preset sound effect corresponding to the target sound effect is established in the mobile terminal, carrying out sound effect processing on the preset sound effect to obtain a first sound effect.
204. And extracting a first voiceprint of the preset sound effect.
In concrete realization, mobile terminal can carry out the voiceprint to predetermineeing the audio and draw to, obtain predetermineeing the first voiceprint that the audio corresponds.
205. And extracting a second sound pattern of the first sound effect.
Similarly, in concrete implementation, the mobile terminal can perform voiceprint extraction on the first sound effect, so that a second voiceprint corresponding to the first sound effect is obtained.
206. And judging whether the similarity between the first voiceprint and the second voiceprint is greater than a preset threshold value.
In specific implementation, the mobile terminal may compare the first voiceprint with the second voiceprint, determine a similarity between the first voiceprint and the second voiceprint, determine whether the similarity between the first voiceprint and the second voiceprint is greater than a preset threshold, if so, indicate that the target sound effect is invalid, and if not, determine that the target sound effect is valid.
Optionally, the determining, by the mobile terminal, whether the similarity between the first voiceprint and the second voiceprint is greater than a preset threshold may include:
determining a section in a preset frequency range in the preset sound effect;
separating the fragments to obtain target fragments;
and smoothing the target segment to obtain a first voiceprint.
Specifically, the preset sound effect may be understood as a piece of audio data, and then, a segment of the sound frequency in a preset frequency range may be obtained in the preset sound effect, and the preset frequency range may be set by a user, or, by default, the preset frequency range may be determined according to the pronunciation frequency of the human voice, in general, such as: 300Hz-3400Hz, or other ranges may be provided. The segment may contain a plurality of voiceprint information, and then the above-mentioned segment may be separated to obtain a target segment, and the target segment may extract a corresponding segment from the plurality of voiceprint information, and finally, the target segment may be smoothed, and the smoothing process aims to smooth the voiceprint of the target segment, and may also remove the burr on the waveform of the voiceprint, so as to achieve the purpose of noise reduction, and finally, the obtained first voiceprint, and similarly, by using this method, the second voiceprint may also be obtained from the preset sound effect.
207. And if the similarity between the first voiceprint and the second voiceprint is greater than the preset threshold value, restarting the target sound effect.
The detailed descriptions of steps 201 to 203 and 207 may refer to steps 101 to 104 of the sound effect processing method described with reference to fig. 1.
It can be seen that the embodiment of the present invention can obtain a target sound effect, detect whether a preset sound effect corresponding to the target sound effect is created in a mobile terminal, perform sound effect processing on the preset sound effect to obtain a first sound effect if the preset sound effect corresponding to the target sound effect is created in the mobile terminal, determine whether the target sound effect is invalid through the preset sound effect and a voiceprint of the first sound effect, and restart the target sound effect if the target sound effect is invalid. Therefore, the target sound effect can be restarted after the target sound effect is invalid, and the probability of sound effect invalidation is reduced.
Please refer to fig. 3a, which is a schematic structural diagram of a mobile terminal according to a first embodiment of the present invention. The mobile terminal described in this embodiment includes: the acquiring unit 301, the detecting unit 302, the processing unit 303 and the restarting unit 304 are specifically as follows:
an acquisition unit 301 for acquiring a target sound effect;
a detecting unit 302, configured to detect whether a preset sound effect corresponding to the target sound effect acquired by the acquiring unit 301 is created in the mobile terminal;
a processing unit 303, configured to perform sound processing on a preset sound effect to obtain a first sound effect if the detection result of the detecting unit 302 is that the preset sound effect corresponding to the target sound effect is created in the mobile terminal;
the detection unit 302 is further specifically configured to:
detecting whether the target sound effect is invalid or not according to the first sound effect processed by the processing unit 303 and the preset sound effect acquired by the acquisition unit 301;
a restarting unit 304, configured to restart the target sound effect if the detection result of the detecting unit 302 is that the target sound effect is invalid.
Alternatively, as shown in fig. 3b, the processing unit 303 of the mobile terminal depicted in fig. 3a may include:
a calling module 3031, configured to call a pre-loaded plug-in manager to obtain a sound effect plug-in corresponding to the preset sound effect;
an obtaining module 3032, configured to obtain a sound effect configuration file configured in advance by the plug-in manager, and determine a sound effect processing parameter corresponding to the preset sound effect according to the sound effect configuration file;
the invoking module 3031 is further specifically configured to:
and calling the plug-in manager to send the preset sound effect to the sound effect plug-in, and carrying out sound effect processing on the preset sound effect by the sound effect plug-in according to the sound effect processing parameters.
Alternatively, as shown in fig. 3c, the detecting unit 302 of the mobile terminal depicted in fig. 3a may include:
an extracting module 3021, configured to extract a first voiceprint of the preset sound effect;
the extracting module 3021 is further specifically configured to:
extracting a second sound pattern of the first sound effect;
a judging module 3022, configured to judge whether the similarity between the first voiceprint and the second voiceprint extracted by the extracting module 3021 is greater than a preset threshold, and determine that the target sound effect is invalid when a judgment result of the judging module is that the similarity between the first voiceprint and the second voiceprint is greater than the preset threshold.
Further, the extracting module 3021 includes:
a determining module (not shown) for determining a section in a preset frequency range in the preset sound effect;
a separation module (not shown) for performing separation processing on the fragments to obtain target fragments;
and a processing module (not shown) configured to perform smoothing processing on the target segment to obtain a first voiceprint.
Optionally, the restarting unit 304 is specifically configured to:
if the target sound effect is detected to be effective in restarting within preset time and/or preset restarting times, playing the target sound effect;
or,
and if the target sound effect is detected to be invalid in the preset time and/or the preset restarting times, prompting a user to restart the mobile terminal.
Optionally, as shown in fig. 3d, the mobile terminal described in fig. 3a may further include a reminding unit 305, which is specifically as follows:
a reminding unit 305, configured to remind a user that a sound effect corresponding to the target sound effect does not exist in the mobile terminal if the detection result of the detecting unit 302 is that a preset sound effect corresponding to the target sound effect is not created in the mobile terminal.
Optionally, the restarting unit 304 is specifically configured to:
if the target sound effect is detected to be effective in restarting within preset time and/or preset restarting times, playing the target sound effect;
or,
and if the target sound effect is detected to be invalid in the preset time and/or the preset restarting times, prompting a user to restart the mobile terminal.
It can be seen that the mobile terminal described in the embodiment of the present invention can acquire a target sound effect, and detect whether a preset sound effect corresponding to the target sound effect is created in the mobile terminal, if the preset sound effect corresponding to the target sound effect is created in the mobile terminal, perform sound effect processing on the preset sound effect to obtain a first sound effect, detect whether the target sound effect is invalid according to the first sound effect and the preset sound effect, and restart the target sound effect if the target sound effect is invalid. Therefore, the target sound effect can be restarted after the target sound effect is invalid, and the probability of sound effect invalidation is reduced.
Fig. 4 is a schematic structural diagram of a mobile terminal according to a second embodiment of the present invention. The mobile terminal described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, e.g., a CPU; and a memory 4000, the input device 1000, the output device 2000, the processor 3000, and the memory 4000 and a communication interface (not shown) are connected through a bus 5000.
The input device 1000 may be a touch panel, a physical button or a mouse, a fingerprint recognition module, and the like.
The output device 2000 may be a display screen.
The memory 4000 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 4000 is used for storing a set of program codes, and the input device 1000, the output device 2000 and the processor 3000 are used for calling the program codes stored in the memory 4000 to execute the following operations:
the processor 3000 is configured to:
acquiring a target sound effect;
detecting whether a preset sound effect corresponding to the target sound effect is created in the mobile terminal;
if a preset sound effect corresponding to the target sound effect is created in the mobile terminal, performing sound effect processing on the preset sound effect to obtain a first sound effect;
detecting whether the target sound effect is invalid or not according to the first sound effect and the preset sound effect;
and if the target sound effect is invalid, restarting the target sound effect.
Optionally, the processor 3000 performs sound effect processing on the preset sound effect, including:
calling a pre-loaded plug-in manager to obtain a sound effect plug-in corresponding to the preset sound effect;
acquiring a sound effect configuration file configured in advance by the plug-in manager, and determining sound effect processing parameters corresponding to the preset sound effect according to the sound effect configuration file;
and calling the plug-in manager to send the preset sound effect to the sound effect plug-in, and carrying out sound effect processing on the preset sound effect by the sound effect plug-in according to the sound effect processing parameters.
Optionally, the processor 3000 detects whether the target sound effect is invalid according to the first sound effect and the preset sound effect, and includes:
extracting a first voiceprint of the preset sound effect;
extracting a second sound pattern of the first sound effect;
and judging whether the similarity between the first voiceprint and the second voiceprint is greater than a preset threshold value or not, and determining that the target sound effect is invalid when the similarity between the first voiceprint and the second voiceprint is greater than the preset threshold value.
Optionally, the above processor 3000 extracts the first voiceprint of the preset sound effect, including:
determining a section in a preset frequency range in the preset sound effect;
separating the fragments to obtain target fragments;
and smoothing the target segment to obtain a first voiceprint.
Optionally, the processor 3000 restarts the target sound effect, including:
if the target sound effect is detected to be effective in restarting within preset time and/or preset restarting times, playing the target sound effect;
or,
and if the target sound effect is detected to be invalid in the preset time and/or the preset restarting times, prompting a user to restart the mobile terminal.
Optionally, after detecting whether a preset sound effect corresponding to the target sound effect is created in the mobile terminal, the processor 3000 is further specifically configured to:
and if the preset sound effect corresponding to the target sound effect is not created in the mobile terminal, reminding a user that the sound effect corresponding to the target sound effect does not exist in the mobile terminal.
Fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 5, the handset includes: a Radio Frequency (RF) circuit 510, a memory 520, an input unit 530, a display unit 540, a sensor 550, an audio circuit 560, a Wireless Fidelity (WiFi) module 570, a processor 580, and a power supply 590. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 5:
RF circuit 510 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for processing downlink information of a base station after receiving the downlink information to processor 580; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 510 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 520 may be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 520. The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 530 may include a touch panel 531 and other input devices 532. The touch panel 531, also called a touch screen, can collect touch operations of a user on or near the touch panel 531 (for example, operations of the user on or near the touch panel 531 by using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 530 may include other input devices 532 in addition to the touch panel 531. In particular, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 540 may include a display panel 541, and optionally, the display panel 541 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 531 may cover the display panel 541, and when the touch panel 531 detects a touch operation on or near the touch panel 531, the touch panel is transmitted to the processor 580 to determine the type of the touch event, and then the processor 580 provides a corresponding visual output on the display panel 541 according to the type of the touch event. Although the touch panel 531 and the display panel 541 are shown as two separate components in fig. 5 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 531 and the display panel 541 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 541 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 560, speaker 561, and microphone 562 may provide an audio interface between a user and a cell phone. The audio circuit 560 may transmit the electrical signal converted from the received audio data to the speaker 561, and convert the electrical signal into a sound signal by the speaker 561 for output; on the other hand, the microphone 562 converts the collected sound signals into electrical signals, which are received by the audio circuit 560 and converted into audio data, which are then processed by the audio data output processor 580, and then passed through the RF circuit 510 to be sent to, for example, another cellular phone, or output to the memory 520 for further processing.
WiFi belongs to short distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 570, which provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 570, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 580 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory 520, thereby performing overall monitoring of the mobile phone. Alternatively, processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 580.
The handset also includes a power supply 590 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 580 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the foregoing embodiment, the method flows of the steps may be implemented based on the structure of the mobile terminal. In a specific implementation, the sound effect processing method may be implemented on a mobile phone, or the mobile phone may be used to execute the sound effect processing method on the sound effect of other devices (such as a television, a computer, and the like).
The embodiment of the invention also provides a computer storage medium, wherein the computer storage medium can store a program, and the program comprises part or all of the steps of any sound effect processing method described in the method embodiment when executed.
While the invention has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. A computer program stored/distributed on a suitable medium supplied together with or as part of other hardware, may also take other distributed forms, such as via the Internet or other wired or wireless telecommunication systems.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the invention has been described in conjunction with specific features and embodiments thereof, it will be evident that various modifications and combinations can be made thereto without departing from the spirit and scope of the invention. Accordingly, the specification and figures are merely exemplary of the invention as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the invention. It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (11)
1. A sound effect processing method is characterized by comprising the following steps:
acquiring an input sound effect type on a display interface, wherein the sound effect type comprises: after sound effect types are input, searching at least one sound effect corresponding to the music type, and selecting one sound effect from the at least one sound effect as a target sound effect;
detecting whether a preset sound effect corresponding to the target sound effect is created in the mobile terminal;
if a preset sound effect corresponding to the target sound effect is created in the mobile terminal, performing sound effect processing on the preset sound effect to obtain a first sound effect;
detecting whether the target sound effect is invalid or not according to the first sound effect and the preset sound effect;
the detection of whether the target sound effect is invalid or not according to the first sound effect and the preset sound effect comprises the following steps:
extracting a first voiceprint of the preset sound effect;
specifically, if the preset sound effect is a section of audio data, a segment of sound frequency in a preset frequency range is obtained in the preset sound effect, and if the segment contains a plurality of voiceprint information, the segment is separated to obtain a target segment, the target segment is a segment corresponding to one of the extracted voiceprint information, and the target segment is subjected to smoothing processing to remove burrs on a waveform of the voiceprint to obtain a first voiceprint;
extracting a second sound pattern of the first sound effect;
specifically, if the first sound effect is a section of audio data, a segment of sound frequency in a preset frequency range is obtained from the preset sound effect, and if the segment contains a plurality of voiceprint information, the segment is separated to obtain a target segment, the target segment is a segment corresponding to one of the extracted voiceprint information, and the target segment is subjected to smoothing processing to remove burrs on a waveform of the voiceprint to obtain a second voiceprint;
judging whether the similarity between the first voiceprint and the second voiceprint is greater than a preset threshold value or not, and determining that the target sound effect is invalid when the similarity between the first voiceprint and the second voiceprint is greater than the preset threshold value;
if the target sound effect is invalid, restarting the target sound effect;
it is right to predetermine the audio and carry out sound effect processing, obtain first audio and include: calling a plug-in manager to acquire a sound effect plug-in of a preset sound effect corresponding to a target sound effect, if the plug-in manager cannot acquire the sound effect plug-in of the preset sound effect corresponding to the target sound effect, selecting a default sound effect plug-in, acquiring a sound effect configuration file preset and configured by the plug-in manager, searching a sound effect processing parameter corresponding to the preset sound effect corresponding to the target sound effect according to the sound effect configuration file, sending the preset sound effect and the sound effect processing parameter to the sound effect plug-in through the plug-in manager, and performing sound effect processing on the preset sound effect according to the sound effect processing parameter by the sound effect plug-in so as to obtain a first sound effect; the sound effect processing parameters comprise: audio format, sampling frequency of audio, number of channels, or frame length of audio.
2. The method according to claim 1, wherein the sound-effect processing the preset sound effect comprises:
calling a pre-loaded plug-in manager to obtain a sound effect plug-in corresponding to the preset sound effect;
acquiring a sound effect configuration file configured in advance by the plug-in manager, and determining sound effect processing parameters corresponding to the preset sound effect according to the sound effect configuration file;
and calling the plug-in manager to send the preset sound effect to the sound effect plug-in, and carrying out sound effect processing on the preset sound effect by the sound effect plug-in according to the sound effect processing parameters.
3. The method according to claim 1, wherein the extracting the first voiceprint of the preset sound effect comprises:
determining a section in a preset frequency range in the preset sound effect;
separating the fragments to obtain target fragments;
and smoothing the target segment to obtain a first voiceprint.
4. The method according to any one of claims 1 or 2, wherein the restarting the target sound effect comprises:
if the target sound effect is detected to be effective in restarting within preset time and/or preset restarting times, playing the target sound effect;
or,
and if the target sound effect is detected to be invalid in the preset time and/or the preset restarting times, prompting a user to restart the mobile terminal.
5. The method according to any one of claims 1 or 2, wherein after detecting whether a preset sound effect corresponding to the target sound effect is created in the mobile terminal, the method further comprises:
and if the preset sound effect corresponding to the target sound effect is not created in the mobile terminal, reminding a user that the sound effect corresponding to the target sound effect does not exist in the mobile terminal.
6. A mobile terminal, comprising:
the acquiring unit is used for acquiring the input sound effect type on the display interface, wherein the sound effect type comprises: after sound effect types are input, searching at least one sound effect corresponding to the music type, and selecting one sound effect from the at least one sound effect as a target sound effect;
the detection unit is used for detecting whether a preset sound effect corresponding to the target sound effect acquired by the acquisition unit is created in the mobile terminal;
the processing unit is used for performing sound effect processing on a preset sound effect to obtain a first sound effect if the detection result of the detection unit is that the preset sound effect corresponding to the target sound effect is created in the mobile terminal;
the detection unit is further specifically configured to:
detecting whether the target sound effect is invalid or not according to the first sound effect processed by the processing unit and the preset sound effect acquired by the acquisition unit;
the detection unit includes:
the extraction module is used for extracting a first voiceprint of the preset sound effect; if the preset sound effect is a section of audio data, acquiring a section of sound frequency within a preset frequency range from the preset sound effect, if the section contains a plurality of voiceprint information, separating the section to obtain a target section, wherein the target section is a section corresponding to one extracted voiceprint information, and smoothing the target section to remove burrs on a waveform of the voiceprint to obtain a first voiceprint;
the extraction module is further specifically configured to:
extracting a second sound pattern of the first sound effect; if the first sound effect is a section of audio data, acquiring a section of sound frequency in a preset frequency range from the preset sound effect, if the section contains a plurality of voiceprint information, separating the section to obtain a target section, wherein the target section is a section corresponding to one extracted voiceprint information, and smoothing the target section to remove burrs on a waveform of the voiceprint to obtain a second voiceprint;
a judging module, configured to judge whether the similarity between the first voiceprint and the second voiceprint extracted by the extracting module is greater than a preset threshold, and determine that the target sound effect is invalid when the judgment result of the judging module is that the similarity between the first voiceprint and the second voiceprint is greater than the preset threshold
The restarting unit is used for restarting the target sound effect if the detection result of the detection unit is that the target sound effect is invalid;
the mobile terminal is also used for calling a plug-in manager to acquire a sound effect plug-in of a preset sound effect corresponding to a target sound effect, if the plug-in manager cannot acquire the sound effect plug-in of the preset sound effect corresponding to the target sound effect, selecting a default sound effect plug-in, acquiring a sound effect configuration file preset and configured by the plug-in manager, searching a sound effect processing parameter corresponding to the preset sound effect corresponding to the target sound effect according to the sound effect configuration file, sending the preset sound effect and the sound effect processing parameter to the sound effect plug-in through the plug-in manager, and performing sound effect processing on the preset sound effect according to the sound effect processing parameter by the sound effect plug-in so as to obtain a first sound effect; the sound effect processing parameters comprise: audio format, sampling frequency of audio, number of channels, or frame length of audio.
7. The mobile terminal of claim 6, wherein the processing unit comprises:
the calling module is used for calling the pre-loaded plug-in manager to acquire the sound effect plug-in corresponding to the preset sound effect;
the acquisition module is used for acquiring a sound effect configuration file configured in advance by the plug-in manager and determining sound effect processing parameters corresponding to the preset sound effect according to the sound effect configuration file;
the calling module is further specifically configured to:
and calling the plug-in manager to send the preset sound effect to the sound effect plug-in, and carrying out sound effect processing on the preset sound effect by the sound effect plug-in according to the sound effect processing parameters.
8. The mobile terminal of claim 6, wherein the extraction module comprises:
the determining module is used for determining the segments in the preset sound effect within the preset frequency range;
the separation module is used for carrying out separation processing on the fragments to obtain target fragments;
and the processing module is used for carrying out smoothing processing on the target segment to obtain a first voiceprint.
9. The mobile terminal according to any of claims 6 or 7, wherein the restart unit is specifically configured to:
if the target sound effect is detected to be effective in restarting within preset time and/or preset restarting times, playing the target sound effect;
or,
and if the target sound effect is detected to be invalid in the preset time and/or the preset restarting times, prompting a user to restart the mobile terminal.
10. The mobile terminal of any of claims 6 or 7, wherein the mobile terminal further comprises:
and the reminding unit is used for reminding the user if the detection result of the detection unit is that the preset sound effect corresponding to the target sound effect is not created in the mobile terminal, and the sound effect corresponding to the target sound effect does not exist in the mobile terminal.
11. A mobile terminal, comprising:
a processor and a memory; wherein the processor performs the method of any one of claims 1-5 by calling code or instructions in the memory.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610440034.1A CN106126171B (en) | 2016-06-16 | 2016-06-16 | A kind of sound effect treatment method and mobile terminal |
PCT/CN2017/088303 WO2017215615A1 (en) | 2016-06-16 | 2017-06-14 | Sound effect processing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610440034.1A CN106126171B (en) | 2016-06-16 | 2016-06-16 | A kind of sound effect treatment method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106126171A CN106126171A (en) | 2016-11-16 |
CN106126171B true CN106126171B (en) | 2018-07-06 |
Family
ID=57470218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610440034.1A Expired - Fee Related CN106126171B (en) | 2016-06-16 | 2016-06-16 | A kind of sound effect treatment method and mobile terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106126171B (en) |
WO (1) | WO2017215615A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106126171B (en) * | 2016-06-16 | 2018-07-06 | 广东欧珀移动通信有限公司 | A kind of sound effect treatment method and mobile terminal |
US11579835B2 (en) | 2016-12-29 | 2023-02-14 | Huawei Technologies Co., Ltd. | Multimedia data playing method and terminal device |
CN109473117B (en) * | 2018-12-18 | 2022-07-05 | 广州市百果园信息技术有限公司 | Audio special effect superposition method and device and terminal thereof |
CN117135532B (en) * | 2023-04-28 | 2024-06-14 | 荣耀终端有限公司 | Audio data processing method, device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1532696A (en) * | 2003-03-20 | 2004-09-29 | Recoivery when audio frequency processing object access violating the regulations | |
CN1760684A (en) * | 2004-10-12 | 2006-04-19 | 英保达股份有限公司 | Method for testing sound quantity of portable audio player |
CN103646656A (en) * | 2013-11-29 | 2014-03-19 | 腾讯科技(成都)有限公司 | Sound effect processing method, sound effect processing device, plug-in manager and sound effect plug-in |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI237793B (en) * | 2004-03-12 | 2005-08-11 | Abit Comp Corp | Method for automatically changing configured values of hardware in computer system in accordance with executing application program |
CN103037100B (en) * | 2012-12-21 | 2015-02-18 | 广东欧珀移动通信有限公司 | Method suitable for intelligently switching electrical quadrupole (EQ) sound effects of smart phones |
JP5652521B2 (en) * | 2013-08-30 | 2015-01-14 | 株式会社三洋物産 | Game machine |
CN104090766B (en) * | 2014-07-17 | 2017-08-25 | 广东欧珀移动通信有限公司 | The audio switching method and system of a kind of mobile terminal |
CN105653234B (en) * | 2016-01-05 | 2019-03-05 | 飞天诚信科技股份有限公司 | A kind of method and device automatically adjusting audio frequency parameter |
CN106126171B (en) * | 2016-06-16 | 2018-07-06 | 广东欧珀移动通信有限公司 | A kind of sound effect treatment method and mobile terminal |
-
2016
- 2016-06-16 CN CN201610440034.1A patent/CN106126171B/en not_active Expired - Fee Related
-
2017
- 2017-06-14 WO PCT/CN2017/088303 patent/WO2017215615A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1532696A (en) * | 2003-03-20 | 2004-09-29 | Recoivery when audio frequency processing object access violating the regulations | |
CN1760684A (en) * | 2004-10-12 | 2006-04-19 | 英保达股份有限公司 | Method for testing sound quantity of portable audio player |
CN103646656A (en) * | 2013-11-29 | 2014-03-19 | 腾讯科技(成都)有限公司 | Sound effect processing method, sound effect processing device, plug-in manager and sound effect plug-in |
Also Published As
Publication number | Publication date |
---|---|
WO2017215615A1 (en) | 2017-12-21 |
CN106126171A (en) | 2016-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108683798B (en) | Sound output control method and mobile terminal | |
CN106126015B (en) | A kind of application program launching control method and terminal | |
CN106203290B (en) | A kind of fingerprint image acquisition method and terminal | |
CN104383681B (en) | Method for controlling game program, device and mobile terminal | |
CN107025395B (en) | Fingerprint identification method and mobile terminal | |
CN106170034B (en) | A kind of sound effect treatment method and mobile terminal | |
CN106528545B (en) | Voice information processing method and device | |
CN106921791B (en) | Multimedia file storage and viewing method and device and mobile terminal | |
CN107870674B (en) | Program starting method and mobile terminal | |
CN106231433B (en) | A kind of methods, devices and systems playing network video | |
CN107613146B (en) | Volume adjustment method and device and mobile terminal | |
CN103716309A (en) | Security authentication method and terminal | |
CN106126171B (en) | A kind of sound effect treatment method and mobile terminal | |
CN107948729B (en) | Rich media processing method and device, storage medium and electronic equipment | |
CN107566909B (en) | Barrage-based video content searching method and user terminal | |
CN106791916B (en) | Method, device and system for recommending audio data | |
CN106973168A (en) | Speech playing method, device and computer equipment | |
CN111081283A (en) | Music playing method and device, storage medium and terminal equipment | |
CN111405043A (en) | Information processing method and device and electronic equipment | |
CN109729431B (en) | Video privacy protection method and terminal equipment | |
CN108270928B (en) | Voice recognition method and mobile terminal | |
CN107819946B (en) | A kind of method, device and mobile terminal of speech recognition | |
CN105513098B (en) | Image processing method and device | |
CN106844057B (en) | Data processing method and device and mobile terminal | |
CN107609378B (en) | fingerprint unlocking method and related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180706 |