用高斯过程分析钢琴音频,实时定位乐谱位置。
Musical Score Following using Statistical Inference
- 先用高斯过程预测每段音频的演奏音符
- 再通过时长依赖的隐马尔可夫模型推断乐谱位置
- 适用于独奏钢琴、小提琴等多类乐器
乐谱跟随是将现场演奏实时映射到乐谱对应位置的任务,可用于自动翻页和实时伴奏。本文提出一种新方法,基于威尔逊与亚当斯2013年的频域混合高斯核(Spectral Mixture, SM)的高斯过程(GP)回归。由于SM核在频域中为高斯混合形式,特别适合建模音乐音符叠加的功率谱,其能量集中在各音符基频的倍数处。系统首先对800样本(约18毫秒)的独奏钢琴音频帧,使用高斯过程统计推断出演奏的音符;随后,这些预测结果被输入一个时长依赖的隐马尔可夫模型,以实时推断最可能的乐谱位置。该两阶段方法不仅在四声部合唱曲(键盘改编版)上表现成功,也在小提琴、双簧管和长笛作品上实现有效跟随,展示了高斯过程在音乐音频信号统计推断中的强大与灵活性。本研究首次证明了高斯过程在乐谱跟随中的可行性,拓展至在线音乐信息检索任务。此外,项目还提供了一个基于开源界面的实时乐谱位置显示原型系统。未来工作包括提升重复音符与延音踏板使用时的精度、适应乐谱偏差以及处理多乐器作品。
原文摘要 · Abstract (English)
Musical score following is the real-time mapping of a performance to corresponding locations in a musical score. Score following can be used in a variety of applications including automatic page turning and real-time accompaniment. This report presents a novel approach for score following motivated by Wilson and Adams's 2013 paper, which introduces Spectral Mixture (SM) kernels for Gaussian Process (GP) regression. Since the SM kernel is derived from a Mixture of Gaussians in the frequency domain, it is particularly suitable for modelling the superposed power spectra of musical notes, in which energy is concentrated at multiples of the fundamental frequency of each note. Our score follower begins by using a GP to statistically infer the musical notes played during 800-sample 'audioframes' (~18 ms) of solo piano music. These predictions are then used in a duration-dependent Hidden Markov Model to predict the most likely score positions in real time. Our two-stage approach achieves successful score following not only on four-part hymns arranged for keyboard, but also on pieces for the violin, oboe, and flute. This showcases the powerful and flexible nature of GPs for statistical inference on musical audio signals. Given the success of this project, we contribute to the literature a first proof of concept of the application of GPs in score following, and more broadly, in online Music Information Retrieval (MIR) tasks. This project also contributes a working score follower product that renders score position in real time using an adapted open-source user interface. Areas for future work include improving accuracy on repeated notes and during heavy use of sustain pedal, adapting to minor deviations from the score, and modelling multi-instrument works.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。