CN103873003A - Gain adjustment method and device for audio signal - Google Patents
Gain adjustment method and device for audio signal Download PDFInfo
- Publication number
- CN103873003A CN103873003A CN201410109936.8A CN201410109936A CN103873003A CN 103873003 A CN103873003 A CN 103873003A CN 201410109936 A CN201410109936 A CN 201410109936A CN 103873003 A CN103873003 A CN 103873003A
- Authority
- CN
- China
- Prior art keywords
- audio file
- audio
- song
- song style
- acquiring
- 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.)
- Pending
Links
- 230000005236 sound signal Effects 0.000 title claims abstract description 72
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000008569 process Effects 0.000 abstract description 9
- 239000011435 rock Substances 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 229910001385 heavy metal Inorganic materials 0.000 description 4
- 239000000203 mixture Substances 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000002238 attenuated effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000009527 percussion Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Reverberation, Karaoke And Other Acoustics (AREA)
Abstract
The embodiment of the invention provides a gain adjustment method and device for an audio signal. The method comprises the steps that the song style of an audio file is acquired, and then equalization parameters corresponding to the song style are obtained according to the corresponding relation between the song style and the equalization parameters so that the equalization parameters can be utilized to perform gain adjustment on the audio signal of the audio file. A user does not need to participate in the whole adjustment process, operation is simple, and therefore the efficiency of the gain adjustment of the audio signal is improved.
Description
[ technical field ] A method for producing a semiconductor device
The present invention relates to audio signal processing technologies, and in particular, to a method and an apparatus for adjusting gain of an audio signal.
[ background of the invention ]
With the development of communication technology, a terminal integrates more and more functions, so that more and more corresponding Application programs are included in a system function list of the terminal, for example, an Application program installed in a computer, an Application program (APP) installed in a third-party smart phone, and the like. Some applications may involve the playing of audio signals, such as hundred degree music, QQ music, etc.
In the prior art, in the process of playing an audio signal at a client, a user may manually adjust an equalization parameter to implement gain adjustment of the audio signal. However, the operation is complicated, and the adjustment result is not necessarily the best result, requiring the user to try repeatedly, resulting in a decrease in the efficiency of gain adjustment of the audio signal.
[ summary of the invention ]
Aspects of the present invention provide a method and an apparatus for adjusting a gain of an audio signal, so as to improve the efficiency of adjusting the gain of the audio signal.
In an aspect of the present invention, a method for adjusting a gain of an audio signal is provided, including:
acquiring the song style of an audio file;
acquiring an equalization parameter corresponding to the song style according to the corresponding relation between the song style and the equalization parameter;
and performing gain adjustment on the audio signal of the audio file by using the equalization parameter.
The above-described aspect and any possible implementation manner further provide an implementation manner, where the obtaining of the song style of the audio file includes:
acquiring audio characteristic parameters of the audio file;
and acquiring the song style according to the audio characteristic parameters.
The above-described aspects and any possible implementations further provide an implementation in which the audio feature parameters include at least one of:
a tempo parameter;
a melody parameter; and
and harmonic parameters.
The above-described aspect and any possible implementation manner further provide an implementation manner, where the obtaining of the song style of the audio file includes:
sending an acquisition request to a server, wherein the acquisition request comprises identification information of the audio file;
receiving the song style sent by the server according to the identification information of the audio file; wherein,
the song style is determined by the server according to the tag information added to the audio file by an operator, or determined by the server according to the received candidate song style of the audio file.
The above-described aspect and any possible implementation manner further provide an implementation manner, where the obtaining of the song style of the audio file includes:
and acquiring the song style according to the label information of the audio file.
In another aspect of the present invention, there is provided an apparatus for adjusting a gain of an audio signal, including:
an acquisition unit for acquiring a song style of an audio file;
the acquisition unit is further used for acquiring the balance parameters corresponding to the song styles according to the corresponding relations between the song styles and the balance parameters;
and the adjusting unit is used for performing gain adjustment on the audio signal of the audio file by using the equalization parameter.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, and the obtaining unit is specifically configured to
Acquiring audio characteristic parameters of the audio file; and
and acquiring the song style according to the audio characteristic parameters.
The above-described aspect and any possible implementation manner further provide an implementation manner, where the audio feature parameters acquired by the acquisition unit include at least one of the following parameters:
a tempo parameter;
a melody parameter; and
and harmonic parameters.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, and the obtaining unit is specifically configured to
Sending an acquisition request to a server, wherein the acquisition request comprises identification information of the audio file; and
receiving the song style sent by the server according to the identification information of the audio file; wherein,
the song style is determined by the server according to the tag information added to the audio file by an operator, or determined by the server according to the received candidate song style of the audio file.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, and the obtaining unit is specifically configured to
And acquiring the song style according to the label information of the audio file.
According to the technical scheme, the song style of the audio file is obtained, and the balance parameter corresponding to the song style is obtained according to the corresponding relation between the song style and the balance parameter, so that the balance parameter can be used for carrying out gain adjustment on the audio signal of the audio file, a user does not need to participate in the whole adjustment process, the operation is simple, and the efficiency of the gain adjustment of the audio signal is improved.
In addition, by adopting the technical scheme provided by the invention, the corresponding equalization parameters are automatically determined according to the song style of the audio file, so that the adjustment result is basically the best result, the audio signals of different frequency bands can be compensated and attenuated in a ready manner without repeated adjustment, and the reliability of gain adjustment of the audio signals is improved.
In addition, by adopting the technical scheme provided by the invention, the corresponding equalization parameters can be automatically determined as long as the song style of the audio file is acquired, so that the problem of manually adjusting the equalization parameters again caused by switching of the audio file in the prior art can be avoided, and the real-time performance and the flexibility of the gain adjustment of the audio signal are improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the embodiments or the prior art descriptions will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without inventive labor.
Fig. 1 is a flowchart illustrating a method for adjusting a gain of an audio signal according to an embodiment of the invention;
fig. 2 is a schematic structural diagram of an apparatus for adjusting gain of an audio signal according to another embodiment of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the mobile terminal where the client according to the embodiment of the present invention is located may include, but is not limited to, a mobile phone, a Personal Digital Assistant (PDA), a wireless handheld device, a wireless netbook, a Personal computer, a laptop computer, an MP3 player, an MP4 player, and the like.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Fig. 1 is a flowchart illustrating a method for adjusting a gain of an audio signal according to an embodiment of the present invention, as shown in fig. 1.
101. The song style of the audio file is obtained.
The song style, namely the music style (genre), of the audio file refers to a representative unique face presented by the music composition as a whole, and relatively stable characteristics are presented through songs. Specifically, the song wind may generally include, but is not limited to, categories of Beat (percussion), Rock and Roll (Rock), SoftRock (slow Rock), Blues (Blues), Folk (ballad), Punk (Punk), Rap (Rap), Chinese wind song), World (World music), Club/Dance (Dance), Country (Country music), electronic, Heavy Metal (Heavy Metal), House (opera), and the like, and may further include other categories, which are not particularly limited by the present embodiment.
102. And acquiring the balance parameters corresponding to the song style according to the corresponding relation between the song style and the balance parameters.
The equalization parameter may include, but is not limited to, a gain value of signal strength of a specified frequency band.
103. And performing gain adjustment on the audio signal of the audio file by using the equalization parameter.
Optionally, in a possible implementation manner of this embodiment, in 103, the signal strength of the audio signal of the audio file may be specifically adjusted by using the equalization parameter.
It should be noted that the execution subject of 101 to 103 may be an equalization engine, and may be located in a local client to perform offline operation to adjust the gain of the audio signal, or may also be located in a server on a network side to perform online operation to adjust the gain of the audio signal, which is not limited in this embodiment.
It is understood that the client may be an application installed on the terminal, or may also be a web page of the browser, as long as the objective existence form of adjusting the gain of the audio signal to provide the equalization effect of the audio signal is achieved, which is not limited in this embodiment.
Therefore, by acquiring the song style of the audio file and further acquiring the equalization parameter corresponding to the song style according to the corresponding relation between the song style and the equalization parameter, the gain of the audio signal of the audio file can be adjusted by using the equalization parameter without the need of a user to participate in the whole adjusting process, the operation is simple, and the efficiency of gain adjustment of the audio signal is improved.
Optionally, in a possible implementation manner of this embodiment, in 101, the audio characteristic parameter of the audio file may be specifically obtained. Then, the song style can be obtained according to the audio characteristic parameters.
Wherein the audio characteristic parameter of the audio file may include, but is not limited to, at least one of the following parameters:
tempo parameter, i.e. beats Per Minute (Beat Per Minute, BPM);
a melody parameter; and
and harmonic parameters.
It should be noted that other parameters may be used as the audio characteristic parameter, and the invention is not limited thereto.
Optionally, in a possible implementation manner of this embodiment, in 101, an obtaining request may be specifically sent to a server, where the obtaining request includes identification information of the audio file. Then, the song style sent by the server according to the identification information of the audio file can be received.
The server may determine the song style in a plurality of ways, which is not particularly limited in this embodiment.
For example, the song genre may be determined by the server based on tag information added to the audio file by the operator. Specifically, the operator manually adds tagging information to each audio file to identify the song genre of the audio file. Thus, the server can determine the song style of the audio file according to the marking information. For the audio files, the server may specifically maintain a mapping relationship between the identification information of the audio file and the song style of the audio file, so that the server obtains the song style corresponding to the identification information of the audio file according to the received identification information of the audio file.
Alternatively, for another example, the song genre may also be determined by the server based on the received candidate song genres for the audio files. Specifically, after the client plays the audio file, the user may click a feedback function button provided by the client, and send the song style of the audio file determined by the user to the server to serve as a candidate song style. In this way, the server may analyze the received candidate song styles of the audio file fed back by many clients to determine a target song style of the audio file.
Optionally, in a possible implementation manner of this embodiment, in 101, the song style may be specifically obtained according to the tag information of the audio file. Specifically, each audio file is added with one or more pieces of tag information, and the tag information may include description information of singers, compositions, song styles, albums and the like.
For example, an ID3v1 tag and an ID3v2 tag of an Audio file in MP3 (Moving Picture Experts Group Audio Layer III) format, an APEv2 tag of an Audio file in APE format, a FLAC tag of an Audio file in FLAC (free loss Audio codec) format, an asf (advanced streaming format) tag of an Audio file in wma (windows Media Audio) format, and the like.
It should be noted that some tags do not belong to an audio file in a certain format, for example, an audio file in MP3 format may have an APEv2 tag.
It should be noted that the audio characteristic parameters of the audio file related in this embodiment may be obtained by using a related technology of speech processing such as speech recognition, which is not limited in this embodiment and is not described herein again.
The technical solution provided in this embodiment can be applied to, but is not limited to, the following scenarios:
1. when the client plays the song according to the local song list stored locally, the equalizing engine in the client acquires the song style of the song according to the label information of the next song to be played. Then, the equalization engine may obtain an equalization parameter corresponding to a song style according to the song style, and may further perform gain adjustment on the audio signal of the song using the equalization parameter. Finally, the client can play the audio signal after the equalization engine adjusts.
2. When a client requests a server to listen to a certain song on line, the server sends the song style of the song to an equalization engine in the client, the equalization engine acquires equalization parameters corresponding to the song style according to the song style, and then gain adjustment can be performed on the audio signal of the listened song by using the equalization parameters. Finally, the client can play the audio signal after the equalization engine adjusts.
3. When a client requests a server to listen to a certain song on line, the server sends the song style of the song to an equalization engine in the server, the equalization engine acquires equalization parameters corresponding to the song style according to the song style, and then gain adjustment can be performed on the audio signal of the listened song by using the equalization parameters. Then, the audio signal after the adjustment by the equalization engine is sent to the client by the server. Finally, the client can play the audio signal after the equalization engine adjusts.
In the embodiment, the song style of the audio file is acquired, and the equalization parameter corresponding to the song style is acquired according to the corresponding relation between the song style and the equalization parameter, so that the audio signal of the audio file can be subjected to gain adjustment by using the equalization parameter without a user participating in the whole adjustment process, the operation is simple, and the efficiency of the gain adjustment of the audio signal is improved.
In addition, by adopting the technical scheme provided by the invention, the corresponding equalization parameters are automatically determined according to the song style of the audio file, so that the adjustment result is basically the best result, the audio signals of different frequency bands can be compensated and attenuated in a ready manner without repeated adjustment, and the reliability of gain adjustment of the audio signals is improved.
In addition, by adopting the technical scheme provided by the invention, the corresponding equalization parameters can be automatically determined as long as the song style of the audio file is acquired, so that the problem of manually adjusting the equalization parameters again caused by switching of the audio file in the prior art can be avoided, and the real-time performance and the flexibility of the gain adjustment of the audio signal are improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
Fig. 2 is a schematic structural diagram of an apparatus for adjusting gain of an audio signal according to another embodiment of the present invention, as shown in fig. 2. The gain adjustment device of the audio signal of the present embodiment may include an acquisition unit 21 and an adjustment unit 22. The acquiring unit 21 is used for acquiring the song style of the audio file; the obtaining unit 21 is further configured to obtain an equalization parameter corresponding to a song style according to a corresponding relationship between the song style and the equalization parameter; an adjusting unit 22, configured to perform gain adjustment on the audio signal of the audio file by using the equalization parameter.
The song style, namely the music style (genre), of the audio file refers to a representative unique face presented by the music composition as a whole, and relatively stable characteristics are presented through songs. Specifically, the song wind may generally include, but is not limited to, categories of Beat (percussion), Rock and Roll (Rock), Soft Rock (slow Rock), Blues (Blues), Folk (ballad), Punk (Punk), Rap (Rap), Chinese wind song), World (World music), Club/Dance (Dance), Country (Country music), electronic, Heavy Metal (Heavy Metal), House (opera), and the like, and may further include other categories, which are not particularly limited by the present embodiment.
The equalization parameter may include, but is not limited to, a gain value of signal strength of a specified frequency band.
Optionally, in a possible implementation manner of this embodiment, the adjusting unit 22 may be specifically configured to perform gain adjustment on the signal strength of the audio signal of the audio file by using the equalization parameter.
It should be noted that the gain adjustment device for the audio signal provided in this embodiment may be an equalization engine, and may be located in a local client to perform offline operation to adjust the gain of the audio signal, or may also be located in a server on a network side to perform online operation to adjust the gain of the audio signal, which is not limited in this embodiment.
It is understood that the client may be an application installed on the terminal, or may also be a web page of the browser, as long as the objective existence form of adjusting the gain of the audio signal to provide the equalization effect of the audio signal is achieved, which is not limited in this embodiment.
Therefore, the song style of the audio file is acquired through the acquisition unit, and the balance parameter corresponding to the song style is acquired according to the corresponding relation between the song style and the balance parameter, so that the adjustment unit can perform gain adjustment on the audio signal of the audio file by using the balance parameter without a user participating in the whole adjustment process, the operation is simple, and the efficiency of gain adjustment of the audio signal is improved.
Optionally, in a possible implementation manner of this embodiment, the obtaining unit 21 may be specifically configured to obtain an audio feature parameter of the audio file; and acquiring the song style according to the audio characteristic parameters.
Wherein the audio characteristic parameter of the audio file may include, but is not limited to, at least one of the following parameters:
tempo parameter, i.e. beats Per Minute (Beat Per Minute, BPM);
a melody parameter; and
and harmonic parameters.
It should be noted that other parameters may be used as the audio characteristic parameter, and the invention is not limited thereto.
Optionally, in a possible implementation manner of this embodiment, the obtaining unit 21 may be specifically configured to send an obtaining request to a server, where the obtaining request includes identification information of the audio file; and receiving the song style sent by the server according to the identification information of the audio file.
The server may determine the song style in a plurality of ways, which is not particularly limited in this embodiment.
For example, the song genre may be determined by the server based on tag information added to the audio file by the operator. Specifically, the operator manually adds tagging information to each audio file to identify the song genre of the audio file. Thus, the server can determine the song style of the audio file according to the marking information. For the audio files, the server may specifically maintain a mapping relationship between the identification information of the audio file and the song style of the audio file, so that the server obtains the song style corresponding to the identification information of the audio file according to the received identification information of the audio file.
Alternatively, for another example, the song genre may also be determined by the server based on the received candidate song genres for the audio files. Specifically, after the client plays the audio file, the user may click a feedback function button provided by the client, and send the song style of the audio file determined by the user to the server to serve as a candidate song style. In this way, the server may analyze the received candidate song styles of the audio file fed back by many clients to determine a target song style of the audio file.
Optionally, in a possible implementation manner of this embodiment, the obtaining unit 21 may be specifically configured to obtain the song style according to the tag information of the audio file. Specifically, each audio file is added with one or more pieces of tag information, and the tag information may include description information of singers, compositions, song styles, albums and the like.
For example, an ID3v1 tag and an ID3v2 tag of an Audio file in MP3 (Moving Picture Experts Group Audio Layer III) format, an APEv2 tag of an Audio file in APE format, a FLAC tag of an Audio file in FLAC (free loss Audio codec) format, an asf (advanced streaming format) tag of an Audio file in wma (windows Media Audio) format, and the like.
It should be noted that some tags do not belong to an audio file in a certain format, for example, an audio file in MP3 format may have an APEv2 tag.
It should be noted that the audio characteristic parameters of the audio file related in this embodiment may be acquired by the acquiring unit by using a related technology of speech processing such as speech recognition, which is not limited in this embodiment and is not described herein again.
The technical solution provided in this embodiment can be applied to, but is not limited to, the following scenarios:
1. when the client plays the song according to the local song list stored locally, the equalizing engine in the client acquires the song style of the song according to the label information of the next song to be played. Then, the equalization engine may obtain an equalization parameter corresponding to a song style according to the song style, and may further perform gain adjustment on the audio signal of the song using the equalization parameter. Finally, the client can play the audio signal after the equalization engine adjusts.
2. When a client requests a server to listen to a certain song on line, the server sends the song style of the song to an equalization engine in the client, the equalization engine acquires equalization parameters corresponding to the song style according to the song style, and then gain adjustment can be performed on the audio signal of the listened song by using the equalization parameters. Finally, the client can play the audio signal after the equalization engine adjusts.
3. When a client requests a server to listen to a certain song on line, the server sends the song style of the song to an equalization engine in the server, the equalization engine acquires equalization parameters corresponding to the song style according to the song style, and then gain adjustment can be performed on the audio signal of the listened song by using the equalization parameters. Then, the audio signal after the adjustment by the equalization engine is sent to the client by the server. Finally, the client can play the audio signal after the equalization engine adjusts.
In the embodiment, the song style of the audio file is acquired through the acquisition unit, and the balance parameter corresponding to the song style is acquired according to the corresponding relation between the song style and the balance parameter, so that the adjustment unit can perform gain adjustment on the audio signal of the audio file by using the balance parameter without a user participating in the whole adjustment process, the operation is simple, and the efficiency of gain adjustment of the audio signal is improved.
In addition, by adopting the technical scheme provided by the invention, the corresponding equalization parameters are automatically determined according to the song style of the audio file, so that the adjustment result is basically the best result, the audio signals of different frequency bands can be compensated and attenuated in a ready manner without repeated adjustment, and the reliability of gain adjustment of the audio signals is improved.
In addition, by adopting the technical scheme provided by the invention, the corresponding equalization parameters can be automatically determined as long as the song style of the audio file is acquired, so that the problem of manually adjusting the equalization parameters again caused by switching of the audio file in the prior art can be avoided, and the real-time performance and the flexibility of the gain adjustment of the audio signal are improved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method of gain adjustment of an audio signal, comprising:
acquiring the song style of an audio file;
acquiring an equalization parameter corresponding to the song style according to the corresponding relation between the song style and the equalization parameter;
and performing gain adjustment on the audio signal of the audio file by using the equalization parameter.
2. The method of claim 1, wherein obtaining the song style of the audio file comprises:
acquiring audio characteristic parameters of the audio file;
and acquiring the song style according to the audio characteristic parameters.
3. The method according to claim 2, wherein the audio feature parameters comprise at least one of the following parameters:
a tempo parameter;
a melody parameter; and
and harmonic parameters.
4. The method of claim 1, wherein obtaining the song style of the audio file comprises:
sending an acquisition request to a server, wherein the acquisition request comprises identification information of the audio file;
receiving the song style sent by the server according to the identification information of the audio file; wherein,
the song style is determined by the server according to the tag information added to the audio file by an operator, or determined by the server according to the received candidate song style of the audio file.
5. The method of claim 1, wherein obtaining the song style of the audio file comprises:
and acquiring the song style according to the label information of the audio file.
6. An apparatus for gain adjustment of an audio signal, comprising:
an acquisition unit for acquiring a song style of an audio file;
the acquisition unit is further used for acquiring the balance parameters corresponding to the song styles according to the corresponding relations between the song styles and the balance parameters;
and the adjusting unit is used for performing gain adjustment on the audio signal of the audio file by using the equalization parameter.
7. Device according to claim 6, characterized in that the acquisition unit is specifically configured to
Acquiring audio characteristic parameters of the audio file; and
and acquiring the song style according to the audio characteristic parameters.
8. The apparatus according to claim 7, wherein the audio feature parameters acquired by the acquiring unit include at least one of the following parameters:
a tempo parameter;
a melody parameter; and
and harmonic parameters.
9. Device according to claim 6, characterized in that the acquisition unit is specifically configured to
Sending an acquisition request to a server, wherein the acquisition request comprises identification information of the audio file; and
receiving the song style sent by the server according to the identification information of the audio file; wherein,
the song style is determined by the server according to the tag information added to the audio file by an operator, or determined by the server according to the received candidate song style of the audio file.
10. Device according to claim 6, characterized in that the acquisition unit is specifically configured to
And acquiring the song style according to the label information of the audio file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410109936.8A CN103873003A (en) | 2014-03-21 | 2014-03-21 | Gain adjustment method and device for audio signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410109936.8A CN103873003A (en) | 2014-03-21 | 2014-03-21 | Gain adjustment method and device for audio signal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103873003A true CN103873003A (en) | 2014-06-18 |
Family
ID=50911196
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410109936.8A Pending CN103873003A (en) | 2014-03-21 | 2014-03-21 | Gain adjustment method and device for audio signal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103873003A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104851441A (en) * | 2015-05-15 | 2015-08-19 | 小米科技有限责任公司 | Method of realizing karaoke, device and home audio |
CN105007053A (en) * | 2015-06-03 | 2015-10-28 | 维融集团有限公司 | Audio play method and device |
CN105224670A (en) * | 2015-10-13 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of audio information-pushing method, server and mobile terminal |
CN105976807A (en) * | 2016-05-23 | 2016-09-28 | 努比亚技术有限公司 | Music playing device and method |
CN106020766A (en) * | 2016-05-26 | 2016-10-12 | 北京小米移动软件有限公司 | Music playing method and device |
CN109361996A (en) * | 2018-09-21 | 2019-02-19 | 广州小鹏汽车科技有限公司 | A kind of audio Automatic adjustment method, apparatus and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101060315A (en) * | 2006-04-21 | 2007-10-24 | 鸿富锦精密工业(深圳)有限公司 | Sound volume management system and method |
CN101188132A (en) * | 2006-11-15 | 2008-05-28 | 乐金电子(昆山)电脑有限公司 | Automatic setting method and device of balancer function of digital audio player |
KR100851525B1 (en) * | 2007-03-21 | 2008-08-11 | 주식회사 현대오토넷 | A method for automatic sound setting of audio system |
JP2008252589A (en) * | 2007-03-30 | 2008-10-16 | Pioneer Electronic Corp | Sound volume controller, sound volume control method, sound volume control program, and recording medium |
CN103037100A (en) * | 2012-12-21 | 2013-04-10 | 广东欧珀移动通信有限公司 | Method suitable for intelligently switching electrical quadrupole (EQ) sound effects of smart phones |
-
2014
- 2014-03-21 CN CN201410109936.8A patent/CN103873003A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101060315A (en) * | 2006-04-21 | 2007-10-24 | 鸿富锦精密工业(深圳)有限公司 | Sound volume management system and method |
CN101188132A (en) * | 2006-11-15 | 2008-05-28 | 乐金电子(昆山)电脑有限公司 | Automatic setting method and device of balancer function of digital audio player |
KR100851525B1 (en) * | 2007-03-21 | 2008-08-11 | 주식회사 현대오토넷 | A method for automatic sound setting of audio system |
JP2008252589A (en) * | 2007-03-30 | 2008-10-16 | Pioneer Electronic Corp | Sound volume controller, sound volume control method, sound volume control program, and recording medium |
CN103037100A (en) * | 2012-12-21 | 2013-04-10 | 广东欧珀移动通信有限公司 | Method suitable for intelligently switching electrical quadrupole (EQ) sound effects of smart phones |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104851441A (en) * | 2015-05-15 | 2015-08-19 | 小米科技有限责任公司 | Method of realizing karaoke, device and home audio |
CN104851441B (en) * | 2015-05-15 | 2018-03-09 | 小米科技有限责任公司 | Realize the method, apparatus and home audio of Karaoke |
CN105007053A (en) * | 2015-06-03 | 2015-10-28 | 维融集团有限公司 | Audio play method and device |
CN105224670A (en) * | 2015-10-13 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of audio information-pushing method, server and mobile terminal |
CN105976807A (en) * | 2016-05-23 | 2016-09-28 | 努比亚技术有限公司 | Music playing device and method |
CN106020766A (en) * | 2016-05-26 | 2016-10-12 | 北京小米移动软件有限公司 | Music playing method and device |
CN109361996A (en) * | 2018-09-21 | 2019-02-19 | 广州小鹏汽车科技有限公司 | A kind of audio Automatic adjustment method, apparatus and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105009118B (en) | Customized content consumption interface | |
CN103873003A (en) | Gain adjustment method and device for audio signal | |
KR101578279B1 (en) | Methods and systems for identifying content in a data stream | |
US11829680B2 (en) | System for managing transitions between media content items | |
US20170060520A1 (en) | Systems and methods for dynamically editable social media | |
US20160286264A1 (en) | Media playback method, client and system | |
US20230273766A1 (en) | Computerized systems and methods for hosting and dynamically generating and providing customized media and media experiences | |
US20140172429A1 (en) | Local recognition of content | |
CN103021401B (en) | Internet-based multi-people asynchronous chorus mixed sound synthesizing method and synthesizing system | |
US11288302B2 (en) | Temporal fraction with use of content identification | |
CA2837741A1 (en) | Methods and systems for performing comparisons of received data and providing a follow-on service based on the comparisons | |
CN106898339B (en) | Song chorusing method and terminal | |
WO2020199384A1 (en) | Audio recognition method, apparatus and device, and storage medium | |
CN110928518B (en) | Audio data processing method and device, electronic equipment and storage medium | |
CN104980773A (en) | Streaming media processing method and device, terminal and server | |
CN106713985A (en) | Method and device for recommending network video | |
CN112866770A (en) | Equipment control method and device, electronic equipment and storage medium | |
KR20160056104A (en) | Analyzing Device and Method for User's Voice Tone | |
CN103562909A (en) | Methods and systems for identifying content in data stream by client device | |
US11785276B2 (en) | Event source content and remote content synchronization | |
EP3644306B1 (en) | Methods for analyzing musical compositions, computer-based system and machine readable storage medium | |
US9223458B1 (en) | Techniques for transitioning between playback of media files | |
CN113747233B (en) | Music replacement method and device, electronic equipment and storage medium | |
CN113392233A (en) | Multimedia data detection method, device, storage medium and computer equipment | |
CN111145769A (en) | Audio processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20160315 Address after: 100027 Haidian District, Qinghe Qinghe East Road, No. 23, building two, floor 2108, No., No. 18 Applicant after: BEIJING YINZHIBANG CULTURE TECHNOLOGY Co.,Ltd. Address before: 100085 Beijing, Haidian District, No. ten on the street Baidu building, No. 10 Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd. |
|
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140618 |
|
WD01 | Invention patent application deemed withdrawn after publication |