摘要
乐器单旋律是乐音信号的重要特征,音高是旋律的最重要因素,由发音体的基本频率决定。音频信号的时域分析具有简单快捷的特点,可以实时辅助作曲创作、音准分析和校正等。通过对YIN算法的分析,提出利用YIN算法确定分析帧的长度。对比自相关函数算法的三电平中心削波在YIN算法应用的效果,指出三电平中心削波不利于YIN算法的效率。对于时移非常小的YIN算法近零点的影响,采取累积平均归一化处理,消除其对基频近零点的干扰。在Matlab环境中,实现以分析帧为单位的音高提取。根据十二平均律,计算各个音级和音分的标准频率比,以小提琴无伴奏WAV文件的200分析帧为样本,对于提取基频和标准基频的偏差,提出基频的修正方法。
Single melody is an important feature of musical signal,Pitch is the most important factor of melody.It is determined by the basic frequency of the sound bods.Time domain analysis of audio signal is simple and fast.It can assist composition,intonation analysis and correction in real time.Based on the analysis of Yin algorithm,it is proposed to use Yin algorithm to determine the length of analysis frame.Compared the effect of three-level center clipping of autocorrelation function algorithm in Yin algorithm,it is pointed out that three-level center clipping is not conducive to the efficiency of Yin algorithm.For the influence of near zero point of Yin algorithm with very small time shift,the cumulative average normalization is used to eliminate the interference to the fundamental frequency near zero.In the Matlab environment,the pitch extraction based on the analysis frame is realized.According to the Twelve-tone equal temperament,calculating the standard frequency ratio of each sound level and cent,taking 200 analysis frames of violin unaccompanied WAV file as samples,for the deviation between the extracted fundamental frequency and the standard fundamental frequency,a correction method of the fundamental frequency is proposed.
作者
张岩
王伟
ZHANG Yan;WANG Wei(Computer and Basic Mathematics Education Department,Shenyang Normal University,Shenyang 110034,China)
出处
《沈阳师范大学学报(自然科学版)》
CAS
2020年第5期438-442,共5页
Journal of Shenyang Normal University:Natural Science Edition
基金
国家社会科学基金艺术学重大项目(18ZD23)。
关键词
音高
YIN
自相关函数
三电平中心削波
十二平均律
pitch
YIN
autocorrelation function
three-level center clipping
Twelve-tone equal temperament