CN102693737A - Volume adjusting method and device - Google Patents

Volume adjusting method and device Download PDF

Info

Publication number
CN102693737A
CN102693737A CN2012101897693A CN201210189769A CN102693737A CN 102693737 A CN102693737 A CN 102693737A CN 2012101897693 A CN2012101897693 A CN 2012101897693A CN 201210189769 A CN201210189769 A CN 201210189769A CN 102693737 A CN102693737 A CN 102693737A
Authority
CN
China
Prior art keywords
audio file
volume
player
gain
gain value
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
CN2012101897693A
Other languages
Chinese (zh)
Other versions
CN102693737B (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.)
Global Innovation Polymerization LLC
Tanous Co
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201210189769.3A priority Critical patent/CN102693737B/en
Publication of CN102693737A publication Critical patent/CN102693737A/en
Application granted granted Critical
Publication of CN102693737B publication Critical patent/CN102693737B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention relates to a volume adjusting method and a volume adjusting device. The method comprises the steps of: reading a current audio file; obtaining the recognition information of the audio file from the current audio file; inquiring the volume relative gain value of the audio file from a volume relative gain value record list according to the recognition information of the audio file; and adjusting the volume gain of a player according to the volume relative gain value of the audio file. The volume adjusting method and the volume adjusting device provided by the embodiment of the invention are used for automatically adjusting the volume gain of the player by inquiring the volume relative gain value of the audio file from the volume relative gain value record list.

Description

Volume adjusting method and device
Technical field
The embodiment of the invention relates to the audio signal processing technique field, relates in particular to a kind of volume adjusting method and device.
Background technology
The user is when using the player plays audio file; If comprised volume information in the audio file; The volume and the inconsistent situation of other file that then may have certain audio file, or the user has more the loud noise or the demand of small voice more to certain audio file, causes the user when hearing this audio file, need regulate the volume of player again; Regulate again when listening next audio file, comparatively loaded down with trivial details.
The way that adopts at present is, divides in the audio output part of player to add feedback circuit, makes central processing unit, and CPU (Central Processing Unit) is according to the size of the output volume amount of volume gain that automatically adjusts, thereby reaches self-regulating purpose.But after this automatic regulating volume gain, part (like the climax part of the music file) part (the prelude part of music file) little with sound loud in the same audio file can be adjusted to identical output, lost the original characteristics of audio file.Can pass through personal computer in addition, the special software on the PC (Personal Computer) is regulated the sound size of audio file, regulates consistent being copied in the player more afterwards.So need the user when the volume of finding certain audio file and other file are inconsistent, this audio file is copied among the PC from player regulates, and then be copied in the player, the operation ten minutes is loaded down with trivial details, causes inconvenience.
Summary of the invention
The purpose of the embodiment of the invention is to propose a kind of volume adjusting method and device, is intended to solve the problem of the volume gain that when displaying audio file, needs user's manual adjustments player.
For realizing above-mentioned purpose, the embodiment of the invention provides a kind of volume adjusting method, and said method comprises: read current audio file; From said current audio file, obtain the identifying information of this audio file; From volume relative gain value record table, inquire about the volume relative gain value of this audio file according to the identifying information of this audio file; Volume relative gain value according to this audio file is regulated the player volume gain.
In addition, the embodiment of the invention also provides a kind of volume adjustment device, and said device comprises: reading unit is used to read current audio file; Acquiring unit is used for obtaining from said current audio file the identifying information of this audio file; Query unit is used for according to the identifying information of this audio file volume relative gain value from this audio file of volume relative gain value record table inquiry; Regulon is used for regulating the player volume gain according to the volume relative gain value of this audio file.
Volume adjusting method and device that the embodiment of the invention proposes through the volume relative gain value of inquiry audio file from volume relative gain value record table, come to regulate automatically the volume gain of player.
Description of drawings
Fig. 1 is the process flow diagram of embodiment of the invention volume adjusting method;
Fig. 2 is one of synoptic diagram of embodiment of the invention volume adjustment device;
Fig. 3 be embodiment of the invention volume adjustment device synoptic diagram two;
Fig. 4 be embodiment of the invention volume adjustment device synoptic diagram three.
Embodiment
Through accompanying drawing and embodiment, technical scheme of the present invention is done further detailed description below.
Fig. 1 is the process flow diagram of embodiment of the invention volume adjusting method, and is as shown in Figure 1, and the concrete steps of embodiment of the invention volume adjusting method are following:
Step 101 reads current audio file;
Before the current audio file of player plays, at first to read current audio file.Audio file in the embodiment of the invention can be WAV format audio file, MP3 format audio file, WMA format audio file or other format audio file.
Step 102 is obtained the identifying information of this audio file from current audio file;
Concrete; When reading current audio file; Need from this audio file, obtain the identifying information of this audio file; The identifying information of audio file can be the sequence number of filename, artist, collection of records, temporal information, file size or this audio file of this audio file, and ID (Identity) waits other can discern the information of this audio file.Can current audio file and other audio file be distinguished through this identifying information.
The identifying information of the audio file of the embodiment of the invention can be an information in the above-mentioned information, and for example identifying information includes only the ID of this audio file; Identifying information also can be a plurality of information in the above-mentioned information, for example comprises a plurality of information such as filename, artist, collection of records, temporal information of audio file in the identifying information.
Step 103, the volume relative gain value of from volume relative gain value record table, inquiring about this audio file according to the identifying information of this audio file;
Concrete, in step 102, obtained the identifying information of this audio file, in volume relative gain value record table, inquire about the volume relative gain value of this audio file correspondence according to the identifying information of this audio file.
Need to prove, write down the identifying information of audio file and the volume relative gain value of this identifying information corresponding audio files in the volume gain value record table in the embodiment of the invention.For example, if the identifying information of audio file is the ID of audio file, then write down the I D volume relative gain value corresponding of audio file in the volume relative gain value record table with this ID.When having obtained the ID of current audio file, then in volume gain value record table, find the corresponding volume relative gain value of this ID, i.e. the volume relative gain value of current audio file through step 102.
Step 104 is regulated the volume gain of player according to the volume relative gain value of this audio file.
Concrete; After starting audio player; The user can be according to the player volume gain of at that time first audio file of environment set when listening to first audio file (being first audio file), and the player volume gain of this first audio file is gained as the player typical problem.
Need to prove; The user is when listening to first audio file; Player volume gain according at that time first audio file of environment set is specially; When the user during displaying audio file, can manually be provided with the player amount of volume gain of first audio file in relatively quiet environment, for example the amount of volume gain with player is set at 30%; When the user during displaying audio file, also can manually be provided with the player amount of volume gain of first audio file in the environment of relatively making a lot of noise, for example the amount of volume gain with player is set at 40%.
When passing through step 103; When in volume relative gain value record table, having obtained the volume relative gain value of current audio file, the volume relative gain value that multiply by current audio file with player typical problem gain can calculate the player volume gain of current audio file.Player can carry out volume to current audio file according to the player volume gain of the preceding audio file that calculates and regulate the back broadcast when playing current file.
Need to prove that the volume adjusting method of the embodiment of the invention need be created a volume relative gain value record table in advance.Volume relative gain value record table can be created when using the player plays audio file first, and the creation method of volume gain value record table is specially:
Displaying audio file first; When playing first audio file; Obtain the identifying information of first audio file; The volume relative gain value of first audio file is made as 1, the identifying information and the volume relative gain value of first audio file is stored in the volume relative gain value record table, the player volume gain of first audio file of setting of user is set to the gain of player typical problem simultaneously.
Need to prove that the volume relative gain value in the embodiment of the invention is the volume gain of non-first audio file to be compared with the volume gain of first audio file draw.
When playing second audio file, obtain the identifying information of second audio file, obtain the player volume gain of second audio file simultaneously.With the ratio of the player volume gain of second audio file and the gain of player typical problem volume relative gain value, and the identifying information of second audio file is stored in the volume relative gain value record table with this volume relative gain value as second audio file.
When playing the 3rd audio file, obtain the identifying information of the 3rd audio file, obtain the player volume gain of the 3rd audio file simultaneously.With the ratio of the player volume gain of the 3rd audio file and the gain of player typical problem volume relative gain value, and the identifying information of the 3rd audio file is stored in the volume relative gain value record table with this volume relative gain value as the 3rd audio file.
By that analogy, identifying information and the volume relative gain value with all audio files stores in the volume relative gain value record table one by one, promptly accomplished the constructive process of volume relative gain value record table.
The volume adjusting method of the embodiment of the invention only need be when first displaying audio file; Audio file is created volume relative gain value record table; In the process of follow-up play audio file; The user only need set the player volume gain of first audio file according to environment for use; Other audio file need not the user and adjusts according to the volume relative gain value corresponding in the volume relative gain value record table and the player volume gain of the Gain Automatic adjusting audio file of player typical problem.
Embodiment of the invention volume adjusting method has also proposed a kind of method of creating volume gain value record table, and its detailed process is following:
Displaying audio file first; When playing first audio file; Obtain the identifying information of first audio file; The volume gain value of first audio file is made as 1, the identifying information and the volume gain value of first audio file is stored in the volume gain value record table, the player volume gain of setting first audio file simultaneously is the gain of player typical problem.
During current when playing (non-first) audio file, obtain the identifying information of current audio file, obtain the player volume gain of current audio file simultaneously.The player volume gain of current audio file is compared with the gain of player typical problem; The volume relative gain value of setting current audio file if the gain of the player volume gain of current audio file and player typical problem is identical is 1, and the identifying information and the volume relative gain value of current audio file is stored in the volume gain value record table.
If the player volume gain of current audio file is different with the gain of player typical problem; Obtain the player volume gain of the previous audio file of current audio file, obtain the player volume gain of a back audio file of current audio file simultaneously.With the player volume gain of current audio file respectively at comparing with the player volume gain of previous audio file and the player volume gain of a back audio file: if the player volume gain of current audio file is greater than the player volume gain of previous audio file and greater than the player volume gain of a back audio file; Be stored in the volume relative gain value record table then with the ratio of the player volume gain of current audio file and the gain of player typical problem volume relative gain value, and with the identifying information and the volume relative gain value of current audio file as current audio file; If the player volume gain of current audio file is less than the player volume gain of previous audio file and less than the player volume gain of a back audio file; Be stored in the volume relative gain value record table then with the ratio of the player volume gain of current audio file and the gain of player typical problem volume relative gain value, and with the identifying information and the volume relative gain value of current audio file as current audio file; Otherwise the volume relative gain value of current audio file is made as 1, and the identifying information and the volume relative gain value of current audio file is stored in the volume relative gain value record table.
By that analogy, identifying information and the volume relative gain value with all audio files stores in the volume relative gain value record table one by one, promptly accomplished the constructive process of volume relative gain value record table.
The method of the establishment volume relative gain value record table of present embodiment can effectively be avoided in the constructive process of volume relative gain value record table; Take place thereby the player volume gain of adjusting audio file because of the change of environment for use causes thinking by mistake current audio file volume and first audio file volume condition of different, in the concrete analytic process as follows:
For example in the process of creating volume gain value record table; First audio file amount of volume gain is 30%; When playing second audio file; The user is transferred to the environment of a noise from a quiet environment, and the user is adjusted into 50% with the amount of volume gain of second audio file.This moment, the player volume gain increase of audio file was because the variation of external environment causes, but not because the volume of second audio file itself is little.
If will judge correctly that it is because the volume of audio file itself is different with first audio file that the player volume gain of audio file changes; Still cause because of the external environment variation; Then need the player volume gain of current audio file and the player volume gain of previous audio file and the player volume gain of a back audio file be made comparisons; If the player volume gain of current audio file is greater than the player volume gain of previous audio file, and greater than the player volume gain of a back audio file.With previous audio file the action that increases the player volume gain is arranged relatively when promptly playing current audio file; When playing a back audio file, have the action that reduces the player volume gain to explain that then the volume of current audio file itself is less, the ratio that this moment the player volume gain and the player typical problem of current audio file is gained is as the volume relative gain value of current audio file.If the player volume gain of current audio file greater than the player volume gain of previous audio file, still is equal to or less than the player volume gain of a back audio file.With previous audio file the action that increases the player volume gain is arranged relatively when promptly playing current audio file; But the player volume gain is not turned down when playing a back audio file; Not only or do not turn down on the contrary and further to have transferred the player volume gain big; Regulating the action of player volume gain this moment is that explain that the volume of current audio file itself is not little, then the volume relative gain value with current audio file is made as 1 because the variation of external environment causes.If the player volume gain of current audio file is less than the player volume gain of previous audio file, and less than the player volume gain of a back audio file.With previous audio file the action that reduces the player volume gain is arranged relatively when promptly playing current audio file; When playing a back audio file, have the action that increases the player volume gain to explain that then the volume of current audio file itself is bigger, the ratio that this moment the player volume gain and the player typical problem of current audio file is gained is as the volume relative gain value of current audio file.If the player volume gain of current audio file less than the player volume gain of previous audio file, still is equal to or greater than the player volume gain of a back audio file.With previous audio file the action that reduces the player volume gain is arranged relatively when promptly playing current audio file; But the player volume gain is transferred big when playing a back audio file; Not only or do not have accent further to reduce the player volume gain greatly on the contrary; Regulating the action of player volume gain this moment is that explain that the volume of current audio file itself is not little, then the volume relative gain value with current audio file is made as 1 because the variation of external environment causes.
Thereby; Adopt the method for above-mentioned establishment volume gain value record table effectively to avoid in the constructive process of volume gain value record table, adjust the amount of volume gain of audio file because of the change of environment for use and cause thinking by mistake that current audio file volume compares the vicissitudinous situation of first audio file volume and take place.
Need explanation to be; In use; The user may newly add audio file at any time in player; If the new audio file that adds of the current audio file person of being to use when in volume relative gain value record table, not inquiring current audio file, then need add the volume relative gain value of identifying information He this audio file of current audio file in volume relative gain value record table.Concrete interpolation process is following:
If current audio file is first audio file that reads; Then the volume relative gain value with this audio file is set at 1; And record in the volume relative gain value record table, the player volume gain with this audio file gains as the player typical problem simultaneously.
If current audio file is the non-audio file that first reads, then with the player volume gain of this audio file and the ratio of player typical problem gain, as the volume relative gain value of this audio file.
Or be; When said audio file is the non-audio file that first reads; With the player volume gain of current audio file respectively at comparing with the player volume gain of previous audio file and the player volume gain of a back audio file: if the player volume gain of current audio file is greater than the player volume gain of previous audio file and greater than the player volume gain of a back audio file, then with the ratio of the player volume gain of current audio file and the gain of the player typical problem volume relative gain value as current audio file; If the player volume gain of current audio file is less than the player volume gain of previous audio file and less than the player volume gain of a back audio file, then with the ratio of the player volume gain of current audio file and the gain of player typical problem volume relative gain value as current audio file; Otherwise the volume relative gain value of current audio file is made as 1.
The volume adjusting method of the embodiment of the invention only need be when first displaying audio file, and the information of audio file is recorded volume relative gain value record table.In the process of follow-up play audio file; The user only need set the player volume gain of first audio file according to environment for use; Other audio file is regulated the player volume gain of audio file automatically according to volume relative gain value corresponding in the volume relative gain value record table, need not the user and adjusts.
Above embodiment is for volume adjusting method of the present invention, and is same, can utilize volume adjustment device to realize.Fig. 2 is the synoptic diagram of embodiment of the invention volume adjustment device, and is as shown in Figure 2, and embodiment of the invention volume adjustment device specifically comprises: reading unit 21, acquiring unit 22, query unit 23, regulon 24.
Reading unit 21 is used to read current audio file; Acquiring unit 22 is used for obtaining from current audio file the identifying information of this audio file; Query unit 23 is used for inquiring about from volume relative gain value record table according to the identifying information of this audio file the volume relative gain value of this audio file; Regulon 24 is used for regulating the player volume gain according to the volume relative gain value of this audio file.
The volume adjustment device of the embodiment of the invention, before the current audio file of player plays, reading unit 21 at first will read current audio file.In reading the process of current audio file, acquiring unit 22 need obtain the identifying information of this audio file from this audio file, can current audio file and other audio file be distinguished through this identifying information that obtains.Behind the identifying information that has obtained current audio file, query unit 23 is inquired about the corresponding volume relative gain value of this audio file according to the identifying information of this audio file in volume relative gain value record table.After inquiring the corresponding volume relative gain value of this audio file, regulon 24 is regulated the volume gain of player according to the volume relative gain value of this audio file; Concrete, according to the corresponding volume relative gain of this audio file of query unit 23 inquiries the player volume gain that can draw current audio file with the player typical problem gain of setting on duty.Player can carry out volume to current audio file according to the player volume gain of the preceding audio file that calculates and regulate the back broadcast when playing current file.
Fig. 3 be embodiment of the invention volume adjustment device synoptic diagram two, as shown in Figure 3, embodiment of the invention volume adjustment device also comprises: create unit 31, be used to create said volume gain value record table.
The establishment unit 31 of the embodiment of the invention specifically is used for: when playing first audio file; Obtain the identifying information of first audio file; The volume relative gain value of first audio file is made as 1; The identifying information and the volume relative gain value of first audio file are stored in the volume relative gain value record table, and the player volume gain of first audio file of user's setting simultaneously is set to the gain of player typical problem.The establishment unit 31 of the embodiment of the invention specifically is used for: if said audio file is the non-audio file that first reads; Then with the player volume gain of this audio file and the ratio of player typical problem gain, as the volume relative gain value of this audio file.The establishment unit 311 of the embodiment of the invention also can specifically be used for: if said audio file is the non-audio file that first reads; And the player volume gain of said current audio file is simultaneously greater than the player volume gain of the back audio file of the previous audio file of said current audio file and said current audio file; Perhaps the player volume gain of said current audio file is simultaneously less than the player volume gain of the back audio file of the previous audio file of said current audio file and said current audio file; Then with the player volume gain of this audio file and the ratio of player typical problem gain, as the volume relative gain value of this audio file; Otherwise the volume relative gain value of this audio file is set at 1.
Fig. 4 be embodiment of the invention volume adjustment device synoptic diagram three; As shown in Figure 4; Embodiment of the invention volume adjustment device also comprises: adding device 41; Do not inquire said current audio file if be used for said volume relative gain value record table, then in said volume relative gain value record table, add the volume relative gain value of identifying information with this audio file of said current audio file.
Be first audio file that reads if adding device 41 specifically is used for said audio file, then the volume relative gain value with this audio file is set at 1, and the player volume gain of this audio file is gained as the player typical problem; If adding device 41 concrete said audio files are the non-audio file that first reads, then with the player volume gain of this audio file and the ratio of player typical problem gain, as the volume relative gain value of this audio file; If it is the non-audio file that first reads that adding device 41 also can specifically be used for said audio file; And the player volume gain of said current audio file is simultaneously greater than the player volume gain of the back audio file of the previous audio file of said current audio file and said current audio file; Then with the player volume gain of this audio file and the ratio of player typical problem gain, as the volume relative gain value of this audio file; If it is the non-audio file that first reads that adding device 41 also can specifically be used for said audio file; And the player volume gain of said current audio file is simultaneously less than the player volume gain of the back audio file of the previous audio file of said current audio file and said current audio file; Then with the player volume gain of this audio file and the ratio of player typical problem gain, as the volume relative gain value of this audio file.
The volume adjustment device of the embodiment of the invention can be mobile phone, palm PC, vehicle-mounted music player or other audio file player.The volume adjustment device of the embodiment of the invention; Read current audio file through reading unit; Acquiring unit obtains the identifying information of this audio file then; Query unit is inquired about the corresponding volume relative gain value of this audio file according to the identifying information of this audio file in volume relative gain value record table, the player volume gain that regulon is regulated this audio file according to the volume relative gain value of this audio file is play this audio file then.The volume adjustment device of the embodiment of the invention; Only need the user to set the player volume gain of first audio file according to environment for use; Just can regulate the player volume gain of the file of current audio frequency automatically according to the player volume gain and the information in the volume relative gain value record table of first audio file of setting, thereby reach the effect of automatic adjusting audio file broadcast sound volume.
The professional should further recognize; The unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein; Can realize with electronic hardware, computer software or the combination of the two; For the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in above-mentioned explanation.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each certain applications, but this realization should not thought and exceeds scope of the present invention.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to carry out, perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
Above-described embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain, and institute it should be understood that the above is merely embodiment of the present invention; And be not used in qualification protection scope of the present invention; All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. a volume adjusting method is characterized in that, said method comprises:
Read current audio file;
From said current audio file, obtain the identifying information of this audio file;
From volume relative gain value record table, inquire about the volume relative gain value of this audio file according to the identifying information of this audio file;
Volume relative gain value according to this audio file is regulated the player volume gain.
2. volume adjusting method according to claim 1 is characterized in that, the said audio file that reads also comprises before, creates said volume relative gain value record table.
3. volume adjusting method according to claim 2; It is characterized in that; The said volume relative gain of said establishment value record table is specially: if said audio file is first audio file that reads; Then the volume relative gain value with this audio file is set at 1, and the player volume gain of this audio file is gained as the player typical problem.
4. volume adjusting method according to claim 2; It is characterized in that; Creating said volume relative gain value record table is specially: if said audio file is the non-audio file that first reads; Then with the player volume gain of this audio file and the ratio of typical problem amount of gain, as the volume relative gain value of this audio file.
5. volume adjusting method according to claim 4; It is characterized in that; If said audio file is the non-audio file that first reads; Then with the player volume gain of this audio file and the ratio of player typical problem gain; Volume relative gain value as this audio file is specially: if said audio file is the non-audio file that first reads; And the player volume gain of said current audio file is simultaneously greater than the player volume gain of the back audio file of the previous audio file of said current audio file and said current audio file; Perhaps the player volume gain of said current audio file is simultaneously less than the player volume gain of the back audio file of the previous audio file of said current audio file and said current audio file, and the ratio that then the player volume gain of this audio file and player typical problem is gained is as the volume relative gain value of this audio file; Otherwise the volume relative gain value of this audio file is set at 1.
6. volume adjusting method according to claim 1; It is characterized in that; Also comprise after the volume relative gain value of said this audio file of inquiry:, then in said volume relative gain value record table, add the volume relative gain value of identifying information with this audio file of said current audio file if do not inquire said current audio file in the said volume relative gain value record table.
7. volume adjusting method according to claim 6; It is characterized in that; Said volume relative gain value of in said volume relative gain value record table, adding said current audio file is specially: if said audio file is first audio file that reads; Then the volume relative gain value with this audio file is set at 1, and the player volume gain of this audio file is gained as the player typical problem.
8. volume adjusting method according to claim 6; It is characterized in that; Said volume relative gain value of in said volume relative gain value record table, adding said current audio file is specially: if said audio file is the non-audio file that first reads; Then with the player volume gain of this audio file and the ratio of typical problem amount of gain, as the volume relative gain value of this audio file.
9. volume adjusting method according to claim 8; It is characterized in that; If said audio file is the non-audio file that first reads; Then with the player volume gain of this audio file and the ratio of player typical problem gain; Volume relative gain value as this audio file is specially: if said audio file is the non-audio file that first reads; And the player volume gain of said current audio file is simultaneously greater than the player volume gain of the back audio file of the previous audio file of said current audio file and said current audio file; Perhaps the player volume gain of said current audio file is simultaneously less than the player volume gain of the back audio file of the previous audio file of said current audio file and said current audio file, and the ratio that then the player volume gain of this audio file and player typical problem is gained is as the volume relative gain value of this audio file; Otherwise the volume relative gain value of this audio file is set at 1.
10. a volume adjustment device is characterized in that, said device comprises:
Reading unit is used to read current audio file;
Acquiring unit is used for obtaining from said current audio file the identifying information of this audio file;
Query unit is used for according to the identifying information of this audio file volume relative gain value from this audio file of volume relative gain value record table inquiry;
Regulon is used for regulating the player volume gain according to the volume relative gain value of this audio file.
11. volume adjustment device according to claim 10 is characterized in that, said device also comprises, creates the unit, is used to create said volume gain value record table.
12. volume adjustment device according to claim 11; It is characterized in that; Said establishment unit specifically is used for: if said audio file is first audio file that reads; Then the volume relative gain value with this audio file is set at 1, and the player volume gain of this audio file is gained as the player typical problem.
13. volume adjustment device according to claim 11; It is characterized in that; Said establishment unit specifically is used for: if said audio file is the non-audio file that first reads; Then with the player volume gain of this audio file and the ratio of player typical problem gain, as the volume relative gain value of this audio file.
14. volume adjustment device according to claim 13; It is characterized in that; Said establishment unit specifically is used for: if said audio file is the non-audio file that first reads; And the player volume gain of said current audio file is simultaneously greater than the player volume gain of the back audio file of the previous audio file of said current audio file and said current audio file; Perhaps the player volume gain of said current audio file is simultaneously less than the player volume gain of the back audio file of the previous audio file of said current audio file and said current audio file; Then with the player volume gain of this audio file and the ratio of player typical problem gain, as the volume relative gain value of this audio file; Otherwise the volume relative gain value of this audio file is set at 1.
15. volume adjustment device according to claim 10; It is characterized in that; Said device also comprises; Adding device does not inquire said current audio file if be used for said volume relative gain value record table, then in said volume relative gain value record table, adds the volume relative gain value of identifying information with this audio file of said current audio file.
16. volume adjustment device according to claim 15; It is characterized in that; Said adding device specifically is used for: if said audio file is first audio file that reads; Then the volume relative gain value with this audio file is set at 1, and the player volume gain of this audio file is gained as the player typical problem.
17. volume adjustment device according to claim 15; It is characterized in that; Said adding device specifically is used for: if said audio file is the non-audio file that first reads; Then with the player volume gain of this audio file and the ratio of player typical problem gain, as the volume relative gain value of this audio file.
18. volume adjustment device according to claim 17; It is characterized in that; Said adding device specifically is used for: if said audio file is the non-audio file that first reads; And the player volume gain of said current audio file is simultaneously greater than the player volume gain of the back audio file of the previous audio file of said current audio file and said current audio file; Perhaps the player volume gain of said current audio file is simultaneously less than the player volume gain of the back audio file of the previous audio file of said current audio file and said current audio file; Then with the player volume gain of this audio file and the ratio of player typical problem gain, as the volume relative gain value of this audio file; Otherwise the volume relative gain value of this audio file is set at 1.
CN201210189769.3A 2012-06-11 2012-06-11 Volume adjusting method and device Expired - Fee Related CN102693737B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210189769.3A CN102693737B (en) 2012-06-11 2012-06-11 Volume adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210189769.3A CN102693737B (en) 2012-06-11 2012-06-11 Volume adjusting method and device

Publications (2)

Publication Number Publication Date
CN102693737A true CN102693737A (en) 2012-09-26
CN102693737B CN102693737B (en) 2015-11-25

Family

ID=46859118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210189769.3A Expired - Fee Related CN102693737B (en) 2012-06-11 2012-06-11 Volume adjusting method and device

Country Status (1)

Country Link
CN (1) CN102693737B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103489461A (en) * 2013-09-18 2014-01-01 广东欧珀移动通信有限公司 Method, system and player for playing audio file
CN104332165A (en) * 2014-04-23 2015-02-04 广州三星通信技术研究有限公司 Method and device for balancing volume in portable terminal
CN104363510A (en) * 2014-10-29 2015-02-18 深圳市金立通信设备有限公司 Terminal
CN104394491A (en) * 2014-12-09 2015-03-04 北京奇虎科技有限公司 Intelligent headset, cloud server, volume adjustment method and volume adjustment system
CN104599690A (en) * 2014-03-25 2015-05-06 腾讯科技(北京)有限公司 Method and device for adjusting play sound of audio file
CN107483734A (en) * 2017-08-18 2017-12-15 广东欧珀移动通信有限公司 volume adjusting method, device, terminal device and storage medium
CN107506170A (en) * 2017-08-18 2017-12-22 广东欧珀移动通信有限公司 volume adjusting method, device, terminal device and storage medium
CN107506169A (en) * 2017-08-18 2017-12-22 广东欧珀移动通信有限公司 volume adjusting method, device, terminal device and storage medium
WO2018058331A1 (en) * 2016-09-27 2018-04-05 北京小米移动软件有限公司 Method and apparatus for controlling volume
CN107994879A (en) * 2017-12-04 2018-05-04 北京小米移动软件有限公司 Volume control method and device
CN108988811A (en) * 2018-08-20 2018-12-11 四川长虹电器股份有限公司 The input gain control method of analogue audio frequency
WO2022213712A1 (en) * 2021-04-06 2022-10-13 Oppo广东移动通信有限公司 Volume synchronization method and apparatus, and electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030123680A1 (en) * 2002-01-03 2003-07-03 Samsung Electronics Co., Ltd. Volume control system and method of volume control for portable computer
CN1885285A (en) * 2005-06-24 2006-12-27 鸿富锦精密工业(深圳)有限公司 Play list generation system and method
CN1964187A (en) * 2005-11-11 2007-05-16 鸿富锦精密工业(深圳)有限公司 A system and method to manage sound volume
CN101174818A (en) * 2007-11-21 2008-05-07 广东威创视讯科技股份有限公司 Method and device for playing media file

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030123680A1 (en) * 2002-01-03 2003-07-03 Samsung Electronics Co., Ltd. Volume control system and method of volume control for portable computer
CN1885285A (en) * 2005-06-24 2006-12-27 鸿富锦精密工业(深圳)有限公司 Play list generation system and method
CN1964187A (en) * 2005-11-11 2007-05-16 鸿富锦精密工业(深圳)有限公司 A system and method to manage sound volume
CN101174818A (en) * 2007-11-21 2008-05-07 广东威创视讯科技股份有限公司 Method and device for playing media file

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103489461A (en) * 2013-09-18 2014-01-01 广东欧珀移动通信有限公司 Method, system and player for playing audio file
CN103489461B (en) * 2013-09-18 2016-03-16 广东欧珀移动通信有限公司 Audio file play method and system, player
CN104599690A (en) * 2014-03-25 2015-05-06 腾讯科技(北京)有限公司 Method and device for adjusting play sound of audio file
CN104599690B (en) * 2014-03-25 2017-07-07 腾讯科技(北京)有限公司 It is a kind of to adjust the method and apparatus that audio file plays sound
CN104332165A (en) * 2014-04-23 2015-02-04 广州三星通信技术研究有限公司 Method and device for balancing volume in portable terminal
CN104363510A (en) * 2014-10-29 2015-02-18 深圳市金立通信设备有限公司 Terminal
CN104394491A (en) * 2014-12-09 2015-03-04 北京奇虎科技有限公司 Intelligent headset, cloud server, volume adjustment method and volume adjustment system
CN108140400A (en) * 2016-09-27 2018-06-08 北京小米移动软件有限公司 Control the method and device of volume
WO2018058331A1 (en) * 2016-09-27 2018-04-05 北京小米移动软件有限公司 Method and apparatus for controlling volume
CN107506170A (en) * 2017-08-18 2017-12-22 广东欧珀移动通信有限公司 volume adjusting method, device, terminal device and storage medium
CN107506169A (en) * 2017-08-18 2017-12-22 广东欧珀移动通信有限公司 volume adjusting method, device, terminal device and storage medium
CN107483734A (en) * 2017-08-18 2017-12-15 广东欧珀移动通信有限公司 volume adjusting method, device, terminal device and storage medium
CN107994879A (en) * 2017-12-04 2018-05-04 北京小米移动软件有限公司 Volume control method and device
CN107994879B (en) * 2017-12-04 2022-07-08 北京小米移动软件有限公司 Loudness control method and device
CN108988811A (en) * 2018-08-20 2018-12-11 四川长虹电器股份有限公司 The input gain control method of analogue audio frequency
WO2022213712A1 (en) * 2021-04-06 2022-10-13 Oppo广东移动通信有限公司 Volume synchronization method and apparatus, and electronic device and storage medium

Also Published As

Publication number Publication date
CN102693737B (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN102693737A (en) Volume adjusting method and device
US10313791B2 (en) System and method for digital signal processing
CN104883642B (en) A kind of effect adjusting method
US10069471B2 (en) System and method for digital signal processing
US8019094B2 (en) Audio processing system with function of automatic gain control and method thereof
EP2136362B1 (en) Audio signal processing device and audio signal processing method
US20210152937A1 (en) System and method for digital signal processing
US9991861B2 (en) System and method for controlled dynamics adaptation for musical content
CN103927146A (en) Sound effect self-adapting method and device
NO20160775A1 (en) System and Method for digital signal processing
AU2014340178A1 (en) System and method for digital signal processing
JP2010537233A (en) Compressed digital TV audio processing
US20060294091A1 (en) System and method for generating a play-list
US20060294132A1 (en) System and method for generating a play-list
US9166547B2 (en) Electronic device and method for adjusting volume levels of audio signal outputted by the electronic device
CN107682802B (en) Method and device for debugging sound effect of audio equipment
US10998992B2 (en) Method and device for improvement of the sound quality of an audio file
CN102592626B (en) The intelligent management of audio file broadcast sound volume and system
KR100999647B1 (en) System and method for automatically controlling volume
CN102045619A (en) Recording apparatus, recording method, audio signal correction circuit, and program
JP2009077378A (en) Audio-signal processing apparatus and method
EP3026932A1 (en) Electronic device and method for analyzing and playing sound signal
US20090192636A1 (en) Media Modeling
CN104332165A (en) Method and device for balancing volume in portable terminal
EP2838196B1 (en) System and method for controlled dynamics adaptation for musical content

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180211

Address after: California, USA

Patentee after: Tanous Co.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: HUAWEI DEVICE Co.,Ltd.

Effective date of registration: 20180211

Address after: California, USA

Patentee after: Global innovation polymerization LLC

Address before: California, USA

Patentee before: Tanous Co.

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: 20151125