WO2015058651A1 - 音频文件均衡器参数配置的方法和装置 - Google Patents

音频文件均衡器参数配置的方法和装置 Download PDF

Info

Publication number
WO2015058651A1
WO2015058651A1 PCT/CN2014/088754 CN2014088754W WO2015058651A1 WO 2015058651 A1 WO2015058651 A1 WO 2015058651A1 CN 2014088754 W CN2014088754 W CN 2014088754W WO 2015058651 A1 WO2015058651 A1 WO 2015058651A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio file
reference audio
category
target
target audio
Prior art date
Application number
PCT/CN2014/088754
Other languages
English (en)
French (fr)
Inventor
赵伟峰
刘一兰
李深远
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2015058651A1 publication Critical patent/WO2015058651A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G5/00Tone control or bandwidth control in amplifiers
    • H03G5/02Manually-operated control
    • H03G5/025Equalizers; Volume or gain control in limited frequency bands
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/635Filtering based on additional data, e.g. user or group profiles
    • G06F16/637Administration of user profiles, e.g. generation, initialization, adaptation or distribution
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G5/00Tone control or bandwidth control in amplifiers
    • H03G5/16Automatic control
    • H03G5/165Equalizers; Volume or gain control in limited frequency bands

Definitions

  • the present invention relates to the field of media playback technologies, and in particular, to a method and apparatus for parameter configuration of an audio file equalizer.
  • Equalizer is an important part of the audio player. Appropriate parameter configuration of the equalizer according to the current audio file will make the audio file play well.
  • the audio file is a song file
  • a genre label is added to each song file to configure an equalizer parameter for the audio player according to the genre label corresponding to the song file, for example, , blues, electronic and other genre labels, but for a large number of song files, since it is impossible to attach a genre label to each song file, most song files are uniformly added as a "popular" genre logo, thereby making The configuration of the equalizer parameters cannot be adaptively configured for different song files, lacking flexibility.
  • a method for configuring an audio file equalizer parameter includes the following steps:
  • equalizer parameters preset for the target audio file the equalizer parameters being obtained according to a category corresponding to the target audio file, the category being clustered in a reference audio file set associated with the target audio file Obtained from the reference audio file;
  • a method for configuring an audio file equalizer parameter is applied to an audio file library, and the method comprises the following steps:
  • An apparatus for configuring audio file equalizer parameters comprising:
  • a parameter obtaining module configured to acquire an equalizer parameter preset for a target audio file, where the equalizer parameter is obtained according to a category corresponding to the target audio file, where the category is a reference associated with the target audio file Clustered media files in the audio file collection;
  • a parameter setting module configured to play the target audio file according to the obtained equalizer parameter setting
  • An apparatus for configuring audio file equalizer parameters, running in an audio file library comprising:
  • a searching module configured to obtain a reference audio file associated with the target audio file, to form a reference audio file set
  • a clustering module configured to cluster the reference audio file according to a category corresponding to the reference audio file in the reference audio file set, and set a category with the highest concentration among the reference audio file sets as a target audio The category corresponding to the file;
  • a storage medium comprising computer executable instructions, when executed by a computer processor, for performing a method of applying audio file equalizer parameter configuration in an audio file library, the method comprising:
  • an equalizer parameter preset for the target audio file in the method, device, and storage medium for configuring the audio file equalizer parameter wherein the equalizer parameter is obtained according to a category corresponding to the target audio file, and the category is Obtained from the clustered media files in the reference audio file set associated with the target audio file, and then configured according to the acquired equalizer parameters, since each target audio file can be associated without corresponding categories
  • the reference audio file set is clustered to obtain corresponding categories, and the corresponding equalizer parameters are obtained. Therefore, the equalizer parameters are adaptively configured for different target audio files, and the flexibility is high, and the intelligence of the equalizer parameters is realized. Configuration.
  • FIG. 1 is a flowchart of a method for parameter configuration of an audio file equalizer according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for parameter configuration of an audio file equalizer according to another embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for finding a reference audio file associated with a target audio file in FIG. 2 to form a reference audio file set according to the present invention
  • FIG. 4 is a clustering reference audio file according to a category corresponding to a reference audio file in the reference audio file set in FIG. 2, and setting a category with the highest degree of concentration in the reference audio file set as a category corresponding to the target audio file.
  • FIG. 5 is a flowchart of a method for configuring audio file equalizer parameters in an audio file library according to an embodiment of the present invention
  • FIG. 6 is a diagram showing the reference audio associated with the target audio file in FIG. 5 according to the present invention.
  • File method flow diagram for forming a reference audio file set
  • FIG. 7 is a clustering reference audio file according to a category corresponding to a reference audio file in the reference audio file set provided in FIG. 5, and setting a category with the highest degree of concentration in the reference audio file set as a category corresponding to the target audio file.
  • FIG. 8 is a flowchart of a method for configuring audio file equalizer parameters in an audio file library according to another embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of an apparatus for configuring audio file equalizer parameters according to another embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a lookup module of FIG. 10 according to the present invention.
  • FIG. 12 is a schematic structural diagram of a clustering module of FIG. 10 according to the present invention.
  • FIG. 13 is a schematic structural diagram of an apparatus for configuring an equalizer parameter in an audio file library according to an embodiment of the present invention
  • FIG. 14 is a schematic structural diagram of a lookup module of FIG. 13 according to the present invention.
  • FIG. 15 is a schematic structural diagram of a clustering module of FIG. 13 according to the present invention.
  • 16 is a schematic structural diagram of an apparatus for configuring an equalizer parameter in an audio file library according to another embodiment of the present invention.
  • FIG. 17 is a schematic structural diagram of a terminal provided by the present invention.
  • an audio file equalizer parameter configuration method package Including the following steps:
  • Step S110 acquiring an equalizer parameter preset for the target audio file.
  • the target audio file is any audio file that needs to be configured for the equalizer parameters.
  • the equalizer parameters are obtained according to categories corresponding to the target audio file, the categories being obtained by clustering reference audio files in the reference audio file set associated with the target audio file.
  • the target audio file may be an audio file to be played in the audio player, wherein the audio player runs in various terminal devices; the target audio file corresponds to the acquired equalizer parameter, the equalizer parameter It will be the equalizer parameter configured by the target audio file, that is, in the audio file library, the audio file with the equalizer parameter configured is stored in association with the equalizer parameter, or the audio file is stored in association with the category. And each category will be stored in association with a certain equalizer parameter, so the corresponding equalizer parameters corresponding to the target audio file can be obtained.
  • the reference audio file set associated with the target audio file will contain a plurality of reference audio files that are associated with the target audio file in a certain feature.
  • the target audio file will be associated with certain features.
  • each reference audio file in the reference audio file set has a corresponding category, and therefore, the category of the target audio file is the associated reference audio file set. Most of the reference audio files correspond to the category.
  • Step S130 setting an equalizer parameter used when playing the target audio file according to the acquired equalizer parameter.
  • the equalizer parameter is set to the audio player according to the obtained equalizer parameter, so that the equalizer parameter in the audio player matches the acquired equalizer parameter, and then the target audio file is played,
  • the equalizer parameters used in the playback process of the target audio file are adapted to the target audio file, thereby achieving a better playback effect.
  • the above audio file equalizer parameter configuration method will be run in the audio player to realize intelligent configuration of the equalizer parameters in the audio player, and automatically match certain equalizer parameters for each current target audio file, without the user Manually setting the target audio files one by one, which greatly facilitates the user, and can configure the target audio file even if the user does not have a deep music foundation. Equalizer parameters.
  • the method further includes the following steps:
  • Step S210 Find a reference audio file associated with the target audio file to form a reference audio file set.
  • a large number of audio files are stored in the audio file library that interacts with the audio player, and the audio player is provided with an audio file for playing.
  • the audio file library stores a large number of reference audio files; the reference audio file refers to an audio file corresponding to a certain category.
  • equalizer parameters For audio files in the audio file library that have not been configured with the corresponding equalizer parameters, they will be classified by the audio files that have belonged to a certain category, and then the equalizer parameters are configured according to the category.
  • the target audio file may be an audio file belonging to a certain category in the audio file library as a reference audio file; or the corresponding equalizer parameter may not be configured in the audio file library, and is not attributed to a certain category. Audio file.
  • the corresponding equalizer parameter is obtained according to the category to which the target audio file is obtained; if the target audio file is If the corresponding equalizer parameter has not been configured, and the audio file is not attributed to a certain category, the reference audio file associated with the target audio file is searched in the reference audio file of the audio file library, and the reference audio file obtained by the search is formed. The set of audio files associated with the target audio file.
  • the reference audio file found will be related or similar to a certain feature of the target audio file.
  • Each audio file that is not configured with a corresponding equalizer parameter will correspond to a reference audio file set associated therewith.
  • the reference audio file in the reference audio file set will be in the form of a list. That is, the reference reference audio file list is included, and the reference audio file list includes a plurality of reference audio files.
  • Step S230 clustering the reference audio file according to the category corresponding to the reference audio file in the reference audio file set, and setting the category with the highest concentration among the reference audio file set as the target audio file.
  • the corresponding category is
  • the reference audio file in the reference audio file set associated with the target audio file, is clustered according to the category corresponding to the reference audio file, thereby obtaining most reference audio files in the reference audio file set.
  • the category to which it belongs which is the category corresponding to the target audio file.
  • step S250 the preset equalizer parameter corresponding to the category set in step S230 is set as the equalizer parameter of the target audio file, and the equalizer parameter is stored.
  • the equalizer parameters corresponding to each category are preset.
  • the class of the target audio file obtained by the clustering must also have corresponding equalizer parameters. Therefore, the corresponding preset equalizer parameters are obtained according to the categories obtained by the clustering, and the equalizer parameters will be associated with the target audio file. Compatible.
  • the obtained equalizer parameters are stored in association with the target audio file, so that the audio player performs intelligent configuration of the equalizer parameters according to the corresponding equalizer parameters before playing the target audio file.
  • the equalizer parameter may be stored in the audio file library, and when the audio player is about to play the target audio file, the equalizer parameter is pushed to the audio player to intelligently configure the equalization of the audio player under the control of the audio file library.
  • the parameter of the equalizer can also be stored locally in the audio player, so that the audio player can intelligently configure the equalizer parameters according to the target audio file even when the network environment is poor or the network access is impossible, which can be applied to In various environmental scenarios, the applicability is strong, the stability is high, and for the handheld device running the audio player, the power consumed for network access is greatly saved, and the endurance capability of the handheld device is improved.
  • the method before the step S210, the method further includes:
  • the plurality of reference audio files are classified in advance to obtain a category corresponding to the reference audio file.
  • the audio files that are stored are unclassified, and each audio file has no corresponding category. In this case, multiple audios in the audio library are required.
  • the files are classified.
  • the plurality of audio files to be classified may be randomly selected, or may be selected by other methods, and the number thereof will be determined by the accuracy requirement of the remaining audio files for classification and the amount of work required.
  • the number of audio files corresponding to each category will be approximately the same. For example, in the audio file library, eight categories can be set, and the number of audio files corresponding to each category is approximately 100.
  • step S210 includes the following steps:
  • Step S211 searching for a reference audio file that is associated with the target audio file in the reference audio file according to the feature corresponding to the target audio file.
  • the audio file that has not been classified in the media file library is traversed, and the traversed audio file, that is, the target audio file, is searched in all reference audio files according to the corresponding feature to obtain association on the feature.
  • Reference audio file is searched in all reference audio files according to the corresponding feature to obtain association on the feature.
  • the feature may be at least one of a user feature, an audio feature, and a text feature.
  • a user feature may be at least one of a user feature, an audio feature, and a text feature.
  • other features may be used to search for the associated reference audio file, which are not enumerated here.
  • the user feature is the identifier of the user who has listened to the audio file, for example, the user's listening stream, and the user feature can know which user the audio file has been listened to.
  • the user characteristics corresponding to the target audio file can be collaboratively filtered to find a reference audio file with similar user characteristics. Further, according to the user feature, the number of users who have listened to the target audio file and the reference audio file is obtained, and whether the obtained number of users is greater than a set user threshold, and if so, the reference audio file is associated with the target audio. The file is associated, if not, the reference audio file is not associated with the target audio file.
  • Each audio file has its corresponding audio feature, and the audio effect of the audio file with similar audio features is similar. Therefore, the audio file can be searched in the reference audio file to obtain the unclassified target audio file.
  • the audio features are similar to the reference audio file.
  • the audio features of the reference audio file may be extracted, and the audio features of the target audio file may be similarly calculated with the audio features of the reference audio file to obtain audio between the unclassified target audio file and each reference audio file.
  • the similarity is determined whether the audio similarity is greater than or equal to an audio threshold, and if so, the reference audio file is associated with the target audio file on the audio feature.
  • the text feature of the reference audio file may be extracted, and the text features of the unclassified target audio file are similarly calculated with the text features of the reference audio file to obtain the text between the target audio file and each reference audio file.
  • the similarity is determined whether the text similarity is greater than or equal to the text threshold, and if so, the reference audio file is associated with the unclassified target audio file on the text feature.
  • Step S213 extracting a plurality of reference audio files from the reference audio file having the association, forming a reference audio file set associated with the target audio file.
  • the probability that the number of reference audio files that are found to be related in the feature is very high will be very high, and therefore, a preset number of reference audios will also be extracted from the reference audio files obtained by the search.
  • the file, and thus the extracted reference audio files, form a reference audio file set associated with the target audio file.
  • the preset number of reference audio files that are most related to each other are extracted according to the degree of association of the reference audio file with the target audio file, for example, the reference audio file is also listened to by listening to the unclassified target audio file.
  • the number of users is extracted from the largest to the smallest, and can be extracted in descending order according to the size of the audio similarity. It can also be extracted in descending order according to the size of the text similarity. List them one by one.
  • step S230 includes the following steps:
  • Step S231 extracting categories corresponding to the reference audio files in the reference audio file set, and separately counting the number of reference audio files corresponding to the category in the reference audio file set.
  • each reference audio file included in the reference audio file set has a corresponding category. Therefore, clustering is performed based on the category corresponding to each reference audio file, and most reference audios in the reference audio file set are obtained.
  • the category corresponding to the file Specifically, for each category existing in the reference audio file set, the number of corresponding reference audio files in the reference audio file set is counted for each category.
  • Step S233 extracting the reference audio text with the largest value from the number of reference audio files obtained by statistics
  • the number of pieces, the category corresponding to the number of reference audio files with the largest value, and the category is stored in association with the target audio file.
  • the number of reference audio files obtained by statistics the number of reference audio files with the largest value is extracted, and the category of the number of reference audio files with the largest value is the category of the target audio file, and then the target is Audio files are associated.
  • a method for configuring audio file equalizer parameters is applied to an audio file library, including the following steps:
  • Step S510 finding a reference audio file associated with the target audio file to form a reference audio file set.
  • a large number of audio files are stored in the audio file library for the user to access through the audio player, thereby playing any of the audio files.
  • the audio file library runs on a remote server and interacts with the audio player running in the terminal device via the Internet.
  • the audio file library stores a large number of reference audio files; the reference audio file refers to an audio file corresponding to a certain category. In actual operation, in addition to the reference audio file, other unclassified audio files will occupy the majority. .
  • equalizer parameters For audio files in the audio file library that have not been configured with the corresponding equalizer parameters, they will be classified by the audio files that have belonged to a certain category, and then the equalizer parameters are configured according to the category.
  • the target audio file may be an audio file belonging to a certain category in the audio file library as a reference audio file; or the corresponding equalizer parameter may not be configured in the audio file library, and is not attributed to a certain category. Audio file.
  • Step S530 The reference audio file is clustered according to the category corresponding to the reference audio file in the reference audio file set, and the category with the highest degree of concentration in the reference audio file set is set as the category corresponding to the target audio file.
  • Step S550 setting a preset equalizer parameter corresponding to the set category to an equalizer parameter of the target audio file, and storing the equalizer parameter.
  • the media file library is obtained through the association search and clustering of the reference audio file.
  • the equalizer parameter After obtaining the equalizer parameter corresponding to the target audio file, the equalizer parameter is transmitted from the audio file library to the audio player where the target audio file is located, and then the equalizer parameter is used for the equalizer of the audio player. Make smart configuration.
  • the method for configuring the audio file equalizer parameter is run in the audio file library to implement intelligent configuration of the audio player's equalizer parameters by processing the audio file in the audio file library.
  • the audio file equalizer parameter configuration method may be Run in the original audio file library, no need to build a new audio file library, high compatibility, very easy to implement.
  • the method before the step S510, the method further includes:
  • the plurality of reference audio files in the audio file library are classified in advance to obtain a category corresponding to each reference audio file.
  • step S510 includes the following steps:
  • Step S511 searching for a reference audio file that is associated with the target audio file in the reference audio file according to the feature corresponding to the target audio file.
  • the feature may be at least one of a user feature, an audio feature, and a text feature.
  • a user feature may be at least one of a user feature, an audio feature, and a text feature.
  • other features are also used to obtain a reference audio file associated with the target audio file, which is not enumerated here. .
  • Step S513 extracting a plurality of reference audio files from the associated reference audio file to form a reference audio file set associated with the target audio file.
  • step S530 includes the following steps:
  • Step S531 extracting categories corresponding to the reference audio files in the reference audio file set, and separately counting the number of reference audio files corresponding to the category in the reference audio file set.
  • Step S533 extract the number of reference audio files with the largest value from the number of reference audio files obtained by statistics, obtain the category corresponding to the number of reference audio files with the largest value, and store the category in association with the target audio file.
  • the method further includes:
  • Step S610 acquiring a target audio file.
  • the audio file library obtains the target audio file of the audio player with which the interaction is performed,
  • the corresponding equalizer parameters are adaptively configured for the target audio file by knowing the target audio file of the audio player.
  • Step S630 performing a search according to the target audio file, determining whether the target audio file has the equalizer parameter configured according to the search result, and if not, proceeding to step S510, and if yes, proceeding to step S650.
  • the equalizer parameter configuration of the target audio file is completed through steps S510 to S550, and then proceeds to step S670 to return to the audio player for the target audio file. Equalizer parameters.
  • Step S650 obtaining an equalizer parameter corresponding to the target audio file.
  • Step S670 configuring an audio player for playing the target audio file according to the acquired equalizer parameters.
  • the audio player where the target audio file is located is configured according to the acquired equalizer parameter, so that the equalizer parameter when the audio player is played under the control of the audio file library is compared with the target audio file being played.
  • the target audio file is a blue or sad song, it will be boosted by the configured equalizer parameters; if the target audio file is a cheerful and electronic song, it will pass the configured equalization.
  • the treble is enhanced.
  • the equalizer parameters are preset by the professional according to the category corresponding to the reference audio file, and therefore, the audio player can be associated with each other as each audio file is played.
  • the reference audio file intelligently configures the equalizer parameters that are compatible with the audio file, thereby ensuring that the audio player has better sound effects when playing the audio file, improving the playback quality, and the user does not need to have professional music literacy.
  • an apparatus for audio file equalizer parameter configuration includes a parameter acquisition module 110 and a parameter setting module 130.
  • the parameter obtaining module 110 is configured to obtain an equalizer parameter preset for the target audio file, where the equalizer parameter is obtained according to a category corresponding to the target audio file, where the category is gathered by the reference audio file set associated with the target audio file. Class reference audio files are obtained.
  • the target audio file is an audio file to be played in the audio player, wherein the audio player runs in various terminal devices; the target audio file corresponds to the acquired equalizer parameter.
  • the equalizer parameter will be the equalizer parameter configured by the target audio file, that is, in the audio file library, the audio file configured with the equalizer parameter is stored in association with the equalizer parameter, or the audio file is The associated category is stored in association, and each category is stored in association with a certain equalizer parameter. Therefore, the parameter obtaining module 110 can obtain a preset equalizer parameter corresponding to the target audio file.
  • the reference audio file set associated with the target audio file will contain a plurality of reference audio files that are associated with the target audio file in a certain feature.
  • the target audio file will be associated with certain features.
  • the reference audio file in the associated reference audio file set is similar, and each reference audio file in the reference audio file set has a corresponding category, and therefore, the category of the target audio file is the associated reference audio file set. Most of the reference audio file clusters correspond to the categories.
  • the parameter setting module 130 is configured to set an equalizer parameter used when playing the target audio file according to the acquired equalizer parameter.
  • the parameter setting module 130 performs equalizer parameter setting on the audio player according to the acquired equalizer parameter, so that the equalizer parameter in the audio player matches the acquired equalizer parameter, and then the target audio file is performed.
  • the playback is such that the equalizer parameters used in the playback of the target audio file are adapted to the target audio file, thereby achieving a better playback effect.
  • the device for configuring the audio file equalizer parameter described above will be run in the audio player to implement intelligent configuration of the equalizer parameters in the audio player, automatically matching one for each current target audio file.
  • the set equalizer parameters do not require the user to manually set the target audio file one by one, which greatly facilitates the user, and can configure a suitable equalizer parameter for the target audio file even if the user does not have a deep music foundation.
  • the foregoing apparatus further includes a lookup module 210, a clustering module 230, and a storage module 250.
  • the searching module 210 is configured to find a reference audio file associated with the target audio file to form a reference audio file set.
  • a large number of audio files are stored in the audio file library that interacts with the audio player, and the audio player is provided with an audio file for playing.
  • the audio file library stores a large number of reference audio files; the reference audio file refers to an audio file corresponding to a certain category.
  • equalizer parameters For audio files in the audio file library that have not been configured with the corresponding equalizer parameters, they will be classified by the audio files that have belonged to a certain category, and then the equalizer parameters are configured according to the category.
  • the target audio file may be an audio file belonging to a certain category in the audio file library as a reference audio file; or the corresponding equalizer parameter may not be configured in the audio file library, and is not attributed to a certain category. Audio file.
  • the search module 210 searches the reference audio file of the audio file library for the reference audio file associated with the target audio file, and then obtains the reference obtained by the search.
  • the audio file forms a collection of audio files associated with the target audio file.
  • the reference audio file found by the search module 210 will be related or similar to a certain feature of the target audio file.
  • Each audio file that is not configured with a corresponding equalizer parameter will correspond to a reference audio file set associated therewith.
  • the reference audio file in the reference audio file set will be in the form of a list. That is, the reference reference audio file list is included, and the reference audio file list includes a plurality of reference audio files.
  • the clustering module 230 is configured to cluster the reference audio files according to the category corresponding to the reference audio file in the reference audio file set, and set the category with the highest concentration among the reference audio file sets as the category corresponding to the target audio file.
  • the clustering module 230 performs clustering of the reference audio file based on the category corresponding to the reference audio file, thereby obtaining a large The category to which most reference audio files belong, which is the category corresponding to the target audio file.
  • the storage module 250 is configured to set a preset equalizer parameter corresponding to the category to an equalizer parameter of the target audio file, and store the equalizer parameter.
  • the equalizer parameters corresponding to each category are preset.
  • the class of the target audio file obtained by the clustering must also have corresponding equalizer parameters. Therefore, the corresponding preset equalizer parameters are obtained according to the categories obtained by the clustering, and the equalizer parameters will be associated with the target audio file. Compatible.
  • the storage module 250 associates the obtained equalizer parameters with the target audio file to obtain an intelligent configuration of the equalizer parameters according to the corresponding equalizer parameters before the audio player plays the target audio file.
  • the storage module 250 can store the equalizer parameters in the audio file library, and when the audio player is about to play the target audio file, push the equalizer parameters to the audio player to intelligently configure the audio playback under the control of the audio file library.
  • the equalizer parameter of the device; the storage module 250 can also store the equalizer parameters locally in the audio player, thereby enabling the audio player to perform equalizer parameters according to the target audio file even when the network environment is poor or network access is not possible.
  • Intelligent configuration can be applied to various environmental scenarios, with strong applicability and high stability, and greatly saves the power consumed by network access for handheld devices running audio players, and improves the endurance of handheld devices. .
  • the apparatus further includes a pre-classification module, configured to pre-categorize the plurality of reference audio files to obtain a category corresponding to the reference audio file.
  • the audios stored are unclassified, and each audio file has no corresponding category.
  • multiple audio files in the audio library are required. sort.
  • the plurality of audio files classified may be randomly selected or passed through Other methods are selected, the number of which will be determined by the accuracy requirements of the remaining audio files and the amount of work required.
  • the number of audio files corresponding to each category in the classified audio file will be approximately the same. For example, in the audio file library, eight categories can be set, and the number of audio files corresponding to each category is approximately 100.
  • the above-mentioned search module 210 includes a correlation lookup unit 211 and a file extracting unit 213.
  • the correlation searching unit 211 is configured to search, in the reference audio file, a reference audio file that is associated with the target audio file according to the feature corresponding to the target audio file.
  • the correlation searching unit 211 traverses the audio file that has not been classified in the audio file library, and searches for the traversed audio file, that is, the target audio file, in all the reference audio files according to the corresponding feature, to obtain An associated reference audio file on the feature.
  • the feature may be at least one of a user feature, an audio feature, and a text feature.
  • a user feature may be at least one of a user feature, an audio feature, and a text feature.
  • other features may be used to search for the associated reference audio file, which are not enumerated here.
  • the user feature is the identifier of the user who has marked the audio file, for example, the user's listening stream, and the user feature can know which user has been listened to by the audio file.
  • the correlation searching unit 211 can perform collaborative filtering through the user features corresponding to the target audio file to find a reference audio file that is similar in user characteristics. Further, the correlation searching unit 211 obtains the number of users who have both listened to the target audio file and the reference audio file according to the user feature, and determines whether the obtained number of users is greater than a set user threshold. If yes, the reference audio file is Associated with the target audio file, if not, the reference audio file is not associated with the target audio file.
  • Each audio file has its corresponding audio feature, and the audio effect of the audio file with similar audio features is similar. Therefore, the correlation search unit 211 can perform a search in the reference audio file according to the audio feature to obtain and not The reference audio file of the classified target audio file is similar to the reference audio file.
  • the correlation searching unit 211 may extract the audio features of the reference audio file, and perform the similarity calculation on the audio features of the target audio file one by one with the audio features of the reference audio file to obtain The audio similarity between the unclassified target audio file and each reference audio file, determining whether the audio similarity is greater than or equal to the audio threshold, and if so, indicating that the reference audio file is on the audio feature with the target audio file Associated with.
  • the relevance search unit 211 can be based on the text features. A lookup is made in the reference audio file to obtain a reference audio file that is similar in text characteristics to the unclassified target audio file.
  • the correlation searching unit 211 may extract the text feature of the reference audio file, and perform similarity calculation on the text features of the target audio file one by one with the text feature of the reference audio file to obtain a target audio and each reference audio file.
  • the text similarity is determined whether the text similarity is greater than or equal to the text threshold, and if so, the reference audio file is associated with the unclassified target audio file on the text feature.
  • the file extracting unit 213 is configured to extract a plurality of reference audio files from the reference audio file in which the association exists, to form a reference audio file set associated with the target audio file.
  • the file extracting unit 213 will also extract the preset in the reference audio files obtained by the search.
  • a plurality of reference audio files, and thus the extracted reference audio files form a reference audio file set associated with the target audio file.
  • the file extracting unit 213 extracts the most relevant preset number of reference audio files according to the degree of association of the reference audio file with the target audio file according to the certain feature, for example, listening to the unclassified target audio file according to the received audio file.
  • the number of users of the reference audio file is extracted in descending order, and may be extracted in descending order according to the size of the audio similarity, and may be performed in descending order according to the size of the text similarity. Extraction, not enumerated here.
  • the clustering module 230 includes a statistics unit 231 and a category association unit 233.
  • the statistics unit 231 is configured to extract a category corresponding to the reference audio file in the reference audio file set, and separately count the number of reference audio files corresponding to the category in the reference audio file set.
  • each reference audio file included in the reference audio file set has a corresponding class. Otherwise, clustering is performed based on the category corresponding to each reference audio file, and the category corresponding to most of the reference audio files in the reference audio file set is obtained. Specifically, the statistics unit 231 counts the number of reference audio files corresponding to the reference audio file set for each category for the plurality of categories existing in the reference audio file set.
  • the category association unit 233 is configured to extract the number of reference audio files with the largest value from the statistically obtained reference audio quantity, obtain the category corresponding to the number of the reference audio files with the largest value, and store the category in association with the target audio file.
  • the category associating unit 233 extracts the number of reference audio files with the largest value, and the category of the number of the reference audio files with the largest value is the category of the target audio file, and further Associate it with the target audio file.
  • an audio file equalizer parameter configuration apparatus is implemented in an audio file library, including a lookup module 310, a clustering module 330, and a parameter correspondence module 350.
  • the searching module 310 is configured to find a reference audio file associated with the target audio file to form a reference audio file set.
  • a large number of audio files are stored in the audio file library for the user to access through the audio player, and then play one of the audio files.
  • the audio file library runs on a remote server and interacts with the audio player running in the terminal device via the Internet.
  • the audio file library stores a large number of reference audio files; the reference audio file refers to an audio file corresponding to a certain category. In actual operation, in addition to the reference audio file, other unclassified audio files will occupy the majority. .
  • the search module 310 will classify the audio files that have belonged to a certain category, and then configure the equalizer parameters according to the category.
  • the clustering module 330 is configured to cluster the reference audio file according to the category corresponding to the reference audio file in the reference audio file set, and set the category with the highest degree of concentration in the reference audio file set as the category corresponding to the target audio file.
  • the parameter corresponding module 350 is configured to set a preset equalizer parameter corresponding to the set category to the target The equalizer parameter of the audio file and store the equalizer parameters.
  • the category corresponding to the target audio file that is not attributed to a certain category in the audio file library is obtained through the association search and clustering of the reference audio file.
  • the parameter corresponding module 350 obtains the equalizer parameter corresponding to the target audio file, and transmits the equalizer parameter from the audio file library to the audio player where the target audio file is located, and then according to the equalizer parameter to the audio player.
  • the equalizer is intelligently configured.
  • the device for configuring the audio file equalizer parameter is run in the audio file library to implement intelligent configuration of the equalizer parameter of the audio player by processing the audio file in the audio file library.
  • the device for configuring the audio file equalizer parameter may be Run in the original audio file library, no need to build a new audio file library, high compatibility, very easy to implement.
  • the apparatus further includes a pre-classification module.
  • the pre-classification module is configured to pre-categorize a plurality of reference audio files in the audio file library to obtain a category of the reference audio file.
  • the above-mentioned search module 310 includes a correlation lookup unit 311 and a file extraction unit 313.
  • the correlation searching unit 311 is configured to search, in the reference audio file, a reference audio file that is associated with the target audio file according to the feature corresponding to the target audio file.
  • the feature may be at least one of a user feature, an audio feature, and a text feature.
  • the relevance search unit 311 also uses other features to obtain a reference audio file associated with the target audio file. This is not enumerated.
  • the file extracting unit 313 is configured to extract a plurality of reference audio files from the reference audio file in which the association exists, to form a reference audio file set associated with the target audio file.
  • the clustering module 330 includes a statistics unit 331 and a category association unit 333.
  • the statistic unit 331 is configured to extract a category corresponding to the reference audio file in the reference audio file set, and separately count the number of reference audio files corresponding to the category in the reference audio file set.
  • the category association unit 333 is configured to extract the number of reference audio files with the largest value from the number of reference audio files obtained by statistics, obtain the category corresponding to the number of reference audio files with the largest value, and store the category in association with the target audio file.
  • the foregoing apparatus further includes a file obtaining module 410, a parameter finding module 430, a parameter obtaining module 450, and a parameter setting module 470.
  • the file obtaining module 410 is configured to acquire a target audio file.
  • the file obtaining module 410 in the audio file library acquires the target audio file of the audio player with which the audio player interacts to adaptively configure the corresponding equalizer for the target audio file by knowing the target audio file of the audio player. parameter.
  • the parameter search module 430 is configured to perform a search according to the target audio file, determine whether the target audio file has been configured with the equalizer parameter according to the search result, and if not, notify the search module 410, and if yes, notify the parameter acquisition module 450.
  • the parameter searching module 430 performs a lookup of the equalizer parameters in the audio file library to determine whether the equalizer parameter corresponding to the target audio file is stored in the audio file library, and if so, the equalizer is found.
  • the parameter is the equalizer parameter that is adapted to the target audio file, and then the equalizer parameter can be directly obtained. If not, the equalizer parameter corresponding to the target audio file is not stored in the audio file library, and the target audio file may be It is a new audio file in the audio file library, and the equalizer parameter has not been configured yet.
  • the search module 410 is notified to perform the search of the associated reference audio file, thereby completing the classification of the target audio file. In order to provide an equalizer parameter suitable for the audio player that is about to play the target audio file.
  • the parameter obtaining module 450 is configured to obtain an equalizer parameter corresponding to the target audio file.
  • the equalizer parameter configuration of the target audio file is completed by the searching module 310, the clustering module 330, and the parameter corresponding module 350, and then the parameter setting module 470 is notified. In order to return to the audio player the equalizer parameters that are compatible with the target audio file.
  • the parameter setting module 470 is configured to configure the audio player that plays the target audio file according to the acquired equalizer parameters.
  • the parameter setting module 470 configures the audio player where the target audio file is located according to the acquired equalizer parameter, so that the equalizer parameter of the audio player when playing under the control of the audio file library is played and played.
  • the target audio file is adapted, for example, if the target audio file is a blue tone or a sad song, the parameter setting module 470 will advance to this through the configured equalizer parameters. Line bass boost; if the target audio file is a cheerful and electronic song, the parameter setting module 470 will perform treble boost through the configured equalizer.
  • the equalizer parameters are preset by the professional according to the category corresponding to the reference audio file, and therefore, the audio player can be associated with each other as each audio file is played.
  • the reference audio file intelligently configures the equalizer parameters that are compatible with the audio file, thereby ensuring that the audio player has better sound effects when playing the audio file, improving the playback quality, and the user does not need to have professional music literacy.
  • the professional configuration of the equalizer can be completed, which greatly improves the usability.
  • the equalizer parameters preset for the target audio file are obtained, wherein the equalizer parameter is obtained according to a category corresponding to the target audio file, and the category is related to the target audio file.
  • the clustered audio files in the reference audio file set are obtained by clustering the audio files, and then configured according to the acquired equalizer parameters, since each target audio file can pass the associated reference audio file set without corresponding categories.
  • the clustering is performed to obtain the corresponding category, and the corresponding equalizer parameters are obtained. Therefore, the equalizer parameters are adaptively configured for different target audio files, and the flexibility is high, and the intelligent configuration of the equalizer parameters is realized.
  • Embodiments of the present invention also provide a storage medium including computer executable instructions for performing an audio file equalizer parameter configuration when executed by a computer processor, the method comprising:
  • the equalizer parameter being obtained according to a category corresponding to the target audio file, the category being obtained by clustering the reference audio file in the reference audio file set associated with the target audio file of;
  • the method when the method is performed by the computer processor, the method may be: before the step of acquiring the equalizer parameter preset for the target audio file, the method further includes:
  • the audio file is clustered, and the category with the highest concentration among the reference audio file sets is set as a category corresponding to the target audio file;
  • a preset equalizer parameter corresponding to the set category is set as an equalizer parameter of the target audio file, and the equalizer parameter is stored.
  • the method when executed by a computer processor, the method may preferably be: before the step of obtaining a reference audio file associated with the target audio file by the search to form a reference audio file set, :
  • the plurality of reference audio files are classified in advance to obtain a category corresponding to the reference audio file.
  • the method when executed by a computer processor, the method may be: the finding obtains a reference audio file associated with the target audio file, and the step of forming a reference audio file set includes:
  • a plurality of reference audio files are extracted from the presence-associated reference audio file to form a reference audio file set associated with the target audio file.
  • the method when executed by a computer processor, the method may be: the clustering the reference audio file according to a category corresponding to the reference audio file in the reference audio file set.
  • the step of setting the most concentrated category in the reference audio file set to the category corresponding to the target audio file includes:
  • the number of reference audio files with the largest value is extracted from the number of reference audio files obtained by statistics, and the category corresponding to the number of reference audio files having the largest value is obtained, and the obtained category is associated with the target audio file for storage.
  • Embodiments of the present invention also provide a storage medium including computer executable instructions for performing a method of audio file equalizer parameter configuration applied to an audio file library when executed by a computer processor , the method includes:
  • a preset equalizer parameter corresponding to the set category is set as an equalizer parameter of the target audio file, and the equalizer parameter is stored.
  • the method when the method is performed by a computer processor, the method may preferably further include:
  • the step of entering the reference to obtain a reference audio file associated with the target audio file to form a reference audio file set.
  • the method when the method is performed by a computer processor, the method may preferably further include:
  • the method when executed by the computer processor, the method may be: before the step of obtaining the reference audio file associated with the target audio file by the search to form the reference audio file set, the method further includes:
  • the plurality of reference audio files in the audio file library are classified in advance to obtain a category corresponding to the reference audio file.
  • the method when executed by a computer processor, the method may be: the finding obtains a reference audio file associated with the target audio file, and the step of forming the reference audio file set includes:
  • Finding and targeting the target audio file according to a feature corresponding to the target audio file An audio file having an associated reference audio file on the feature;
  • a plurality of reference audio files are extracted from the presence-associated reference audio file to form a reference audio file set associated with the target audio file.
  • the method when executed by a computer processor, the method may be: the clustering the reference audio file according to a category corresponding to the reference audio file in the reference audio file set.
  • the step of setting the most concentrated category in the reference audio file set to the category corresponding to the target audio file includes:
  • the number of reference audio files with the largest value is extracted from the number of reference audio files obtained by statistics, and the category corresponding to the number of reference audio files having the largest value is obtained, and the obtained category is associated with the target audio file for storage.
  • an embodiment of the present invention provides a hardware structure of a terminal, where the terminal includes a processor 1701, a memory 1702, an input device 1703, and an output device 1704.
  • the number of processors 1701 in the terminal may be one or more, FIG.
  • One processor 1701 is taken as an example; the processor 1701, the memory 1702, the input device 1703, and the output device 1704 in the terminal may be connected by a bus or other means, and the bus connection is taken as an example in FIG.
  • the memory 1702 is a computer readable storage medium, and can be used to store a software program, a computer executable program, and a module, such as a program instruction/module corresponding to the method of the audio file equalizer parameter configuration in the embodiment of the present invention (for example, the drawing 9 -
  • the processor 1701 executes various functional applications and data processing of the information processing server by running software programs, instructions, and modules stored in the memory 1702, that is, a method of implementing the audio file equalizer parameter configuration described above.
  • the memory 1702 may mainly include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the server, and the like.
  • the memory 1702 can include a high speed random access memory, and can also To include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 1702 can further include memory remotely located relative to processor 1701, which can be connected to the server over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 1703 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the terminal.
  • Output device 1704 can include a display device such as a display screen.
  • the processor 1701 may perform the following steps: acquiring an equalizer parameter preset for the target audio file, where the equalizer parameter is obtained according to a category corresponding to the target audio file, where the category is a reference associated with the target audio file.
  • the clustered reference audio file is obtained in the audio file set; the equalizer parameter used when playing the target audio file is set according to the acquired equalizer parameter.
  • the processor 1701 further searches for a reference audio file associated with the target audio file to form a reference audio file set;
  • the reference audio file is clustered according to a category corresponding to the reference audio file, and the category with the highest degree of concentration in the reference audio file set is set as a category corresponding to the target audio file;
  • the preset equalizer parameter corresponding to the category is set as an equalizer parameter of the target audio file, and the equalizer parameter is stored.
  • the processor 1701 further pre-classifies the plurality of reference audio files to obtain the corresponding reference audio file. category.
  • the processor 1701 searches for a reference audio file associated with the target audio file to form a reference audio file set, and specifically searches for the reference audio file according to the feature corresponding to the target audio file.
  • the reference audio file has an associated reference audio file on the feature; extracting a plurality of reference audio files from the presence-related reference audio file to form a reference audio file set associated with the target audio file.
  • the processor 1701 clusters the reference audio file according to a category corresponding to the reference audio file in the reference audio file set, and sets a category with the highest concentration among the reference audio file sets as a target audio. Specifically, the category corresponding to the reference audio file in the reference audio file set is extracted, and the category is in the reference audio file set.
  • the number of reference audio files corresponding to the number of reference audio files; the number of reference audio files with the largest value is extracted from the number of reference audio files obtained by statistics, and the category corresponding to the number of reference audio files having the largest value is obtained, and the category and the obtained category are obtained.
  • the target audio file is stored in association.
  • an embodiment of the present invention provides a hardware structure of a terminal, where the terminal includes a processor 1701, a memory 1702, an input device 1703, and an output device 1704.
  • the number of processors 1701 in the terminal may be one or more.
  • 17 is exemplified by a processor 1701; the processor 1701, the memory 1702, the input device 1703, and the output device 1704 in the terminal may be connected by a bus or other means, and the bus connection is taken as an example in FIG.
  • the memory 1702 is a computer readable storage medium, and can be used to store a software program, a computer executable program, and a module, such as a program instruction/module corresponding to the method of the audio file equalizer parameter configuration in the embodiment of the present invention (for example, the drawing 13 -
  • the processor 1701 performs various functional applications and data processing of the terminal by executing software programs, instructions, and modules stored in the memory 1702, that is, implementing the above-described method of audio file equalizer parameter configuration applied to the audio file library.
  • the memory 1702 may mainly include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the server, and the like. Further, the memory 1702 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some examples, memory 1702 can further include memory remotely located relative to processor 1701, which can be connected to the server over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 1703 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the terminal.
  • Output device 1704 can include a display device such as a display screen.
  • the processor 1701 may perform the following steps: searching for a reference audio file associated with the target audio file to form a reference audio file set;
  • the processor 1701 further acquires a target audio file, performs a search according to the target audio file, determines whether the target audio file has been configured with an equalizer parameter according to the search result, and if not, enters the search to obtain the target audio file.
  • the associated reference audio file forms the step of forming a reference audio file set.
  • the processor 1701 determines that the target audio file has been configured with the equalizer parameter, the equalizer parameter corresponding to the target audio file is acquired; and the target audio file is played according to the acquired equalizer parameter.
  • the audio player is configured.
  • the processor 1701 further pre-classifies the plurality of reference audio files in the audio file library to obtain the The category corresponding to the reference audio file.
  • the processor 1701 searches for a reference audio file associated with the target audio file to form a reference audio file set, and specifically searches for the target in the reference audio file according to a feature corresponding to the target audio file.
  • An audio file has an associated reference audio file on the feature; a plurality of reference audio files are extracted from the presence-associated reference audio file to form a reference audio file set associated with the target audio file.
  • the processor 1701 clusters the reference audio file according to a category corresponding to the reference audio file in the reference audio file set, and sets a category with the highest concentration among the reference audio file sets as a target audio. Specifically, the category corresponding to the reference audio file in the reference audio file set is extracted, and the number of reference audio files corresponding to the category in the reference audio file set is separately counted; the reference audio obtained from the statistics The number of reference audio files with the largest value is extracted from the number of files, and the category corresponding to the number of reference audio files having the largest value is obtained, and the obtained category is associated with the target audio file for storage.
  • the present invention can be implemented by software and necessary general hardware, and can also be implemented by hardware, but In many cases, the former is a better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk of a computer. , Read-Only Memory (ROM), Random Access Memory (RAM), Flash (FLASH), hard disk or optical disk, etc., including a number of instructions to make a computer device (can be a personal computer)
  • the server, or network device, etc. performs the methods described in various embodiments of the present invention.
  • each unit and module included is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be implemented;
  • the specific names of the units are also for convenience of distinguishing from each other and are not intended to limit the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stereophonic System (AREA)
  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)

Abstract

本发明提供了一种音频均衡器参数配置的方法、装置和存储介质。所述方法包括:获取目标音频文件预设的均衡器参数,均衡器参数是根据目标音频文件对应的类别得到的,该类别是由所述目标音频文件相关联的参考音频文件集合中聚类参考音频文件得到的;按照获取的均衡器参数设置播放目标音频文件时的均衡器参数。所述装置包括:参数获取模块,用于获取目标音频文件预设的均衡器参数,均衡器参数是根据所述目标音频文件对应的类别得到的,该类别是由目标音频文件相关联的参考音频文件集合中聚类参考音频文件得到的;参数设置模块,用于按照获取的均衡器参数设置播放目标音频文件时的均衡器参数。采用本发明能针对音频文件的不同进行自适应地配置,灵活性高。

Description

音频文件均衡器参数配置的方法和装置
本专利申请要求于2013年10月24日提交的、申请号为201310508781.0、申请人为腾讯科技(深圳)有限公司、发明名称为“音频文件均衡器参数配置的方法和装置”的中国专利申请的优先权,该申请的全文以引用的方式并入本申请中。
技术领域
本发明涉及媒体播放技术领域,特别是涉及一种音频文件均衡器参数配置的方法和装置。
背景技术
均衡器(Equalizer,EQ)是音频播放器中的重要组成部分,根据当前播放的音频文件的不同对均衡器进行适当的参数配置,将使得音频文件的播放具备很好的音效。
但是,对于传统的均衡器而言,大都是提供一参数调整界面以供用户对其中的均衡器参数进行逐一设置,进而实现均衡器参数的配置,这必然要求用户具备较高的专业技能,并不适用于大多数用户。
因此,少数均衡器对此进行了改进,例如,音频文件为歌曲文件,则为每一歌曲文件附加流派标签,以根据歌曲文件所对应的流派标签为音频播放器配置对应的均衡器参数,例如,蓝调、电子等流派标签,但是,对于海量的歌曲文件而言,由于无法为每一个歌曲文件附加流派标签,因此,大多数歌曲文件被统一地附加为“流行”这一流派标识,进而使得均衡器参数的配置无法针对歌曲文件的不同进行自适应地配置,缺乏灵活性。
发明内容
基于此,有必要针对传统的均衡器参数的配置无法针对音频文件的不同进行自适应地配置,缺乏灵活性的技术问题,提供一种能针对音频文件的不同进行自适应地配置,灵活性高的音频文件均衡器参数的配置方法。
此外,还有必要提供一种能针对音频文件的不同进行自适应地配置,灵活性高的音频文件均衡器参数的配置装置。
一种音频文件均衡器参数配置的方法,包括如下步骤:
获取针对目标音频文件预设的均衡器参数,所述均衡器参数是根据所述目标音频文件对应的类别得到的,所述类别是由所述目标音频文件相关联的参考音频文件集合中聚类参考音频文件得到的;
按照获取的所述均衡器参数设置播放所述目标音频文件时采用的均衡器参数。
一种音频文件均衡器参数配置的方法,应用于音频文件库中,其特征在于,包括如下步骤:
查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合;
在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别;
将与设置的所述类别对应的预设的均衡器参数设置为所述目标音频文件的均衡器参数,并存储该均衡器参数。
一种音频文件均衡器参数配置的装置,包括:
参数获取模块,用于获取针对目标音频文件预设的均衡器参数,所述均衡器参数是根据所述目标音频文件对应的类别得到的,所述类别是由所述目标音频文件相关联的参考音频文件集合中聚类媒体文件得到的;
参数设置模块,用于按照获取的所述均衡器参数设置播放所述目标音频文 件时采用的均衡器参数。
一种音频文件均衡器参数配置的装置,运行于音频文件库中,,包括:
查找模块,用于查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合;
聚类模块,用于在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别;
参数设置模块,用于将与设置的所述类别对应的预设的均衡器参数设置为所述目标音频文件的均衡器参数,并存储该均衡器参数。
一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种音频文件均衡器参数配置的方法,获取针对目标音频文件预设的均衡器参数,所述均衡器参数是根据所述目标音频文件对应的类别得到的,所述类别是由所述目标音频文件相关联的参考音频文件集合中聚类参考音频文件得到的;
按照所述获取的所述均衡器参数设置播放所述目标音频文件时采用的均衡器参数。
一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种应用于音频文件库中的音频文件均衡器参数配置的方法,该方法包括:
查找得到与目标音频文件相关联的参考音频文件,根据查找得到的参考音频文件形成参考音频文件集合;
在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别;
将与设置的所述类别对应的预设的均衡器参数设置为所述目标音频文件的 均衡器参数,并存储该均衡器参数。
上述音频文件均衡器参数的配置方法、装置和存储介质中,获取针对目标音频文件预设的均衡器参数,其中这一均衡器参数将是根据目标音频文件对应的类别得到的,该类别则是由目标音频文件相关联的参考音频文件集合中聚类媒体文件得到的,进而按照这一获取的均衡器参数进行配置,由于每一目标音频文件在没有对应的类别的情况下均可通过相关联的参考音频文件集合进行聚类得到相应的类别,进而得到对应的均衡器参数,因此,针对目标音频文件的不同自适应地进行均衡器参数的配置,灵活性高,实现了均衡器参数的智能配置。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需使用的附图作简单地介绍,当然,以下描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以对这些附图进行修改和替换。
图1为本发明提供的一个实施例中音频文件均衡器参数配置的方法的流程图;
图2为本发明提供的另一个实施例中音频文件均衡器参数配置的方法的流程图;
图3为本发明提供的图2中查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合的方法流程图;
图4为本发明提供的图2中在参考音频文件集合中根据参考音频文件对应的类别对参考音频文件进行聚类,将参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别的方法流程图;
图5为本发明提供的一个实施例中应用于音频文件库中的音频文件均衡器参数配置的方法的流程图;
图6为本发明提供的图5中为查找得到与目标音频文件相关联的参考音频 文件,形成参考音频文件集合的方法流程图;
图7为本发明提供的图5中在参考音频文件集合中根据参考音频文件对应的类别对参考音频文件进行聚类,将参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别的方法流程图;
图8为本发明提供的另一个实施例中应用于音频文件库中的音频文件均衡器参数配置的方法的流程图;
图9为本发明提供的一个实施例中音频文件均衡器参数配置的装置的结构示意图;
图10为本发明提供的另一个实施例中音频文件均衡器参数配置的装置的结构示意图;
图11为本发明提供的图10中查找模块的结构示意图;
图12为本发明提供的图10中聚类模块的结构示意图;
图13为本发明提供的一个实施例中应用于音频文件库中的均衡器参数配置的装置的结构示意图;
图14为本发明提供的图13中查找模块的结构示意图;
图15为本发明提供的图13中聚类模块的结构示意图;
图16为本发明提供的另一个实施例中应用于音频文件库中的均衡器参数配置的装置的结构示意图;
图17为本发明提供的终端的结构示意图。
具体实施方式
下面将结合附图对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部的实施例,是为了阐述本发明的原理,而不是要将本发明限制于这些具体的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
如图1所示,在一个实施例中,一种音频文件均衡器参数配置的方法,包 括如下步骤:
步骤S110,获取针对目标音频文件预设的均衡器参数。
本实施例中,目标音频文件是当前需要为其进行均衡器参数配置的任一音频文件。所述均衡器参数是根据目标音频文件对应的类别得到的,所述类别是由所述目标音频文件相关联的参考音频文件集合中聚类参考音频文件得到的。
目标音频文件可以是音频播放器中即将进行播放的音频文件,其中,该音频播放器运行于各种终端设备中;目标音频文件是与这一获取的均衡器参数相对应的,该均衡器参数将是目标音频文件所配置的均衡器参数,也就是说,在音频文件库中,已配置了均衡器参数的音频文件是与均衡器参数关联存储的,或者,音频文件是与所属类别关联存储,并且每一类别都将是与一定的均衡器参数关联存储的,因此,可根据目标音频文件获取得到与之相对应的预设的均衡器参数。
进一步的,与目标音频文件相关联的参考音频文件集合将包含了多个在一定特征上与目标音频文件存在关联性的参考音频文件,换而言之,目标音频文件在一定特征上将是与关联的参考音频文件集合中的参考音频文件相似的,参考音频文件集合中的每一参考音频文件均有与之相对应的类别,因此,目标音频文件的类别即为关联的参考音频文件集合中的大多数参考音频文件所对应的类别。
步骤S130,按照获取的均衡器参数设置播放目标音频文件时采用的均衡器参数。
本实施例中,按照获取的均衡器参数对音频播放器进行均衡器参数设置,以使得音频播放器中的均衡器参数与获取的均衡器参数相匹配,然后再进行目标音频文件的播放,以使得目标音频文件的播放过程中所采用的均衡器参数是与这一目标音频文件相适应的,进而达到较佳的播放效果。
上述音频文件均衡器参数配置的方法将被运行于音频播放器中,以实现音频播放器中均衡器参数的智能配置,为每一个当前的目标音频文件自动匹配一定的均衡器参数,不需要用户逐一根据目标音频文件进行手动地设置,大大方便了用户,即便用户没有较深的音乐功底也能够为目标音频文件配置较为合适 的均衡器参数。
如图2所示,在一个实施例中,上述步骤S130之前,该方法还包括如下步骤:
步骤S210,查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合。
本实施例中,与音频播放器进行交互的音频文件库中存储了大量音频文件,为音频播放器提供进行播放的音频文件。其中,音频文件库中存储了大量参考音频文件;参考音频文件是指对应了某一类别的音频文件。
对于音频文件库中尚未配置相应的均衡器参数的音频文件,都将通过已经归属于某一类别的音频文件进行归类,进而根据所属类别进行均衡器参数的配置。
需要说明的是,目标音频文件可以是音频文件库中归属于某一类别,作为参考音频文件的某一音频文件;也可以是音频文件库中尚未配置相应的均衡器参数,未归属于一定类别的音频文件。
进一步的,若该目标音频文件为音频文件库中归属于某一类别,作为参考音频文件的某一音频文件,则根据所归属的类别获取得到相对应的均衡器参数;若该目标音频文件为尚未配置相应的均衡器参数,未归属于一定类别的音频文件,则在音频文件库的参考音频文件中查找与该目标音频文件相关联的参考音频文件,进而由这些查找得到的参考音频文件形成该目标音频文件所关联的音频文件集合。
所查找得到的参考音频文件将是与该目标音频文件在某一特征上存在着一定的关联性或者相似性的。
每一未配置相应的均衡器参数的音频文件都将对应了一个与其关联的参考音频文件集合,在优选的实施例中,该参考音频文件集合中的参考音频文件将是以列表的形式存在的,即关联参考音频文件列表,该参考音频文件列表中包括了多个参考音频文件。
步骤S230,在参考音频文件集合中根据参考音频文件对应的类别对参考音频文件进行聚类,将参考音频文件集合中集中度最高的类别设置为目标音频文 件对应的类别。
本实施例中,在目标音频文件相关联的参考音频文件集合中,以参考音频文件所对应的类别作为依据进行参考音频文件的聚类,进而得到这一参考音频文件集合中大多数参考音频文件所属的类别,该类别即为目标音频文件所对应的类别。
步骤S250,将与步骤S230中设置的类别对应的预设的均衡器参数设置为目标音频文件的均衡器参数,并存储该均衡器参数。
本实施例中,对于音频文件库中的参考音频文件而言,都预先设置了每一个类别所对应的均衡器参数。通过聚类所得到的目标音频文件的类别也必将有对应的均衡器参数,因此,根据聚类得到的类别获取对应的预设的均衡器参数,该均衡器参数将是与该目标音频文件相适应的。
将这一获取得到的均衡器参数与目标音频文件进行关联存储,以便于音频播放器对该目标音频文件进行播放之前根据相应的均衡器参数进行均衡器参数的智能配置。
其中,可将均衡器参数存储于音频文件库中,在音频播放器即将播放该目标音频文件时,向音频播放器推送均衡器参数,以在音频文件库的控制下智能配置音频播放器的均衡器参数;也可将均衡器参数存储于音频播放器本地,进而使得音频播放器即便在网络环境较差或者无法进行网络访问时也能够根据目标音频文件进行均衡器参数的智能配置,能够适用于各种环境场景中,适用性强,稳定性高,并且对于运行音频播放器的手持设备而言,大大节省了进行网络访问所耗费的电量,提高了手持设备的续航能力。
在一个实施例中,上述步骤S210之前,该方法还包括:
预先对多个参考音频文件进行分类得到参考音频文件对应的类别。
本实施例中,音频文件库在存入大量音频文件时,被存入的音频文件均是未分类的,每一音频文件均没有对应的类别,此时,需要对音频文库中的多个音频文件进行分类。所进行分类的多个音频文件可以是随意选取的,也可以是通过其它的一些方式进行选取,其数量将由余下音频文件进行分类的精确度要求和所需耗费的工作量决定。但是,为便于后续对余下音频文件进行分类,进 行分类的音频文件中,每一类别对应的音频文件数量将是大致相同的。例如,在音频文件库中,可设置八个类别,每一类别所对应的音频文件数量大致为100。
如图3所示,在一个实施例中,上述步骤S210包括如下步骤:
步骤S211,根据目标音频文件对应的特征在参考音频文件中查找与目标音频文件在特征上存在关联性的参考音频文件。
本实施例中,遍历媒体文件库中尚未分类的音频文件,对遍历到的音频文件,即目标音频文件,将根据对应的特征在所有参考音频文件中进行查找,以得到在该特征上相关联的参考音频文件。
进一步的,该特征可以是用户特征、音频特征和文本特征中的至少一种,当然,也可以采用其它特征进行查找得到相关联的参考音频文件,在此不一一进行列举。
其中,用户特征即为标记收听了音频文件的用户的标识,例如,用户的收听流水,通过用户特征即可获知这一音频文件曾经被哪些用户收听。
因此,可通过目标音频文件所对应的用户特征进行协同过滤,以查找得到用户特征较为近似的参考音频文件。进一步的,根据用户特征得到既收听了该目标音频文件也收听了参考音频文件的用户数量,判断得到的用户数量是否大于设定的用户阈值,若是,则说明参考音频文件是与这一目标音频文件相关联的,若否,则说明这一参考音频文件与该目标音频文件不相关联。
每一个音频文件均有其对应的音频特征,并且音频特征相似的音频文件其音频效果也是相近似的,因此,可根据音频特征在参考音频文件中进行查找,以得到与未分类的目标音频文件的音频特征相似的参考音频文件。
进一步的,可提取参考音频文件的音频特征,将目标音频文件的音频特征逐一与参考音频文件的音频特征进行相似性计算,以得到未分类的目标音频文件与每一参考音频文件之间的音频相似度,判断该音频相似度是否大于或等于音频阈值,若是,则说明该参考音频文件是与这一目标音频文件在音频特征上相关联的。
对于大多数音频文件而言,均有其对应的文本特征,并且对于文本特征相 近似的音频文件而言,其属于同一类别的可能性非常高,因此,可根据文本特征在参考音频文件中进行查找,以得到与未分类的目标音频文件的文本特征相似的参考音频文件。
进一步的,可提取参考音频文件的文本特征,将未分类的目标音频文件的文本特征逐一与参考音频文件的文本特征进行相似性计算,以得到目标音频文件与每一参考音频文件之间的文本相似度,判断该文本相似度是否大于或等于文本阈值,若是,则说明该参考音频文件是与这一未分类的目标音频文件在文本特征上相关联的。
步骤S213,从存在关联性的参考音频文件中提取多个参考音频文件,形成与目标音频文件相关联的参考音频文件集合。
本实施例中,查找得到的在特征上存在关联性的参考音频文件数量非常多的可能性将是非常高的,因此,还将在这些查找得到的参考音频文件中提取预设数量个参考音频文件,进而由这些提取得到的参考音频文件形成该目标音频文件相关联的参考音频文件集合。
具体的,根据参考音频文件在一定特征上与该目标音频文件的关联程度提取最为相关的预设数量的参考音频文件,例如,按照既收听了未分类的目标音频文件也收听了参考音频文件的用户数量由大到小的顺序进行提取,也可根据音频相似度的大小按照从大到小的顺序进行提取,还可以根据文本相似度的大小按照从大到小的顺序进行提取,在此不一一进行列举。
如图4所示,在一个实施例中,上述步骤S230包括如下步骤:
步骤S231,提取参考音频文件集合中参考音频文件对应的类别,并分别统计该类别在参考音频文件集合中对应的参考音频文件数量。
本实施例中,参考音频文件集合中包含的每一参考音频文件均有对应的类别,因此,以每一参考音频文件对应的类别为依据进行聚类,得到参考音频文件集合中大多数参考音频文件对应的类别。具体的,对参考音频文件集合中存在的多个类别,对每一种类别统计其在参考音频文件集合中对应的参考音频文件数量。
步骤S233,从统计得到的参考音频文件数量中提取数值最大的参考音频文 件数量,获取数值最大的参考音频文件数量对应的类别,将该类别与目标音频文件进行关联存储。
本实施例中,在统计得到的多个参考音频文件数量中,提取数值最大的参考音频文件数量,该数值最大的参考音频文件数量所在的类别即为目标音频文件的类别,进而将其与目标音频文件相关联。
如图5所示,在一个实施例中,一种音频文件均衡器参数配置的方法,应用于音频文件库中,包括如下步骤:
步骤S510,查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合。
本实施例中,音频文件库中存储了大量音频文件,以供用户通过音频播放器进行访问,进而播放其中的任一音频文件。音频文件库运行于远端的服务器中,与运行于终端设备中的音频播放器通过互联网进行数据交互。其中,音频文件库中存储了大量的参考音频文件;参考音频文件是指对应了某一类别的音频文件,在实际运营中,除了参考音频文件之外,其它尚未分类的音频文件将占大多数。
对于音频文件库中尚未配置相应的均衡器参数的音频文件,都将通过已经归属于某一类别的音频文件进行归类,进而根据所属类别进行均衡器参数的配置。
需要说明的是,目标音频文件可以是音频文件库中归属于某一类别,作为参考音频文件的某一音频文件;也可以是音频文件库中尚未配置相应的均衡器参数,未归属于一定类别的音频文件。
步骤S530,在参考音频文件集合中根据参考音频文件对应的类别对参考音频文件进行聚类,将参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别。
步骤S550,将与设置的类别对应的预设的均衡器参数设置为目标音频文件的均衡器参数,并存储该均衡器参数。
本实施例中,经由参考音频文件的关联性查找、聚类得到媒体文件库中尚 未归属于一定类别的目标音频文件所对应的类别。
在得到该目标音频文件所对应的均衡器参数之后,将这一均衡器参数由音频文件库传输给该目标音频文件所在的音频播放器,进而按照这一均衡器参数对音频播放器的均衡器进行智能配置。
上述音频文件均衡器参数配置的方法运行于音频文件库中,以通过对音频文件库中音频文件的处理实现音频播放器的均衡器参数智能配置,此外,上述音频文件均衡器参数配置的方法可运行于原有的音频文件库中,不需要额外构建新的音频文件库,具备较高的兼容性,非常易于实现。
在一个实施例中,上述步骤S510之前,该方法还包括:
预先对音频文件库中的多个参考音频文件进行分类得到各参考音频文件对应的类别。
如图6所示,在一个实施例中,上述步骤S510包括如下步骤:
步骤S511,根据目标音频文件对应的特征在参考音频文件中查找与目标音频文件在特征上存在关联性的参考音频文件。
本实施例中,该特征可以是用户特征、音频特征和文本特征中的至少一种,当然,也要采用其它特征进行得到与目标音频文件相关联的参考音频文件,在此不一一进行列举。
步骤S513,从存在关联性的参考音频文件中提取多个参考音频文件,形成与目标音频文件相关联的参考音频文件集合。
如图7所示,在一个实施例中,上述步骤S530包括如下步骤:
步骤S531,提取参考音频文件集合中参考音频文件对应的类别,并分别统计该类别在参考音频文件集合中对应的参考音频文件数量。
步骤S533,从统计得到的参考音频文件数量中提取数值最大的参考音频文件数量,获取数值最大的参考音频文件数量对应的类别,将该类别与目标音频文件进行关联存储。
如图8所示,在一个实施例中,该方法还包括:
步骤S610,获取目标音频文件。
本实施例中,音频文件库获取与之进行交互的音频播放器的目标音频文件, 以通过了解音频播放器的目标音频文件自适应地为该目标音频文件配置相应的均衡器参数。
步骤S630,根据目标音频文件进行查找,根据查找结果判断目标音频文件是否已配置均衡器参数,若否,则进入步骤S510,若是,则进入步骤S650。
本实施例中,在音频文件库中进行均衡器参数的查找,以判断音频文件库中是否存储了目标音频文件所对应的均衡器参数,若是,则查找得到的这一均衡器参数即为与目标音频文件相适应的均衡器参数,进而直接获取该均衡器参数即可,若否,则说明音频文件库中未存储目标音频文件对应的均衡器参数,这一目标音频文件可能是音频文件库中新增的音频文件,还未对其进行均衡器参数的配置,此时,将返回到步骤S510进行相关联的参考音频文件的查找,进而完成这一目标音频文件的分类,以便于为即将进行这一目标音频文件的播放的音频播放器提供与之相适应的均衡器参数。
在判断到目标音频文件未配置均衡器参数时,将通过步骤S510至步骤S550完成目标音频文件的均衡器参数配置,然后,再进入步骤S670,以便于向音频播放器返回与目标音频文件相适应的均衡器参数。
步骤S650,获取目标音频文件对应的均衡器参数。
步骤S670,按照获取的均衡器参数对播放目标音频文件的音频播放器进行配置。
本实施例中,按照获取的均衡器参数对目标音频文件所在的音频播放器进行配置,以使得音频播放器在音频文件库的控制之下播放时的均衡器参数是与播放的目标音频文件相适应的,例如,若目标音频文件为蓝调或者忧伤的歌曲时,将通过配置的均衡器参数对这一其进行低音加强;若目标音频文件为欢快和电子类的歌曲,则将通过配置的均衡器进行高音加强。
上述音频文件均衡器配置的方法中,均衡器参数均是专业人士根据参考音频文件对应的类别进行预先设置的,因此,随着音频播放器在进行每一音频文件的播放时均能够根据相关联的参考音频文件智能地配置与该音频文件相适应的均衡器参数,进而保证了音频播放器进行音频文件播放时具备较佳的音效,提高了播放质量,使得用户不需要具备专业的音乐素养也能够完成均衡器的专 业配置,大大提高了易用性。
如图9所示,在一个实施例中,一种音频文件均衡器参数配置的装置,包括参数获取模块110和参数设置模块130。
参数获取模块110,用于获取针对目标音频文件预设的均衡器参数,该均衡器参数是根据目标音频文件对应的类别得到的,该类别是由目标音频文件相关联的参考音频文件集合中聚类参考音频文件得到的。
本实施例中,目标音频文件是音频播放器中即将进行播放的音频文件,其中,该音频播放器运行于各种终端设备中;目标音频文件是与这一获取的均衡器参数相对应的,该均衡器参数将是目标音频文件所配置的均衡器参数,也就是说,在音频文件库中,已配置了均衡器参数的音频文件是与均衡器参数关联存储的,或者,音频文件是与所属类别关联存储,并且每一类别都将是与一定的均衡器参数关联存储的,因此,参数获取模块110可根据目标音频文件获取得到与之相对应的预设的均衡器参数。
进一步的,与目标音频文件相关联的参考音频文件集合将包含了多个在一定特征上与目标音频文件存在关联性的参考音频文件,换而言之,目标音频文件在一定特征上将是与关联的参考音频文件集合中的参考音频文件相似的,参考音频文件集合中的每一参考音频文件均有与之相对应的类别,因此,目标音频文件的类别即为对关联的参考音频文件集合中的大多数参考音频文件聚类所对应的类别。
参数设置模块130,用于按照获取的均衡器参数设置播放待目标音频文件时采用的均衡器参数。
本实施例中,参数设置模块130按照获取的均衡器参数对音频播放器进行均衡器参数设置,以使得音频播放器中的均衡器参数与获取的均衡器参数相匹配,然后再进行目标音频文件的播放,以使得目标音频文件的播放过程中所采用的均衡器参数是与这一目标音频文件相适应的,进而达到较佳的播放效果。
上述音频文件均衡器参数配置的装置将被运行于音频播放器中,以实现音频播放器中均衡器参数的智能配置,为每一个当前的目标音频文件自动匹配一 定的均衡器参数,不需要用户逐一根据目标音频文件进行手动地设置,大大方便了用户,即便用户没有较深的音乐功底也能够为目标音频文件配置较为合适的均衡器参数。
如图10所示,在一个实施例中,上述装置还包括查找模块210、聚类模块230和存储模块250。
查找模块210,用于查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合。
本实施例中,与音频播放器进行交互的音频文件库中存储了大量音频文件,为音频播放器提供进行播放的音频文件。其中,音频文件库中存储了大量参考音频文件;参考音频文件是指对应了某一类别的音频文件。
对于音频文件库中尚未配置相应的均衡器参数的音频文件,都将通过已经归属于某一类别的音频文件进行归类,进而根据所属类别进行均衡器参数的配置。
需要说明的是,目标音频文件可以是音频文件库中归属于某一类别,作为参考音频文件的某一音频文件;也可以是音频文件库中尚未配置相应的均衡器参数,未归属于一定类别的音频文件。
进一步的,若该目标音频文件为音频文件库中归属于某一类别,作为参考音频文件的某一音频文件,则根据所归属的类别获取得到相对应的均衡器参数;若该目标音频文件为尚未配置相应的均衡器参数,未归属于一定类别的音频文件,则查找模块210在音频文件库的参考音频文件中查找与该目标音频文件相关联的参考音频文件,进而由这些查找得到的参考音频文件形成该目标音频文件所关联的音频文件集合。
查找模块210所查找得到的参考音频文件将是与该目标音频文件在某一特征上存在着一定的关联性或者相似性的。
每一未配置相应的均衡器参数的音频文件都将对应了一个与其关联的参考音频文件集合,在优选的实施例中,该参考音频文件集合中的参考音频文件将是以列表的形式存在的,即关联参考音频文件列表,该参考音频文件列表中包括了多个参考音频文件。
聚类模块230,用于在参考音频文件集合中根据参考音频文件对应的类别对参考音频文件进行聚类,将参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别。
本实施例中,在目标音频文件相关联的参考音频文件集合中,聚类模块230以参考音频文件所对应的类别作为依据进行参考音频文件的聚类,进而得到这一参考音频文件集合中大多数参考音频文件所属的类别,该类别即为目标音频文件所对应的类别。
存储模块250,用于将与该类别对应的预设的均衡器参数设置为目标音频文件的均衡器参数,并存储该均衡器参数。
本实施例中,对于音频文件库中的参考音频文件而言,都预先设置了每一个类别所对应的均衡器参数。通过聚类所得到的目标音频文件的类别也必将有对应的均衡器参数,因此,根据聚类得到的类别获取对应的预设的均衡器参数,该均衡器参数将是与该目标音频文件相适应的。
存储模块250将这一获取得到的均衡器参数与目标音频文件进行关联存储以便于音频播放器对该目标音频文件进行播放之前获取根据相应的均衡器参数进行均衡器参数的智能配置。
其中,存储模块250可将均衡器参数存储于音频文件库中,在音频播放器即将播放该目标音频文件时,向音频播放器推送均衡器参数,以在音频文件库的控制下智能配置音频播放器的均衡器参数;存储模块250也可将均衡器参数存储于音频播放器本地,进而使得音频播放器即便在网络环境较差或者无法进行网络访问时也能够根据目标音频文件进行均衡器参数的智能配置,能够适用于各种环境场景中,适用性强,稳定性高,并且对于运行音频播放器的手持设备而言,大大节省了进行网络访问所耗费的电量,提高了手持设备的续航能力。
在另一个实施例中,上述装置还包括了预分类模块,该预分类模块用于预先对多个参考音频文件进行分类,得到参考音频文件对应的类别。
本实施例中,音频文件库在存入大量媒体文件时,被存入的音频均是未分类的,每一音频文件均没有对应的类别,此时,需要对音频文库中的多个音频文件进行分类。所进行分类的多个音频文件可以是随意选取的,也可以是通过 其它的一些方式进行选取,其数量将由余下音频文件进行分类的精确度要求和所需耗费的工作量决定。但是,为便于后续对余下音频文件进行分类,进行分类的音频文件中,每一类别对应的音频文件数量将是大致相同的。例如,在音频文件库中,可设置八个类别,每一类别所对应的音频文件数量大致为100。
如图11所示,在一个实施例中,上述查找模块210包括相关性查找单元211和文件提取单元213。
相关性查找单元211,用于根据目标音频文件对应的特征在参考音频文件中查找与目标音频文件在特征上存在关联性的参考音频文件。
本实施例中,相关性查找单元211遍历音频文件库中尚未分类的音频文件,对遍历到的音频文件,即目标音频文件,将根据对应的特征在所有参考音频文件中进行查找,以得到在该特征上相关联的参考音频文件。
进一步的,该特征可以是用户特征、音频特征和文本特征中的至少一种,当然,也可以采用其它特征进行查找得到相关联的参考音频文件,在此不一一进行列举。
其中,用户特征即为标记收听了音频文件的用户的标识,例如,用户的收听流水,通过用户特征即可获知这一音频文件曾经被哪些用户曾经收听。
因此,相关性查找单元211可通过目标音频文件所对应的用户特征进行协同过滤,以查找得到用户特征较为近似的参考音频文件。进一步的,相关性查找单元211根据用户特征得到既收听了该目标音频文件也收听了参考音频文件的用户数量,判断得到的用户数量是否大于设定的用户阈值,若是,则说明参考音频文件是与该目标音频文件相关联的,若否,则说明这一参考音频文件与该目标音频文件不相关联。
每一个音频文件均有其对应的音频特征,并且音频特征相似的音频文件其音频效果也是相近似的,因此,相关性查找单元211可根据音频特征在参考音频文件中进行查找,以得到与未分类的目标音频文件的音频特征相似的参考音频文件。
进一步的,相关性查找单元211可提取参考音频文件的音频特征,将目标音频文件的音频特征逐一与参考音频文件的音频特征进行相似性计算,以得到 未分类的目标音频文件与每一参考音频文件之间的音频相似度,判断该音频相似度是否大于或等于音频阈值,若是,则说明该参考音频文件是与这一目标音频文件在音频特征上相关联的。
对于大多数音频文件而言,均有其对应的文本特征,并且对于文本特征相近似的音频文件而言,其属于同一类别的可能性非常高,因此,相关性查找单元211可根据文本特征在参考音频文件中进行查找,以得到与未分类的目标音频文件的文本特征相似的参考音频文件。
进一步的,相关性查找单元211可提取参考音频文件的文本特征,将目标音频文件的文本特征逐一与参考音频文件的文本特征进行相似性计算,以得到目标音频与每一参考音频文件之间的文本相似度,判断该文本相似度是否大于或等于文本阈值,若是,则说明该参考音频文件是与这一未分类的目标音频文件在文本特征上相关联的。
文件提取单元213,用于从存在关联性的参考音频文件中提取多个参考音频文件,形成与目标音频文件相关联的参考音频文件集合。
本实施例中,查找得到的在特征上存在关联性的参考音频文件数量非常多的可能性将是非常高的,因此,还将由文件提取单元213在这些查找得到的参考音频文件中提取预设数量个参考音频文件,进而由这些提取得到的参考音频文件形成该目标音频文件相关联的参考音频文件集合。
具体的,文件提取单元213根据参考音频文件在一定特征上与该目标音频文件的关联程度提取最为相关的预设数量的参考音频文件,例如,按照既收收听了未分类的目标音频文件也收听了参考音频文件的用户数量由大到小的顺序进行提取,也可根据音频相似度的大小按照从大到小的顺序进行提取,还可以根据文本相似度的大小按照从大到小的顺序进行提取,在此不一一进行列举。
如图12所示,在一个实施例中,上述聚类模块230包括统计单元231和类别关联单元233。
统计单元231,用于提取参考音频文件集合中参考音频文件对应的类别,并分别统计该类别在参考音频文件集合中对应的参考音频文件数量。
本实施例中,参考音频文件集合中包含的每一参考音频文件均有对应的类 别,因此,以每一参考音频文件对应的类别为依据进行聚类,得到参考音频文件集合中大多数参考音频文件对应的类别。具体的,统计单元231对参考音频文件集合中存在的多个类别,对每一种类别统计其在参考音频文件集合中对应的参考音频文件数量。
类别关联单元233,用于从统计得到的参考音频数量中提取数值最大的参考音频文件数量,获取数值最大的参考音频文件数量对应的类别,将该类别与目标音频文件进行关联存储。
本实施例中,在统计得到的多个参考音频文件数量中,类别关联单元233提取数值最大的参考音频文件数量,该数值最大的参考音频文件数量所在的类别即为目标音频文件的类别,进而将其与目标音频文件相关联。
如图13所示,在一个实施例中,一种音频文件均衡器参数配置装置,运行于音频文件库中,包括查找模块310、聚类模块330和参数对应模块350。
查找模块310,用于查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合。
本实施例中,音频文件库中存储了大量音频文件,以供用户通过音频播放器进行访问,进而播放其中的某一音频文件。音频文件库运行于远端的服务器中,与运行于终端设备中的音频播放器通过互联网进行数据交互。
其中,音频文件库中存储了大量的参考音频文件;参考音频文件是指对应了某一类别的音频文件,在实际运营中,除了参考音频文件之外,其它尚未分类的音频文件将占大多数。
对于音频文件库中尚未配置相应的均衡器参考的音频文件,查找模块310都将通过已经归属于某一类别的音频文件进行归类,进而根据所属类别进行均衡器参数的配置。
聚类模块330,用于在参考音频文件集合中根据参考音频文件对应的类别对参考音频文件进行聚类,将参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别。
参数对应模块350,用于将与设置的类别对应的预设的均衡器参数设置为目 标音频文件的均衡器参数,并存储该均衡器参数。
本实施例中,经由参考音频文件的关联性查找、聚类得到音频文件库中尚未归属于一定类别的目标音频文件所对应的类别。
参数对应模块350获取得到该目标音频文件所对应的均衡器参数,将这一均衡器参数由音频文件库传输给该目标音频文件所在的音频播放器,进而按照这一均衡器参数对音频播放器的均衡器进行智能配置。
上述音频文件均衡器参数配置的装置运行于音频文件库中,以通过对音频文件库中音频文件的处理实现音频播放器的均衡器参数智能配置,此外,上述音频文件均衡器参数配置的装置可运行于原有的音频文件库中,不需要额外构建新的音频文件库,具备较高的兼容性,非常易于实现。
在另一个实施例中,上述装置还包括了预分类模块。该预分类模块用于预先对音频文件库中的多个参考音频文件进行分类,得到参考音频文件的类别。
如图14所示在一个实施例中,上述查找模块310包括相关性查找单元311和文件提取单元313。
相关性查找单元311,用于根据目标音频文件对应的特征在参考音频文件中查找与目标音频文件在特征上存在关联性的参考音频文件。
本实施例中,该特征可以是用户特征、音频特征和文本特征中的至少一种,当然,相关性查找单元311也要采用其它特征进行得到与目标音频体文件相关联的参考音频文件,在此不一一进行列举。
文件提取单元313,用于从存在关联性的参考音频文件中提取多个参考音频文件,形成与目标音频文件相关联的参考音频文件集合。
如图15所示,在一个实施例中,上述聚类模块330包括统计单元331和类别关联单元333。
统计单元331,用于提取参考音频文件集合中参考音频文件对应的类别,并分别统计该类别在参考音频文件集合中对应的参考音频文件数量。
类别关联单元333,用于从统计得到的参考音频文件数量中提取数值最大的参考音频文件数量,获取数值最大的参考音频文件数量对应的类别,将该类别与目标音频文件进行关联存储。
如图16所示,在一个实施例中,上述装置还包括了文件获取模块410、参数查找模块430、参数获取模块450和参数设置模块470。
文件获取模块410,用于获取目标音频文件。
本实施例中,音频文件库中的文件获取模块410获取与之进行交互的音频播放器的目标音频文件,以通过了解音频播放器的目标音频文件自适应地为目标音频文件配置相应的均衡器参数。
参数查找模块430,用于根据目标音频文件进行查找,根据查找结果判断目标音频文件是否已配置均衡器参数,若否,则通知查找模块410,若是,则通知参数获取模块450。
本实施例中,参数查找模块430在音频文件库中进行均衡器参数的查找,以判断音频文件库中是否存储了目标音频文件所对应的均衡器参数,若是,则查找得到的这一均衡器参数即为与目标音频文件相适应的均衡器参数,进而直接获取该均衡器参数即可,若否,则说明音频文件库中未存储目标音频文件对应的均衡器参数,这一目标音频文件可能是音频文件库中新增的音频文件,还未对其进行均衡器参数的配置,此时,将通知查找模块410进行相关联的参考音频文件的查找,进而完成这一目标音频文件的分类,以便于为即将进行这一目标音频文件的播放的音频播放器提供与之相适应的均衡器参数。
参数获取模块450,用于获取目标音频文件对应的均衡器参数。
本实施例中,在判断到目标音频文件未配置均衡器参数时,将由查找模块310、聚类模块330和参数对应模块350完成目标音频文件的均衡器参数配置然后,再通知参数设置模块470,以便于向音频播放器返回与目标音频文件相适应的均衡器参数。
参数设置模块470,用于按照获取的均衡器参数对播放目标音频文件的音频播放器进行配置。
本实施例中,参数设置模块470按照获取的均衡器参数对目标音频文件所在的音频播放器进行配置,以使得音频播放器在音频文件库的控制之下播放时的均衡器参数是与播放的目标音频文件相适应的,例如,若目标音频文件为蓝调或者忧伤的歌曲时,参数设置模块470将通过配置的均衡器参数对这一其进 行低音加强;若目标音频文件为欢快和电子类的歌曲,则参数设置模块470将通过配置的均衡器进行高音加强。
上述音频文件均衡器配置的装置中,均衡器参数均是专业人士根据参考音频文件对应的类别进行预先设置的,因此,随着音频播放器在进行每一音频文件的播放时均能够根据相关联的参考音频文件智能地配置与该音频文件相适应的均衡器参数,进而保证了音频播放器进行音频文件播放时具备较佳的音效,提高了播放质量,使得用户不需要具备专业的音乐素养也能够完成均衡器的专业配置,大大提高了易用性。
上述音频均衡器参数的配置方法和装置中,获取针对目标音频文件预设的均衡器参数,其中这一均衡器参数是根据目标音频文件对应的类别得到的,该类别则是由目标音频文件相关联的参考音频文件集合中聚类音频文件得到的,进而按照这一获取的均衡器参数进行配置,由于每一目标音频文件在没有对应的类别的情况下均可通过相关联的参考音频文件集合进行聚类得到相应的类别,进而得到对应的均衡器参数,因此,针对目标音频文件的不同自适应地进行均衡器参数的配置,灵活性高,实现了均衡器参数的智能配置。
本发明实施例还提供一种包含计算机可执行指令的存储介质,该计算机可执行指令在由计算机处理器执行时用于执行一种音频文件均衡器参数配置的方法,该方法包括:
获取针对目标音频文件预设的均衡器参数,该均衡器参数是根据该目标音频文件对应的类别得到的,该类别是由该目标音频文件相关联的参考音频文件集合中聚类参考音频文件得到的;
按照获取的均衡器参数设置播放该目标音频文件时采用的均衡器参数。
进一步的,上述存储介质在由计算机处理器执行该方法时,该方法可优选为:获取针对目标音频文件预设的均衡器参数的步骤之前,还包括:
查找得到与所述目标音频文件相关联的参考音频文件,形成参考音频文件集合;
在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考 音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为所述目标音频文件对应的类别;
将与设置的所述类别对应的预设的均衡器参数设置为所述目标音频文件的均衡器参数,并存储该均衡器参数。
进一步的,上述存储介质在由计算机处理器执行该方法时,该方法可优选为:所述查找得到与所述目标音频文件相关联的参考音频文件,形成参考音频文件集合的步骤之前,还包括:
预先对多个参考音频文件进行分类,得到所述参考音频文件对应的类别。
进一步的,上述存储介质在由计算机处理器执行该方法时,该方法可优选为:所述查找得到与所述目标音频文件相关联的参考音频文件,形成参考音频文件集合的步骤包括:
根据所述目标音频文件对应的特征在所述参考音频文件中查找与所述目标音频文件在所述特征上存在关联性的参考音频文件;
从所述存在关联性的参考音频文件中提取多个参考音频文件,形成与所述目标音频文件相关联的参考音频文件集合。
进一步的,上述存储介质在由计算机处理器执行该方法时,该方法可优选为:所述在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别的步骤包括:
提取所述参考音频文件集合中参考音频文件对应的类别,并分别统计所述类别在所述参考音频文件集合中对应的参考音频文件数量;
从统计得到的参考音频文件数量中提取数值最大的参考音频文件数量,获取所述数值最大的参考音频文件数量对应的类别,将获取到的所述类别与所述目标音频文件进行关联存储。
本发明实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种应用于音频文件库中的音频文件均衡器参数配置的方法,该方法包括:
查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合;
在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别;
将与设置的所述类别对应的预设的均衡器参数设置为所述目标音频文件的均衡器参数,并存储该均衡器参数。
进一步的,上述存储介质在由计算机处理器执行该方法时,该方法可优选为:还包括:
获取目标音频文件;
根据所述目标音频文件进行查找,根据查找结果判断所述目标音频文件是否已配置均衡器参数,若否,则
进入所述查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合的步骤。
进一步的,上述存储介质在由计算机处理器执行该方法时,该方法可优选为:还包括:
若判断所述目标音频文件已配置均衡器参数,则获取所述目标音频文件对应的均衡器参数;
按照所述获取的所述均衡器参数对播放所述目标音频文件的音频播放器进行配置。
进一步的,上述存储介质在由计算机处理器执行该方法时,该方法可优选为:所述查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合的步骤之前,还包括:
预先对所述音频文件库中的若干多个参考音频文件进行分类,得到所述参考音频文件对应的类别。
进一步的,上述存储介质在由计算机处理器执行该方法时,该方法可优选为:所述查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合的步骤包括:
根据所述目标音频文件对应的特征在所述参考音频文件中查找与所述目标 音频文件在所述特征上存在关联性的参考音频文件;
从所述存在关联性的参考音频文件中提取多个参考音频文件,形成与所述目标音频文件相关联的参考音频文件集合。
进一步的,上述存储介质在由计算机处理器执行该方法时,该方法可优选为:所述在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别的步骤包括:
提取所述参考音频文件集合中参考音频文件对应的类别,并分别统计所述类别在所述参考音频文件集合中对应的参考音频文件数量;
从统计得到的参考音频文件数量中提取数值最大的参考音频文件数量,获取所述数值最大的参考音频文件数量对应的类别,将获取到的所述类别与所述目标音频文件进行关联存储。
参见图17,本发明实施例提供一种终端的硬件结构,该终端包括处理器1701、存储器1702、输入装置1703和输出装置1704;终端中处理器1701的数量可以是一个或多个,图17中以一个处理器1701为例;终端中的处理器1701、存储器1702、输入装置1703和输出装置1704可以通过总线或其他方式连接,图17中以通过总线连接为例。
存储器1702作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本发明实施例中的音频文件均衡器参数配置的方法对应的程序指令/模块(例如,附图9-附图10所示的音频文件均衡器参数配置的装置中的参数获取模块110、参数设置模块130、查找模块210、聚类模块230和存储模块250)。处理器1701通过运行存储在存储器1702中的软件程序、指令以及模块,从而执行信息处理服务器的各种功能应用以及数据处理,即实现上述音频文件均衡器参数配置的方法。
存储器1702可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据服务器的使用所创建的数据等。此外,存储器1702可以包括高速随机存取存储器,还可 以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器1702可进一步包括相对于处理器1701远程设置的存储器,这些远程存储器可以通过网络连接至服务器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置1703可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。输出装置1704可包括显示屏等显示设备。
其中,处理器1701可以执行如下步骤:获取针对目标音频文件预设的均衡器参数,该均衡器参数是根据该目标音频文件对应的类别得到的,该类别是由该目标音频文件相关联的参考音频文件集合中聚类参考音频文件得到的;按照获取的均衡器参数设置播放该目标音频文件时采用的均衡器参数。
进一步的,处理器1701在获取针对目标音频文件预设的均衡器参数的步骤之前,还查找得到与所述目标音频文件相关联的参考音频文件,形成参考音频文件集合;在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为所述目标音频文件对应的类别;将与设置的所述类别对应的预设的均衡器参数设置为所述目标音频文件的均衡器参数,并存储该均衡器参数。
进一步的,处理器1701在查找得到与所述目标音频文件相关联的参考音频文件,形成参考音频文件集合的步骤之前,还预先对多个参考音频文件进行分类,得到所述参考音频文件对应的类别。
进一步的,处理器1701在查找得到与所述目标音频文件相关联的参考音频文件,形成参考音频文件集合时,具体是根据所述目标音频文件对应的特征在所述参考音频文件中查找与所述目标音频文件在所述特征上存在关联性的参考音频文件;从所述存在关联性的参考音频文件中提取多个参考音频文件,形成与所述目标音频文件相关联的参考音频文件集合。
进一步的,处理器1701在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别时,具体是提取所述参考音频文件集合中参考音频文件对应的类别,并分别统计所述类别在所述参考音频文件集 合中对应的参考音频文件数量;从统计得到的参考音频文件数量中提取数值最大的参考音频文件数量,获取所述数值最大的参考音频文件数量对应的类别,将获取到的所述类别与所述目标音频文件进行关联存储。
仍参见图17,本发明实施例提供一种终端的硬件结构,该终端包括处理器1701、存储器1702、输入装置1703和输出装置1704;终端中处理器1701的数量可以是一个或多个,图17中以一个处理器1701为例;终端中的处理器1701、存储器1702、输入装置1703和输出装置1704可以通过总线或其他方式连接,图17中以通过总线连接为例。
存储器1702作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本发明实施例中的音频文件均衡器参数配置的方法对应的程序指令/模块(例如,附图13-附图16所示的音频文件均衡器参数配置装置中的查找模块310、聚类模块330、参数对应模块350、文件获取模块410、参数查找模块430、参数获取模块450和参数设置模块470)。处理器1701通过运行存储在存储器1702中的软件程序、指令以及模块,从而执行终端的各种功能应用以及数据处理,即实现上述应用于音频文件库中的音频文件均衡器参数配置的方法。
存储器1702可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据服务器的使用所创建的数据等。此外,存储器1702可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器1702可进一步包括相对于处理器1701远程设置的存储器,这些远程存储器可以通过网络连接至服务器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置1703可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。输出装置1704可包括显示屏等显示设备。
其中,处理器1701可以执行如下步骤:查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合;
在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别;将与设置的所述类别对应的预设的均衡器参数设置为所述目标音频文件的均衡器参数,并存储该均衡器参数。
进一步的,处理器1701还获取目标音频文件;根据所述目标音频文件进行查找,根据查找结果判断所述目标音频文件是否已配置均衡器参数,若否,则进入所述查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合的步骤。
进一步的,处理器1701若判断所述目标音频文件已配置均衡器参数,则获取所述目标音频文件对应的均衡器参数;按照所述获取的所述均衡器参数对播放所述目标音频文件的音频播放器进行配置。
进一步的,处理器1701在查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合的步骤之前,还预先对所述音频文件库中的若干多个参考音频文件进行分类,得到所述参考音频文件对应的类别。
进一步的,处理器1701在查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合时,具体是根据所述目标音频文件对应的特征在所述参考音频文件中查找与所述目标音频文件在所述特征上存在关联性的参考音频文件;从所述存在关联性的参考音频文件中提取多个参考音频文件,形成与所述目标音频文件相关联的参考音频文件集合。
进一步的,处理器1701在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别时,具体是提取所述参考音频文件集合中参考音频文件对应的类别,并分别统计所述类别在所述参考音频文件集合中对应的参考音频文件数量;从统计得到的参考音频文件数量中提取数值最大的参考音频文件数量,获取所述数值最大的参考音频文件数量对应的类别,将获取到的所述类别与所述目标音频文件进行关联存储。
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本发明可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很 多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
值得注意的是,上述搜索装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明披露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (24)

  1. 一种音频文件均衡器参数配置的方法,包括如下步骤:
    获取针对目标音频文件预设的均衡器参数,所述均衡器参数是根据所述目标音频文件对应的类别得到的,所述类别是由所述目标音频文件相关联的参考音频文件集合中聚类参考音频文件得到的;
    按照获取的所述均衡器参数设置播放所述目标音频文件时采用的均衡器参数。
  2. 根据权利要求1所述的方法,其特征在于,所述获取针对目标音频文件预设的均衡器参数的步骤之前,所述方法还包括:
    查找得到与所述目标音频文件相关联的参考音频文件,形成参考音频文件集合;
    在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为所述目标音频文件对应的类别;
    将与设置的所述类别对应的预设的均衡器参数设置为所述目标音频文件的均衡器参数,并存储该均衡器参数。
  3. 根据权利要求2所述的方法,其特征在于,所述查找得到与所述目标音频文件相关联的参考音频文件,形成参考音频文件集合的步骤之前,所述方法还包括:
    预先对多个参考音频文件进行分类,得到所述参考音频文件对应的类别。
  4. 根据权利要求2所述的方法,其特征在于,所述查找得到与所述目标音频文件相关联的参考音频文件,形成参考音频文件集合的步骤包括:
    根据所述目标音频文件对应的特征在所述参考音频文件中查找与所述目标音频文件在所述特征上存在关联性的参考音频文件;
    从所述存在关联性的参考音频文件中提取多个参考音频文件,形成与所述目标音频文件相关联的参考音频文件集合。
  5. 根据权利要求2所述的方法,其特征在于,所述在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述 参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别的步骤包括:
    提取所述参考音频文件集合中参考音频文件对应的类别,并分别统计所述类别在所述参考音频文件集合中对应的参考音频文件数量;
    从统计得到的参考音频文件数量中提取数值最大的参考音频文件数量,获取所述数值最大的参考音频文件数量对应的类别,将获取到的所述类别与所述目标音频文件进行关联存储。
  6. 一种音频文件均衡器参数配置的方法,应用于音频文件库中,其特征在于,包括如下步骤:
    查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合;
    在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别;
    将与设置的所述类别对应的预设的均衡器参数设置为所述目标音频文件的均衡器参数,并存储该均衡器参数。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    获取目标音频文件;
    根据所述目标音频文件进行查找,根据查找结果判断所述目标音频文件是否已配置均衡器参数,若否,则
    进入所述查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合的步骤。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    若判断所述目标音频文件已配置均衡器参数,则获取所述目标音频文件对应的均衡器参数;
    按照获取的所述均衡器参数对播放所述目标音频文件的音频播放器进行配置。
  9. 根据权利要求6所述的方法,其特征在于,所述查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合的步骤之前,所述方法还包括:
    预先对所述音频文件库中的多个参考音频文件进行分类,得到所述参考音频文件对应的类别。
  10. 根据权利要求6所述的方法,其特征在于,所述查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合的步骤包括:
    根据所述目标音频文件对应的特征在所述参考音频文件中查找与所述目标音频文件在所述特征上存在关联性的参考音频文件;
    从所述存在关联性的参考音频文件中提取多个参考音频文件,形成与所述目标音频文件相关联的参考音频文件集合。
  11. 根据权利要求6所述的方法,其特征在于,所述在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别的步骤包括:
    提取所述参考音频文件集合中参考音频文件对应的类别,并分别统计所述类别在所述参考音频文件集合中对应的参考音频文件数量;
    从统计得到的参考音频文件数量中提取数值最大的参考音频文件数量,获取所述数值最大的参考音频文件数量对应的类别,将获取到的所述类别与所述目标音频文件进行关联存储。
  12. 一种音频文件均衡器参数配置的装置,其特征在于,包括:
    参数获取模块,用于获取针对目标音频文件预设的均衡器参数,所述均衡器参数是根据所述目标音频文件对应的类别得到的,所述类别是由所述目标音频文件相关联的参考音频文件集合中聚类参考音频文件得到的;
    参数设置模块,用于按照获取的所述均衡器参数设置播放所述目标音频文件时采用的均衡器参数。
  13. 根据权利要求12所述的装置,其特征在于,所述装置还包括:
    查找模块,用于查找得到与所述目标音频文件相关联的参考音频文件,形成参考音频文件集合;
    聚类模块,用于在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为所述目标音频文件对应的类别;
    存储模块,用于将与设置的所述类别对应的预设的均衡器参数设置为所述目标音频文件的均衡器参数,并存储该均衡器参数。
  14. 根据权利要求13所述的装置,其特征在于,所述装置还包括:
    预分类模块,用于预先对多个参考音频文件进行分类,得到所述参考音频文件对应的类别。
  15. 根据权利要求13所述的装置,其特征在于,所述查找模块包括:
    相关性查找单元,用于根据目标音频文件对应的特征在所述参考音频文件中查找与所述目标音频文件在特征上存在关联性的参考音频文件;
    文件提取单元,用于从所述存在关联性的参考音频文件中提取多个参考音频文件,形成与所述目标音频文件相关联的参考音频文件集合。
  16. 根据权利要求13所述的装置,其特征在于,所述聚类模块包括:
    统计单元,用于提取所述参考音频文件集合中参考音频文件对应的类别,并分别统计所述类别在所述参考音频文件集合中对应的参考音频文件数量;
    类别关联单元,用于从统计得到的参考音频文件数量中提取数值最大的参考音频文件数量,获取所述数值最大的参考音频文件数量对应的类别,将获取到的所述类别与所述目标音频文件进行关联存储。
  17. 一种音频文件均衡器参数配置的装置,运行于音频文件库中,其特征在于,包括:
    查找模块,用于查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合;
    聚类模块,用于在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的 类别设置为目标音频文件对应的类别;
    参数设置模块,用于将与设置的所述类别对应的预设的均衡器参数设置为所述目标音频文件的均衡器参数,并存储该均衡器参数。
  18. 根据权利要求17所述的装置,其特征在于,所述装置还包括:
    文件获取模块,用于获取目标音频文件;
    参数查找模块,用于根据所述目标音频文件进行查找,根据查找结果判断所述目标音频文件是否已配置均衡器参数,若否,则通知所述查找模块。
  19. 根据权利要求18所述的装置,其特征在于,所述装置还包括参数获取模块和参数设置模块;
    若判断到所述目标音频文件已配置均衡器参数,则所述参数获取模块获取所述目标音频对应的均衡器参数;
    所述参数设置模块用于按照获取的所述均衡器参数对播放所述目标音频文件的音频播放器进行配置。
  20. 根据权利要求17所述的装置,其特征在于,所述装置还包括:
    预分类模块,用于预先对所述音频文件库中的多个参考音频文件进行分类,得到所述参考音频文件对应的类别。
  21. 根据权利要求17所述的装置,其特征在于,所述查找模块包括:
    相关性查找单元,用于根据所述目标音频文件对应的特征在所述参考音频文件中查找与所述目标音频文件在所述特征上存在关联性的参考音频文件;
    文件提取单元,用于从所述存在关联性的参考音频文件中提取多个参考音频文件,形成与所述目标音频文件相关联的参考音频文件集合。
  22. 根据权利要求17所述的装置,其特征在于,所述聚类模块包括:
    统计单元,用于提取所述参考音频文件集合中参考音频文件对应的类别,并分别统计所述类别在所述参考音频文件集合中对应的参考音频文件数量;
    类别关联单元,用于从统计得到的参考音频文件数量中提取数值最大的参考音频文件数量,获取所述数值最大的参考音频文件数量对应的类别,将获取到的所述类别与所述目标音频文件进行关联存储。
  23. 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由 计算机处理器执行时用于执行一种音频文件均衡器参数配置的方法,其特征在于,该方法包括:
    获取针对目标音频文件预设的均衡器参数,所述均衡器参数是根据所述目标音频文件对应的类别得到的,所述类别是由所述目标音频文件相关联的参考音频文件集合中聚类参考音频文件得到的;
    按照获取的所述均衡器参数设置播放所述目标音频文件时采用的均衡器参数。
  24. 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种应用于音频文件库中的音频文件均衡器参数配置的方法,其特征在于,该方法包括:查找得到与目标音频文件相关联的参考音频文件,形成参考音频文件集合;
    在所述参考音频文件集合中根据所述参考音频文件对应的类别对所述参考音频文件进行聚类,将所述参考音频文件集合中集中度最高的类别设置为目标音频文件对应的类别;
    将与设置的所述类别对应的预设的均衡器参数设置为所述目标音频文件的均衡器参数,并存储该均衡器参数。
PCT/CN2014/088754 2013-10-24 2014-10-16 音频文件均衡器参数配置的方法和装置 WO2015058651A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310508781.0 2013-10-24
CN201310508781.0A CN104090880B (zh) 2013-10-24 2013-10-24 音频文件均衡器参数配置的方法和装置

Publications (1)

Publication Number Publication Date
WO2015058651A1 true WO2015058651A1 (zh) 2015-04-30

Family

ID=51638596

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088754 WO2015058651A1 (zh) 2013-10-24 2014-10-16 音频文件均衡器参数配置的方法和装置

Country Status (2)

Country Link
CN (1) CN104090880B (zh)
WO (1) WO2015058651A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113971551A (zh) * 2021-12-27 2022-01-25 深圳至简天成科技有限公司 一种在线面试的实时评估方法及系统
AU2017285210B2 (en) * 2016-06-14 2023-03-30 John E. Waters Battery modules and systems for remote command and control of same

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090880B (zh) * 2013-10-24 2017-04-05 广州酷狗计算机科技有限公司 音频文件均衡器参数配置的方法和装置
CN106328177A (zh) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 一种音乐播放调节方法
CN106559056B (zh) 2015-09-25 2019-05-07 电信科学技术研究院 参数处理方法、音频信号播放方法、装置及音频均衡器
CN105224670A (zh) * 2015-10-13 2016-01-06 广东欧珀移动通信有限公司 一种音效信息推送方法、服务器及移动终端
CN106844360A (zh) * 2015-12-04 2017-06-13 深圳富泰宏精密工业有限公司 电子装置及其音乐播放系统及方法
CN105740356B (zh) * 2016-01-26 2020-06-02 北京小米移动软件有限公司 一种对目标音频进行标记的方法和装置
CN106126676A (zh) * 2016-06-28 2016-11-16 联想(北京)有限公司 一种控制方法、电子设备及电子装置
CN113220913A (zh) * 2020-02-04 2021-08-06 阿里巴巴集团控股有限公司 多媒体文件处理方法、装置和交互系统
CN114171048A (zh) * 2021-11-30 2022-03-11 雷欧尼斯(北京)信息技术有限公司 一种室内多位置频域音频均衡方法、装置及设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103117074A (zh) * 2013-01-05 2013-05-22 广东欧珀移动通信有限公司 自动调整音频播放参数的方法及系统
CN103226961A (zh) * 2013-04-01 2013-07-31 北京小米科技有限责任公司 一种播放方法和装置
CN103295611A (zh) * 2012-03-02 2013-09-11 深圳富泰宏精密工业有限公司 音乐自动优化系统及方法
CN104090880A (zh) * 2013-10-24 2014-10-08 腾讯科技(深圳)有限公司 音频文件均衡器参数配置的方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295611A (zh) * 2012-03-02 2013-09-11 深圳富泰宏精密工业有限公司 音乐自动优化系统及方法
CN103117074A (zh) * 2013-01-05 2013-05-22 广东欧珀移动通信有限公司 自动调整音频播放参数的方法及系统
CN103226961A (zh) * 2013-04-01 2013-07-31 北京小米科技有限责任公司 一种播放方法和装置
CN104090880A (zh) * 2013-10-24 2014-10-08 腾讯科技(深圳)有限公司 音频文件均衡器参数配置的方法和装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2017285210B2 (en) * 2016-06-14 2023-03-30 John E. Waters Battery modules and systems for remote command and control of same
CN113971551A (zh) * 2021-12-27 2022-01-25 深圳至简天成科技有限公司 一种在线面试的实时评估方法及系统
CN113971551B (zh) * 2021-12-27 2022-04-19 深圳至简天成科技有限公司 一种在线面试的实时评估方法及系统

Also Published As

Publication number Publication date
CN104090880A (zh) 2014-10-08
CN104090880B (zh) 2017-04-05

Similar Documents

Publication Publication Date Title
WO2015058651A1 (zh) 音频文件均衡器参数配置的方法和装置
CN105120304B (zh) 信息显示方法、装置及系统
WO2018188586A1 (zh) 一种用户注册方法、装置及电子设备
WO2019086044A1 (zh) 音频文件处理方法、电子设备及存储介质
WO2017096877A1 (zh) 一种推荐方法和装置
CN109684513B (zh) 一种低质量视频识别方法及装置
CN104598502A (zh) 获取播放视频中背景音乐信息的方法、装置及系统
CN109299318A (zh) 音乐推荐的方法、装置、存储介质和终端设备
US11638873B2 (en) Dynamic modification of audio playback in games
KR20140089877A (ko) 서버 및 그의 제어 방법
CN110223696B (zh) 一种语音信号的采集方法、装置及终端设备
CN111046226B (zh) 一种音乐的调音方法及装置
TW202022849A (zh) 語音資料的識別方法、裝置及系統
CN110278515A (zh) 带有云均衡器的智能扬声器
CN111816170B (zh) 一种音频分类模型的训练和垃圾音频识别方法和装置
CN111723289B (zh) 信息推荐方法及装置
WO2023128877A2 (zh) 视频生成方法、装置、电子设备及可读存储介质
US20220147558A1 (en) Methods and systems for automatically matching audio content with visual input
CN111930338A (zh) 一种音量推荐方法、装置、设备及存储介质
WO2015070806A1 (zh) 一种音频文件的管理方法、装置和存储介质
CN106782612A (zh) 一种逆向爆音检测方法及其装置
CN104021151A (zh) 一种信息处理方法及电子设备
CN115240659A (zh) 分类模型训练方法、装置、计算机设备及存储介质
KR102540177B1 (ko) 화자 간 중첩되는 음성을 분리하여 대화록 서비스를 제공하는 방법
CN114281952A (zh) 一种用户意图分析方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14855146

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 30/06/2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14855146

Country of ref document: EP

Kind code of ref document: A1