收稿日期:2022-08-05∗基金项目:西安交通工程学院中青年基金项目《共享经济背景下的共享钢琴及其配套系统研究》(2022KY-83)作者简介:王家宁(1994-),女,山西忻州人,硕士研究生,讲师。基于频率特征的共享钢琴自动调音系统设计∗王家宁(西安交通工程学院,西安710000)摘要:针对传统共享钢琴琴弦音高检测方法准确率低的问题,导致钢琴自动调音效果差的问题,提出设计一个基于频率特征的共享钢琴自动调音系统。系统分别采用改进短时平均幅度端点检测方法和Autocorrelation-自相关算法对钢琴音频进行端点检测和特征提取,获取各音频间的自相关信息,从而根据其信息实现钢琴琴弦音高准确检测;之后通过电机控制方法和无线通信方式进行系统快速调音和自动控制。实验结果表明,提出的端点检测方法可钢琴音弦信号和噪声进行分离,且相较于传统FFT算法和Cepstrum-倒谱算法,提出的Autocorrelation-自相关算法可提升钢琴音高准确检测。且将该算法应用到系统中发现,设计的自动调音系统运行十分稳定,调音范围较广,调音精度保持在±5音分范围内,调音时间低于10s,说明设计的系统调音速度快,效率高,满足自动调音需求。关键词:频率特征;共享钢琴;自动调音;端点检测;音高检测中图分类号:TP392文献标识码:ADOI编码:10.14016/j.cnki.1001-9227.2023.01.172DesignofSharedPianoAutomatictuningSystemBasedonFrequencyCharacteristicsWANGJianing(Xi’anTrafficEngineeringInstitute,Xi’an710000,China)Abstract:Inviewofthelowaccuracyofthetraditionalsharedpianostringpitchdetectionmethod,inthispaper,asharedpianoautomatictuningsystembasedonfrequencycharacteristicsisproposed.Thesystemadoptsimprovedshort-timeaverageamplitudeendpointdetectionmethodandAutocorrelation-autocorrelationalgorithmtoconductendpointdetectionandfeatureextractionofpianoaudiotoobtainautocorrelationinformationbetweeneachaudio,soastorealizetheaccuratedetec-tionofpianostringpitchaccordingtoitsinformation;thenthesystemisquicklytuningandautomaticcontrolthroughthemo-torcontrolmethodandwirelesscommunicationmode.Theexperimentalresultsshowthattheproposedendpointdetectionmethodcanseparatethepianostringsignalandnoise,andtheproposedAutocorrelation-andself-autocorrelationalgorithmcanimprovethetraditionalFFTalgorithmandCepstrum-invertedspectrumalgorith...