Skip to content
Explanation

Synthesizer V acoustic model architecture

The Synthesizer V acoustic model maps aligned singing controls into the 72-dimensional frame-level physical representation consumed by the vocoder. The architecture isolates expressive variation inside a 4-dimensional latent space generated in a single forward jump from noise (t = 1.0 to t = 0.0), then decodes the full acoustic frame through a two-stage WaveNet cascade.

Frame-level conditioning inputs

Once the score frontend, duration predictor, and pitch model finish running, the engine supplies aligned condition streams at 200 Hz (5 ms per frame):

  • Multilingual phoneme activations (108 channels): Channels 1 to 107 encode activations across a shared 107-symbol cross-lingual phoneme inventory (multiphone) in [0, 1], allowing one voicebank to sing across Japanese, Mandarin, English, Cantonese, and Spanish. Channel 108 carries an additional continuous scalar channel (-2.90 to +2.57).
  • Continuous log pitch (ln⁡F0\ln F_0, 1 channel): Spans roughly 50 Hz to 1200 Hz (3.91 to 7.09). The acoustic model conditions on pitch to adjust register resonance, and the same pitch value later passes straight into the 72-dimensional vocoder frame.
  • Language and vocal mode embeddings: A learned lookup table maps five supported languages (japanese, mandarin, english, cantonese, and spanish) to 8-dimensional embeddings, with all five language vectors trained. A separate style bank stores a 32-dimensional base vector alongside eight named vocal modes (Bright, Sweet, Airy, Cool, Power, Dark, Emotional, and Solid) represented by nine 32-dimensional style vectors and eight scalar offsets. Dragging vocal mode sliders forms a weighted linear combination in this 32-dimensional space, where opposing styles such as Bright and Dark exhibit negative cosine similarity.
  • Auxiliary performance channels: Forty remaining frame-level channels enter the context encoder alongside phonetic, language, and style features, carrying continuous pitch, expression curve, and timing context.

Generation stages

The compatibility acoustic model transforms these frame conditions into 72 physical channels across five stages.

1. Input normalization and dual-branch context encoding

The acoustic model stores three minimum-maximum scaling tables: two input scalers for the 108-dimensional phoneme sequence and 1-dimensional log pitch, plus one 71-dimensional output scaler applied during denormalization in stage 5. At inference entry, the first two tables normalize phoneme and log-pitch inputs into [0, 1]. A context encoder then builds two separate 256-dimensional representations from the same fused input:

  1. Local phoneme compression: A kernel-3 1D convolution (108 to 128 channels) followed by activation and a pointwise convolution (128 to 64 channels) compresses sparse phoneme activations into dense 64-dimensional phonetic features while capturing immediate coarticulation across neighboring frames.
  2. Condition concatenation: Concatenating the 64-dimensional phonetic features, 32-dimensional style vector, 8-dimensional language embedding, and 40 auxiliary channels produces a 144-dimensional sequence.
  3. Two parallel 256-channel context streams:
    • Framewise MLP stream: Two linear layers with activations (144 -> 256 -> 256) produce a strictly local representation without temporal smoothing.
    • Local WaveNet stream: A four-layer gated dilated WaveNet (256 hidden channels, kernel width 3, dilations 1, 3, 9, 27) spans an 81-frame receptive field (0.405 s), covering one to two syllables of local articulation context.

2. Single-step 4-dimensional distilled diffusion jump

Expressive variation across takes is generated inside a 4-dimensional latent space by a two-time-variable jump network (_didsv0, parameterized by latent width 4, time-embedding width 64, and time scale 64.0). Disassembly of the runtime forward pass confirms that model-version 1 runs no iterative denoising loop at inference time. It executes a single forward jump from t_start = 1.0 to t_target = 0.0 in one pass:

  1. 4-dimensional prior input: A linear layer projects the 256-dimensional framewise MLP stream from stage 1 down to 4 channels, forming the main input sequence of the latent WaveNet.
  2. Gaussian noise draw: For every frame, the runtime draws 4 independent standard normal samples via MT19937 and Marsaglia polar sampling, scaled by a per-frame noise multiplier (1.0 in the standard path).
  3. Exact 388-channel conditioning assembly: The module builds a 388-dimensional conditioning sequence by concatenating four blocks along the channel axis (256 + 64 + 64 + 4 = 388):
    • Channels 1 to 256: The 256-dimensional local WaveNet context stream from stage 1.
    • Channels 257 to 320: Sinusoidal encoding of t_start = 1.0, computed as sin⁡\sin and cos⁡\cos pairs of tstart⋅64.0/100002k/64t_{\text{start}} \cdot 64.0 / 10000^{2k/64}.
    • Channels 321 to 384: Sinusoidal encoding of t_target = 0.0 using the same frequency schedule and 64.0 scale factor.
    • Channels 385 to 388: The 4-dimensional Gaussian noise vector.
  4. Long-range WaveNet jump: Three stacked dilation cycles of [1, 3, 9, 27, 81] form a 15-layer gated convolutional network (128 hidden channels, kernel width 3, total receptive field 727 frames or 3.635 s). Every layer injects the 388-dimensional conditioning vector through a 1x1 projection. Aggregated skip features pass through nonlinear activation and a 128 -> 4 linear projection to output the final 4-dimensional latent trajectory directly.

Accepting both t_start and t_target via dual sinusoidal embeddings matches a consistency or distilled-diffusion jump formulation f(x,tstart,ttarget)f(x, t_{\text{start}}, t_{\text{target}}). Training with arbitrary start and target noise levels allows inference to collapse multi-step denoising into a single 1.0 -> 0.0 evaluation while preserving phrase-level stochastic expressiveness (such as breath onset weight, dynamic swells, and AI Retakes) inside 4 channels per frame.

3. Stage-one decoder for the 64-band vocal-tract envelope

Acoustic decoding runs as two sequential WaveNet stages. The first stage predicts the 64-band log vocal-tract spectral envelope:

  • Backbone: A nine-layer gated dilated WaveNet (256 hidden channels, kernel width 3, dilations 1, 3, 9, 27, 81, 1, 3, 9, 27) processes the 256-dimensional local WaveNet context stream over a 323-frame receptive field (1.615 s).
  • Latent modulation: Every layer injects the 4-dimensional latent trajectory from stage 2 through a 1x1 projection to modulate vocal-tract resonance and timbre dynamics across the phrase.
  • Output projection: Aggregated skip features pass through nonlinear activation, a 256 -> 64 linear projection, and bounded activation into [0, 1]. The model also stores a 64-by-64 discrete cosine transform (DCT) and inverse DCT pair that matches the vocoder’s internal transform within float32 precision (bit-exact on the inverse transform).

4. Stage-two decoder for source and aperiodicity features

Once the 64-band vocal-tract envelope is computed, a second decoder predicts the remaining 7 source-excitation and noise channels:

  • Backbone: A four-layer gated dilated WaveNet (128 hidden channels, kernel width 3, dilations 1, 3, 9, 27) processes the 256-dimensional context stream over an 81-frame receptive field (0.405 s).
  • Cascaded spectral conditioning: Every layer conditions directly on the 64-band vocal-tract envelope produced in stage 3 via 1x1 projections.
  • Output projection: Skip outputs pass through nonlinear activation, a 128 -> 7 linear projection, and bounded activation, predicting normalized voicing (1 channel), LF glottal RdR_d (1 channel), and five-band aperiodicity (5 channels).

Conditioning stage 4 on the completed 64-band envelope enforces physical consistency between filter and source. When stage 3 outputs an envelope with strong high-frequency frication typical of an unvoiced consonant, stage 4 observes that envelope directly and aligns the voicing flag and high-band aperiodicity accordingly.

5. Denormalization and 72-channel assembly

The model packs the 71 predicted channels in order (voicing, RdR_d, 64 vocal-tract bands, and 5 aperiodicity bands) and applies the third minimum-maximum scaling table in reverse to restore physical units. Inserting the upstream continuous ln⁡F0\ln F_0 into channel 2 produces the 72-dimensional frame layout expected by the vocoder.

The table below summarizes the handoff from the acoustic model to the vocoder.

Vocoder channel Source stage Feature
1 Stage 4 (source decoder) Voicing flag (V/UV)
2 Upstream pitch model Continuous log pitch (ln⁡F0\ln F_0)
3 Stage 4 (source decoder) LF glottal shape (RdR_d)
4 to 67 Stage 3 (vocal-tract decoder) 64-band log vocal-tract envelope
68 to 72 Stage 4 (source decoder) Five-band aperiodicity ratio

Both models share the exact same 72-channel layout and physical units, while each retains its own training-set minimum-maximum table. In Stardust Infinity, the acoustic model’s output bounds fall almost entirely inside the vocoder’s slightly wider input bounds. Denormalizing back to physical units before vocoder entry bridges the two independently scaled tables.

Native second-generation upgrades in SV2

Static analysis of Synthesizer V Studio 2 Pro shows that native second-generation voicebanks split timbre synthesis into a dedicated timbre.dnni module (paired with f0.dnni and vocoder.dnni) and introduce three upgrades over the compatibility model:

  • Decoupled pronunciation (ppg) and timbre (tim) streams: The native SV2 engine splits conditioning into parallel pronunciation (ppg) and timbre (tim) streams with separate diffusion temperatures (timbre_diffusion_temperature_ppg and timbre_diffusion_temperature_tim), source temperatures (timbre_source_temperature_ppg and timbre_source_temperature_tim), classifier-free guidance weights (timbre_guidance_ppg and timbre_guidance_tim), and the same dual-time sinusoidal encoder design (10000^(2k/C) computed twice), followed by multi-stage graph execution and two final decoder passes. This separation enables independent editor control over pronunciation and timbre.
  • Dual-scale continuous pitch conditioning: After clamping frame pitch to [timbre_pitch_min, timbre_pitch_max], the SV2 timbre frontend constructs two continuous floating-point pitch representations from the same pitch trajectory: one transformed on the MIDI semitone scale and one on the natural-log frequency (ln⁡F0\ln F_0) scale. Passing both scaled pitch streams into the timbre network stabilizes vocal register transitions across chest, mixed, and head voice.
  • Render-mode step pruning and attention operators: The runtime adjusts neural compute according to the selected render mode (modeDefault, modePreferSpeed, or modePreferQuality) by skipping a proportional number of prunable tail steps in thread-local evaluation state (active_steps = total_steps - round(prunable * clamp(ratio, 0, 1))). The underlying libdnni runtime also supports half-split rotary position embeddings (RoPE), scaled dot-product self-attention with optional linear distance bias (ALiBi), LayerNorm, and Softmax.

Because native SV2 timbre.dnni weights have not been inspected in plaintext, internal tensor widths inside timbre.dnni remain unconfirmed beyond the runtime’s dual decoder invocation and shared vocoder contract.

Type to search…

↑↓ navigate↵ selectEsc close