The Synthesizer V text frontend turns raw lyrics into phonetic and articulatory representations that downstream duration, pitch, and acoustic models consume. The frontend is organized as the Cross-Lingual Frontend (CLF), backed by unencrypted dictionary and phoneme tables in clf-data2/ inside the application bundle.
Because Synthesizer V Studio 2 Pro supports both native second-generation voicebanks and first-generation compatibility voicebanks, two phonetic representations coexist in the runtime: a unified ten-language X-SAMPA and articulatory feature system for SV2, and an embedded five-language multiphone mapping table inside SV1 compatibility voicebanks.
1. Lyric-to-phoneme text frontend
When a user enters lyrics on notes, CLF converts orthography into language-specific system phonemes through a sequence of tokenization, dictionary lookup, statistical grapheme-to-phoneme (G2P) fallback, and language rules.
The clf-data2/ directory ships 29 resource files tailored to the orthography of each supported language:
- Mandarin: A two-stage dictionary pipeline converts Hanzi to toned Pinyin via
cedict.txt(44,630 entries), then converts Pinyin syllables to Mandarin system phonemes viamandarin-dict.txt(716 entries, such asbatob a,zhitozh ir, andzitoz iz). The runtime also supports Bopomofo decoding and falls back tomandarin-jsm.data(25 KB) for out-of-vocabulary inputs. - Cantonese: Mirrors Mandarin with
cedict-canto.txt(4.45 MB) for Hanzi-to-Jyutping lookup,cantonese-dict.txt(1,582 entries, such asaaktoaa -k), andcantonese-jsm.data(18 KB). - English: Uses
cmudict-07b.txt(133,770 entries) for dictionary lookup,english-jsm.data(824 KB) for out-of-vocabulary G2P, andenglish-reverse-jsm.data(822 KB) for reverse phoneme-to-grapheme alignment. Language rules handle common function words (she,who,they,those,these,that) and optional cluster merging (enable_tw_dw). - Japanese: Runs a morphological tokenizer (
japanese-tokenizer.data, 1.21 MB) to segment unspaced text, resolves Kanji readings throughedict.txt(973 KB) andjapanese-kanji-jsm.data(3.40 MB), normalizes Hiragana, Katakana, and small Kana via three dedicated tables (japanese-hira2romaji-dict.txt,japanese-kata2romaji-dict.txt,japanese-sute2romaji-dict.txt), and maps Romaji morae to phonemes throughjapanese-romaji-dict.txt(340 entries) andjapanese-romaji-jsm.data(8 KB). - Korean: Decomposes Hangul through
korean-jamo2romaji-dict.txt, then maps syllables viakorean-dict.txt(4,067 entries) andkorean-jsm.data(26 KB). - French, German, Italian, and Brazilian Portuguese: Each pairs a pronunciation lexicon with a statistical fallback model (
french-dict.txtwith 72,840 entries including liaison forms such asest-ceandallons-y,german-dict.txtat 5.8 MB,italian-dict.txtat 2.19 MB, andportuguese-brazil-dict.txtat 1.36 MB, plus their*-jsm.datafiles). German adds rule toggles for word-initial glottal stops (enable_word_glottal_stop), diphthongs (enable_diphthongs), andich-Lautvariants (default_ich_laut). - Spanish: Ships no dictionary or JSM file in
clf-data2/. Because Spanish orthography maps deterministically to pronunciation, the runtime runs a rule-based frontend with options for European distinction (european_pronunciation),ypronunciation (y_pronunciation), and codasaspiration (coda_s_aspiration), plus a built-in exception stem list for Nahuatl and Mexicanxspellings (mexic,oaxac,texas,quixote,xavier,ximena,xolo,tlaxcal,nixtamal).
Every *-jsm.data file encodes a compact Joint Sequence Model (JSM), a graphone n-gram statistical model that aligns grapheme and phoneme fragments (such as z$y$u or n$d). Running JSM on CPU keeps out-of-vocabulary prediction fast enough for live lyric editing in the piano roll.
2. Dual phoneme notation and phoneme-table.tsv
System phonemes produced by the dictionaries are translated through clf-data2/phoneme-table.tsv, which separates user-facing notation from shared phonetic transcription.
The table defines 423 phoneme rows across five columns (Language, Phoneme (System), Phoneme (XSAMPA), Sys. Category, and Example):
- Four cross-lingual
Commonsymbols:sil(silence),cl(glottal closure or stop hold),vf(vocal fry or glottal stop), andbr(breath). - Ten active languages: Mandarin (55), English (49), German (45), Portuguese (45), Cantonese (43), Japanese (41), French (39), Korean (37), Spanish (35), and Italian (30).
- Shared X-SAMPA convergence: The 423 language-specific system phonemes map onto 175 unique non-empty X-SAMPA symbols and 10 system categories (
vowel,diphthong,coda,stop,affricate,fricative,liquid,nasal,semivowel, andsilence). Model-side_psv2tables extend this taxonomy to 13 categories by addingaspirate,trill, andbreath.
Keeping system phonemes separate from X-SAMPA lets users edit lyrics in familiar orthography-inspired symbols while giving the engine a unified phonetic inventory underneath. The table below shows representative Mandarin rows from phoneme-table.tsv.
| Example word | System phonemes | X-SAMPA | System categories |
|---|---|---|---|
邦 bang |
b aa ng |
pp A :N |
stop, vowel, coda |
旁 pang |
p aa ng |
ph A :N |
stop, vowel, coda |
之 zhi |
zh ir |
ts` r\` |
affricate, vowel |
此 ci |
c iz |
tsh M+ |
affricate, vowel |
在 zai |
z a -i |
tts a i^ |
affricate, vowel, coda |
心 xin |
x i -n |
s\ i :n |
fricative, vowel, coda |
去 qu |
q v |
ts\h y |
affricate, vowel |
Coda decomposition in SV2
Comparing phoneme-table.tsv against SV1 voicebank inventories highlights a structural change in how singing finals are represented:
- SV1 compatibility voicebanks pack Mandarin compound finals into atomic symbols (
AU,@U,ia,iA,iAU,ie,iE,iU,i@U,y{,yE,ua,uA,u@,ue,uo). Sustaining a long note stretches the whole compound token together. - SV2
phoneme-table.tsvsplits trailing glides, nasals, and stop closures into an explicitcodacategory across eight languages: Mandarin (-i,-r,-n,ng), Cantonese (-i,-y,-u,-m,-n,-ng,-p,-t,-k), Japanese (-i,-u,-N), English (ll), Spanish (U,I), German (-r), Korean (ng), and Portuguese (H,wn,yn). Splitting the nucleus from the coda lets the duration model hold sustained pitch on the main vowel and place the closing transition at the end of the note.
3. Cross-lingual synthesis pathways
Single-language voicebanks sing across multiple languages through two different mechanisms depending on voicebank generation.
SV1 compatibility path: explicit multiphone merging
Inside the Stardust Infinity compatibility voicebank, the frontend and acoustic models embed six _psv2 tables: five per-language inventories (mandarin-xsampa-phones with 59 symbols, english-arpabet-phones with 50, japanese-romaji-phones with 42, cantonese-xsampa-phones with 46, and spanish-xsampa-phones with 31) alongside one unified 107-symbol multiphone inventory.
Each per-language _psv2 table stores a third vector mapping every language phoneme directly to a target entry in multiphone. Mandarin’s 55 core X-SAMPA symbols serve as the shared anchor, while genuinely distinct foreign sounds receive dedicated prefixed entries (ARP_*, ROM_*, YUE_*, ES_*):
- Japanese: Shares core vowels (
a,i,u,e,o) directly. Voiceless stops map to Mandarin aspirated stops (ttoth,ktokh,ptoph), voiced stops map to Mandarin unaspirated stops (dtot,gtok,btop), and sibilants align directly (shtos\,jtots\,ztots,tstotsh). Palatalized and labialized clusters receive 12 dedicatedROM_*slots (ROM_kw,ROM_gw,ROM_py,ROM_dy,ROM_ty,ROM_ry,ROM_ky,ROM_ny,ROM_my,ROM_hy,ROM_gy,ROM_by). - English: Merges shared sounds (
aatoa,ahtoA,awtoAU,ehtoe,btop,dtot,chtots`h) and allocates 18 dedicatedARP_*slots for English-specific vowels, interdental fricatives, flaps, and clusters (ARP_ae,ARP_ao,ARP_ax,ARP_ay,ARP_er,ARP_ih,ARP_ey,ARP_oy,ARP_dx,ARP_q,ARP_dr,ARP_tr,ARP_dw,ARP_tw,ARP_dh,ARP_th,ARP_v,ARP_zh). - Cantonese: Shares stops, fricatives, and syllabic nasals (
htox,tstots,ptop,phtoph,m=tom,N=toN) while keeping a dedicated onset velar nasal (YUE_N), Cantonese-specific vowels (6,8,9), and codas (:u,:m,:p_},:t_},:k_}). - Spanish: Shares the five cardinal vowels and allocates dedicated entries for voiced stops, approximants, taps, trills, and glides (
b,B,d,D,g,r,rr,ll,ES_I).
During multilingual pretraining, the acoustic model learns pronunciation patterns across all 107 multiphone channels. When fine-tuned on a monolingual singer, shared anchor slots lock in vocal timbre while pretrained foreign slots transfer cross-lingual articulation.
Native SV2 path: articulatory feature decomposition
Maintaining hand-crafted pairwise phoneme merge tables scales poorly beyond five languages. Static inspection of Synthesizer V Studio 2 Pro shows that the SV2 runtime decomposes phonemes into general phonetic and articulatory features through two parallel feature-building paths.
Nine articulatory attributes are queried by name:
voicing: vocal fold vibration state.obstruent: whether the segment is an obstruent (stop, fricative, or affricate).rhoticity: retroflex or rhotic articulation.aspiration: presence of aspiration burst.tenseness: vowel tenseness contrast.v2_rounding: lip rounding of the second target in a diphthong or glide.v2_height: tongue height of the second target in a diphthong or glide.c_stricture: degree of consonantal constriction.system_category: coarse phoneme class fromphoneme-table.tsv.
Alongside these nine attributes, the runtime parses nasalization (nasality=nasal) and tracks sub-phoneme progression (subphn_pos, subphn_actv).
These articulatory descriptors connect directly to downstream rendering controls and language expansion:
- Timing and articulation controls: Render requests carry
obstruents_length_bias,even_syllable_division,is_rap, andrap_accent. Explicitobstruent,aspiration, andvoicingtags let the duration model tighten or stretch consonant bursts independently of vowel nuclei. - Extensible language support: Beyond the 10 languages shipping in
phoneme-table.tsv, the binary registers 37 language identifiers (including ShanghaineseWUU, Arabic, Russian, Thai, Vietnamese, Hindi, Urdu, Malay, Turkish, Polish, Dutch, Greek, and Hebrew), supports an externalphoneme-table-extextension mechanism, and accepts directxsampa:phonetic input.



