arXiv:2611.12061cs.SDNov 2026

Manuscript Offprint

arXiv:2611.12061

BARS: Beat-Adaptive Rap Synthesis via Flow Matching

Taemin Cho, Hector Martel, Enyan Koh

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

We present BARS (Beat-Adaptive Rap Synthesis), a non-autoregressive rapping voice generation model based on Flow Matching, conditioned on a beat track (instrumental backing), lyrics, and a short reference voice for zero-shot timbre control. Unlike prior autoregressive rap synthesis, where rap pace and output duration are strictly determined by the beat, BARS enables independent control over the rap tempo, allowing flexible-length generation without explicit duration prediction or phoneme-level alignment. We encode lyrics using a pretrained ByT5 encoder with a lightweight Transformer adapter trained jointly with the model, without relying on speech-pretrained text encoders, enabling natural handling of non-standard orthography (e.g., slang, abbreviations) and numerals common in rap lyrics. To address alignment instabilities, such as token skipping or repetition, under strong beat conditioning, we propose Asymmetric Scaled RoPE for cross-attention, which introduces a positional structure to facilitate sequential lyric-audio alignment learning. Furthermore, the model supports partial re-generation via span masking, enabling lyric-level editing while preserving the surrounding vocal style. Experiments demonstrate that the proposed model achieves high lyric fidelity, natural rap flow that is rhythmically coherent with the beat, and robust tempo control across a wide range of rapping styles and speeds.

1. INTRODUCTION

Rap music occupies a unique intersection of rhythm, language, and vocal expression, where the vocal delivery is governed by a rigid rhythmic contract with the underlying beat. Unlike melodic singing, rapping requires syllables to fall precisely within specific metrical windows while preserving the semantic integrity of the lyrics [1]. This dual constraint of temporal synchronization and semantic fidelity makes rapping voice generation significantly more challenging than conventional Text-to-Speech (TTS) or singing voice synthesis.

Existing Singing Voice Synthesis (SVS) systems [2–4] typically require predefined pitch and duration inputs, which are fundamentally incompatible with the nature of

rap. Indeed, rap delivery is largely pitch-agnostic and characterized by irregular rhythmic variations. The essence of rap performance, commonly referred to as flow [1], emerges from dynamic stress patterns, syncopation, and deliberate timing deviations that cannot be captured by fixed pitch and duration templates. Recent work on beat-conditioned rap generation, notably Freestyler [5], has made meaningful progress in this direction. However, its autoregressive nature results in slow sequential decoding, and both the rapping pace and output duration are solely determined by the beat track, leaving the model with no independent control over vocal delivery.

In this work, we propose BARS (Beat-Adaptive Rap Synthesis)1^1, a non-autoregressive rapping voice generation model built on Flow Matching [6]. The model is conditioned on a beat track, lyrics, and a short reference voice, and generates the corresponding rap vocal track, which can subsequently be mixed with the input beat track to produce the final output. It is designed as a creative tool to help rap artists prototype and refine their vocal delivery. Its non-autoregressive design enables independent control over the tempo of the generated vocals, allowing artists to explore diverse rhythmic interpretations of the same lyrics over a given beat. In addition, training with span masking allows partial re-generation, making it possible to revise specific phrases while preserving the vocal style and rhythmic consistency of the surrounding performance. The model further supports zero-shot timbre control, enabling synthesis in the voice of an unseen speaker using only a short reference voice sample.

For lyric encoding, we leverage a pretrained ByT5 encoder [7], which provides rich byte-level linguistic representations learned from large-scale text data. To map these embeddings for cross-modal alignment with audio latents, we introduce a lightweight Transformer-based adapter. We further observe that strong beat conditioning can disrupt positional tracking over the lyric sequence during cross-attention, leading to skipped or repeated lyric tokens. To mitigate this, we propose an Asymmetric Scaled RoPE (A-RoPE) mechanism that applies standard RoPE to the audio query side while applying length-proportionally scaled RoPE to the lyric key side, encouraging more consistent sequential coverage of the lyric tokens.

To the best of our knowledge, this is the first non-autoregressive Flow Matching-based framework for rapping voice generation that achieves flexible-length output without relying on explicit duration prediction, phoneme-

© T. Cho, H. Martel, and E. Koh. Licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0). Attribution: T. Cho, H. Martel, and E. Koh, “BARS: Beat-Adaptive Rap Synthesis via Flow Matching”, in Proc. of the 27th Int. Society for Music Information Retrieval Conf., Abu Dhabi, UAE, 2026.

1^1 Demo: https://bars-ismir2026.github.io/bars level alignment, or speech-specific encoders.

References (25)