CN107249080A - A kind of method, device and mobile terminal for adjusting audio - Google Patents
A kind of method, device and mobile terminal for adjusting audio Download PDFInfo
- Publication number
- CN107249080A CN107249080A CN201710496440.4A CN201710496440A CN107249080A CN 107249080 A CN107249080 A CN 107249080A CN 201710496440 A CN201710496440 A CN 201710496440A CN 107249080 A CN107249080 A CN 107249080A
- Authority
- CN
- China
- Prior art keywords
- music
- musical
- target
- audio
- genre information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000000694 effects Effects 0.000 claims abstract description 98
- 230000005236 sound signal Effects 0.000 claims abstract description 76
- 230000015654 memory Effects 0.000 claims description 36
- 238000000605 extraction Methods 0.000 claims description 13
- 238000009432 framing Methods 0.000 claims description 6
- 230000002123 temporal effect Effects 0.000 claims 5
- 238000004891 communication Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 14
- 238000005070 sampling Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000010606 normalization Methods 0.000 description 5
- 238000001228 spectrum Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 230000037433 frameshift Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 239000011435 rock Substances 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 241000699666 Mus <mouse, genus> Species 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 230000003313 weakening effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Environmental & Geological Engineering (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明实施例属于通信技术领域,提供了一种调整音效的方法、装置及移动终端。所述方法包括:从目标音乐文件的音频信号中提取对应的目标音乐特征;查找匹配所述目标音乐特征的音乐流派信息;在播放所述目标音乐文件时,加载对应所述音乐流派信息的音效配置信息。本发明实施例解决了因音乐文件的音乐流派信息缺失,导致在播放所述音乐文件时,无法加载对应音效配置信息的问题;本发明实施例提高了音乐流派信息的识别率,能够自动根据不同音乐文件的音乐流派信息,加载对应的音效配置信息,提升了用户的操作体验和音乐体验。
The embodiments of the present invention belong to the technical field of communication, and provide a method, a device and a mobile terminal for adjusting sound effects. The method includes: extracting the corresponding target music feature from the audio signal of the target music file; searching for music genre information matching the target music feature; when playing the target music file, loading the sound effect corresponding to the music genre information configuration information. The embodiment of the present invention solves the problem that the corresponding sound effect configuration information cannot be loaded when the music file is played due to the lack of music genre information of the music file; the embodiment of the present invention improves the recognition rate of the music genre information, and can automatically The music genre information of the music file loads the corresponding sound effect configuration information, which improves the user's operating experience and music experience.
Description
技术领域technical field
本发明涉及通信技术领域,具体地涉及一种调整音效的方法、装置及移动终端。The present invention relates to the field of communication technology, in particular to a method, device and mobile terminal for adjusting sound effects.
背景技术Background technique
随着电子设备的普及,人们越来越倾向于用电子设备播放音乐。为了提升用户听感,播放设备中经常内置各种音效配置信息以适配不同的音乐流派信息。当用户播放不同流派的音乐文件时,需要频繁地改变播放设备的音效配置信息才能使其适配当前播放的音乐文件,以达到较佳的播放效果。With the popularity of electronic devices, people are more and more inclined to use electronic devices to play music. In order to improve the user's sense of hearing, various sound effect configuration information is often built into the playback device to adapt to different music genre information. When the user plays music files of different genres, it is necessary to frequently change the sound effect configuration information of the playback device to adapt to the currently played music file, so as to achieve a better playback effect.
目前大多数播放设备采用读取音乐文件中的属性信息中的音乐流派信息来选择对应的音效配置信息,例如待播放的音乐文件的音乐流派信息是摇滚音乐,则加载对应摇滚音乐的音效配置信息进行播放。At present, most playback devices select the corresponding sound effect configuration information by reading the music genre information in the attribute information in the music file. For example, if the music genre information of the music file to be played is rock music, then load the sound effect configuration information corresponding to rock music to play.
但是在实际应用中,很多音乐文件的音乐流派信息缺失,导致在播放上述音乐文件时,无法加载对应音效配置信息的问题。However, in practical applications, the music genre information of many music files is missing, resulting in the problem that the corresponding sound effect configuration information cannot be loaded when the above music files are played.
发明内容Contents of the invention
本发明实施例提供一种调整音效的方法,以解决因音乐文件的音乐流派信息缺失,导致在播放上述音乐文件时,无法加载对应音效配置信息的问题。An embodiment of the present invention provides a method for adjusting sound effects, so as to solve the problem that the corresponding sound effect configuration information cannot be loaded when playing the above-mentioned music files due to lack of music genre information of the music files.
为了解决上述技术问题,本发明是这样实现的:一种调整音效的方法,包括:In order to solve the above-mentioned technical problems, the present invention is achieved in this way: a method for adjusting sound effects, comprising:
从目标音乐文件的音频信号中提取对应的目标音乐特征;extracting the corresponding target music feature from the audio signal of the target music file;
查找与所述目标音乐特征匹配的音乐流派信息;Searching for music genre information matching the target music feature;
在播放所述目标音乐文件时,加载与所述音乐流派信息对应的音效配置信息。When the target music file is played, the sound effect configuration information corresponding to the music genre information is loaded.
本发明实施例还提供了一种调整音效的装置,包括:The embodiment of the present invention also provides a device for adjusting sound effects, including:
音乐特征提取模块,用于从目标音乐文件的音频信号中提取对应的目标音乐特征;Music feature extraction module, for extracting corresponding target music feature from the audio signal of target music file;
音乐流派信息查找模块,用于查找与所述目标音乐特征匹配的音乐流派信息;A music genre information search module, configured to search for music genre information matching the target music features;
音效配置加载模块,用于在播放所述目标音乐文件时,加载与所述音乐流派信息对应的音效配置信息。The sound effect configuration loading module is configured to load the sound effect configuration information corresponding to the music genre information when playing the target music file.
本发明另一实施例提供了一种移动终端,包括处理器、存储器及存储在所述存储器中并可在所述处理器中运行的调整音效的程序,所述调整音效的程序被所述处理器执行时实现如上述权利要求中任一项所述的调整音效的方法的步骤。Another embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a sound effect adjustment program stored in the memory and operable in the processor, and the sound effect adjustment program is processed by the processor Implementing the steps of the method for adjusting sound effects according to any one of the preceding claims when the device is executed.
本发明又一实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有调整音效的程序,所述调整音效的程序被处理器执行时实现如上述权利要求中任一项所述的调整音效的方法的步骤。Yet another embodiment of the present invention provides a computer-readable storage medium, on which a program for adjusting sound effects is stored, and when the program for adjusting sound effects is executed by a processor, any one of the above claims can be achieved. Steps in the method of adjusting the sound effect described in the item.
在本发明实施例中,首先通过从目标音乐文件的音频信号中提取目标音乐特征,然后根据上述目标音乐特征查找到目标音乐文件的音乐流派信息,从而在目标音乐文件播放时,加载与目标音乐文件对应的音乐流派信息的音效配置信息,因此解决了因音乐文件的音乐流派信息缺失,导致在播放上述音乐文件时,无法加载对应音效配置信息的问题;本发明实施例提高了音乐流派信息的识别率,能够自动根据不同音乐文件的音乐流派信息,加载对应的音效配置信息,提升了用户的操作体验和音乐体验。In the embodiment of the present invention, at first by extracting the target music feature from the audio signal of the target music file, then find out the music genre information of the target music file according to the above-mentioned target music feature, thereby when the target music file is played, load and target music The sound effect configuration information of the music genre information corresponding to the file, so it solves the problem that the corresponding sound effect configuration information cannot be loaded when the above music file is played due to the lack of music genre information of the music file; the embodiment of the present invention improves the music genre information. The recognition rate can automatically load the corresponding sound effect configuration information according to the music genre information of different music files, which improves the user's operating experience and music experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.
图1示出了本发明方法实施例一的一种调整音效的方法的步骤流程图;Fig. 1 shows a flow chart of steps of a method for adjusting sound effects according to Embodiment 1 of the method of the present invention;
图2示出了本发明方法实施例二的一种调整音效的方法的步骤流程图;Fig. 2 shows a flow chart of steps of a method for adjusting sound effects according to Embodiment 2 of the method of the present invention;
图3示出了本发明装置实施例三的一种调整音效的装置的结构框图;Fig. 3 shows a structural block diagram of a device for adjusting sound effects according to Embodiment 3 of the device of the present invention;
图4示出了本发明装置实施例三的另一种调整音效的装置的结构框图;Fig. 4 shows a structural block diagram of another device for adjusting sound effects according to Embodiment 3 of the device of the present invention;
图5示出了本发明装置实施例四的一种移动终端的结构框图;FIG. 5 shows a structural block diagram of a mobile terminal according to Embodiment 4 of the device of the present invention;
图6示出了本发明装置实施例五的一种移动终端的结构示意图。FIG. 6 shows a schematic structural diagram of a mobile terminal according to Embodiment 5 of the apparatus of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例的技术方案可以应用于各种音乐播放器,例如可以应用于移动终端、台式电脑、MP3播放器等具有播放音乐文件功能的电子设备,也可以应用于网页端音乐播放器、客户端音乐播放器等能播放以数字信号形式存储的音乐文件的软件。The technical solutions of the embodiments of the present invention can be applied to various music players, such as mobile terminals, desktop computers, MP3 players and other electronic devices with the function of playing music files, and can also be applied to web page music players, client Software that can play music files stored in the form of digital signals, such as end music players.
【方法实施例一】【Method Embodiment 1】
参照图1所示,本发明实施例提供了一种调整音效的方法,具体可以包括步骤101-103:Referring to Figure 1, the embodiment of the present invention provides a method for adjusting sound effects, which may specifically include steps 101-103:
步骤101:从目标音乐文件的音频信号中提取对应的目标音乐特征。Step 101: Extract corresponding target music features from the audio signal of the target music file.
在本发明实施例中,从上述目标音乐文件的音频信号中提取对应的目标音乐特征;上述目标音乐文件可以为待播放的音乐文件;上述音频信号可以是上述目标音乐文件的完整的音频信号;也可以是上述目标音乐文件中的某一段音频信号或多段音频信号。In an embodiment of the present invention, the corresponding target music feature is extracted from the audio signal of the above-mentioned target music file; the above-mentioned target music file can be a music file to be played; the above-mentioned audio signal can be a complete audio signal of the above-mentioned target music file; It may also be a certain audio signal or multiple audio signals in the above-mentioned target music file.
上述目标音乐特征可以是对上述音频信号进行信号处理分析之后,如时域分析、频域分析、小波分析等,提取的上述音频信号的时域特征、频域特征、时频特征等,例如幅值特征、基波特征、谐波特征等。The above-mentioned target music features can be the time-domain features, frequency-domain features, time-frequency features, etc. Value features, fundamental wave features, harmonic features, etc.
可以理解的是,上述幅值特征对应于目标音乐文件的响度特征;上述基波特征对应于上述目标音乐文件的音调特征;上述谐波特征对应于目标音乐文件的音色特征。It can be understood that the above-mentioned amplitude feature corresponds to the loudness feature of the target music file; the above-mentioned fundamental wave feature corresponds to the tone feature of the above-mentioned target music file; the above-mentioned harmonic feature corresponds to the timbre feature of the target music file.
例如,提取的上述目标音乐特征在数学模型上可以表示为:For example, the extracted above-mentioned target music features can be expressed on the mathematical model as:
[X1,X2,X3,…,Xn],此集合表示上述目标音乐特征的集合,其中X 表示的是目标音乐特征,可以是标量的形式,可以是向量的形式,也可以是矩阵的形式,也可以是其他形式;下脚标1,2,3,…,n表示的是目标音乐特征的类型,比如1表示短时能量,2表示短时平均幅度等。[X 1 , X 2 , X 3 ,..., X n ], this set represents the set of the above-mentioned target music features, where X represents the target music features, which can be in the form of scalar, vector, or The form of the matrix can also be other forms; the subscripts 1, 2, 3, ..., n indicate the type of the target music feature, for example, 1 indicates the short-term energy, 2 indicates the short-term average amplitude, etc.
步骤102:查找与上述目标音乐特征匹配的音乐流派信息。Step 102: Search for music genre information matching the above-mentioned target music characteristics.
在本发明实施例中,查找与上述目标音乐特征匹配的音乐流派信息;上述音乐流派信息可以包括乡村音乐、摇滚音乐、古典音乐等;可以在本地或通过网络查找预设的音乐流派信息与预设音乐特征的对应关系,上述对应关系可以是表的形式,数据库的形式,或者是其他形式。In the embodiment of the present invention, the music genre information matching the above-mentioned target music characteristics is searched; the above-mentioned music genre information may include country music, rock music, classical music, etc.; the preset music genre information and preset Assuming a correspondence relationship of music features, the above correspondence relationship may be in the form of a table, in the form of a database, or in other forms.
参照表1所示,本发明实施例的一种可选方式中,可以通过查找预设的音乐流派信息与预设音乐特征的对照表,获得与上述目标音乐特征匹配的预设音乐特征对应的音乐流派信息。As shown in Table 1, in an optional manner of the embodiment of the present invention, by looking up the comparison table between the preset music genre information and the preset music features, the information corresponding to the preset music features matching the above-mentioned target music features can be obtained. Music genre information.
表1Table 1
步骤103:在播放上述目标音乐文件时,加载与上述音乐流派信息对应的音效配置信息。Step 103: When the above target music file is played, the sound effect configuration information corresponding to the above music genre information is loaded.
可以理解的是,参照表2所示,上述音效配置信息可以是从音乐播放器自带的音乐流派信息与音效配置信息的对应关系中查找到于上述音乐流派信息对应的音效配置信息,也可以通过本地或网络查找预设的音乐流派信息与音效配置信息的对应关系。It can be understood that, as shown in Table 2, the above-mentioned sound effect configuration information may be found in the corresponding sound effect configuration information of the above-mentioned music genre information from the corresponding relationship between the music genre information and the sound effect configuration information carried by the music player, or The corresponding relationship between the preset music genre information and the sound effect configuration information is searched locally or through the network.
表2Table 2
在上述目标音乐文件的音频数据流加载音效配置信息,再由模拟电路处理,最后播放出来的声音,就是加载了音效配置信息的目标音乐文件的声音。音效可以进一步增强目标音乐文件的真实感、气氛等特性,可以包括环境音效、动作音效、气氛音效等。The sound effect configuration information is loaded into the audio data stream of the above-mentioned target music file, and then processed by the analog circuit, and the finally played sound is the sound of the target music file loaded with the sound effect configuration information. The sound effects can further enhance the realism, atmosphere and other characteristics of the target music file, and can include environmental sound effects, action sound effects, atmosphere sound effects, and the like.
音效配置信息可以包括均衡器的配置信息、声音立体环绕效果的配置信息等;均衡器的配置信息可以是对目标音乐文件的音频信号按照信号频率的不同进行信号增益或信号减弱,例如将音频信号按照频率的不同划分为50Hz 档,200Hz档,1KHz档,3KHz档,14KHz档,每档有10级调节:-15dB (decibel,分贝),-12dB,-9dB,-6dB,-3dB,0dB,+3dB,+6dB,+9dB, +12dB,+15dB;例如,音效配置信息是对50Hz档+6dB,可能是对20Hz-60Hz 频率范围的信号增益+6dB,能够提升目标音乐文件强有力的感觉,给人很响的感觉,如雷声等。本发明实施例并不限于上述示例性的音效配置信息。The sound effect configuration information may include equalizer configuration information, sound stereo surround effect configuration information, etc.; the equalizer configuration information may be to perform signal gain or signal weakening on the audio signal of the target music file according to the different signal frequencies, for example, the audio signal According to the frequency, it is divided into 50Hz file, 200Hz file, 1KHz file, 3KHz file, 14KHz file, each file has 10 levels of adjustment: -15dB (decibel, decibel), -12dB, -9dB, -6dB, -3dB, 0dB, +3dB, +6dB, +9dB, +12dB, +15dB; for example, the sound configuration information is +6dB for the 50Hz file, which may be +6dB for the signal gain in the 20Hz-60Hz frequency range, which can enhance the powerful feeling of the target music file , giving a very loud feeling, such as thunder and so on. The embodiment of the present invention is not limited to the above exemplary sound effect configuration information.
在本发明实施例中,首先通过从目标音乐文件的音频信号中提取目标音乐特征,然后根据上述目标音乐特征查找到目标音乐文件的音乐流派信息,从而在目标音乐文件播放时,加载与目标音乐文件对应的音乐流派信息的音效配置信息,因此解决了因音乐文件的音乐流派信息缺失,导致在播放上述音乐文件时,无法加载对应音效配置信息的问题;本发明实施例提高了音乐流派信息的识别率,能够自动根据不同音乐文件的音乐流派信息,加载对应的音效配置信息,提升了用户的操作体验和音乐体验。In the embodiment of the present invention, at first by extracting the target music feature from the audio signal of the target music file, then find out the music genre information of the target music file according to the above-mentioned target music feature, thereby when the target music file is played, load and target music The sound effect configuration information of the music genre information corresponding to the file, so it solves the problem that the corresponding sound effect configuration information cannot be loaded when the above music file is played due to the lack of music genre information of the music file; the embodiment of the present invention improves the music genre information. The recognition rate can automatically load the corresponding sound effect configuration information according to the music genre information of different music files, which improves the user's operating experience and music experience.
【方法实施例二】[Method Embodiment 2]
参照图2所示,本发明实施例提供了一种调整音效的方法,具体可以包括步骤201-206:Referring to Figure 2, the embodiment of the present invention provides a method for adjusting sound effects, which may specifically include steps 201-206:
步骤201:获取目标音乐文件经解码后的音频信号。Step 201: Obtain the decoded audio signal of the target music file.
在本发明实施例的一种可选方式中,可以获取设定时间长度的目标音乐文件经编解码处理器解码后的音频信号,例如获取10秒的上述目标音乐文件经解码后的PCM(脉冲编码调制,Pulse Code Modulation)音频信号。In an optional manner of the embodiment of the present invention, the audio signal of the target music file of the set time length after being decoded by the codec processor can be obtained, for example, the decoded PCM (pulse audio signal) of the above-mentioned target music file for 10 seconds can be obtained. Code modulation, Pulse Code Modulation) audio signal.
若上述目标音乐文件为在线播放而需要下载时,可通过对播放前下载的缓冲数据进行解码获取上述目标音乐文件的音频信号,进而提取对应的目标音乐特征。If the above-mentioned target music file needs to be downloaded for online play, the audio signal of the above-mentioned target music file can be obtained by decoding the buffered data downloaded before playing, and then the corresponding target music features can be extracted.
步骤202:提取上述音频信号的时域特征和/或频域特征作为上述目标音乐特征。Step 202: extracting the time-domain features and/or frequency-domain features of the above-mentioned audio signal as the above-mentioned target music features.
在本发明实施例的一种实施方式中,对上述音频信号进行时域和/或频域数据处理,提取上述音频信号的时域特征和/或频域特征作为上述目标音乐特征;可以通过对上述音频信号进行分帧加窗处理后进行时域数据处理,可以通过对上述音频信号进行FFT(快速傅里叶变换,Fast Fourier Transformation) 变换之后进行频域数据处理。In an implementation manner of an embodiment of the present invention, the above-mentioned audio signal is subjected to time-domain and/or frequency-domain data processing, and the time-domain feature and/or frequency-domain feature of the above-mentioned audio signal is extracted as the above-mentioned target music feature; The above-mentioned audio signal is subjected to frame division and windowing processing to perform time-domain data processing, and the above-mentioned audio signal may be subjected to FFT (Fast Fourier Transformation, Fast Fourier Transformation) transformation to perform frequency-domain data processing.
可选地,上述提取上述音频信号的时域特征和/或频域特征作为上述目标音乐特征的步骤202可以包括:Optionally, the step 202 of extracting the time-domain features and/or frequency-domain features of the above-mentioned audio signal as the above-mentioned target music features may include:
对上述音频信号进行预加重处理和归一化处理;Perform pre-emphasis processing and normalization processing on the above audio signal;
根据预设时间段将上述音频信号划分为多个音频帧;dividing the audio signal into multiple audio frames according to a preset time period;
提取与上述多个音频帧对应的时域特征和/或频域特征作为上述目标音乐特征。Extracting time-domain features and/or frequency-domain features corresponding to the above-mentioned multiple audio frames as the above-mentioned target music features.
上述预加重处理是一种对音频信号高频分量进行提升的信号处理方式。因为在实际过程中,音频信号的功率谱随频率的增加而减小,其大部分能量集中在低频范围内,这就造成音频信号高频端的信噪比可能降到不能容许的程度,因此采用预加重处理增加音频信号的高频分辨率。具体地,可以通过高通数字滤波器实现预加重处理。上述归一化处理是常见的简化计算的信息处理方式,将有量纲的处理对象变换为无量纲的处理对象,使得处理结果能够有更广泛的适用性。The foregoing pre-emphasis processing is a signal processing method for enhancing high-frequency components of an audio signal. Because in the actual process, the power spectrum of the audio signal decreases with the increase of the frequency, and most of its energy is concentrated in the low frequency range, which causes the signal-to-noise ratio of the high-frequency end of the audio signal to be reduced to an unacceptable level. Pre-emphasis increases the high-frequency resolution of an audio signal. Specifically, pre-emphasis processing can be realized through a high-pass digital filter. The above-mentioned normalization processing is a common information processing method for simplifying calculations, and transforms a dimensional processing object into a dimensionless processing object, so that the processing results can have wider applicability.
音频信号是一种随时间而变化的信号,可以认为在一小段时间里(一般 10~30ms)音频信号近似不变,即音频信号具有短时平稳性;可以对音频信号进行分帧处理,按照预设时间段将上述音频信号划分为多个音频帧(也可以称为分析帧)来进行处理,对应的音乐特征可以称为短时音乐特征。The audio signal is a signal that changes with time. It can be considered that the audio signal is approximately unchanged in a short period of time (generally 10-30ms), that is, the audio signal has short-term stability; the audio signal can be processed in frames, according to The audio signal is divided into multiple audio frames (also referred to as analysis frames) for processing in the preset time period, and the corresponding music features may be called short-term music features.
音频信号的分帧处理一般是采用可移动的有限长度窗口进行加权的方法来实现的,即加窗分帧处理,以解决因为对音频信号进行分帧处理破坏了音频信号的自然度和连续性,导致频谱泄露的问题。一般每秒的音频帧数可以为33~100帧,视实际情况而定。分帧处理虽然可以采用连续分段的方法,但一般要采用交叠分段的方法,这是为了使音频帧之间平滑过渡,保持其连续性。前一帧和后一帧的交叠部分称为帧移,帧移与帧长的比值一般0~0.5;其中帧长为一个音频帧的采样点的数目或采样时间。例如,针对6秒的采样率为50kHz的PCM音频信号,取30ms为帧长,15ms为帧移,则将上述音频信号划分为401个音频帧,每个音频帧的采样点的数目,即样本数目为 1500。在具体实施中,可以选择矩形窗、汉宁窗、三角窗等语音信号处理常用的窗函数进行加窗分帧处理。例如,汉宁窗的窗函数如下式所示:The framing processing of audio signals is generally realized by weighting a movable finite length window, that is, windowing and framing processing, to solve the problem that the naturalness and continuity of audio signals are destroyed by framing processing of audio signals. , leading to the problem of spectrum leakage. Generally, the number of audio frames per second can be 33 to 100 frames, depending on the actual situation. Although the method of continuous segmentation can be used for framing processing, the method of overlapping segmentation is generally used to make a smooth transition between audio frames and maintain their continuity. The overlapping part of the previous frame and the next frame is called frame shift, and the ratio of frame shift to frame length is generally 0 to 0.5; where the frame length is the number of sampling points or sampling time of an audio frame. For example, for a PCM audio signal with a sampling rate of 50kHz for 6 seconds, take 30ms as the frame length and 15ms as the frame shift, then divide the above audio signal into 401 audio frames, and the number of sampling points of each audio frame, that is, the sample The number is 1500. In a specific implementation, a window function commonly used in speech signal processing such as a rectangular window, a Hanning window, and a triangular window may be selected for windowing and frame division processing. For example, the window function of the Hanning window is as follows:
对每一个音频帧经窗函数W(n)加窗处理后得到新的音频帧Xm(n):for each audio frame A new audio frame X m (n) is obtained after windowing with the window function W(n):
其中Xm(n)是第m个音频帧的第n个采样值,即幅值; N为帧长,即一个音频帧中的采样点的数目;n表示音频帧中的第n各采样点,n=1,2,3…N。 Wherein X m (n) is the nth sampling value of the m audio frame, i.e. the amplitude; N is the frame length, i.e. the number of sampling points in an audio frame; n represents the nth sampling points in the audio frame , n=1,2,3...N.
示例性地,上述时域特征可以包括短时能量,上述短时能量rlow定义为在一个文本窗内低于平均能量的音频帧的比率;Na为一个文本窗内音频帧的数目,N为一个音频帧内样本的个数。Exemplarily, the above-mentioned time-domain features may include short-term energy, and the above-mentioned short-time energy r low is defined as the ratio of audio frames lower than the average energy in a text window; Na is the number of audio frames in a text window, and N is The number of samples in an audio frame.
其中,xrms为短时平均能量,x(n)为第n个样本点的采样值。Among them, x rms is the short-term average energy, and x(n) is the sampling value of the nth sample point.
例如,针对上述6秒的采样率为50kHz的PCM音频信号,取30ms为帧长,15ms为帧移;可以取上述6秒的音频信号为一个文本窗,则Na为 401,N为1500。For example, for the above-mentioned 6-second PCM audio signal with a sampling rate of 50kHz, take 30ms as the frame length and 15ms as the frame shift; you can take the above-mentioned 6-second audio signal as a text window, then Na is 401, and N is 1500.
示例性地,上述时域特征可以包括短时过零率zero-cross,定义为音频信号在时间上通过过零率的次数,已经被广泛应用于语音检索和语音识别中,也是区分音乐流派的重要描述符。Exemplarily, the above-mentioned time-domain features may include a short-term zero-crossing rate zero-cross, which is defined as the number of times an audio signal passes through a zero-crossing rate in time, which has been widely used in speech retrieval and speech recognition, and is also used to distinguish music genres important descriptors.
其中,N为一个音频帧内样本的个数,x(n)为第n个样本点的采样值, sign(t)在t>0时为1,在t<0时为0。Among them, N is the number of samples in an audio frame, x(n) is the sampling value of the nth sample point, sign(t) is 1 when t>0, and is 0 when t<0.
可选地,上述时域特征包括:幅度、短时能量、短时平均幅度、短时过零率中的任一种或任意组合;上述频域特征包括:频谱、基波、谐波、倒频谱、共振峰、谐振频率中的任一种或任意组合。Optionally, the above-mentioned time-domain features include: any one or any combination of amplitude, short-term energy, short-time average amplitude, and short-time zero-crossing rate; the above-mentioned frequency-domain features include: frequency spectrum, fundamental wave, harmonic, inverted Any one or any combination of spectrum, formant, and resonance frequency.
示例性地,上述幅度包括上述音频信号的最大幅值、最小幅值、平均幅值等特征值,可以是各音频帧的平均幅值组成的特征向量,还可以是其他形式;可以理解的是,其它上述时域特征和频域特征同样参照上述幅度的描述。总之,本发明时是里对此不做限制。Exemplarily, the above-mentioned amplitude includes feature values such as the maximum amplitude, the minimum amplitude, and the average amplitude of the above-mentioned audio signal, which may be a feature vector composed of the average amplitude of each audio frame, and may also be in other forms; it can be understood that , other above-mentioned time-domain features and frequency-domain features also refer to the description of the above-mentioned amplitude. In a word, the present invention is not limited thereto.
步骤203:通过计算上述目标音乐特征与预设音乐数据库中各预设音乐特征的相似系数,确定与上述目标音乐特征对应的预设音乐特征。Step 203: Determine the preset music feature corresponding to the target music feature by calculating the similarity coefficient between the target music feature and each preset music feature in the preset music database.
在本发明实施例中,通过计算上述目标音乐特征与预设音乐数据库中各预设音乐特征的相似系数,确定与上述目标音乐特征对应的预设音乐特征。上述音乐数据库可以位于本地存储器中,也可以位于网络中,如云端等;总之,本发明实施例对此不作限制。In the embodiment of the present invention, the preset music feature corresponding to the target music feature is determined by calculating the similarity coefficient between the target music feature and each preset music feature in the preset music database. The foregoing music database may be located in a local storage, or in a network, such as the cloud; in short, this embodiment of the present invention does not limit it.
示例性地,参照表3所示的预设音乐数据库,上述目标音乐特征[X1, X2,X3,…,Xn]与预设音乐特征[A1,A2,A3,…,An],通过计算相似系数为ΣA={δ1(X1-A1)2+δ2(X2-A2)2+δ3(X3-A3)2+…+δn(Xn-An)2},其中δi为i类型的预设音乐特征的元素的权重。通过比较各预设音乐特征对应的相似系数ΣA、ΣB、ΣC…ΣN的大小,相似系数最小的预设音乐特征即为与上述目标音乐特征对应的预设音乐特征。Exemplarily, referring to the preset music database shown in Table 3, the above-mentioned target music features [X 1 , X 2 , X 3 , ..., X n ] and preset music features [A 1 , A 2 , A 3 , ... , A n ], by calculating the similarity coefficient as Σ A ={δ 1 (X 1 -A 1 ) 2 +δ 2 (X 2 -A 2 ) 2 +δ 3 (X 3 -A 3 ) 2 +…+δ n (X n -A n ) 2 }, where δ i is the weight of the element of the preset music feature of type i. By comparing the similarity coefficients Σ A , Σ B , Σ C ... Σ N corresponding to each preset music feature, the preset music feature with the smallest similarity coefficient is the preset music feature corresponding to the above-mentioned target music feature.
若计算出存在多个相同大小的相似系数,或者差值在预设阈值之内,则可通过预先设定的优先级顺序,逐个对比预设音乐特征内的元素和上述目标音乐特征的元素。例如:若ΣA=ΣB,则以上述预设音乐特征的集合和上述目标音乐特征的集合内下脚标数值顺序为优先级顺序,即先对比|X1-A1|与| X1-B1|;若|X1-A1|<|X1-B1|,则预设音乐特征[A1,A2,A3,…,An]为对应上述目标音乐特征的预设音乐特征;若|X1-A1|=|X1-B1|,则对比|X2-A2|和|X2-B2|,如此重复,即可获得唯一与上述目标音乐特征对应的预设音乐特征。If it is calculated that there are multiple similarity coefficients of the same size, or the difference is within the preset threshold, the elements in the preset music feature can be compared one by one with the elements of the above-mentioned target music feature through a preset priority order. For example: if Σ A =Σ B , then take the order of subscript numerical values in the set of the above-mentioned preset music features and the set of the above-mentioned target music features as the priority order, that is, first compare |X 1 -A 1 | with |X 1 - B 1 |; if |X 1 -A 1 |<|X 1 -B 1 |, then the preset music features [A 1 , A 2 , A 3 ,..., A n ] are the presets corresponding to the above target music features music features; if |X 1 -A 1 |=|X 1 -B 1 |, then compare |X 2 -A 2 | and |X 2 -B 2 |, repeating this, you can get the unique and above-mentioned target music features Corresponding preset music features.
步骤204:根据上述预设音乐数据库中预设音乐特征与音乐流派信息的对应关系,获取与上述预设音乐特征对应的音乐流派信息。Step 204: Obtain music genre information corresponding to the preset music feature according to the correspondence between the preset music feature and the music genre information in the preset music database.
在本发明实施例的一种可选方式中,参照表3所示的预设音乐数据库,根据上述预设音乐数据库中预设音乐特征与音乐流派信息的对应关系,获取与上述预设音乐特征对应的音乐流派信息。例如,上述对应上述目标音乐特征的预设音乐特征[A1,A2,A3,…,An]对应的音乐流派信息为A。In an optional manner of the embodiment of the present invention, referring to the preset music database shown in Table 3, according to the corresponding relationship between preset music features and music genre information in the above preset music database, the information related to the above preset music features is obtained. Corresponding music genre information. For example, the music genre information corresponding to the preset music feature [A 1 , A 2 , A 3 , . . . , A n ] corresponding to the target music feature is A.
步骤205:根据上述预设音乐数据库中音乐流派信息与音效配置信息的对应关系,获取与上述音乐流派信息对应的音效配置信息。Step 205: Obtain the sound effect configuration information corresponding to the music genre information according to the correspondence between the music genre information and the sound effect configuration information in the preset music database.
在本发明实施例的一种可选方式中,参照表3所示的预设音乐数据库,根据上述预设音乐数据库中音乐流派信息与音效配置信息的对应关系,获取与上述音乐流派信息对应的音效配置信息。例如,上述音乐流派信息A对应的音效配置信息为a。In an optional manner of the embodiment of the present invention, referring to the preset music database shown in Table 3, according to the corresponding relationship between the music genre information and the sound effect configuration information in the preset music database, the information corresponding to the above music genre information is obtained. Audio configuration information. For example, the sound effect configuration information corresponding to the music genre information A is a.
可以理解的是,本发明实施例中通过预设音乐数据库中预设音乐特征与音乐流派信息的对应关系,查找目标音乐文件的音乐流派信息,进一步地查找目标音乐文件对应的音效配置信息,因此可以通过预设音乐数据库对音乐流派分类以及对应的音效配置进行统一的管理和更新,提高了调节音效的方法的适用性。It can be understood that, in the embodiment of the present invention, the music genre information of the target music file is searched through the preset music database in the preset music database and the corresponding relationship between the music genre information, and the sound effect configuration information corresponding to the target music file is further searched. The classification of music genres and corresponding sound effect configurations can be uniformly managed and updated through the preset music database, which improves the applicability of the method for adjusting sound effects.
步骤206:在播放上述目标音乐文件时,加载与上述音乐流派信息对应的音效配置信息。Step 206: When the above target music file is played, the sound effect configuration information corresponding to the above music genre information is loaded.
在本发明实施例中,在播放上述目标音乐文件时,加载与上述音乐流派信息对应的音效配置信息到数字信号处理器;上述数字信号处理器在对上述目标音乐文件进行播放处理时,加载上述音效配置信息到上述目标音乐文件的音频数据流中。In the embodiment of the present invention, when playing the above-mentioned target music file, the sound effect configuration information corresponding to the above-mentioned music genre information is loaded to the digital signal processor; Audio configuration information into the audio data stream of the above target music file.
在本发明实施例中,首先通过从目标音乐文件的音频信号中提取目标音乐特征,然后根据上述目标音乐特征查找到目标音乐文件的音乐流派信息,从而在目标音乐文件播放时,加载与目标音乐文件对应的音乐流派信息的音效配置信息,因此解决了因音乐文件的音乐流派信息缺失,导致在播放上述音乐文件时,无法加载对应音效配置信息的问题;一方面,本发明实施例提高了音乐流派信息的识别率,能够自动根据不同音乐文件的音乐流派信息,加载对应的音效配置信息,提升了用户的操作体验和音乐体验;另一方面,本发明实施例可以通过预设音乐数据库对音乐流派分类以及对应的音效配置进行统一的管理和更新,提高了调整音效的方法的适用性。In the embodiment of the present invention, at first by extracting the target music feature from the audio signal of the target music file, then find out the music genre information of the target music file according to the above-mentioned target music feature, thereby when the target music file is played, load and target music The sound effect configuration information of the music genre information corresponding to the file, so it solves the problem that the corresponding sound effect configuration information cannot be loaded when the above music file is played due to the lack of music genre information of the music file; on the one hand, the embodiment of the present invention improves the music performance. The recognition rate of the genre information can automatically load the corresponding sound effect configuration information according to the music genre information of different music files, which improves the user's operating experience and music experience; Genre classification and corresponding sound effect configurations are managed and updated in a unified manner, which improves the applicability of the method of adjusting sound effects.
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because According to the embodiment of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
【装置实施例三】[Device Embodiment 3]
参照图3所示,本发明实施例提供了一种调整音效的装置,具体可以包括:Referring to Figure 3, an embodiment of the present invention provides a device for adjusting sound effects, which may specifically include:
音乐特征提取模块301,用于从目标音乐文件的音频信号中提取对应的目标音乐特征;Music feature extraction module 301, for extracting corresponding target music feature from the audio signal of target music file;
音乐流派信息查找模块302,用于查找与上述目标音乐特征匹配的音乐流派信息;A music genre information search module 302, configured to search for music genre information matching the above-mentioned target music features;
音效配置加载模块303,用于在播放上述目标音乐文件时,加载与上述音乐流派信息对应的音效配置信息。The sound effect configuration loading module 303 is configured to load the sound effect configuration information corresponding to the above music genre information when the above target music file is played.
可选地,参照图4所示,在上述图3的基础上,上述音乐流派信息查找模块302可以包括:Optionally, as shown in FIG. 4, on the basis of the above-mentioned FIG. 3, the above-mentioned music genre information search module 302 may include:
预设音乐特征确定单元3021,用于通过计算上述目标音乐特征与预设音乐数据库中各预设音乐特征的相似系数,确定与上述目标音乐特征对应的预设音乐特征;The preset music feature determining unit 3021 is used to determine the preset music feature corresponding to the above-mentioned target music feature by calculating the similarity coefficient between the above-mentioned target music feature and each preset music feature in the preset music database;
音乐流派信息获取单元3022,用于根据上述预设音乐数据库中预设音乐特征与音乐流派信息的对应关系,获取与上述预设音乐特征对应的音乐流派信息。The music genre information acquiring unit 3022 is configured to acquire music genre information corresponding to the aforementioned preset music features according to the correspondence between preset music features and music genre information in the aforementioned preset music database.
可选地,上述音乐流派信息查找模块302,还可以包括:Optionally, the above-mentioned music genre information search module 302 may also include:
音效配置信息获取单元3023,用于根据上述预设音乐数据库中音乐流派信息与音效配置信息的对应关系,获取与上述音乐流派信息对应的音效配置信息。The sound effect configuration information obtaining unit 3023 is configured to obtain the sound effect configuration information corresponding to the music genre information according to the correspondence between the music genre information and the sound effect configuration information in the preset music database.
可选地,上述音乐特征提取模块301可以包括:Optionally, the above-mentioned music feature extraction module 301 may include:
音频信号获取单元3011,用于获取目标音乐文件经解码后的音频信号;An audio signal acquisition unit 3011, configured to acquire the decoded audio signal of the target music file;
音乐特征提取单元3012,用于提取上述音频信号的时域特征和/或频域特征作为上述目标音乐特征。The music feature extraction unit 3012 is configured to extract the time domain feature and/or frequency domain feature of the above audio signal as the above target music feature.
可选地,上述音乐特征提取单元3012可以包括:Optionally, the above-mentioned music feature extraction unit 3012 may include:
预处理子单元,用于对上述音频信号进行预加重处理和归一化处理,并按照预设时间段划分为多个音频帧;The preprocessing subunit is used to perform pre-emphasis processing and normalization processing on the above audio signal, and divide it into multiple audio frames according to the preset time period;
分帧子单元,用于根据预设时间段将上述音频信号划分为多个音频帧;A framing subunit, configured to divide the audio signal into multiple audio frames according to a preset time period;
音乐特征提取子单元,用于提取与上述多个音频帧对应的时域特征和/ 或频域特征作为上述目标音乐特征。The music feature extraction subunit is configured to extract time-domain features and/or frequency-domain features corresponding to the above-mentioned multiple audio frames as the above-mentioned target music features.
可选地,上述时域特征可以包括:幅度、短时能量、短时平均幅度、短时过零率中的任一种或任意组合;上述频域特征包括:频谱、基波、谐波、倒频谱、共振峰、谐振频率中的任一种或任意组合。Optionally, the above-mentioned time-domain features may include: any one or any combination of amplitude, short-term energy, short-time average amplitude, and short-time zero-crossing rate; the above-mentioned frequency-domain features include: spectrum, fundamental wave, harmonic, Any one or any combination of cepstrum, formant, and resonance frequency.
在本发明实施例中,首先通过从目标音乐文件的音频信号中提取目标音乐特征,然后根据上述目标音乐特征查找到目标音乐文件的音乐流派信息,从而在目标音乐文件播放时,加载与目标音乐文件对应的音乐流派信息的音效配置信息,因此解决了因音乐文件的音乐流派信息缺失,导致在播放上述音乐文件时,无法加载对应音效配置信息的问题;一方面,本发明实施例提高了音乐流派信息的识别率,能够自动根据不同音乐文件的音乐流派信息,加载对应的音效配置信息,提升了用户的操作体验和音乐体验;另一方面,本发明实施例可以通过预设音乐数据库对音乐流派分类以及对应的音效配置进行统一的管理和更新,提高了调整音效的方法的适用性。In the embodiment of the present invention, at first by extracting the target music feature from the audio signal of the target music file, then find out the music genre information of the target music file according to the above-mentioned target music feature, thereby when the target music file is played, load and target music The sound effect configuration information of the music genre information corresponding to the file, so it solves the problem that the corresponding sound effect configuration information cannot be loaded when the above music file is played due to the lack of music genre information of the music file; on the one hand, the embodiment of the present invention improves the music performance. The recognition rate of the genre information can automatically load the corresponding sound effect configuration information according to the music genre information of different music files, which improves the user's operating experience and music experience; Genre classification and corresponding sound effect configurations are managed and updated in a unified manner, which improves the applicability of the method of adjusting sound effects.
【装置实施例四】[Device Embodiment 4]
图5是本发明另一个实施例的移动终端的框图。图5所示的移动终端500 包括:至少一个处理器501、存储器502、至少一个网络接口504、其他用户接口503。移动终端500中的各个组件通过总线系统505耦合在一起。可理解,总线系统505用于实现这些组件之间的连接通信。总线系统505除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图5中将各种总线都标为总线系统505。FIG. 5 is a block diagram of a mobile terminal according to another embodiment of the present invention. The mobile terminal 500 shown in FIG. 5 includes: at least one processor 501 , a memory 502 , at least one network interface 504 , and other user interfaces 503 . Various components in the mobile terminal 500 are coupled together through the bus system 505 . It can be understood that the bus system 505 is used to realize connection and communication between these components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 505 in FIG. 5 .
其中,用户接口503可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 503 may include a display, a keyboard, or a pointing device (for example, a mouse, a trackball (trackball), a touch panel, or a touch screen, and the like.
本发明实施例中的存储器502存储有调整音效的程序,上述调整音效的程序被处理器执行时实现如上述权利要求中任一项上述的调整音效的方法的步骤。The memory 502 in the embodiment of the present invention stores a program for adjusting sound effects, and when the program for adjusting sound effects is executed by a processor, the steps of the method for adjusting sound effects as described in any one of the preceding claims are implemented.
可以理解,本发明实施例中的存储器502可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器 (Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器 (Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM, SDRAM)、双倍数据速率同步动态随机存取存储器(Double DataRate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM, SLDRAM)和直接内存总线随机存取存储器(Direct Ram bus RAM,DRRAM)。本发明实施例描述的系统和方法的存储器502旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 502 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double DataRate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synch link DRAM, SLDRAM) And Direct Memory Bus Random Access Memory (Direct Ram bus RAM, DRRAM). The memory 502 of the systems and methods described in embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
在一些实施方式中,存储器502存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统5021和应用程序 5022。In some implementations, the memory 502 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 5021 and an application program 5022 .
其中,操作系统5021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序5022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序 5022中。Among them, the operating system 5021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing tasks based on hardware. The application program 5022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 5022.
在本发明实施例中,通过调用存储器502存储的程序或指令,具体的,可以是应用程序5022中存储的程序或指令,处理器501用于从目标音乐文件的音频信号中提取对应的目标音乐特征;查找与上述目标音乐特征匹配的音乐流派信息;在播放上述目标音乐文件时,加载与上述音乐流派信息对应的音效配置信息。In the embodiment of the present invention, by calling the program or instruction stored in the memory 502, specifically, the program or instruction stored in the application program 5022, the processor 501 is used to extract the corresponding target music from the audio signal of the target music file. Features; searching for music genre information matching the above-mentioned target music features; when playing the above-mentioned target music file, loading sound effect configuration information corresponding to the above-mentioned music genre information.
上述本发明实施例揭示的方法可以应用于处理器501中,或者由处理器 501实现。处理器501可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器501中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器501可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array, FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器502,处理器501读取存储器502中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip and has signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 501 or instructions in the form of software. The above-mentioned processor 501 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502, and completes the steps of the above method in combination with its hardware.
可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital SignalProcessing,DSP)、数字信号处理设备(DSP Device, DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable GateArray,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请上述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Equipment (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable GateArray, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the above-mentioned functions of this application or in its combination.
对于软件实现,可通过执行本发明实施例上述功能的模块(例如过程、函数等)来实现本发明实施例上述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the above-mentioned technologies in the embodiments of the present invention may be implemented through modules (such as procedures, functions, etc.) that execute the above-mentioned functions in the embodiments of the present invention. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
可选地,处理器501还用于:通过计算上述目标音乐特征与预设音乐数据库中各预设音乐特征的相似系数,确定与上述目标音乐特征对应的预设音乐特征;根据上述预设音乐数据库中预设音乐特征与音乐流派信息的对应关系,获取与上述预设音乐特征对应的音乐流派信息。Optionally, the processor 501 is further configured to: determine the preset music feature corresponding to the above-mentioned target music feature by calculating the similarity coefficient between the above-mentioned target music feature and each preset music feature in the preset music database; Preset the corresponding relationship between music features and music genre information in the database, and acquire the music genre information corresponding to the preset music features.
进一步地,处理器501还用于:根据上述预设音乐数据库中音乐流派信息与音效配置信息的对应关系,获取与上述音乐流派信息对应的音效配置信息。Further, the processor 501 is further configured to: acquire the sound effect configuration information corresponding to the music genre information according to the correspondence between the music genre information and the sound effect configuration information in the preset music database.
可选地,处理器501还用于:获取目标音乐文件经解码后的音频信号;提取上述音频信号的时域特征和/或频域特征作为上述目标音乐特征。Optionally, the processor 501 is further configured to: acquire the decoded audio signal of the target music file; and extract the time-domain feature and/or frequency-domain feature of the audio signal as the target music feature.
进一步地,处理器501还用于:对上述音频信号进行预加重处理和归一化处理;根据预设时间段将上述音频信号划分为多个音频帧;提取与上述多个音频帧对应的时域特征和/或频域特征作为上述目标音乐特征。Further, the processor 501 is also configured to: perform pre-emphasis processing and normalization processing on the above audio signal; divide the above audio signal into multiple audio frames according to a preset time period; extract time frames corresponding to the above multiple audio frames. Domain features and/or frequency domain features are used as the above-mentioned target music features.
移动终端500能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 500 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.
在本发明实施例中,首先通过从目标音乐文件的音频信号中提取目标音乐特征,然后根据上述目标音乐特征查找到目标音乐文件的音乐流派信息,从而在目标音乐文件播放时,加载与目标音乐文件对应的音乐流派信息的音效配置信息,因此解决了因音乐文件的音乐流派信息缺失,导致在播放上述音乐文件时,无法加载对应音效配置信息的问题;一方面,本发明实施例提高了音乐流派信息的识别率,能够自动根据不同音乐文件的音乐流派信息,加载对应的音效配置信息,提升了用户的操作体验和音乐体验;另一方面,本发明实施例可以通过预设音乐数据库对音乐流派分类以及对应的音效配置进行统一的管理和更新,提高了调整音效的方法的适用性。In the embodiment of the present invention, at first by extracting the target music feature from the audio signal of the target music file, then find out the music genre information of the target music file according to the above-mentioned target music feature, thereby when the target music file is played, load and target music The sound effect configuration information of the music genre information corresponding to the file, so it solves the problem that the corresponding sound effect configuration information cannot be loaded when the above music file is played due to the lack of music genre information of the music file; on the one hand, the embodiment of the present invention improves the music performance. The recognition rate of the genre information can automatically load the corresponding sound effect configuration information according to the music genre information of different music files, which improves the user's operating experience and music experience; Genre classification and corresponding sound effect configurations are managed and updated in a unified manner, which improves the applicability of the method of adjusting sound effects.
【装置实施例五】【Device Embodiment 5】
图6是本发明另一个实施例的移动终端的结构示意图。具体地,图6中的移动终端600可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、或车载电脑等。Fig. 6 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 600 in FIG. 6 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.
图6中的移动终端600包括射频(Radio Frequency,RF)电路610、存储器620、输入单元630、显示单元640、处理器660、音频电路670、WiFi(Wireless Fidelity)模块680和电源690。The mobile terminal 600 in FIG.
本发明实施例中的存储器620存储有调整音效的程序,上述调整音效的程序被处理器执行时实现如上述权利要求中任一项上述的调整音效的方法的步骤。The memory 620 in the embodiment of the present invention stores a program for adjusting sound effects, and when the program for adjusting sound effects is executed by a processor, the steps of the method for adjusting sound effects as described in any one of the preceding claims are implemented.
其中,输入单元630可用于接收用户输入的数字或字符信息,以及产生与移动终端600的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元630可以包括触控面板631。触控面板631,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板631上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板631可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器660,并能接收处理器660发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板631。除了触控面板631,输入单元630还可以包括其他输入设备632,其他输入设备632可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 630 can be used to receive number or character information input by the user, and generate signal input related to the user setting and function control of the mobile terminal 600 . Specifically, in the embodiment of the present invention, the input unit 630 may include a touch panel 631 . The touch panel 631, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 631 using any suitable object or accessory such as a finger, a stylus), and The specified program drives the corresponding connected device. Optionally, the touch panel 631 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 660, and can receive and execute commands sent by the processor 660. In addition, the touch panel 631 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 631, the input unit 630 may also include other input devices 632, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.
其中,显示单元640可用于显示由用户输入的信息或提供给用户的信息以及移动终端600的各种菜单界面。显示单元640可包括显示面板641,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED) 等形式来配置显示面板641。Wherein, the display unit 640 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 600 . The display unit 640 may include a display panel 641, and optionally, the display panel 641 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
应注意,触控面板631可以覆盖显示面板641,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器660以确定触摸事件的类型,随后处理器660根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 631 can cover the display panel 641 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 660 to determine the type of the touch event, and then the processor 660 provides corresponding visual output on the touch display screen according to the type of the touch event.
触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或 widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one application program icon and/or interface elements such as widget desktop controls. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.
其中处理器660是移动终端600的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器621内的软件程序和/或模块,以及调用存储在第二存储器622内的数据,执行移动终端600 的各种功能和处理数据,从而对移动终端600进行整体监控。可选的,处理器660可包括一个或多个处理单元。Wherein the processor 660 is the control center of the mobile terminal 600, utilizes various interfaces and lines to connect the various parts of the whole mobile phone, by running or executing the software programs and/or modules stored in the first memory 621, and calling the software programs and/or modules stored in the second memory 621. The data in the memory 622 executes various functions of the mobile terminal 600 and processes data, so as to monitor the mobile terminal 600 as a whole. Optionally, the processor 660 may include one or more processing units.
在本发明实施例中,通过调用存储该第一存储器621内的软件程序和/ 或模块和/或该第二存储器622内的数据,处理器660用于从目标音乐文件的音频信号中提取对应的目标音乐特征;查找与上述目标音乐特征匹配的音乐流派信息;在播放上述目标音乐文件时,加载与上述音乐流派信息对应的音效配置信息。In the embodiment of the present invention, by calling the software programs and/or modules stored in the first memory 621 and/or the data in the second memory 622, the processor 660 is used to extract the corresponding The target music feature; find the music genre information matching the above target music feature; when playing the above target music file, load the sound effect configuration information corresponding to the above music genre information.
可选地,处理器660还用于:通过计算上述目标音乐特征与预设音乐数据库中各预设音乐特征的相似系数,确定与上述目标音乐特征对应的预设音乐特征;根据上述预设音乐数据库中预设音乐特征与音乐流派信息的对应关系,获取与上述预设音乐特征对应的音乐流派信息。Optionally, the processor 660 is also configured to: determine the preset music feature corresponding to the above-mentioned target music feature by calculating the similarity coefficient between the above-mentioned target music feature and each preset music feature in the preset music database; Preset the corresponding relationship between music features and music genre information in the database, and acquire the music genre information corresponding to the preset music features.
进一步地,处理器660还用于:根据上述预设音乐数据库中音乐流派信息与音效配置信息的对应关系,获取与上述音乐流派信息对应的音效配置信息。Further, the processor 660 is further configured to: acquire the sound effect configuration information corresponding to the music genre information according to the correspondence between the music genre information and the sound effect configuration information in the preset music database.
可选地,处理器660还用于:获取目标音乐文件经解码后的音频信号;提取上述音频信号的时域特征和/或频域特征作为上述目标音乐特征。Optionally, the processor 660 is further configured to: acquire the decoded audio signal of the target music file; and extract the time-domain feature and/or frequency-domain feature of the audio signal as the target music feature.
进一步地,处理器660还用于:对上述音频信号进行预加重处理和归一化处理;按照预设时间段将上述音频信号划分为多个音频帧;提取与上述多个音频帧对应的时域特征和/或频域特征作为上述目标音乐特征。Further, the processor 660 is also configured to: perform pre-emphasis processing and normalization processing on the above-mentioned audio signal; divide the above-mentioned audio signal into multiple audio frames according to a preset time period; extract time frames corresponding to the above-mentioned multiple audio frames; Domain features and/or frequency domain features are used as the above-mentioned target music features.
可见,在本发明实施例中,首先通过从目标音乐文件的音频信号中提取目标音乐特征,然后根据上述目标音乐特征查找到目标音乐文件的音乐流派信息,从而在目标音乐文件播放时,加载与目标音乐文件对应的音乐流派信息的音效配置信息,因此解决了因音乐文件的音乐流派信息缺失,导致在播放上述音乐文件时,无法加载对应音效配置信息的问题;一方面,本发明实施例提高了音乐流派信息的识别率,能够自动根据不同音乐文件的音乐流派信息,加载对应的音效配置信息,提升了用户的操作体验和音乐体验;另一方面,本发明实施例可以通过预设音乐数据库对音乐流派分类以及对应的音效配置进行统一的管理和更新,提高了调整音效的方法的适用性。Visible, in the embodiment of the present invention, at first by extracting target music feature from the audio signal of target music file, then find the music genre information of target music file according to above-mentioned target music feature, thereby when target music file is played, load and The sound effect configuration information of the music genre information corresponding to the target music file, so it solves the problem that the corresponding sound effect configuration information cannot be loaded when the above music file is played due to the lack of music genre information of the music file; on the one hand, the embodiments of the present invention improve The recognition rate of the music genre information is improved, and the corresponding sound effect configuration information can be automatically loaded according to the music genre information of different music files, which improves the user's operating experience and music experience; on the other hand, the embodiment of the present invention can Unified management and updating of music genre classification and corresponding sound effect configuration improves the applicability of the method of adjusting sound effect.
本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the above units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
上述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例上述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the above functions are realized in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the above-mentioned methods in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
以上上述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present invention. covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710496440.4A CN107249080A (en) | 2017-06-26 | 2017-06-26 | A kind of method, device and mobile terminal for adjusting audio |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710496440.4A CN107249080A (en) | 2017-06-26 | 2017-06-26 | A kind of method, device and mobile terminal for adjusting audio |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107249080A true CN107249080A (en) | 2017-10-13 |
Family
ID=60015233
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710496440.4A Pending CN107249080A (en) | 2017-06-26 | 2017-06-26 | A kind of method, device and mobile terminal for adjusting audio |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107249080A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107863095A (en) * | 2017-11-21 | 2018-03-30 | 广州酷狗计算机科技有限公司 | Acoustic signal processing method, device and storage medium |
CN108305603A (en) * | 2017-10-20 | 2018-07-20 | 腾讯科技(深圳)有限公司 | Sound effect treatment method and its equipment, storage medium, server, sound terminal |
CN108986842A (en) * | 2018-08-14 | 2018-12-11 | 百度在线网络技术(北京)有限公司 | Music style identifying processing method and terminal |
CN109872710A (en) * | 2019-03-13 | 2019-06-11 | 腾讯音乐娱乐科技(深圳)有限公司 | Audio modulator approach, device and storage medium |
CN110211556A (en) * | 2019-05-10 | 2019-09-06 | 北京字节跳动网络技术有限公司 | Processing method, device, terminal and the storage medium of music file |
CN110308796A (en) * | 2019-07-08 | 2019-10-08 | 合肥工业大学 | A Finger Motion Recognition Method Based on Wrist PVDF Sensor Array |
CN110853606A (en) * | 2019-11-26 | 2020-02-28 | Oppo广东移动通信有限公司 | A sound effect configuration method, device and computer readable storage medium |
CN112684998A (en) * | 2020-12-21 | 2021-04-20 | 北京四维智联科技有限公司 | Sound effect mode switching method and device |
CN113641329A (en) * | 2021-08-10 | 2021-11-12 | 广州艾美网络科技有限公司 | Sound effect configuration method and device, intelligent sound box, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101667814A (en) * | 2009-09-24 | 2010-03-10 | 深圳华为通信技术有限公司 | Audio playing method and audio player |
CN105404642A (en) * | 2015-10-23 | 2016-03-16 | 广东欧珀移动通信有限公司 | Audio playing method and user terminal |
JP2016070999A (en) * | 2014-09-27 | 2016-05-09 | 株式会社第一興商 | Karaoke sound effect setting system |
CN106384603A (en) * | 2016-09-30 | 2017-02-08 | 四川九洲电器集团有限责任公司 | Music play method and music play device |
CN106775568A (en) * | 2017-01-12 | 2017-05-31 | 珠海格力电器股份有限公司 | Sound effect adjusting method and device and mobile terminal |
-
2017
- 2017-06-26 CN CN201710496440.4A patent/CN107249080A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101667814A (en) * | 2009-09-24 | 2010-03-10 | 深圳华为通信技术有限公司 | Audio playing method and audio player |
JP2016070999A (en) * | 2014-09-27 | 2016-05-09 | 株式会社第一興商 | Karaoke sound effect setting system |
CN105404642A (en) * | 2015-10-23 | 2016-03-16 | 广东欧珀移动通信有限公司 | Audio playing method and user terminal |
CN106384603A (en) * | 2016-09-30 | 2017-02-08 | 四川九洲电器集团有限责任公司 | Music play method and music play device |
CN106775568A (en) * | 2017-01-12 | 2017-05-31 | 珠海格力电器股份有限公司 | Sound effect adjusting method and device and mobile terminal |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108305603A (en) * | 2017-10-20 | 2018-07-20 | 腾讯科技(深圳)有限公司 | Sound effect treatment method and its equipment, storage medium, server, sound terminal |
CN108305603B (en) * | 2017-10-20 | 2021-07-27 | 腾讯科技(深圳)有限公司 | Sound effect processing method and equipment, storage medium, server and sound terminal thereof |
CN107863095A (en) * | 2017-11-21 | 2018-03-30 | 广州酷狗计算机科技有限公司 | Acoustic signal processing method, device and storage medium |
US10964300B2 (en) | 2017-11-21 | 2021-03-30 | Guangzhou Kugou Computer Technology Co., Ltd. | Audio signal processing method and apparatus, and storage medium thereof |
CN108986842A (en) * | 2018-08-14 | 2018-12-11 | 百度在线网络技术(北京)有限公司 | Music style identifying processing method and terminal |
CN109872710A (en) * | 2019-03-13 | 2019-06-11 | 腾讯音乐娱乐科技(深圳)有限公司 | Audio modulator approach, device and storage medium |
CN110211556A (en) * | 2019-05-10 | 2019-09-06 | 北京字节跳动网络技术有限公司 | Processing method, device, terminal and the storage medium of music file |
CN110308796A (en) * | 2019-07-08 | 2019-10-08 | 合肥工业大学 | A Finger Motion Recognition Method Based on Wrist PVDF Sensor Array |
CN110853606A (en) * | 2019-11-26 | 2020-02-28 | Oppo广东移动通信有限公司 | A sound effect configuration method, device and computer readable storage medium |
CN112684998A (en) * | 2020-12-21 | 2021-04-20 | 北京四维智联科技有限公司 | Sound effect mode switching method and device |
CN113641329A (en) * | 2021-08-10 | 2021-11-12 | 广州艾美网络科技有限公司 | Sound effect configuration method and device, intelligent sound box, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107249080A (en) | A kind of method, device and mobile terminal for adjusting audio | |
CN106024007B (en) | A sound processing method and mobile terminal | |
CN109147807B (en) | Voice domain balancing method, device and system based on deep learning | |
CN106971704B (en) | Audio processing method and mobile terminal | |
US20180122403A1 (en) | Real-time audio source separation using deep neural networks | |
CN108305603B (en) | Sound effect processing method and equipment, storage medium, server and sound terminal thereof | |
US20170236531A1 (en) | Real-time adaptive audio source separation | |
JP2019215935A (en) | Automatic fitting of haptic effects | |
CN107507621B (en) | Noise suppression method and mobile terminal | |
CN108174031B (en) | Volume adjusting method, terminal equipment and computer readable storage medium | |
CN105827849A (en) | Method for adjusting sound effect and mobile terminal | |
WO2014174497A2 (en) | Apparatus and method for providing musical content based on graphical user inputs | |
CN107623776A (en) | A volume control method, system and mobile terminal | |
CN106940996A (en) | The recognition methods of background music and mobile terminal in a kind of video | |
CN106357871A (en) | Voice amplifying method and mobile terminal | |
CN103440862A (en) | Method, device and equipment for synthesizing voice and music | |
CN107450883A (en) | A kind of audio data processing method, device and mobile terminal | |
US20120053937A1 (en) | Generalizing text content summary from speech content | |
CN106354520A (en) | Interface background switching method and mobile terminal | |
WO2020228226A1 (en) | Instrumental music detection method and apparatus, and storage medium | |
CN112309409A (en) | Audio correction method and related device | |
CN106714038A (en) | Sound loudness control method and mobile terminal | |
CN104091601A (en) | Method and device for detecting music quality | |
CN113127678A (en) | Audio processing method, device, terminal and storage medium | |
CN107181871B (en) | Volume adjusting method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171013 |