arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.00210cs.SDcs.LGeess.AS
收藏

基于Transformer的端到端钢琴演奏MIDI到乐谱转换

End-to-end Piano Performance-MIDI to Score Conversion with Transformers

Technical University of Munich(慕尼黑工业大学)

Tim Beyer, Angela Dai

AI总结:

本文提出一种基于Transformer的端到端方法,将钢琴演奏MIDI直接转换为详细乐谱,通过复合标记量化缩短序列长度3.5倍,并在MUSTER指标上显著超越已有方法,首次实现从演奏数据直接预测颤音等记谱细节。

摘要:

从富有表现力的人类演奏中自动生成准确的音乐记谱是计算音乐学中的一项基础任务。为此,我们提出了一种端到端的深度学习方法,直接从真实世界的钢琴演奏MIDI文件构建详细的乐谱。我们引入了一种基于现代Transformer的架构,并采用了一种新颖的符号音乐数据标记化表示。将该任务构建为序列到序列的翻译而非逐音符分类,降低了对齐要求和标注成本,同时允许预测更简洁、更准确的记谱。为了序列化符号音乐数据,我们设计了一个基于复合标记的自定义标记化阶段,对连续值进行精细量化。与先前方法相比,该技术在保留更多乐谱信息的同时,将序列长度缩短了3.5倍。借助Transformer骨干网络,我们的方法展现出对音符时值、节奏结构以及诸如谱表分配等细节的更好理解。在使用MUSTER等转录指标进行端到端评估时,我们相比先前的深度学习方法和基于复杂隐马尔可夫模型(HMM)的最先进流程取得了显著改进。我们的方法也是首个直接从演奏数据中预测颤音记号或符干方向等记谱细节的方法。代码和模型可在https://github.com/TimFelixBeyer/MIDI2ScoreTransformer获取。

英文摘要:

The automated creation of accurate musical notation from an expressive human performance is a fundamental task in computational musicology. To this end, we present an end-to-end deep learning approach that constructs detailed musical scores directly from real-world piano performance-MIDI files. We introduce a modern transformer-based architecture with a novel tokenized representation for symbolic music data. Framing the task as sequence-to-sequence translation rather than note-wise classification reduces alignment requirements and annotation costs, while allowing the prediction of more concise and accurate notation. To serialize symbolic music data, we design a custom tokenization stage based on compound tokens that carefully quantizes continuous values. This technique preserves more score information while reducing sequence lengths by $3.5\times$ compared to prior approaches. Using the transformer backbone, our method demonstrates better understanding of note values, rhythmic structure, and details such as staff assignment. When evaluated end-to-end using transcription metrics such as MUSTER, we achieve significant improvements over previous deep learning approaches and complex HMM-based state-of-the-art pipelines. Our method is also the first to directly predict notational details like trill marks or stem direction from performance data. Code and models are available at https://github.com/TimFelixBeyer/MIDI2ScoreTransformer

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑