CN109828740A - Voice frequency regulating method and device - Google Patents

Voice frequency regulating method and device Download PDF

Info

Publication number
CN109828740A
CN109828740A CN201910055018.4A CN201910055018A CN109828740A CN 109828740 A CN109828740 A CN 109828740A CN 201910055018 A CN201910055018 A CN 201910055018A CN 109828740 A CN109828740 A CN 109828740A
Authority
CN
China
Prior art keywords
audio
adjustment
volume
accompaniment
carrying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910055018.4A
Other languages
Chinese (zh)
Other versions
CN109828740B (en
Inventor
张坤桂
周浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sing Sing Technology Co Ltd
Original Assignee
Beijing Sing Sing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sing Sing Technology Co Ltd filed Critical Beijing Sing Sing Technology Co Ltd
Priority to CN201910055018.4A priority Critical patent/CN109828740B/en
Publication of CN109828740A publication Critical patent/CN109828740A/en
Application granted granted Critical
Publication of CN109828740B publication Critical patent/CN109828740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application discloses a kind of voice frequency regulating methods and device based on accompaniment voice volume ratio, by determining the adjustment information being adjusted to the volume ratio of voice audio in audio file and audio accompaniment;The voice audio and audio accompaniment are adjusted respectively according to the adjustment information, and are adjusted audio accompaniment after descendant's sound audio and adjustment;Rear audio is adjusted according to audio accompaniment after the adjustment descendant sound audio and adjustment.Reach and allowed users to carry out the volume ratio of accompaniment voice of overall importance by revaluate and controlled, even if in algorithm when audio mixing including multiple modules, the internal degree of strength to volume adjustment can be also adjusted according to the value of user setting;To reach in the case where guaranteeing the personalisation process of algorithm, the overall loudness of voice or accompaniment can be influenced in the overall situation, but the volume of final works is stable purpose.

Description

Voice frequency regulating method and device
Technical field
This application involves audio signal processing technique fields, in particular to a kind of voice frequency regulating method and device.
Background technique
With the rise of smart phone and various singing APP, user can directly by intelligent terminal carry out voice and Accompaniment is mixed, but in the prior art mostly can only be by manually adjusting the volume of voice and accompaniment;But the means is used to have There are following numerous disadvantages:
One, user's not professional training, it is difficult to judge the proper ratio of voice and accompaniment;
Two, different processing cannot be done for different periods;
Three, whole to the voice and accompaniment it can only be tuned up or be turned down, will affect overall loudness, or even will appear quick-fried The problems such as sound, and cause the works volume ultimately generated unstable or bigger than normal or less than normal;
Four, the prior art, for the volume gain being optimal, has many processing modules all can when carrying out intelligent audio mixing Voice or the volume of accompaniment are adjusted, for example, according to present period sing be that main song or refrain give different volumes Size gives different volumes according to current music situation of dubbing in background music, according to whether there is situations such as sonic boom to adjust volume Size;It therefore is dynamic in different moments accompaniment and the adjusting of voice volume, but this method is complex, general user It is difficult to assign the volume adjustment of each module as a parameter to be adjusted.
For problems present in the relevant technologies, currently no effective solution has been proposed.
Summary of the invention
The main purpose of the application is to provide what the volume of voice and accompaniment can be proportionally adjusted in one kind Voice frequency regulating method and problem, to solve at least one technical problem present in background technique.
To achieve the goals above, according to the one aspect of the application, a kind of voice frequency regulating method and device are provided.
Include: according to the voice frequency regulating method of the application
Determine the adjustment information being adjusted to the volume ratio of voice audio in audio file and audio accompaniment;
The voice audio and audio accompaniment are adjusted respectively according to the adjustment information, and are adjusted descendant Audio accompaniment after sound audio and adjustment;
Rear audio is adjusted according to audio accompaniment after the adjustment descendant sound audio and adjustment.
Further, voice frequency regulating method as the aforementioned, the determination is to voice audio and audio accompaniment in audio file The adjustment information that is adjusted of volume ratio, comprising:
Determine that audio adjusts the initial position of sliding bar;Wherein, the audio adjusts sliding bar and is used for voice in audio Audio and audio accompaniment ratio are adjusted;
Receive the slip instruction that user adjusts sliding bar to the audio;
Determine that the audio adjusts the slide displacement of sliding bar according to the slip instruction;
The slide displacement of sliding bar is adjusted according to the audio and initial position determines the adjustment information.
Further, voice frequency regulating method as the aforementioned, it is described according to the adjustment information respectively to the voice audio And audio accompaniment is adjusted, comprising:
The audio for carrying out volume increase is determined according to the adjustment information;Wherein, the audio includes: voice audio and companion Play audio;
It is determined according to the adjustment information and audio amplification is carried out to the audio for carrying out volume increase, then determine volume Increment;
The volume contracting amount to the audio for carrying out volume diminution is determined according to the volume increment;
Volume increase is carried out to the audio for carrying out volume increase according to the volume increment;And
Volume diminution is carried out to the audio for carrying out volume diminution according to the volume contracting amount.
Further, voice frequency regulating method as the aforementioned, it is described to be determined according to the adjustment information to the carry out volume The audio of increase carries out audio amplification, comprising:
Preset the waveforms amplitude threshold value for needing to carry out amplitude compression;
Determine that amplitude is more than the first of the waveforms amplitude threshold value in the audio volume control of the audio for carrying out volume increase Waveform;
The amplitude of first waveform in the audio for carrying out volume increase is compressed, and audio after being compressed;
Audio amplification is carried out to audio after the compression according to the adjustment information.
Further, voice frequency regulating method as the aforementioned,
It is described that the voice audio and audio accompaniment are adjusted respectively according to the adjustment information, and be adjusted Audio accompaniment after descendant's sound audio and adjustment, comprising:
The audio for carrying out volume increase and the audio for carrying out volume diminution are determined according to the adjustment information;Wherein, institute Stating audio includes: voice audio and audio accompaniment;
The audio for carrying out volume increase is amplified according to the adjustment information, and is adjusted descendant's sound Frequently;And the audio reduced to the volume reduces, and is adjusted rear audio accompaniment;
It is described that rear audio is adjusted according to audio accompaniment after the adjustment descendant sound audio and adjustment, comprising:
Audio accompaniment after the adjustment descendant sound audio and adjustment is merged to obtain and merges audio;
It determines the amplitude of waveform when sonic boom occurs for audio, and obtains sonic boom amplitude;
The merging audio is compressed according to the sonic boom amplitude, obtains audio after the adjustment.
To achieve the goals above, according to the another aspect of the application, a kind of audio conditioning apparatus is provided.
Include: according to the audio conditioning apparatus of the application
Adjustment information determination unit, for determining that the volume ratio to voice audio in audio file and audio accompaniment carries out The adjustment information of adjustment;
Adjustment unit, for being adjusted respectively to the voice audio and audio accompaniment according to the adjustment information, And it is adjusted audio accompaniment after descendant's sound audio and adjustment;
Audio determination unit after adjustment, for being adjusted according to audio accompaniment after the adjustment descendant sound audio and adjustment Audio after whole.
Further, audio conditioning apparatus as the aforementioned, the adjustment information determination unit include:
Initial position determining module, for determining that audio adjusts the initial position of sliding bar;Wherein, the audio, which is adjusted, slides Lever is for being adjusted voice audio in audio and audio accompaniment ratio;
Slip instruction determining module adjusts the slip instruction of sliding bar for receiving user to the audio;
Slide displacement determining module, for determining that the audio adjusts the sliding position of sliding bar according to the slip instruction It moves;
Adjustment information obtains module, and the slide displacement and initial position for adjusting sliding bar according to the audio determine The adjustment information.
Further, audio conditioning apparatus as the aforementioned, the adjustment unit include: the first adjustment subelement;Described One, which adjusts subelement, includes:
Increase audio determining module, for determining the audio for carrying out volume increase according to the adjustment information;Wherein, described Audio includes: voice audio and audio accompaniment;
Increment determining module carries out audio to the audio for carrying out volume increase for determining according to the adjustment information Then amplification determines volume increment;
Contracting amount determining module, for determining the volume contracting amount to the audio for carrying out volume diminution according to the volume increment;
Volume increases module, for carrying out volume increasing to the audio for carrying out volume increase according to the volume increment Add;And
Volume reduces module, for carrying out volume contracting to the audio for carrying out volume diminution according to the volume contracting amount It is small.
Further, audio conditioning apparatus as the aforementioned,
The first adjustment unit further include: amplitude thresholds determining module needs to carry out amplitude compression for presetting Waveforms amplitude threshold value;
The increment determining module, further includes:
First waveform determines submodule, and amplitude is more than in the audio volume control for determining the audio for carrying out volume increase The first waveform of the waveforms amplitude threshold value;
Amplitude compression submodule is pressed for the amplitude to the first waveform in the audio for carrying out volume increase Contracting, and audio after being compressed;
Amplify submodule, for carrying out audio amplification to audio after the compression according to the adjustment information.
Further, audio conditioning apparatus as the aforementioned,
The adjustment unit includes: second adjustment subelement;The second adjustment subelement includes:
Adjustment module is determined, for determining the audio and progress volume contracting that carry out volume increase according to the adjustment information Small audio;Wherein, the audio includes: voice audio and audio accompaniment;
Module is adjusted, for being amplified according to the adjustment information to the audio for carrying out volume increase, and is obtained Adjust descendant's sound audio;And the audio reduced to the volume reduces, and is adjusted rear audio accompaniment;
Audio determination unit includes: after the adjustment
Merging module merges sound for merging to obtain audio accompaniment after the adjustment descendant sound audio and adjustment Frequently;
Sonic boom amplitude determining module, the amplitude of waveform when for determining that sonic boom occurs for audio, and obtain sonic boom amplitude;
Audio compression module obtains the adjustment for compressing according to the sonic boom amplitude to the merging audio Audio afterwards.
In the embodiment of the present application, using the side of a kind of voice frequency regulating method based on accompaniment voice volume ratio and device Formula, by determining the adjustment information being adjusted to the volume ratio of voice audio in audio file and audio accompaniment;According to institute It states adjustment information to be respectively adjusted the voice audio and audio accompaniment, and is adjusted descendant's sound audio and adjustment Audio accompaniment afterwards;Rear audio is adjusted according to audio accompaniment after the adjustment descendant sound audio and adjustment.Use is reached The volume ratio that family can carry out accompaniment voice of overall importance by revaluate is controlled, even if including in algorithm when audio mixing Multiple modules can also adjust the internal degree of strength to volume adjustment according to the value of user setting;Guaranteeing to reach In the case where the personalisation process of algorithm, the overall loudness of voice or accompaniment can be influenced in the overall situation, but final works Volume is stable purpose.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present application, so that the application's is other Feature, objects and advantages become more apparent upon.The illustrative examples attached drawing and its explanation of the application is for explaining the application, not Constitute the improper restriction to the application.In the accompanying drawings:
Fig. 1 is according to a kind of method flow schematic diagram of the voice frequency regulating method of embodiment of the application;And Fig. 2 is basis A kind of functional module structure schematic diagram of the audio conditioning apparatus of embodiment of the application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein.In addition, term " includes " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
In this application, term " on ", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outside", " in ", "vertical", "horizontal", " transverse direction ", the orientation or positional relationship of the instructions such as " longitudinal direction " be orientation based on the figure or Positional relationship.These terms are not intended to limit indicated dress primarily to better describe the application and embodiment Set, element or component must have particular orientation, or constructed and operated with particular orientation.
Also, above-mentioned part term is other than it can be used to indicate that orientation or positional relationship, it is also possible to for indicating it His meaning, such as term " on " also are likely used for indicating certain relations of dependence or connection relationship in some cases.For ability For the those of ordinary skill of domain, the concrete meaning of these terms in this application can be understood as the case may be.
In addition, term " installation ", " setting ", " being equipped with ", " connection ", " connected ", " socket " shall be understood in a broad sense.For example, It may be a fixed connection, be detachably connected or monolithic construction;It can be mechanical connection, or electrical connection;It can be direct phase It even, or indirectly connected through an intermediary, or is two connections internal between device, element or component. For those of ordinary skills, the concrete meaning of above-mentioned term in this application can be understood as the case may be.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
According to one embodiment of the application, a kind of voice frequency regulating method is provided.As shown in Figure 1, this method includes such as Under step S1 to step S3:
Include: according to the voice frequency regulating method of the application
S1. the adjustment information being adjusted to the volume ratio of voice audio in audio file and audio accompaniment is determined;
Specifically, the volume ratio of the voice audio and audio accompaniment that are defaulted as in the audio file are as follows: 1: 1;And the adjustment information is same are as follows: in the case where the volume with the audio file is consistent, the voice audio And the ratio that audio accompaniment difference is shared;And the adjustment information can be by the numerical information that is manually entered or for carrying out The modes such as the adjustment module of proportion adjustment are realized;
S2. the voice audio and audio accompaniment are adjusted respectively according to the adjustment information, and are adjusted Audio accompaniment after descendant's sound audio and adjustment;
That is, carrying out whole zoom in or out to the voice audio or audio accompaniment according to the adjustment information;
S3. rear audio is adjusted according to audio accompaniment after the adjustment descendant sound audio and adjustment.
It, can be with specifically, due to be consistent the volume of audio and the volume of the audio file after adjustment The consistent adjustment descendant sound audio of volume and the adjustment of superimposed rear total volume and the audio file are exported by step S2 Audio accompaniment afterwards;Or S2 output adjustment descendant sound audio and adjustment after audio accompaniment, and unify again after being overlapped into Row adjustment;
And after the finally obtained adjustment in audio, when the voice audio amplifies, the audio accompaniment Diminution can be corresponded to, when the voice audio is reduced, the audio accompaniment can correspond to amplification.
In some embodiments, voice frequency regulating method as the aforementioned, the determination is to voice audio and companion in audio file Play the adjustment information that the volume ratio of audio is adjusted, comprising:
Determine that audio adjusts the initial position of sliding bar;Wherein, the audio adjusts sliding bar and is used for voice in audio Audio and audio accompaniment ratio are adjusted;
Preferably, the audio adjusts sliding bar and can be by a visual representation voice audio and audio accompaniment ratio The linear motion of example is that audio accompaniment ratio is maximum in one end of the straight line, and the other end is that people's sound audio ratio is maximum;It is intermediate It is then defaulted as initial voice audio and audio accompaniment ratio, indicates the voice audio of intelligent recommendation and the volume of audio accompaniment Ratio;
Receive the slip instruction that user adjusts sliding bar to the audio;
Specifically, the slip instruction is received to institute for touch screen when operation is adjusted on touch panel device It states audio and adjusts the signal that sliding bar is dragged,
Determine that the audio adjusts the slide displacement of sliding bar according to the slip instruction;
Specifically, the sliding position can be obtained by detecting the position of position and end that the slip instruction starts It moves, the slide displacement can also be obtained by detecting the sliding sliding trace of the slip instruction on the screen;
The slide displacement of sliding bar is adjusted according to the audio and initial position determines the adjustment information;
It is closed specifically, the audio can be preset and adjust corresponding between the slide displacement and adjusting ratio of sliding bar System, therefore regulating degree information and adjusting can be obtained after the slide displacement and the initial position has been determined Basic point, therefore corresponding voice audio and companion can be determined on the basis of the original voice audio and audio accompaniment ratio Play the adjustment information of audio ratio.
In some embodiments, voice frequency regulating method as the aforementioned, it is described according to the adjustment information respectively to the people Sound audio and audio accompaniment are adjusted, comprising:
The audio for carrying out volume increase is determined according to the adjustment information;Wherein, the audio includes: voice audio and companion Play audio;
Specifically, the adjustment information is intended to adjust the ratio between the voice audio and audio accompaniment, as long as therefore It is adjusted, will result in one of audio volume reduces, and necessarily will cause the increase of another audio volume;
It is determined according to the adjustment information and audio amplification is carried out to the audio for carrying out volume increase, then determine volume Increment;
Specifically, the audio is enlarged into the amplitude for amplifying the audio, phase is then calculated according to amplified amplitude The volume increment d answered;
The volume contracting amount to the audio for carrying out volume diminution is determined according to the volume increment;
Because having been acknowledged the volume increment d to the audio for carrying out volume increase, can be simply obtained described Carry out the volume contracting amount-d of the audio of volume diminution;Then it is calculated according to the volume contracting amount-d to the progress volume diminution The diminution degree of the carry out amplitude of audio;
Volume increase is carried out to the audio for carrying out volume increase according to the volume increment;And
Volume diminution is carried out to the audio for carrying out volume diminution according to the volume contracting amount.
In some embodiments, voice frequency regulating method as the aforementioned, it is described according to the adjustment information determine to it is described into The audio that row volume increases carries out audio amplification, comprising:
Preset the waveforms amplitude threshold value for needing to carry out amplitude compression;
Specifically, due to when entire audio volume control is amplified, some amplitude itself are with regard to very high waveform into one The case where will appear sonic boom after step amplification, therefore the amplitude of the waveform of sonic boom can occur by determining, and the generation is quick-fried The amplitude of the waveform of sound is as the amplitude in the case of being amplified to volume with maximum magnification ratio of audio, then according to Maximum magnification ratio obtains corresponding diminution ratio, and is carried out by amplitude of the diminution ratio to the waveform of the sonic boom It reduces, the waveforms amplitude threshold value can be obtained;
Determine that amplitude is more than the first of the waveforms amplitude threshold value in the audio volume control of the audio for carrying out volume increase Waveform;
I.e. in general, the waveform that amplitude is greater than to the waveforms amplitude threshold value is needed all to carry out reducing until being less than the waveform Amplitude thresholds;To prevent that the feelings of sonic boom occur after amplifying amplitude in the audio volume control of the audio for carrying out volume increase Condition;
The amplitude of first waveform in the audio for carrying out volume increase is compressed, and audio after being compressed;
Audio amplification is carried out to audio after the compression according to the adjustment information;
Specifically, determine corresponding magnification ratio by the adjustment information, then according to the ratio to the compression after Audio carry out audio amplification thus can obtain will not sonic boom and audio amplification effect of overall importance, do not need user to each Module is adjusted separately, and one is reduction of adjusting difficulty, secondly also ensuring the stable effect of volume.
In some embodiments, voice frequency regulating method as the aforementioned,
It is described that the voice audio and audio accompaniment are adjusted respectively according to the adjustment information, and be adjusted Audio accompaniment after descendant's sound audio and adjustment, comprising:
The audio for carrying out volume increase and the audio for carrying out volume diminution are determined according to the adjustment information;Wherein, institute Stating audio includes: voice audio and audio accompaniment;
The audio for carrying out volume increase is amplified according to the adjustment information, and is adjusted descendant's sound Frequently;And the audio reduced to the volume reduces, and is adjusted rear audio accompaniment;
It is described that rear audio is adjusted according to audio accompaniment after the adjustment descendant sound audio and adjustment, comprising:
Audio accompaniment after the adjustment descendant sound audio and adjustment is merged to obtain and merges audio;
Specifically, when audio merges, generally by the starting of audio accompaniment after adjustment descendant's sound audio and adjustment On play time is corresponding, to guarantee that the accompaniment of audio is consistent with voice corresponding relationship and the audio file after merging, then Audio accompaniment after the adjustment descendant sound audio and adjustment, which is overlapped, can be obtained the merging audio;
It determines the amplitude of waveform when sonic boom occurs for audio, and obtains sonic boom amplitude;
Specifically, preparatory typing in systems will lead to the audio volume control amplitude of sonic boom accordingly, and as the sonic boom Amplitude is stored;
The merging audio is compressed according to the sonic boom amplitude, obtains audio after the adjustment;
Specifically, sonic boom waveform will first be will appear by, which being equivalent to, pre-processes in a upper embodiment, and in the present embodiment In, then it is first uniformly to amplify, then the waveform for wherein having already appeared sonic boom is compressed again, and then can also reach To will not sonic boom and audio amplification effect of overall importance, do not need user and modules be adjusted separately, one is reduction of Difficulty is adjusted, secondly also ensuring the stable effect of volume.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not The sequence being same as herein executes shown or described step.
According to embodiments of the present invention, additionally provide it is a kind of for implementing the audio conditioning apparatus of above-mentioned voice frequency regulating method, As shown in Fig. 2, the device includes:
Adjustment information determination unit 1, for determine to the volume ratio of voice audio in audio file and audio accompaniment into The adjustment information of row adjustment;
Adjustment unit 2, for being adjusted respectively to the voice audio and audio accompaniment according to the adjustment information, And it is adjusted audio accompaniment after descendant's sound audio and adjustment;
Audio determination unit 3 after adjustment, for being obtained according to audio accompaniment after the adjustment descendant sound audio and adjustment Audio after adjustment.
Specifically, each module realizes that the detailed process of its function can be found in embodiment of the method in the device of the embodiment of the present invention In associated description, details are not described herein again.
In some embodiments, audio conditioning apparatus as the aforementioned, the adjustment information determination unit include:
Initial position determining module, for determining that audio adjusts the initial position of sliding bar;Wherein, the audio, which is adjusted, slides Lever is for being adjusted voice audio in audio and audio accompaniment ratio;
Slip instruction determining module adjusts the slip instruction of sliding bar for receiving user to the audio;
Slide displacement determining module, for determining that the audio adjusts the sliding position of sliding bar according to the slip instruction It moves;
Adjustment information obtains module, and the slide displacement and initial position for adjusting sliding bar according to the audio determine The adjustment information.
Specifically, each module realizes that the detailed process of its function can be found in embodiment of the method in the device of the embodiment of the present invention In associated description, details are not described herein again.
In some embodiments, audio conditioning apparatus as the aforementioned, the adjustment unit include: the first adjustment subelement; The first adjustment subelement includes:
Increase audio determining module, for determining the audio for carrying out volume increase according to the adjustment information;Wherein, described Audio includes: voice audio and audio accompaniment;
Increment determining module carries out audio to the audio for carrying out volume increase for determining according to the adjustment information Then amplification determines volume increment;
Contracting amount determining module, for determining the volume contracting amount to the audio for carrying out volume diminution according to the volume increment;
Volume increases module, for carrying out volume increasing to the audio for carrying out volume increase according to the volume increment Add;And
Volume reduces module, for carrying out volume contracting to the audio for carrying out volume diminution according to the volume contracting amount It is small.
Specifically, each module realizes that the detailed process of its function can be found in embodiment of the method in the device of the embodiment of the present invention In associated description, details are not described herein again.
In some embodiments, audio conditioning apparatus as the aforementioned,
The first adjustment unit further include: amplitude thresholds determining module needs to carry out amplitude compression for presetting Waveforms amplitude threshold value;
The increment determining module, further includes:
First waveform determines submodule, and amplitude is more than in the audio volume control for determining the audio for carrying out volume increase The first waveform of the waveforms amplitude threshold value;
Amplitude compression submodule is pressed for the amplitude to the first waveform in the audio for carrying out volume increase Contracting, and audio after being compressed;
Amplify submodule, for carrying out audio amplification to audio after the compression according to the adjustment information.
Specifically, each module realizes that the detailed process of its function can be found in embodiment of the method in the device of the embodiment of the present invention In associated description, details are not described herein again.
In some embodiments, audio conditioning apparatus as the aforementioned,
The adjustment unit includes: second adjustment subelement;The second adjustment subelement includes:
Adjustment module is determined, for determining the audio and progress volume contracting that carry out volume increase according to the adjustment information Small audio;Wherein, the audio includes: voice audio and audio accompaniment;
Module is adjusted, for being amplified according to the adjustment information to the audio for carrying out volume increase, and is obtained Adjust descendant's sound audio;And the audio reduced to the volume reduces, and is adjusted rear audio accompaniment;
Audio determination unit includes: after the adjustment
Merging module merges sound for merging to obtain audio accompaniment after the adjustment descendant sound audio and adjustment Frequently;
Sonic boom amplitude determining module, the amplitude of waveform when for determining that sonic boom occurs for audio, and obtain sonic boom amplitude;
Audio compression module obtains the adjustment for compressing according to the sonic boom amplitude to the merging audio Audio afterwards.
Specifically, each module realizes that the detailed process of its function can be found in embodiment of the method in the device of the embodiment of the present invention In associated description, details are not described herein again.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored Be performed by computing device in the storage device, perhaps they are fabricated to each integrated circuit modules or by they In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific Hardware and software combines.
The foregoing is merely preferred embodiment of the present application, are not intended to limit this application, for the skill of this field For art personnel, various changes and changes are possible in this application.Within the spirit and principles of this application, made any to repair Change, equivalent replacement, improvement etc., should be included within the scope of protection of this application.

Claims (10)

1. a kind of voice frequency regulating method characterized by comprising
Determine the adjustment information being adjusted to the volume ratio of voice audio in audio file and audio accompaniment;
The voice audio and audio accompaniment are adjusted respectively according to the adjustment information, and are adjusted descendant's sound Audio accompaniment after frequency and adjustment;
Rear audio is adjusted according to audio accompaniment after the adjustment descendant sound audio and adjustment.
2. voice frequency regulating method according to claim 1, which is characterized in that the determination is to voice audio in audio file And the adjustment information that the volume ratio of audio accompaniment is adjusted, comprising:
Determine that audio adjusts the initial position of sliding bar;Wherein, the audio adjusts sliding bar and is used for voice audio in audio And audio accompaniment ratio is adjusted;
Receive the slip instruction that user adjusts sliding bar to the audio;
Determine that the audio adjusts the slide displacement of sliding bar according to the slip instruction;
The slide displacement of sliding bar is adjusted according to the audio and initial position determines the adjustment information.
3. voice frequency regulating method according to claim 1, which is characterized in that it is described according to the adjustment information respectively to institute It states voice audio and audio accompaniment is adjusted, comprising:
The audio for carrying out volume increase is determined according to the adjustment information;Wherein, the audio includes: voice audio and accompaniment tone Frequently;
It is determined according to the adjustment information and audio amplification is carried out to the audio for carrying out volume increase, then determine that volume increases Amount;
The volume contracting amount to the audio for carrying out volume diminution is determined according to the volume increment;
Volume increase is carried out to the audio for carrying out volume increase according to the volume increment;And
Volume diminution is carried out to the audio for carrying out volume diminution according to the volume contracting amount.
4. voice frequency regulating method according to claim 3, which is characterized in that described to be determined according to the adjustment information to institute State the audio progress audio amplification for carrying out volume increase, comprising:
Preset the waveforms amplitude threshold value for needing to carry out amplitude compression;
Determine that amplitude is more than the first waveform of the waveforms amplitude threshold value in the audio volume control of the audio for carrying out volume increase;
The amplitude of first waveform in the audio for carrying out volume increase is compressed, and audio after being compressed;
Audio amplification is carried out to audio after the compression according to the adjustment information.
5. voice frequency regulating method according to claim 1, it is characterised in that:
It is described that the voice audio and audio accompaniment are adjusted respectively according to the adjustment information, and it is adjusted descendant Audio accompaniment after sound audio and adjustment, comprising:
The audio for carrying out volume increase and the audio for carrying out volume diminution are determined according to the adjustment information;Wherein, the sound Frequency includes: voice audio and audio accompaniment;
The audio for carrying out volume increase is amplified according to the adjustment information, and is adjusted descendant's sound audio;With And the audio reduced to the volume reduces, and is adjusted rear audio accompaniment;
It is described that rear audio is adjusted according to audio accompaniment after the adjustment descendant sound audio and adjustment, comprising:
Audio accompaniment after the adjustment descendant sound audio and adjustment is merged to obtain and merges audio;
It determines the amplitude of waveform when sonic boom occurs for audio, and obtains sonic boom amplitude;
The merging audio is compressed according to the sonic boom amplitude, obtains audio after the adjustment.
6. a kind of audio conditioning apparatus characterized by comprising
Adjustment information determination unit is adjusted the volume ratio of voice audio in audio file and audio accompaniment for determination Adjustment information;
Adjustment unit, for being adjusted respectively to the voice audio and audio accompaniment according to the adjustment information, and Audio accompaniment after to adjustment descendant's sound audio and adjustment;
Audio determination unit after adjustment, after being adjusted according to audio accompaniment after the adjustment descendant sound audio and adjustment Audio.
7. audio conditioning apparatus according to claim 6, which is characterized in that the adjustment information determination unit includes:
Initial position determining module, for determining that audio adjusts the initial position of sliding bar;Wherein, the audio adjusts sliding bar For being adjusted to voice audio in audio and audio accompaniment ratio;
Slip instruction determining module adjusts the slip instruction of sliding bar for receiving user to the audio;
Slide displacement determining module, for determining that the audio adjusts the slide displacement of sliding bar according to the slip instruction;
Adjustment information obtains module, for being adjusted described in slide displacement and the initial position determination of sliding bar according to the audio Adjustment information.
8. audio conditioning apparatus according to claim 6, which is characterized in that the adjustment unit includes: the first adjustment Unit;The first adjustment subelement includes:
Increase audio determining module, for determining the audio for carrying out volume increase according to the adjustment information;Wherein, the audio It include: voice audio and audio accompaniment;
Increment determining module, for determining that carrying out audio to the audio for carrying out volume increase puts according to the adjustment information Greatly, volume increment is then determined;
Contracting amount determining module, for determining the volume contracting amount to the audio for carrying out volume diminution according to the volume increment;
Volume increases module, for carrying out volume increase to the audio for carrying out volume increase according to the volume increment;With And
Volume reduces module, for carrying out volume diminution to the audio for carrying out volume diminution according to the volume contracting amount.
9. audio conditioning apparatus according to claim 8, it is characterised in that:
The first adjustment unit further include: amplitude thresholds determining module, for presetting the wave for needing to carry out amplitude compression Shape amplitude thresholds;
The increment determining module, further includes:
First waveform determines submodule, and amplitude is more than described in the audio volume control for determining the audio for carrying out volume increase The first waveform of waveforms amplitude threshold value;
Amplitude compression submodule is compressed for the amplitude to the first waveform in the audio for carrying out volume increase, and Audio after being compressed;
Amplify submodule, for carrying out audio amplification to audio after the compression according to the adjustment information.
10. audio conditioning apparatus according to claim 6, it is characterised in that:
The adjustment unit includes: second adjustment subelement;The second adjustment subelement includes:
Adjustment module is determined, for determining the audio of progress volume increase according to the adjustment information and carrying out volume diminution Audio;Wherein, the audio includes: voice audio and audio accompaniment;
Module is adjusted, for being amplified according to the adjustment information to the audio for carrying out volume increase, and is adjusted Descendant's sound audio;And the audio reduced to the volume reduces, and is adjusted rear audio accompaniment;
Audio determination unit includes: after the adjustment
Merging module merges audio for merging to obtain audio accompaniment after the adjustment descendant sound audio and adjustment;
Sonic boom amplitude determining module, the amplitude of waveform when for determining that sonic boom occurs for audio, and obtain sonic boom amplitude;
Audio compression module obtains sound after the adjustment for compressing according to the sonic boom amplitude to the merging audio Frequently.
CN201910055018.4A 2019-01-21 2019-01-21 Audio adjusting method and device Active CN109828740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910055018.4A CN109828740B (en) 2019-01-21 2019-01-21 Audio adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910055018.4A CN109828740B (en) 2019-01-21 2019-01-21 Audio adjusting method and device

Publications (2)

Publication Number Publication Date
CN109828740A true CN109828740A (en) 2019-05-31
CN109828740B CN109828740B (en) 2021-06-08

Family

ID=66860453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910055018.4A Active CN109828740B (en) 2019-01-21 2019-01-21 Audio adjusting method and device

Country Status (1)

Country Link
CN (1) CN109828740B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677716A (en) * 2019-08-20 2020-01-10 咪咕音乐有限公司 Audio processing method, electronic device, and storage medium
CN111182432A (en) * 2019-12-30 2020-05-19 重庆电子工程职业学院 Multi-scene self-adaptive intelligent sound amplifying system
CN112489664A (en) * 2020-11-30 2021-03-12 广州趣丸网络科技有限公司 Sound mixing method and device
WO2021068903A1 (en) * 2019-10-10 2021-04-15 腾讯音乐娱乐科技(深圳)有限公司 Method for determining volume adjustment ratio information, apparatus, device and storage medium
CN112669797A (en) * 2020-12-30 2021-04-16 北京达佳互联信息技术有限公司 Audio processing method and device, electronic equipment and storage medium
CN115240709A (en) * 2022-07-25 2022-10-25 镁佳(北京)科技有限公司 Sound field analysis method and device for audio file

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1144369A (en) * 1995-04-18 1997-03-05 德克萨斯仪器股份有限公司 Autokeying for musical accompaniment playing apparatus
CN1924992A (en) * 2006-09-12 2007-03-07 东莞市步步高视听电子有限公司 Kara Ok human voice playing method
CN103559876A (en) * 2013-11-07 2014-02-05 安徽科大讯飞信息科技股份有限公司 Sound effect processing method and sound effect processing system
CN104143325A (en) * 2014-07-18 2014-11-12 腾讯科技(深圳)有限公司 Method and system for switching accompaniment/original audio data
US20150331658A1 (en) * 2009-06-26 2015-11-19 Intel Corporation Controlling Audio Players Using Environmental Audio Analysis
CN105405448A (en) * 2014-09-16 2016-03-16 科大讯飞股份有限公司 Sound effect processing method and apparatus
CN105635916A (en) * 2015-12-28 2016-06-01 小米科技有限责任公司 Audio processing method and apparatus
CN205584350U (en) * 2016-04-29 2016-09-14 广州朗国电子科技有限公司 K song controlling means and TV set
CN107705778A (en) * 2017-08-23 2018-02-16 腾讯音乐娱乐(深圳)有限公司 Audio-frequency processing method, device, storage medium and terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1144369A (en) * 1995-04-18 1997-03-05 德克萨斯仪器股份有限公司 Autokeying for musical accompaniment playing apparatus
CN1924992A (en) * 2006-09-12 2007-03-07 东莞市步步高视听电子有限公司 Kara Ok human voice playing method
US20150331658A1 (en) * 2009-06-26 2015-11-19 Intel Corporation Controlling Audio Players Using Environmental Audio Analysis
CN103559876A (en) * 2013-11-07 2014-02-05 安徽科大讯飞信息科技股份有限公司 Sound effect processing method and sound effect processing system
CN104143325A (en) * 2014-07-18 2014-11-12 腾讯科技(深圳)有限公司 Method and system for switching accompaniment/original audio data
CN105405448A (en) * 2014-09-16 2016-03-16 科大讯飞股份有限公司 Sound effect processing method and apparatus
CN105635916A (en) * 2015-12-28 2016-06-01 小米科技有限责任公司 Audio processing method and apparatus
CN205584350U (en) * 2016-04-29 2016-09-14 广州朗国电子科技有限公司 K song controlling means and TV set
CN107705778A (en) * 2017-08-23 2018-02-16 腾讯音乐娱乐(深圳)有限公司 Audio-frequency processing method, device, storage medium and terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677716A (en) * 2019-08-20 2020-01-10 咪咕音乐有限公司 Audio processing method, electronic device, and storage medium
WO2021068903A1 (en) * 2019-10-10 2021-04-15 腾讯音乐娱乐科技(深圳)有限公司 Method for determining volume adjustment ratio information, apparatus, device and storage medium
CN111182432A (en) * 2019-12-30 2020-05-19 重庆电子工程职业学院 Multi-scene self-adaptive intelligent sound amplifying system
CN112489664A (en) * 2020-11-30 2021-03-12 广州趣丸网络科技有限公司 Sound mixing method and device
CN112669797A (en) * 2020-12-30 2021-04-16 北京达佳互联信息技术有限公司 Audio processing method and device, electronic equipment and storage medium
CN112669797B (en) * 2020-12-30 2023-11-14 北京达佳互联信息技术有限公司 Audio processing method, device, electronic equipment and storage medium
CN115240709A (en) * 2022-07-25 2022-10-25 镁佳(北京)科技有限公司 Sound field analysis method and device for audio file
CN115240709B (en) * 2022-07-25 2023-09-19 镁佳(北京)科技有限公司 Sound field analysis method and device for audio file

Also Published As

Publication number Publication date
CN109828740B (en) 2021-06-08

Similar Documents

Publication Publication Date Title
CN109828740A (en) Voice frequency regulating method and device
CN104469620B (en) A kind of sound output adjustable acoustic product on a large scale
KR100715284B1 (en) System and method for controlling audio output
CN103854298B (en) A kind of method that picture and Quick Response Code merge and terminal
CN108334193B (en) Method and device for generating motor brake signal
CN102549532A (en) Electronic apparatus using touch panel and setting value modification method of same
CN111785238B (en) Audio calibration method, device and storage medium
US20020196951A1 (en) System for automatically performing a frequency response equalization tuning on speaker of electronic device
CN103809844B (en) A kind of state prompt method and electronic equipment
CN102945010B (en) Method and device for realizing automatic switching of sound source
CN105843572A (en) Information processing method and deformable electronic device
CN105827853A (en) Method for controlling terminal loudspeaker volume output and mobile terminal
CN110677774B (en) Volume self-adaptive adjusting method and device, computer equipment and storage medium
CN102946483A (en) Method for controlling reminding mode and device
CN102903336A (en) Mobile terminal and screen highlight adjusting method thereof
CN101098528A (en) Mobile communication terminal and text-to-speech method
CN109859729A (en) Wave-shape amplitude control method and device are carried out to audio
CN114495863B (en) Screen brightness control method, device, equipment, storage medium and program product
CN105208221A (en) Method and device for automatically adjusting communication voice
CN110288438A (en) A kind of electric business platform transaction system
CN105893568A (en) Operation method and device for function bar at top of folder and electronic equipment
CN103676704A (en) Buzzer output control method and device
CN101437082B (en) Method for processing menu display and communication equipment
CN202771200U (en) Buzzer output control device
CN105374354A (en) Terminal voice control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant