Partitura is a lightweight Python package for handling symbolic musical information. It provides easy access to features commonly used in music information retrieval tasks, like note arrays (lists of timed pitched events) and 2D piano roll matrices, as well as other score elements such as time and key signatures, performance directives, and repeat structures. Partitura can load musical scores (in MEI, MusicXML, Kern, and MIDI formats), MIDI performances, and score-to-performance alignments. The package includes some tools for music analysis, such as automatic pitch spelling, key signature identification, and voice separation. Partitura is an open-source project and is available at https://github.com/CPJKU/partitura/.
翻译:Partitura是一个用于处理象征性音乐信息的轻量级 Python 软件包,它便于获取音乐信息检索任务中常用的特征,如笔记阵列(定时投球事件列表)和2D钢琴滚动矩阵,以及时间和关键签名、性能指令和重复结构等其他得分元素。Partitura可以装载音乐分数(以MEI、MusicXML、Kern和MIDI格式)、MIDI表演和分数对性能调整。该软件包包括一些音乐分析工具,如自动拼音、关键签名识别和语音分离。Partitura是一个开放源项目,可在https://github.com/CPJKU/partitura/上查阅。