创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

duetto以采样时控制实现实时爵士合奏

AI 总结

开发者 Riccardo Cataldi 发布了 duetto,这是一款面向 MIDI 键盘的实时爵士搭档,可演奏独奏、伴奏和行走贝斯,且无需微调预训练的 Anticipatory Music Transformer。系统在采样时屏蔽或偏置音符 logits 进行控制,演奏乐句则取自 Weimar Jazz Database 的转录独奏。Cataldi 公布了实时性能数据,以免费非商业许可开放代码,并承认系统仍可能偏离演奏者,模型创意与规则约束之间的平衡也较脆弱。

深度见解

duetto 展示了一种通过约束式解码而非微调来引导预训练符号音乐模型的具体方法,为可控的实时 AI 演奏提供了可评估的技术路径。

I've been working on duetto, a real-time jazz partner for a MIDI keyboard: it plays a standard with you as a small band (solo, comping, walking bass), comps while you play and takes a solo when you stop.

Demo (Autumn Leaves, 160 bpm): https://youtu.be/8zIAzVY8O6w

Code (free for noncommercial use): https://github.com/RiccardoCataldi/duetto

Approach. Instead of fine-tuning, it uses the pretrained Anticipatory Music Transformer (Thickstun et al., 2023) as-is and does all the control at sampling time:

  • The player's notes and the model's are one event sequence the model continues, one note (onset, duration, pitch) at a time.
  • Before each sample, a rule layer edits the logits: it masks what is not allowed (a hand that must wait, a pitch out of register, a bass note off the beat) and biases what should be likely (the current chord's tones, a guide tone on the downbeat, the next note of a phrase being quoted).
  • Phrases come from the Weimar Jazz Database (transcribed solos), segmented where the soloists actually breathed, transposed to the tune's chords and developed over a chorus. In the demo, about 61% of solo notes come from quoted phrases or the theme; the rest is the model.
  • The server keeps ~1 s of music sampled ahead and resamples the unplayed part whenever the player plays, which keeps latency low while the model "plans".

Speed. About 12 ms/note (medium) and 18 ms/note (large) on a 3080 Ti; the large model runs at ~90 ms/note on a Jetson Orin Nano, which is still enough to play live.

What doesn't work well yet. It can drift away from the player, its responses are hard to predict, and the balance between the model's own ideas and the rules is fragile: too much bias and it sounds like a phrase book, too little and it stops sounding like jazz.

I'd love feedback on the approach, especially from anyone who has tried constrained or guided decoding for symbolic music: is sampling-time steering a reasonable alternative to fine-tuning here, or does it hit a ceiling?

submitted by /u/GGAllin43 [link] [comments]

#duetto#Anticipatory Music Transformer#Weimar Jazz Database#Riccardo Cataldi#MIDI

原文约 2 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。