Abstract
Existing pitch curve generators face two main challenges: they often neglect singer-specific expressiveness, reducing their ability to capture individual singing styles. And they are typically developed as auxiliary modules for specific tasks such as pitch correction, singing voice synthesis, or voice conversion, which restricts their generalization capability. We propose StylePitcher, a general-purpose pitch curve generator that learns singer style from reference audio while preserving alignment with the intended melody. Built upon a rectified flow matching architecture, StylePitcher flexibly incorporates symbolic music scores and pitch context as conditions for generation, and can seamlessly adapt to diverse singing tasks without retraining. Objective and subjective evaluations across various singing tasks demonstrate that StylePitcher improves style similarity and audio quality while maintaining pitch accuracy comparable to task-specific baselines.
Introduction
In digital singing synthesis and processing, the pitch curve ($F_0$) is the primary vehicle for musical expression. Beyond simply hitting the correct notes, a pitch curve captures the subtle nuances—vibrato, portamento, and stylistic ornaments—that define a singer's unique identity. However, current technologies often struggle with two limitations. First, many models are "singer-agnostic," producing technically correct but emotionally flat curves. Second, most pitch generators are specialized for single tasks (e.g., just pitch correction), requiring significant retraining to adapt to new applications like singing voice synthesis (SVS) or voice conversion (SVC).
StylePitcher addresses these gaps by framing pitch generation as a unified conditional masked infilling problem. By leveraging in-context learning, the model captures expressive style from reference audio and applies it to new melodies, serving as a versatile "plug-and-play" module for various singing tasks.
Methodology
Rectified Flow Matching Architecture
StylePitcher is built on a Rectified Flow matching framework utilizing a Diffusion Transformer (DiT). Rectified flow learns a straight-line transport map between noise and the target distribution, which typically offers more stable training and faster inference compared to standard diffusion models.
As shown in the architecture diagram above, the model processes several primary inputs to generate a target pitch curve:
- Symbolic Music Scores ($y$): Provides the fundamental melodic structure.
- Pitch Context ($x_{ctx}$): A reference segment of the singer's pitch curve used to extract stylistic features.
- Unvoiced Indicators ($u$): Helps align pitch generation with the phonetic structure of the vocal performance.
Implicit Style Modeling via In-Context Learning
A key innovation of StylePitcher is its approach to style. Rather than relying on explicit singer labels or pre-trained embeddings, the model uses in-context learning. By observing the surrounding pitch curve (the context), the model implicitly learns the performer's specific vibrato rate, depth, and transition habits. This allows the model to "fill in" missing segments with a style that matches the provided reference, enabling zero-shot adaptation to new singers.
MIDI Smoothing for Expressive Generation
To prevent the model from simply copying "style noise" from the input score, the researchers implemented a MIDI smoothing algorithm. This process removes expressive artifacts (like vibrato captured as rapid MIDI note changes) from the symbolic score. This forces the model to actively reconstruct those expressive elements based on the learned style context, ensuring the output is truly generated rather than just filtered.
Experiments and Results
Datasets
The model was trained on a massive dataset comprising 1,916 hours of singing data from Smule (DAMP-VSEP and DAMP-VPB). Evaluation was conducted using the GTSinger corpus for objective metrics and VocalSet for testing diverse singing techniques.
Quantitative Performance
Objective evaluations on the GTSinger dataset showed that StylePitcher achieves high pitch accuracy. It reached an Overall Accuracy (OA) of 73.04%, surpassing the task-specific baseline Diff-Pitcher (70.30%). Furthermore, a "classifier test"—where an LSTM attempted to distinguish real curves from generated ones—resulted in near-random accuracy (~51.85%), indicating that StylePitcher's generated curves are indistinguishable from authentic human performances in terms of stylistic consistency. Subjective evaluations via Mean Opinion Score (MOS) further confirmed these findings, with StylePitcher consistently scoring higher for style preservation and overall quality across all tested tasks.
Qualitative Analysis
Visual inspection of the generated curves confirms that StylePitcher effectively captures complex expressive features.
As illustrated in the comparison above, StylePitcher (red) produces curves with natural-looking vibrato and smooth transitions that closely follow the target notes while maintaining the character of the reference. In contrast, baseline models often produce flatter, less expressive trajectories.
Conclusion
StylePitcher demonstrates that a unified, task-agnostic approach to pitch generation can match or exceed the performance of specialized systems. By treating style as a local, learnable context, it provides a flexible tool for high-quality singing voice processing. Future work will look into incorporating loudness and timbre variations into this framework to create an even more comprehensive model of vocal expressiveness.
Summary updated