CN101667814A - Audio playing method and audio player - Google Patents

Audio playing method and audio player Download PDF

Info

Publication number
CN101667814A
CN101667814A CN 200910161996 CN200910161996A CN101667814A CN 101667814 A CN101667814 A CN 101667814A CN 200910161996 CN200910161996 CN 200910161996 CN 200910161996 A CN200910161996 A CN 200910161996A CN 101667814 A CN101667814 A CN 101667814A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
audio
played
information
type
unit
Prior art date
Application number
CN 200910161996
Other languages
Chinese (zh)
Other versions
CN101667814B (en )
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

Links

Classifications

    • HELECTRICITY
    • H03BASIC ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G5/00Tone control or bandwidth control in amplifiers
    • H03G5/005Tone control or bandwidth control in amplifiers of digital signals

Abstract

The invention discloses an audio playing method and an audio player. In the embodiment of the invention, corresponding equalizer parameter is obtained according to the audio type information; the equalizer parameter is loaded to play the audio. The invention realizes automatic EQ setup of audio playing, and users can obtain better playing effect without setting EQ corresponding to the audio type,thus improving hearing experience of users.

Description

音频播放方法及音频播放装置 The method of audio playback and audio playback devices

技术领域 FIELD

本发明涉及音频处理技术领域,具体涉及音频纟番放方法及音频播放装置。 The present invention relates to audio processing technologies, and particularly relates to a method and an audio Si Fan discharge audio playing apparatus. 背景技术 Background technique

随着数字多媒体应用进入千家万户,人们可以在电脑、CD机、MP3、 MP4、 甚至手机上实现数字音频文件的播放,具体的通过设备内部集成的软件或硬件音频播放器对音频文件进行解码,然后转化为^f莫拟量输出,常见的音频文件格式包括:MP3、 WAV, MID、 AMR、 APE等。 As digital multimedia applications in every household, people can achieve play digital audio files on your computer, CD player, MP3, MP4, or even on the phone, through the internal specific equipment integrated audio player software or hardware to decode the audio file and then converted into ^ f Mo proposed outputs, common audio file formats include: MP3, WAV, MID, AMR, APE and so on.

音频播放设备中的播放器中一般都设置有均衡器(Equalizer, EQ),均衡器的作用是调整各频段信号的增益值。 Audio player in playing apparatus generally provided with an equalizer (Equalizer, EQ), the role of the equalizer is to adjust the gain value of each frequency band signal. 均衡器可以是基于数字信号处理部分的也可以是基于模拟信号处理部分,EQ通过将声音中各频率的组成泛音等级加以修改,专为某一类音频进行优化,增强人们的听觉感受,让用户可以按个人喜好设置自己喜欢的效果,使音乐效果得到最优的体现。 Equalizer may be based on digital signal processing section may also be based on the analog signal processing section, EQ sound by the composition of the harmonic frequencies of each level to be modified, that is optimized for a class of audio, people enhanced listening experience, allowing users to can be set as you like your favorite effects, sound effects make optimal expression.

现有技术中,对于均衡器的设置过程,用户需要根据听到的音乐自行设置, 如摇滚类型音乐,在EQ设置成摇滚音乐对应的参数可以得到比较好的震撼的效果,而小提琴奏鸣曲设置成古典音乐则更能体现出较好的音乐效果,或者直接拖动均衡器的按钮进行微调。 In the prior art, the process provided for the equalizer, in accordance with the user needs to set their own music heard, such as the type of rock music, rock music is arranged in the EQ parameters corresponding to the effect can be obtained good shock, and arranged Violin Sonata classical music is good music to better reflect the effect of, or directly drag the EQ button to fine-tune.

在对现有技术的研究和实践过程中,本发明的发明人发现,现有技术中, 虽然各种音频播放设备或电脑播放器中提供了均衡器的功能,但是均需要用户^"对音乐进行不同程度的自行设置,对用户的操作较高,并且用户在没有对音乐进行欣赏之前,很难判断出音乐的类型和风格。 In the study and practice of the prior art, the present inventors have found that the prior art, although various audio playback device or computer player provides the equalizer function, but require the user ^ "music varying degrees of self-setting, the higher the operation of the user, and the user no prior music appreciation, difficult to determine the type and style of music.

发明内容 SUMMARY

本发明实施例提供音频播放方法及音频播放装置,可以在播放音频时,自动选择合适的EQ参数。 Embodiment of the present invention provides a method of audio playback devices and audio playback, audio playback can automatically select the appropriate EQ parameters.

本发明实施例提供的一种音频播放方法,包括: 获取待播放音频的音频类型信息;根据所述音频类型信息获取对应的均衡器参数; 加载所述均衡器参数播放所述音频。 An audio playing method according to an embodiment of the present invention, comprising: acquiring information to be audio type of audio playback; obtaining a corresponding equalizer coefficients according to the audio type information; loading the equalizer parameters to play the audio. 本发明实施例提供的一种音频播放装置,包括: 第一获取单元,用于获取待播放音频的音频类型信息; 第二获取单元,用于根据所述音频类型信息获取对应的均衡器参数; An audio playback apparatus according to an embodiment of the present invention, comprising: a first acquisition unit for acquiring the audio type of audio information to be played; a second acquisition unit configured to acquire the balancing parameters according to the audio type information;

播放单元,用于加载所述均衡器参数播放所述音频。 Playback means for loading the equalizer parameters play the audio.

本发明实施例中,根据所述音频类型信息获取对应的均衡器参数;加载所述均衡器参数播放所述音频。 Embodiments of the present invention, obtaining the corresponding equalizer parameters according to the audio type information; loading the equalizer parameters to play the audio. 实现了音频播放的自动EQ设置,使得用户无需自行设置音频类型对应的EQ,即可得到较好的播放效果,提高用户的聆听体验。 EQ settings to achieve the automatic audio playback, so that users do not need to set their own corresponding audio type EQ, playback can get better, improving the user's listening experience.

附图说明 BRIEF DESCRIPTION

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions in the embodiments of the present invention, briefly describes the accompanying drawings required for describing the embodiments used in the following embodiments will be apparent in the following description of the accompanying drawings are merely some embodiments of the present invention, for ordinary skill in the art, without creative efforts, you can obtain other drawings based on these drawings.

图l为本发明实施例一音频播放方法的流程图; Invention a flowchart of audio playing method of the present embodiment of Figure l;

图2为本发明实施例二音频播放方法的流程图; 2 is a flowchart two audio playback method according to embodiments of the present invention;

图3为本发明实施例中一个音频文件的波形图; FIG 3 is a waveform diagram of an audio file in the embodiment of the present invention;

图4为对音频文件进行傅立叶变换得到的频域分布图; FIG 4 is a frequency-domain audio files profile obtained Fourier transform;

图5为本发明实施例三音频播放方法的流程图; 5 is a flowchart three audio playback method according to embodiments of the present invention;

图6为本发明实施例四音频播放方法的流程图; 6 is a flowchart four audio playback method according to embodiments of the present invention;

图7为本发明实施例五音频播放装置的结构示意图; FIG 7 is a schematic structure of an audio playback apparatus according to a fifth embodiment of the invention;

图8为本发明实施例六音频播放装置的结构示意图。 8 a schematic structural diagram according to a sixth embodiment of an audio playback apparatus of the present invention.

具体实施方式 Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 Below in conjunction with the accompanying drawings of the present invention in embodiments, the technical solutions in the embodiments of the present invention are clearly and completely described, obviously, the described embodiments are merely part of embodiments of the present invention rather than all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有作出创造 Based on the embodiments of the present invention, those of ordinary skill in the art not to create

5性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Example 5 All other exemplary embodiments effort shall fall within the scope of protection of the present invention.

实施例一、 一种音频播放方法,流程图如图l所示,包括: Sl,获取待播放音频的音频类型信息; One embodiment, an audio playback method flowchart shown in Figure l, comprising: Sl, acquires the audio type of audio information to be played;

本例中获取音频类型信息的方式可以有多种,具体参见以下实施例二至四的描述。 In the present embodiment acquires audio type information of a variety of ways, two to four particular embodiments described refer to the following embodiments.

52, 根据所述音频类型信息获取对应的均衡器参数; 52, acquires the corresponding equalizer coefficients according to the audio type information;

53, 加载所述均衡器参数播放所述音频。 53, loading the equalizer parameters to play the audio.

本实施例中,根据所述音频类型信息获取对应的均衡器参数;加载所述均衡器参数播放所述音频实现了音频播放的自动EQ设置,使得用户无需自行设置音频类型对应的EQ,即可得到较好的播放效果,提高用户的聆听体验。 In this embodiment, according to the audio corresponding to the type of information acquisition equalizer parameters; loading the playing of the audio equalizer parameters EQ settings to achieve the automatic audio playback, such that the user does not need to set their own corresponding audio type EQ, can get better playing effect, improving the user's listening experience. 实施例二、 一种音频播放方法,流程图如图2所示,包括: Al,对待播放的音频进行频谱分析,获取所述待播放音频的频域分布; 本发明实施例中,进行频谱分析可以软件或硬件计算完成,如果基于通用架构的计算机、PDA手机等设备,可以通过软件算法实现,而基于专用的音频播放器,如MP3、 CD机、MD机等设备,可以通过音频解码芯片集成频语分析功能实现,具体的实现方式可以参考现有的多种频谱分析方法,本发明不做赘述。 Second Embodiment A method for playing audio, the flowchart shown in Figure 2, comprising: Al, treat audio playback spectrum analysis, obtain the frequency domain audio distribution to be played; embodiment of the present invention, spectral analysis can be software or hardware calculations are complete, if based on a common architecture of a computer, PDA mobile phones and other devices can be implemented by software algorithms, and based on a dedicated audio player, such as MP3, CD drive, MD machines and other equipment, can be integrated via an audio decoder chip language frequency analysis function implemented, the specific implementation may refer to a variety of conventional spectral analysis methods, the present invention is not repeated.

具体进行频i普分析的过程可以有多种,例如: DETAILED perform frequency analysis process P i may have multiple, for example:

将对待播放的音频的频域进行分段;人耳能听到的音域是从20HZ ~ 20KHZ,因此本实施例根据系统内部均衡器的分段方式对音乐进行分段。 The treated playback audio frequency domain segment; range audible to the human ear is from 20HZ ~ 20KHZ, therefore the present embodiment, the music segment to segment according to the embodiment of the equalizer within the system.

通过凄t字信号处理(digital singnalprocessor, DSP)获取4寺4番方t音频的时域信息,对所述时域信息进行傅立叶变换,获取待播放音频的频域信息。 Sad t obtained by digital signal processing (digital singnalprocessor, DSP) 4 4 Temple Fan party t audio time domain information, the time domain information to Fourier transform, obtaining the frequency domain of the audio information to be played. 如图3所示,为音频文件的波形图(时域信息),其中横坐标为时间轴,纵坐标为音频的振幅。 3, is a waveform diagram (time domain information), where the abscissa is the time axis, the ordinate is the amplitude of the audio file audio. 图4为对图3中的音频文件进行傅立叶变换得到的频域分布图,其中,湊坐标为音乐的频率、纵坐标为信干噪比(单位dB)。 FIG 4 is a frequency domain Fourier transform of the distribution of the audio file in FIG. 3, wherein the frequency of the music coordinates Minato ordinate is a signal to interference noise ratio (in dB).

统计待播放的音频在各分段频域内的频域分布; Statistical audio to be played in each segment distribution in the frequency domain a frequency domain;

经过上述统计,可以得到音频文件中各个频段内音频成分的占总的音频成分的百分比。 After these statistics, you can get a percentage of the total audio components within each band audio component of the audio file. 如:整个音频中有20。 Such as: the entire audio, 20. /。 /. 的声音频率在1000HZ- 1500HZ之间,有8000HZ之间、有50%的声音集中在8000HZ ~ 15000HZ之间……。 Sound frequencies between 1000HZ- 1500HZ, there are between 8000HZ, 50% of the sound set between 8000HZ ~ 15000HZ .......

A2,根据所述待播放音频的频域分布获取对应的均衡器参数,具体的均衡器参数可以采取多种方式获取,包括: A2, distribution acquisition equalizer parameters according to the corresponding frequency-domain audio to be played, the specific equalizer coefficients can take a variety of ways to acquire, comprising:

经过上述步骤A的分析,可以得知音频在各个频段的分布,则可以^^艮据这种分布选择对应的均衡器参数,在进行参数选#^的过程可以是根据音频频域分布和与预先设置各组均衡器参数进行对比,获取最接近的均衡器参数。 After analysis step A above, each can know the distribution of audio frequency band, this can be distributed according ^^ gen select the corresponding equalizer parameters, the parameter being selected from the group # ^ frequency domain procedure may be distributed in accordance with the tone and pre-set equalizer parameters in each group were compared, obtaining the closest equalizer parameters.

A3,加载所述设置的均衡器参数播放所述音频。 A3, load the equalizer parameters set by the audio player.

具体加载均衡器参数进行音频播放的过程可以参考现有的多种音频播放器的处理,此处不再赘述。 DETAILED loading process for audio playback equalizer parameters, reference may be processed more conventional audio player is not repeated here.

本发明实施例一中,对于待播放的音频进行频谱分析;根据所述频谱分析的结果获取对应的均衡器参数;加载所述设置的均衡器参数播放所述音频,实现了音频播放的自动EQ设置,使得用户无需自行设置音频类型对应的EQ,即可得到较好的播放效果,提高用户的聆听体验。 In one embodiment of the present invention embodiment, spectral analysis of the audio to be played; obtaining a corresponding equalizer parameters based on a result of the spectral analysis; loading the equalizer parameters set by the playback audio for audio playback automatically EQ provided, so that the user need not set the EQ own corresponding type of audio, playback can get better, improving the user's listening experience.

实施例三、 一种音频播放方法,流程图如图5所示,包括: Third Embodiment An audio playback method, the flowchart shown in Figure 5, comprising:

Bl,对于待播放的音频进行频谱分析; Bl, spectral analysis of the audio to be played;

本发明实施例中,进行频谱分析可以软件或硬件计算完成,如果基于通用架构的计算机、PDA手机等设备,可以通过软件算法实现,而基于专用的音频播放器,如MP3、 CD机、MD机等设备可以通过音频解码芯片集成频谱分析功能实现,具体的实现方式可以参考现有的多种频谱分析方法,本发明不做赘述。 Embodiments of the present invention, spectral analysis can be software or hardware calculation is completed, if the computer-based general architecture, PDA phones, and may be implemented in a software algorithm, and based on a dedicated audio player, such as MP3, CD drive, MD machines and other equipment can be integrated audio decoder chip implemented spectrum analysis, the specific implementation may refer to a variety of conventional spectral analysis methods, the present invention is not repeated.

具体进行频谱分析的过程可以参照实施例一步骤A1的描述,此处不再赘述。 DETAILED spectral analysis process may be described with reference to embodiments of a step A1 embodiment, not further described herein.

B2,根据频谱分析的结果获取对应的音频类型; B2, acquires corresponding audio types based on the results of the spectral analysis;

B3,根据预设的音频类型和均衡器参数的对应关系查找所述音频类型对应的均衡器参数。 B3, find the type of the audio equalizer parameters corresponding to a preset correspondence relationship according to the type of audio and equalizer parameters.

B4,加载所述设置的均衡器参数播放所述音频。 B4, loading the equalizer parameters set by the audio player.

具体加载均衡器参数进行音频播放的过程可以参考现有的多种音频播放器的处理,此处不再赘述。 DETAILED loading process for audio playback equalizer parameters, reference may be processed more conventional audio player is not repeated here.

7实施例二与实施例一的区别在于,先根据频谱分析结果获取对应的音频类 Example 7 Example except that two of a first class according to obtain the corresponding audio spectrum analysis result

型,音频类型包括::摇滚音乐、流行音乐、爵士音乐、乡村音乐、古典音乐等。 Type, audio type :: including rock, pop, jazz, country music, classical music and so on. 而现有技术中,对于不同的音频类型一般已经配置了对应默认的EQ参数, 使得本发明实施例与现有技术的结果更加紧凑,并且更加实用。 Whereas the prior art, for different types of audio corresponding generally configured default EQ parameters, such embodiments of the present invention and the prior art results more compact, and more practical.

实施例四、 一种音频播放方法,流程图如图6所示,包括: Fourth, an audio playback method according to embodiments, the flowchart shown in FIG. 6, comprising:

C1,获取待播放音频的音频类型信息; C1, acquires the audio type of audio information to be played;

本实施例中,音频类型信息的获取方式可有多种,例如:可以对所述音频进行分析,获取音频识别码部分的音频类型信息,也可以是在音频文件中增加一个音频类型描述标识用于表示音频类型信息。 Increasing an audio type described in the audio file can be identified by analyzing the audio, the audio information acquiring audio type identification code portion, may be: In this embodiment, the audio acquisition mode may be a variety of types of information, e.g. to indicate the type of audio information.

无论采取哪种方式获取音频类型信息或者表示音频类型信息,本发明实施例强调,音频类型信息需要统一标准,并且是音频播放器可识别的统一格式, 例如比较简单的格式可以是:采用3二进制位二进制数进行表示,"000"代表 Either way, the type information acquiring audio or audio type information indicates, embodiments of the present invention emphasizes the audio information type requires a unified standard, and is a common format recognized by the audio player, for example, may be a relatively simple format: The three binary bit binary number be said that "000" stands for

"001"代表摇滚音乐、"010"代表流行音乐、"011"代表爵士音乐、"100" 代表乡村音乐、"101"代表古典音乐…… "001" stands for rock music, "010" represents pop music, "011" represents jazz music, "100" stands for country music, "101" stands for classical music ......

C2,根据所述音频类型信息和均衡器参数的对应关系获取音频类型信息对应的均衡器参数; C2, acquires the audio information corresponding to the type of equalizer parameters according to corresponding relationship between the audio information and the type of equalizer coefficients;

本实施例中的播放器,需要保存不同的音频类型对应均衡器参数。 Example embodiment of the present player is required to hold different types of audio parameters corresponding to the equalizer.

C3,加载所述均衡器参数播放所述音频。 C3, loading the equalizer parameters to play the audio.

本发明实施例三中提供的种音频播放方法,通过在音频文件中增加音频类型信息,播放器根据音频类型信息自动选择EQ参数播放音频,使得用户无需自行调节EQ,即可获得满意的播放效果和聆听感受。 Three kinds of audio playback method according to an embodiment of the present invention, by increasing the types of audio information in the audio file, the player automatically selects the EQ parameters play audio type information according to the audio so that the user need not adjust itself EQ, to obtain satisfactory playback and listening experience.

本领域普通技术人员可以理解上迷实施例的各种方法或者装置中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:ROM、 RAM、磁盘或光盘等。 Those of ordinary skill in the art will be appreciated that the above-embodiment of the method or apparatus of the various embodiments of all or part of the steps may be relevant hardware instructed by a program, the program may be stored in a computer-readable storage medium, the storage medium It may include: ROM, RAM, magnetic disk, or optical disk.

下面对本发明实施例提供的音频播放装置进行详细描述。 The audio player according to the present invention provides the following embodiments described in detail. 为了便于说明, 仅示出了与本发明实施例相关的部分,该音频播放装置可以是MP3、 MP4、手机等常见的多媒体设备,其包含的功能模块/单元可以是硬件模块/单元、软件^f莫块/单元或软硬件相结合的模块/单元。 For ease of description, only the parts related to the embodiment of the present invention, the audio playback apparatus may be MP3, MP4, mobile phones and other common multimedia devices, functional modules / units which contain either hardware modules / units, software ^ f Mo module block / unit or a combination of hardware and software / unit. 实施例五、 一种音频播放装置,结构示意图如图7所示,包括: 第一获取单元710,用于获取待播放音频的音频类型信息; 第二获取单元720,用于根据所述音频类型信息获取对应的均衡器参数; 播放单元730,用于加载所述均衡器参数播放所述音频。 V. An audio playback apparatus, a schematic structure of the embodiment shown in Figure 7, comprising: a first acquiring unit 710, for audio type information obtaining audio to be played; second obtaining unit 720, according to the audio type information acquisition equalizer coefficients; playback unit 730, the equalizer parameters for loading the audio playback. 本实施例中,所述第一获取单元可以采取多种方式获取音频类型信息,例 In this embodiment, the first acquisition unit acquires the audio can take various types of information, for example,

如:所述第一获取单元710可以包括读取单元711,用于从所述待播放音频的识 Such as: the first acquisition unit 710 may include a reading unit 711, for identifying the audio to be played from

别码部分读取所述待播放音频的音频类型信息。 Do not read the code to be playing an audio portion of an audio type information.

当然,第一获取单元还可以采取其他方式获取音频类型信息,下面通过实 Of course, the first acquisition unit may further acquire other means of audio type information, following by the solid

施例五进行举例说明。 Be applied according to a fifth example.

实施例六、 一种音频播放装置,结构示意图如图8所示,包括: 第一获取单元810,用于荻取待播放音频的音频类型信息; 第二获取单元820,用于根据所述音频类型信息获取对应的均衡器参数; 播放单元830,用于加载所述均衡器参数播放所述音频。 Sixth, an audio playback apparatus, a schematic construction of the embodiment shown in Figure 8, comprising: a first acquiring unit 810, audio playback type information Di audio to be taken; second obtaining unit 820, according to the audio corresponding to the type of information acquisition equalizer parameters; playback unit 830, the equalizer parameters for loading the audio playback. 本例中,所述第一获取单元810包括: In the present embodiment, the first acquiring unit 810 comprises:

转换单元811,用于通过DSP获取待播放音频的时域信息,对所述时域信息进行傅立叶变换,获取待播放音频的频域信息,所述频谱分析单元根据所述频域信息进行频谙分析。 Conversion unit 811, configured to obtain the time domain by the DSP of the audio information to be played, the time domain information to Fourier transform, obtaining the frequency domain of the audio information to be played, the frequency spectrum analysis unit based on the frequency-domain information versed analysis.

频谱分析单元812,用于对待播放的音频进行频谱分析,获取所述待播放音频的频域分布;具体的所述频语分析分析单元可以具体包括:分段单元8121 和分析单元8122; Spectrum analysis unit 812, an audio playback treat spectrum analysis, obtaining the frequency domain audio distribution to be played; specific language of said frequency analysis unit may comprises: a dividing unit 8121 and the analysis unit 8122;

分段单元8121,用于对待播放的音频的频域进行分段; Segmentation unit 8121, used to treat the audio playback segment of the frequency domain;

分析单元8122,用于分析各频段音频成分百分比。 Analyzing unit 8122 for analyzing an audio component percentage of each band.

信息获取单元813,根据所述频谱分析单元分析得到的频域分布获取所述待播放音频的音频类型信息。 Information acquisition unit 813, the distribution information acquired audio type of audio to be played according to the frequency domain analysis of the spectral analysis unit obtained.

发明音频播放装置可以运行的方法参照上述方法实施例的描述,此处不再赘述。 The method of operation of an audio playback apparatus of the invention may be described with reference to the above embodiments of the method, it will not be repeated herein.

以上对本发明实施例所提供的音频播放方法及音频播放装置进行了详细介绍,其中: Described in detail the audio player and audio playing method provided by the embodiment of apparatus of the above embodiment of the present invention, wherein:

9本发明一实施例中,对于待播放的音频进行频谱分析;根据所述频谱分析的结果获取对应的均衡器参数;加载所述设置的均衡器参数播放所述音频,实现了音频播放的自动EQ设置,使得用户无需自行设置音频类型对应的EQ,即可得到较好的播放效果,提高用户的聆听体验。 Automatic loading the equalizer parameters set by the playback audio for audio playback; Example 9 an embodiment of the present invention, spectral analysis of the audio to be played; obtaining a corresponding equalizer parameters based on a result of the spectrum analysis EQ settings, so that users do not need to set their own corresponding audio type EQ, playback can get better, improving the user's listening experience. 本发明再一实施例中,先根据频谱分析结果获取对应的音频类型,音频类型包括:摇滚音乐、流行音乐、爵士音乐、乡村音乐、古典音乐等。 The present invention still further embodiment, first obtains the corresponding audio type, audio type comprising a spectral analysis results: rock, pop, jazz, country music, classical music and so on. 而现有技术中,对于不同的音频类型一般已经配置了对应默认的EQ参数,使得本发明实施例与现有技术的结果更加紧凑,并且更加实用。 Whereas the prior art, for different types of audio corresponding generally configured default EQ parameters, such embodiments of the present invention and the prior art results more compact, and more practical. 本发明再一实施例中供的种音频播放方法,通过在音频文件中增加音频类型信息,播放器根据音频类型信息自动选择EQ参数播放音频,使得用户无需自行调节EQ,即可获得满意的播放效果和聆听感受。 The present invention further kinds of audio playback method of one embodiment for example, by increasing the types of audio information in the audio file, the player automatically selects the EQ parameters according to the audio playback audio type information, so that the user need not adjust itself EQ, to obtain satisfactory playback effects and listening experience. 例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The described embodiment only intended to help understanding the method and core ideas of the present invention; Meanwhile, those of ordinary skill in the art, according to the idea of ​​the present invention, there are changes in the specific embodiment and application of the embodiment, the heald the content of the specification should not be construed as limiting the present invention.

Claims (11)

  1. 1、一种音频播放方法,其特征在于,包括: 获取待播放音频的音频类型信息; 根据所述音频类型信息获取对应的均衡器参数; 加载所述均衡器参数播放所述音频。 An audio playback method comprising: obtaining audio type of audio information to be played; obtaining a corresponding equalizer coefficients according to the audio type information; loading the equalizer parameters to play the audio.
  2. 2、 如权利要求l所述的方法,其特征在于,所述获取待播放音频的音频类型信息具体为:对待播放的音频进行频语分析,获取所述待播放音频的频域分布; 根据所述频域分布获取所述待播放音频的音频类型信息。 2. The method of claim l, wherein the obtaining of the audio to be played audio type information specifically comprises: treating language broadcast audio-frequency analysis, the frequency domain distribution of the acquired audio to be played; in accordance with the said frequency domain acquired distribution information of the audio type of audio to be played.
  3. 3、 如权利要求2所述方法,其特征在于,所述对待播放的音频进行频谱分析之前包括:通过数字信号处理DSP获取待播放音频的时域信息,对所述时域信息进行傅立叶变换,获取待播放音频的频域信息。 3. A method as claimed in claim 2, characterized in that said audio playback treatment spectrum prior to analysis comprising: obtaining a time domain audio message to be played through the DSP digital signal processing, the Fourier transform time domain information, obtain the frequency domain information of the audio to be played.
  4. 4、 如权利要求2所述的方法,其特征在于,所述获取所述待播放音频的频域分布具体为:对待播放的音频的频域进行分段,分析各频段音频成分百分比; 所述根据所述频域分布获取所述待播放音频的音频类型信息为:根据待播放音频的各频段音频成分百分比获取所述待播放音频的音频类型信息。 4. The method as claimed in claim 2, wherein the obtaining the distribution of the frequency domain audio to be played is specifically: treating playback audio frequency domain segmentation, analyze the percentage of the band audio component; the the frequency domain audio distribution acquiring type information of the audio to be played as: percentage acquires audio type information of the audio to be played in accordance with an audio component of each frequency band of the audio to be played.
  5. 5、 如权利要求l所述的方法,其特征在于,所述获取待播放音频的音频类型信息具体为:从所述待播放音频的识别码部分读取所述待播放音频的音频类型信息。 5. The method of claim l, wherein said acquiring audio type of audio information to be played is specifically: the reading of audio information of the type of audio to be played from the identification code portion of the audio to be played.
  6. 6、 如权利要求1至5任意一项所述的方法,其特征在于,所述音频类型信息包括:摇滚音乐、流行音乐、爵士音乐、乡村音乐、古典音乐中的一种或几种。 6. A method as claimed in any one of claims 1 to 5, characterized in that the audio type information comprises: one or more of rock music, pop music, jazz, country music, classical music.
  7. 7、 一种音频播放装置,其特征在于,包括: 第一获取单元,用于获取待播放音频的音频类型信息;第二获取单元,用于根据所述音频类型信息获取对应的均衡器参数; 播放单元,用于加载所述均衡器参数播放所述音频。 7, an audio playback device, comprising: a first acquisition unit for acquiring the audio type of audio information to be played; a second acquisition unit configured to acquire the balancing parameters according to the audio type information; playback means for loading the equalizer parameters play the audio.
  8. 8、 如权利要求7所述装置,其特征在于,所述第一获取单元包括:频谱分析单元,用于对待播放的音频进行频谱分析,获取所述待播放音频的频域分布;信息获取单元,第一获取单元根据所述频谱分析子单元分析得到的频域分布获取所述待播放音频的音频类型信息。 8. The apparatus as claimed in claim 7, wherein the first acquiring unit comprises: a spectrum analyzing unit for audio playback treat spectrum analysis, obtain the frequency domain audio distribution to be played; information acquisition unit the first acquisition unit based on the spectral analysis of frequency domain analysis sub-unit acquires distribution obtained audio type of audio information to be played.
  9. 9、 如权利要求8所述装置,其特征在于,所述第一获取单元还包括: 转换单元,用于通过DSP获取待播放音频的时域信息,对所述时域信息进行傅立叶变换,获取待播放音频的频域信息,所述频谱分析单元根据所述频域信息进行频谱分析。 9. The apparatus as claimed in claim 8, wherein the first obtaining unit further comprises: a conversion unit configured to acquire the audio to be played through the DSP temporal information, the temporal information is Fourier transform, obtaining audio information to be played in the frequency domain, spectral analysis of the spectral analysis unit in accordance with the frequency-domain information.
  10. 10、 如权利要求8所述装置,其特征在于,所述频谱分析分析单元包括: 分段单元,用于对待播放的音频的频域进行分段;分析单元,用于分析各频段音频成分百分比。 10. The apparatus as claimed in claim 8, characterized in that the spectral analysis means comprising: a segmentation unit, used to treat playing audio frequency domain segments; analyzing unit for analyzing an audio component percentage of the band .
  11. 11、 如权利要求7所述装置,其特征在于,所述第一获取单元包括: 读取单元,用于从所述待播放音频的识别码部分读取所述待播放音频的音频类型信息。 11. The apparatus as claimed in claim 7, wherein the first acquiring unit comprises: a reading unit for reading the audio type of audio information to be played from the identification code portion of the audio to be played.
CN 200910161996 2009-09-24 2009-09-24 Audio playing method and audio player CN101667814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910161996 CN101667814B (en) 2009-09-24 2009-09-24 Audio playing method and audio player

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200910161996 CN101667814B (en) 2009-09-24 2009-09-24 Audio playing method and audio player
PCT/CN2010/074558 WO2011035626A1 (en) 2009-09-24 2010-06-26 Audio playing method and audio playing apparatus

Publications (2)

Publication Number Publication Date
CN101667814A true true CN101667814A (en) 2010-03-10
CN101667814B CN101667814B (en) 2012-08-15

Family

ID=41804290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910161996 CN101667814B (en) 2009-09-24 2009-09-24 Audio playing method and audio player

Country Status (2)

Country Link
CN (1) CN101667814B (en)
WO (1) WO2011035626A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930776A (en) * 2010-08-02 2010-12-29 华为终端有限公司 Music file recognition and playing method and device
WO2011035626A1 (en) * 2009-09-24 2011-03-31 华为终端有限公司 Audio playing method and audio playing apparatus
CN102622999A (en) * 2011-01-26 2012-08-01 英华达(南京)科技有限公司 System for automatically adjusting sound effect and method thereof
CN103053157A (en) * 2010-07-30 2013-04-17 诺基亚公司 Method and apparatus for determining and equalizing one or more segments of a media track
CN103177743A (en) * 2013-01-30 2013-06-26 东莞宇龙通信科技有限公司 Song playing method and device
CN103295611A (en) * 2012-03-02 2013-09-11 深圳富泰宏精密工业有限公司 Music automatic optimization system and method
CN103686338A (en) * 2013-08-15 2014-03-26 深圳Tcl新技术有限公司 A method for processing audio data, an apparatus thereof and a television set
CN103744666A (en) * 2013-12-23 2014-04-23 乐视致新电子科技(天津)有限公司 Method and device for adjusting audio frequencies in Android device
CN105138696A (en) * 2015-09-24 2015-12-09 深圳市冠旭电子有限公司 Method and device for pushing music
CN105390144A (en) * 2015-10-15 2016-03-09 广东欧珀移动通信有限公司 Audio processing method and audio processing device
CN105404642A (en) * 2015-10-23 2016-03-16 广东欧珀移动通信有限公司 Audio playing method and user terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100746771B1 (en) 2001-04-24 2007-08-06 엘지전자 주식회사 Method for reproducing an audio file in portable audio device
GB0410454D0 (en) 2004-05-11 2004-06-16 Radioscape Ltd Automatic selection of audio-equaliser parameters dependent on broadcast programme type information
CN1269106C (en) * 2004-08-31 2006-08-09 四川微迪数字技术有限公司 Chinese voice signal process method for digital deaf-aid
US20080037805A1 (en) 2006-04-17 2008-02-14 Sony Corporation Audio output device and method for calculating parameters
CN101072456A (en) * 2006-05-12 2007-11-14 明基电通股份有限公司 Play system and its play method
CN101179871B (en) 2006-11-10 2012-09-05 鸿富锦精密工业(深圳)有限公司 Earphone and audio play device
CN100556101C (en) * 2007-01-26 2009-10-28 深圳创维-Rgb电子有限公司 Television voice processing apparatus and method
CN101667814B (en) * 2009-09-24 2012-08-15 华为终端有限公司 Audio playing method and audio player

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011035626A1 (en) * 2009-09-24 2011-03-31 华为终端有限公司 Audio playing method and audio playing apparatus
CN103053157A (en) * 2010-07-30 2013-04-17 诺基亚公司 Method and apparatus for determining and equalizing one or more segments of a media track
CN103053157B (en) * 2010-07-30 2017-05-24 诺基亚技术有限公司 And a method and apparatus for determining a balanced media track or a plurality of segments
CN101930776A (en) * 2010-08-02 2010-12-29 华为终端有限公司 Music file recognition and playing method and device
CN102622999A (en) * 2011-01-26 2012-08-01 英华达(南京)科技有限公司 System for automatically adjusting sound effect and method thereof
CN103295611A (en) * 2012-03-02 2013-09-11 深圳富泰宏精密工业有限公司 Music automatic optimization system and method
CN103177743A (en) * 2013-01-30 2013-06-26 东莞宇龙通信科技有限公司 Song playing method and device
CN103177743B (en) * 2013-01-30 2016-09-21 东莞宇龙通信科技有限公司 One kind of song playback method and apparatus
CN103686338A (en) * 2013-08-15 2014-03-26 深圳Tcl新技术有限公司 A method for processing audio data, an apparatus thereof and a television set
CN103744666A (en) * 2013-12-23 2014-04-23 乐视致新电子科技(天津)有限公司 Method and device for adjusting audio frequencies in Android device
CN105138696A (en) * 2015-09-24 2015-12-09 深圳市冠旭电子有限公司 Method and device for pushing music
CN105390144A (en) * 2015-10-15 2016-03-09 广东欧珀移动通信有限公司 Audio processing method and audio processing device
CN105404642A (en) * 2015-10-23 2016-03-16 广东欧珀移动通信有限公司 Audio playing method and user terminal

Also Published As

Publication number Publication date Type
WO2011035626A1 (en) 2011-03-31 application
CN101667814B (en) 2012-08-15 grant

Similar Documents

Publication Publication Date Title
US7711129B2 (en) Method and system for approximating graphic equalizers using dynamic filter order reduction
Moore et al. Perceived naturalness of spectrally distorted speech and music
US20030028385A1 (en) Audio reproduction and personal audio profile gathering apparatus and method
JP2002078100A (en) Method and system for processing stereophonic signal, and recording medium with recorded stereophonic signal processing program
US20110038490A1 (en) System for increasing perceived loudness of speakers
US20070195963A1 (en) Measuring ear biometrics for sound optimization
US6865430B1 (en) Method and apparatus for the distribution and enhancement of digital compressed audio
US20080170721A1 (en) Audio enhancement method and system
US20040002781A1 (en) Methods and apparatuses for adjusting sonic balace in audio reproduction systems
WO2003104924A2 (en) Acoustical virtual reality engine and advanced techniques for enhancing delivered sound
US20140153727A1 (en) Method and apparatus for personalized audio virtualization
US20090182563A1 (en) System and a method of processing audio data, a program element and a computer-readable medium
US20080091416A1 (en) Method, medium and apparatus enhancing a bass signal using an auditory property
US20090092265A1 (en) Audio dosage control
Croghan et al. Quality and loudness judgments for music subjected to compression limiting
US20100158272A1 (en) Asymmetric polynomial psychoacoustic bass enhancement
JPH0936685A (en) Method and device for reproducing sound signal
US20120128178A1 (en) Sound reproducing apparatus, sound reproducing method, and program
FR2890280A1 (en) Audio processing unit for sound reproducing stereo system, has psychoacoustic model linearizing response curve of loudspeaker enclosure according to direction of perception of sound by user
JP2008058470A (en) Audio signal processor and audio signal reproduction system
Hafezi et al. Autonomous multitrack equalization based on masking reduction
US8750538B2 (en) Method for enhancing audio signals
CN1342386A (en) Low-frequency audio enhancement system
WO2011019339A1 (en) System for increasing perceived loudness of speakers
CN1964187A (en) A system and method to manage sound volume

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
TR01