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

MIDI 图像:通过基于图像的扩散修复的图形提示实现可控音乐生成

Pictures Of MIDI: Controlled Music Generation via Graphical Prompts for Image-Based Diffusion Inpainting

Belmont University(贝尔蒙特大学);Hyperstate AI

Scott H. Hawley

AI总结:

本文提出一种基于MIDI钢琴卷帘图像和HDiT扩散模型的图形提示音乐生成方法,通过掩码修复与重绘实现旋律、伴奏及续写的可控生成,并在不使用自编码器的情况下达到与先前方法相当的性能。

摘要:

近年来,音乐生成模型取得了显著进展,呈现出多种架构,在输出质量、多样性、速度和用户控制之间取得平衡。本研究探索了一种用户友好的图形界面,该界面允许绘制掩码区域,以便由在 MIDI 钢琴卷帘图像上训练的 Hourglass Diffusion Transformer(HDiT)模型进行修复。为了增强指定区域中的音符生成,可以用额外噪声对掩码区域进行“重绘”。非潜在 HDiT 随像素数量线性扩展的特性允许在像素空间中高效生成,提供直观且可解释的控制,例如在整个网络中进行掩码,并且无需在压缩潜在空间(例如预训练自编码器提供的潜在空间)中操作。我们证明,除了旋律、伴奏和续写的修复之外,使用重绘有助于提高音符密度,从而产生与用户指定(例如上升、下降或发散的旋律和/或伴奏)紧密匹配的音乐结构,即使这些结构位于典型训练数据分布之外。我们在更长的上下文窗口下运行,且不使用自编码器,实现了与先前结果相当的性能,并且能够为修复掩码实现复杂的几何形状,从而增加了机器辅助作曲家控制生成音乐的选择。

英文摘要:

Recent years have witnessed significant progress in generative models for music, featuring diverse architectures that balance output quality, diversity, speed, and user control. This study explores a user-friendly graphical interface enabling the drawing of masked regions for inpainting by an Hourglass Diffusion Transformer (HDiT) model trained on MIDI piano roll images. To enhance note generation in specified areas, masked regions can be "repainted" with extra noise. The non-latent HDiTs linear scaling with pixel count allows efficient generation in pixel space, providing intuitive and interpretable controls such as masking throughout the network and removing the need to operate in compressed latent spaces such as those provided by pretrained autoencoders. We demonstrate that, in addition to inpainting of melodies, accompaniment, and continuations, the use of repainting can help increase note density yielding musical structures closely matching user specifications such as rising, falling, or diverging melody and/or accompaniment, even when these lie outside the typical training data distribution. We achieve performance on par with prior results while operating at longer context windows, with no autoencoder, and can enable complex geometries for inpainting masks, increasing the options for machine-assisted composers to control the generated music.

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

↑