[!CAUTION] Superseded by Phoneme specification (v2 draft). New datasets, alignment pipelines, and v2 models use the v2 contract. This v1 page remains for historical exp3/exp4 checkpoint compatibility only.
Every sung syllable in WavWonder shares one phoneme representation from dataset labeling through score editing and synthesis.
Annotation and lexicon contract
New annotations and lexicons follow this specification as version 1. Each sung syllable has four separate facts: the text the singer sees, its chosen pronunciation, an ordered sequence of canonical phonemes, and the timing of each phoneme. The text may be a Hanzi character or a typed Pinyin syllable. Text is never treated as a phoneme identifier.
For Mandarin, a lexicon entry maps one normalized, toneless Pinyin syllable to one optional initial and one whole final. An annotation records the syllable instance as well as its phoneme intervals, so repeated identical syllables remain distinct. Every vocal phoneme uses the zh: namespace, while SP and AP remain language-neutral. A future language adds its own namespace and lexicon without changing Mandarin entries.
Text conversion is a suggested annotation, not an irreversible decision. A phrase-aware text-to-Pinyin pass selects a default reading for each Hanzi. The editor retains the original text, lets the user change its Pinyin reading, and lets the user override either phoneme independently. Changing the reading regenerates that syllable’s phonemes, while a direct phoneme edit takes precedence until the reading or lyric is changed again. Unsupported readings or phoneme combinations are reported instead of silently replacing them with a different pronunciation.
Compatibility with existing checkpoints
Existing exp3 and exp4 checkpoints keep their trained vocabularies. Exp3 expects unqualified OpenCPOP phoneme names, and exp4 expects language-qualified names including its qualified pause tokens. Their Pinyin spellings and y/w initials also differ from the version 1 Mandarin inventory. Existing editor projects retain their original phonemes. At inference, a version 1 syllable is translated into the selected legacy checkpoint’s syllable spelling and timing. Because translation can change the number of phonemes, it runs before frame alignment. Checkpoints trained on this specification consume the canonical symbols directly. Compatibility never changes the version 1 lexicon or relabels stored annotations.
Core principles
- Syllable-consistent segmentation: Units match what human annotators and audio recognizers can bound reliably. Consonants and monophthongs are single segments. Mandarin compound finals (diphthongs, triphthongs, and nasal rimes such as
iangoruan) remain whole rime tokens rather than being split into unverified internal sub-segments (j + a + ŋ). - Syllable-instance preservation: A sustained syllable sung across multiple notes (melisma) is a single rime token spanning the full duration of the vowel. Two consecutive syllables with the same vowel remain two distinct tokens separated by a boundary.
- Language-qualified symbols, language-shared acoustics: Phonetic tokens carry a language namespace (
zh:,ja:,en:) so each language retains its native segmentation granularity and allophonic targets, while non-vocal pauses (SP,AP) are shared across all languages.
Non-vocal tokens
Two language-neutral tokens represent non-phonetic intervals across all corpora and languages:
| Token | Meaning | Normalized source labels |
|---|---|---|
SP |
Silence or musical rest | SP, <SP>, sil, pau, _, # |
AP |
Audible inhalation (breath) | AP, <AP>, @, br |
SP and AP are never prefixed with a language code.
Mandarin specification (zh)
Every Mandarin syllable expands into at most two tokens: an optional consonant initial (onset) followed by a single final (rime). Zero-initial syllables consist of a single final token.
Initials (21)
| Group | Tokens | Broad IPA |
|---|---|---|
| Bilabial / Labiodental | b, p, m, f |
p, pʰ, m, f |
| Alveolar | d, t, n, l |
t, tʰ, n, l |
| Velar | g, k, h |
k, kʰ, x (or [h/ɦ]) |
| Alveolo-palatal | j, q, x |
t͡ɕ, t͡ɕʰ, ɕ |
| Retroflex | zh, ch, sh, r |
ʈ͡ʂ, ʈ͡ʂʰ, ʂ, ʐ |
| Dental sibilant | z, c, s |
t͡s, t͡sʰ, s |
y and w are orthographic Pinyin markers rather than consonant initials. Corpora that annotate y or w as separate initial intervals fold that interval into the following final within the same syllable.
Finals (38)
| Category | Tokens | Canonical IPA trajectory |
|---|---|---|
| Simple & retroflex vowels | a, o, e, i, u, v, er |
a, o, ɤ/ə, i, u, y, ɚ |
| Apical vowels | i0, ir |
ɹ̩ (after z, c, s), ɻ̩ (after zh, ch, sh, r) |
| Diphthongs | ai, ei, ao, ou, ia, ie, ua, uo, ve |
ai, ei, au, ou, ja, jɛ, wa, wo, ɥɛ |
| Triphthongs | iao, iu, uai, ui |
jau, jou, wai, wei |
| Anterior nasal finals | an, en, in, vn, ian, uan, van, un |
an, ən, in, yn, jɛn, wan, ɥɛn, wən |
| Posterior nasal finals | ang, eng, ing, ong, iang, uang, ueng, iong |
aŋ, əŋ, iŋ, ʊŋ, jaŋ, waŋ, wəŋ, jʊŋ |
When qualified for multilingual models, Mandarin tokens use the zh: prefix (for example, zh:x, zh:iang).
Normalization rules
Both Pinyin conversion and corpus ingestion apply the same canonicalization rules:
- Tone and suffix stripping: Strip tone digits (
1–5), combining tone marks, angle brackets, and corpus language suffixes (_zh). - Apical vowel disambiguation:
- After
z,c,s:i(ori1) normalizes toi0. - After
zh,ch,sh,r:i(ori2) normalizes toir. - In all other contexts:
iremainsi.
- After
- Palatal umlaut restoration:
- After
j,q,x:u,ue,uan,unnormalize tov,ve,van,vn. - After
n,l:ü/u:normalizes tov, andüe/uenormalizes tove.
- After
- Rime alias folding:
iou -> iu,uei -> ui,uen -> un.ü -> v,üe / ue -> ve,üan -> van,ün -> vn.
- Zero-initial folding:
yi -> i,ya -> ia,ye -> ie,yao -> iao,you -> iu,yan -> ian,yin -> in,yang -> iang,ying -> ing,yong -> iong.yu -> v,yue -> ve,yuan -> van,yun -> vn.wu -> u,wa -> ua,wo -> uo,wai -> uai,wei -> ui,wan -> uan,wen -> un,wang -> uang,weng -> ueng.
Timing, melisma, and repetition
- Onset-to-note timing: In score-driven synthesis, the final starts on the note onset (
0.0 srelative to the note), while the consonant initial precedes the note boundary, borrowing time from preceding silence or the tail of the previous note. Resizing a note stretches the final without stretching the consonant initial. - Melisma (one syllable across multiple notes): When a syllable continues across slurred or tied notes (
-in the score orslur = 1in corpus annotations), the contiguous rime intervals merge into a single rime token covering the full duration of the sustained vowel. Pitch changes within the melisma are carried by the frame-levelf0_hzcontour, while intra-phone progress runs monotonically from0to1across the entire vowel. - Repeated syllables: Consecutive syllables with identical finals (for example, “衣衣”
zh:i, zh:ior “味道”zh:ui, zh:d, zh:ao) belong to distinct syllable instances and are never merged into a single interval. In audio recognition, the boundary head marks the re-articulation between adjacent identical finals. - Boundary confidence: When ingesting corpora or pseudo-labeled data, boundaries whose timestamps are unverified (such as synthetic internal splits or unaligned transitions) are flagged as unknown so boundary losses mask them out during training.
End-to-end example
For the phrase “梨花香” (where “香” spans two notes), a breath, and “衣衣”:
| Lyric | Pinyin | Tokens | Per-token language |
|---|---|---|---|
| (rest) | SP |
SP |
neutral |
| 梨 | li |
zh:l, zh:i |
zh, zh |
| 花 | hua |
zh:h, zh:ua |
zh, zh |
香 (+ slur -) |
xiang |
zh:x, zh:iang |
zh, zh |
| (breath) | AP |
AP |
neutral |
| 衣 | yi |
zh:i |
zh |
| 衣 | yi |
zh:i |
zh |
| (rest) | SP |
SP |
neutral |
Multilingual qualification and cross-lingual adaptation
Language inventories
Each language uses its natural phonemic segmentation under its ISO 639-1 namespace:
- Chinese (
zh:): Onset + whole rime (59 tokens). - Japanese (
ja:): Moraic consonant onset (k, ky, g, gy, s, sh, z, j, t, ch, ts, d, n, ny, h, hy, f, b, by, p, py, m, my, y, r, ry, w, v), five monophthong nuclei (a, i, u, e, o), and special moras (Nfor the moraic nasalん,Q/clfor geminate stop closureっ). - English (
en:) and additional languages (ko:,es:,fr:,de:,it:,ru:): Segmental consonant and vowel/diphthong phonemes with stress digits removed.
Cross-lingual singer adaptation
A core design goal is adapting a voicebank from dry vocals in a single language (including lyric-free recordings) so the resulting singer can perform in all supported languages. This requires separating language-specific phonology from singer-specific acoustics:
- Upstream (language-qualified symbolic layer): Keeping tokens qualified by language (
zh:uvs.ja:u,zh:shvs.ja:shvs.en:sh) prevents cross-lingual accent averaging. For example, it preserves the distinction between Mandarin rounded[u]and Japanese compressed[ɯᵝ], or Mandarin retroflex[ʂ], Japanese alveolo-palatal[ɕ], and English postalveolar[ʃ]. Token embeddings combine shared articulatory and IPA priors with language-specific residuals so related consonants and vowels across languages share structure rather than acting as orthogonal IDs. - Midstream (universal frame-level content trajectory): An upstream predictor maps the language-qualified token sequence, intra-phone progress, and duration into a continuous frame-level pronunciation trajectory aligned with a frozen self-supervised acoustic subspace. Compound finals such as
zh:iangunfold alongprogressinto a smooth trajectory from glide to nucleus to nasal coda without needing sub-phone boundary labels. - Downstream (language-agnostic acoustic rendering): The frame-level generator and singer adapter consume only the continuous pronunciation trajectory , normalized log-F0, and singer identity, never raw language-specific token IDs. During singer adaptation on monolingual or unlabeled dry vocals, the upstream text-to-trajectory module remains frozen while the singer adapter learns how the target singer’s vocal tract renders states in . At inference time, foreign-language tokens are converted into trajectories in by the pretrained upstream predictor and rendered in the target singer’s timbre.



