fdemelo commited on
Commit
7cf2db5
·
verified ·
1 Parent(s): e742eec

x-vits 0.3: style embeddings, pitch kept in the speaker range, no phantom vowels; samples next to 0.2

Browse files
README.md CHANGED
@@ -23,9 +23,9 @@ datasets:
23
  An expressive **[Piper](https://github.com/rhasspy/piper)/VITS** voice that can speak in **six styles** and
24
  **stress the words you mark**, or the words it thinks matter. Made with
25
  **[x-vits](https://github.com/femelo/x-vits)**, a recipe that adds prosody modelling (intonation, rhythm,
26
- emphasis, vocal effort) to small, fast VITS voices. It's about 25M parameters in all, exported to ONNX, and runs on a CPU.
27
 
28
- **Version 0.2.** Needs the x-vits 0.2 runtime (`pip install` from the GitHub repo, below).
29
 
30
  ## What's different from a plain Piper voice
31
 
@@ -33,16 +33,18 @@ emphasis, vocal effort) to small, fast VITS voices. It's about 25M parameters in
33
  - 💥 **Emphasis:** write `*word*` to stress a word. Without marks, a small model predicts which words to stress.
34
  - 🌊 **Sampled intonation:** a flow-matching model picks a plausible pitch, voicing, energy and vocal-effort contour per phoneme, instead of averaging every sentence into the same melody.
35
  - 📣 **Vocal effort:** how bright and pressed the voice is, learned per style: happy and laughing are brighter, sad is darker.
 
36
  - 🎚️ **Style-aware timing:** sad slows down, confused hesitates, enunciated takes its pauses.
37
 
38
- ## What's new in 0.2
39
 
40
- - **Vocal effort** as a prosody feature, measured on voiced sounds and bridged smoothly across consonants and pauses.
41
- - **A wider pitch range** in training: the speaker's high notes (happy, laughing) were clipped before.
42
- - **Voicing follows the phonemes**, which removes occasional blips (a voiced *k*, a vowel that dropped its voice).
43
- - **Louder emphasised words**, peaking with the pitch.
44
 
45
- The 0.1 voice is still playable below, next to 0.2, for comparison. Its files are in this repo's history.
 
 
46
 
47
  ## 🎧 Samples
48
 
@@ -60,33 +62,32 @@ you ask for. The speaker's own recordings of this held-out sentence are on the r
60
 
61
  <table>
62
  <tr><th colspan="4">Piper (any style): <audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_piper.mp3"></audio></th></tr>
63
- <tr><th>style</th><th>x-vits 0.2</th><th>x-vits 0.1</th><th>recording</th></tr>
64
- <tr><td><b>default</b></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_default_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/same_default_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_default_recording.mp3"></audio></td></tr>
65
- <tr><td><b>happy</b></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_happy_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/same_happy_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_happy_recording.mp3"></audio></td></tr>
66
- <tr><td><b>sad</b></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_sad_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/same_sad_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_sad_recording.mp3"></audio></td></tr>
67
- <tr><td><b>confused</b></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_confused_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/same_confused_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_confused_recording.mp3"></audio></td></tr>
68
- <tr><td><b>enunciated</b></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_enunciated_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/same_enunciated_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_enunciated_recording.mp3"></audio></td></tr>
69
- <tr><td><b>laughing</b></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_laughing_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/same_laughing_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_laughing_recording.mp3"></audio></td></tr>
70
  </table>
71
 
72
- Measured on these clips, 0.2 follows the speaker more closely than 0.1 in several styles. Happy has
73
- the speaker's wide pitch range (15.0 semitones; recording 14.8, 0.1 12.5), sad is as narrow as the
74
- recording (5.1 semitones; 0.1 6.7), confused slows down like the speaker (2.30 s; recording 2.53,
75
- 0.1 1.94), and laughing moves much more (7.3 semitones; 0.1 4.2, recording 12.6). The voice still
76
- can't produce actual laughter.
77
 
78
  ### Different sentences, each in its recorded style
79
 
80
  Held-out sentences, never seen in training, each with the recording of that sentence in that style.
81
 
82
  <table>
83
- <tr><th>style</th><th>text</th><th>Piper</th><th>x-vits 0.2</th><th>x-vits 0.1</th><th>recording</th></tr>
84
- <tr><td><b>default</b></td><td>I'm more of an all terrain vehicle type.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/default_piper.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/default_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/default_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/default_recording.mp3"></audio></td></tr>
85
- <tr><td><b>happy</b></td><td>We didn't get the weather right, guys.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/happy_piper.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/happy_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/happy_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/happy_recording.mp3"></audio></td></tr>
86
- <tr><td><b>sad</b></td><td>No, in Salt Lake City, today, it won't snow.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/sad_piper.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/sad_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/sad_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/sad_recording.mp3"></audio></td></tr>
87
- <tr><td><b>confused</b></td><td>Is young adult fiction very popular?</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/confused_piper.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/confused_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/confused_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/confused_recording.mp3"></audio></td></tr>
88
- <tr><td><b>enunciated</b></td><td>One PM to nine PM, it'll be cloudy, and in the low fifties.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/enunciated_piper.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/enunciated_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/enunciated_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/enunciated_recording.mp3"></audio></td></tr>
89
- <tr><td><b>laughing</b></td><td>Their moment had come, or so they said.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/laughing_piper.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/laughing_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/laughing_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/laughing_recording.mp3"></audio></td></tr>
90
  </table>
91
 
92
  ### Emphasis, by moving the `*mark*` (style `default`)
@@ -94,11 +95,11 @@ Held-out sentences, never seen in training, each with the recording of that sent
94
  Piper has no equivalent: it stresses whatever its training suggests.
95
 
96
  <table>
97
- <tr><th>text</th><th>x-vits 0.2</th><th>x-vits 0.1</th></tr>
98
- <tr><td>I never said she stole my money.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/emphasis_0.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/emphasis_0.mp3"></audio></td></tr>
99
- <tr><td><b>*I*</b> never said she stole my money.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/emphasis_1.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/emphasis_1.mp3"></audio></td></tr>
100
- <tr><td>I never said <b>*she*</b> stole my money.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/emphasis_2.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/emphasis_2.mp3"></audio></td></tr>
101
- <tr><td>I never said she stole my <b>*money*</b>.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/emphasis_3.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v1/emphasis_3.mp3"></audio></td></tr>
102
  </table>
103
 
104
  ## 🚀 Usage
@@ -136,7 +137,7 @@ xvits-speak --model fdemelo/x-vits --text "Is it *really* you?" --style sad --ou
136
  | `style` | `default` `happy` `sad` `confused` `enunciated` `laughing` | none gives a neutral mix |
137
  | `emphasis` | `auto` · `marked` · `none` | `auto`: marks if present, otherwise predicted |
138
  | `emphasis_scale` | default 1.5 | multiplies the emphasis pitch peak, lengthening and loudness; 1.0 = average emphasis in the recordings |
139
- | `style_strength` | default 1.0 | style exaggeration: 0 none, 2 double (happy: +2.2, +3.5, +4.8 semitones above the speaker's average at 0, 1, 2) |
140
  | `guidance` | `"timing,pitch,energy,effort"` | per-channel exaggeration; default `"1.0,2.0,4.0,1.0"` |
141
  | `temperature` | `"timing,pitch,energy"` | variety; default `"0.8,0.7,1.0"`, higher is livelier |
142
  | `length_scale` | default 1.08 | larger is slower |
@@ -154,21 +155,21 @@ Speed with onnxruntime on 4 CPU threads: real-time factor about 0.6 (16 steps) o
154
  | `durations.onnx` | style-aware stochastic duration predictor | 2.5 MB |
155
  | `acoustic.onnx` | prosody-conditioned prior, length regulation, flow, HiFi-GAN | 36 MB |
156
  | `prominence.onnx` | predicts which words to stress | 4.8 MB |
157
- | `dp_cond.npz`, `emphasis_template.json` | style vectors for the duration predictor; the emphasis shape | small |
158
  | `runtime.json`, `config.json` | runtime settings; Piper phoneme map (eSpeak `en`) | |
159
 
160
  These graphs are driven by `xvits.runtime`, so they aren't drop-in files for Piper's own runtime.
161
- The export was verified against PyTorch end to end (maximum difference about 3e-5 at several sentence lengths).
162
 
163
  ## 🧪 Training
164
 
165
  - **Base:** Piper's LJSpeech `medium` checkpoint (LJSpeech is public domain).
166
  - **Data:** [Expresso](https://speechbot.github.io/expresso/) speaker **ex02**, read speech in six styles,
167
  2.2 h after leaving out whisper, singing, long-form and `<laugh>` rows. 245 utterances held out.
168
- - **Recipe** ([x-vits](https://github.com/femelo/x-vits) 0.2, `xvits-train`):
169
  1. fine-tune the base checkpoint on ex02;
170
  2. extract per-phoneme duration, pitch, energy and vocal-effort targets;
171
- 3. fine-tune with a zero-initialised prosody input to the prior, including frame-level interpolation;
172
  4. train an OT-CFM prosody predictor with a style input;
173
  5. train a style-conditioned duration predictor;
174
  6. train a word-prominence student on acoustic labels;
@@ -180,12 +181,12 @@ The export was verified against PyTorch end to end (maximum difference about 3e-
180
  |---|---|---|---|---|
181
  | Piper, fine-tuned | 0.37 | 0.30 | 1.7 % | 4.08 |
182
  | x-vits 0.1 | 0.37 | 0.39 | 2.1 % | 4.01 |
183
- | **x-vits 0.2** | **0.40** | 0.37 | 3.6 % | 3.86 |
 
184
  | the recordings | | | | 4.12 |
185
 
186
- UTMOS and Whisper both prefer calm read speech: UTMOS gives the speaker's own laughing takes 2.49, and
187
- 0.2 loses most of its score in happy and laughing, the styles that became more expressive. Listen
188
- above and decide for yourself.
189
 
190
  The prominence student finds the recording's main stress 42 % of the time, against 34 % for "last word" and 15 % for a random word.
191
 
@@ -193,7 +194,7 @@ The prominence student finds the recording's main stress 42 % of the time, again
193
 
194
  - **CC BY-NC 4.0.** Expresso is licensed for non-commercial use only, and so is this voice. The x-vits code is MIT.
195
  - English, one female speaker, read speech. Styles are as recorded in Expresso; there are no other emotions.
196
- - Laughing is rendered through intonation, timing and brightness; the voice doesn't produce actual laughter.
197
  - Questions sometimes end with a smaller rise than a natural reading.
198
  - Don't use this voice to impersonate real people or to mislead listeners.
199
 
 
23
  An expressive **[Piper](https://github.com/rhasspy/piper)/VITS** voice that can speak in **six styles** and
24
  **stress the words you mark**, or the words it thinks matter. Made with
25
  **[x-vits](https://github.com/femelo/x-vits)**, a recipe that adds prosody modelling (intonation, rhythm,
26
+ emphasis, vocal effort) to small, fast VITS voices. It's about 26M parameters in all, exported to ONNX, and runs on a CPU.
27
 
28
+ **Version 0.3.** Needs the x-vits 0.3 runtime (`pip install` from the GitHub repo, below).
29
 
30
  ## What's different from a plain Piper voice
31
 
 
33
  - 💥 **Emphasis:** write `*word*` to stress a word. Without marks, a small model predicts which words to stress.
34
  - 🌊 **Sampled intonation:** a flow-matching model picks a plausible pitch, voicing, energy and vocal-effort contour per phoneme, instead of averaging every sentence into the same melody.
35
  - 📣 **Vocal effort:** how bright and pressed the voice is, learned per style: happy and laughing are brighter, sad is darker.
36
+ - 🎙️ **Style timbre:** each style also has its own learned embedding in the voice, not only its own prosody.
37
  - 🎚️ **Style-aware timing:** sad slows down, confused hesitates, enunciated takes its pauses.
38
 
39
+ ## What's new in 0.3
40
 
41
+ - **Style embeddings in the voice:** each style has its own learned embedding in the flow, vocoder and duration predictor, on top of the x-vits prosody model.
42
+ - **Pitch stays in the speaker's range:** style exaggeration is soft-limited at each style's 95th-percentile pitch from the recordings. In 0.2, laughing could hold a vowel above anything the speaker produced, which sounded robotic.
43
+ - **No phantom vowels:** stress marks, which carry no sound of their own, are capped at their usual length, so "PM" no longer comes out as "P-E-M".
 
44
 
45
+ 0.3 sounds better in happy and default (UTMOS 3.91 and 4.23, from 3.53 and 4.01), hits the speaker's laughing pitch
46
+ (322 Hz, like the recording) and is more intelligible when laughing; it makes a few more word errors in enunciated
47
+ and default. The 0.2 voice is playable below for comparison; its files and the 0.1 samples are in this repo's history.
48
 
49
  ## 🎧 Samples
50
 
 
62
 
63
  <table>
64
  <tr><th colspan="4">Piper (any style): <audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_piper.mp3"></audio></th></tr>
65
+ <tr><th>style</th><th>x-vits 0.3</th><th>x-vits 0.2</th><th>recording</th></tr>
66
+ <tr><td><b>default</b></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_default_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/same_default_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_default_recording.mp3"></audio></td></tr>
67
+ <tr><td><b>happy</b></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_happy_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/same_happy_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_happy_recording.mp3"></audio></td></tr>
68
+ <tr><td><b>sad</b></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_sad_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/same_sad_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_sad_recording.mp3"></audio></td></tr>
69
+ <tr><td><b>confused</b></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_confused_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/same_confused_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_confused_recording.mp3"></audio></td></tr>
70
+ <tr><td><b>enunciated</b></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_enunciated_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/same_enunciated_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_enunciated_recording.mp3"></audio></td></tr>
71
+ <tr><td><b>laughing</b></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_laughing_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/same_laughing_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/same_laughing_recording.mp3"></audio></td></tr>
72
  </table>
73
 
74
+ Measured on these clips, 0.3 laughs at the speaker's pitch (322 Hz, like the recording; 0.2 274 Hz), and
75
+ default, enunciated and confused no longer overshoot the recorded pitch range (default 8.7 semitones; recording
76
+ 9.3, 0.2 11.2). Sad came out narrower than the speaker (3.5 vs 5.1 semitones) and happy lower (273 vs 347 Hz).
77
+ The voice still can't produce actual laughter.
 
78
 
79
  ### Different sentences, each in its recorded style
80
 
81
  Held-out sentences, never seen in training, each with the recording of that sentence in that style.
82
 
83
  <table>
84
+ <tr><th>style</th><th>text</th><th>Piper</th><th>x-vits 0.3</th><th>x-vits 0.2</th><th>recording</th></tr>
85
+ <tr><td><b>default</b></td><td>I'm more of an all terrain vehicle type.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/default_piper.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/default_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/default_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/default_recording.mp3"></audio></td></tr>
86
+ <tr><td><b>happy</b></td><td>We didn't get the weather right, guys.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/happy_piper.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/happy_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/happy_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/happy_recording.mp3"></audio></td></tr>
87
+ <tr><td><b>sad</b></td><td>No, in Salt Lake City, today, it won't snow.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/sad_piper.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/sad_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/sad_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/sad_recording.mp3"></audio></td></tr>
88
+ <tr><td><b>confused</b></td><td>Is young adult fiction very popular?</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/confused_piper.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/confused_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/confused_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/confused_recording.mp3"></audio></td></tr>
89
+ <tr><td><b>enunciated</b></td><td>One PM to nine PM, it'll be cloudy, and in the low fifties.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/enunciated_piper.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/enunciated_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/enunciated_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/enunciated_recording.mp3"></audio></td></tr>
90
+ <tr><td><b>laughing</b></td><td>Their moment had come, or so they said.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/laughing_piper.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/laughing_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/laughing_xvits.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/laughing_recording.mp3"></audio></td></tr>
91
  </table>
92
 
93
  ### Emphasis, by moving the `*mark*` (style `default`)
 
95
  Piper has no equivalent: it stresses whatever its training suggests.
96
 
97
  <table>
98
+ <tr><th>text</th><th>x-vits 0.3</th><th>x-vits 0.2</th></tr>
99
+ <tr><td>I never said she stole my money.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/emphasis_0.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/emphasis_0.mp3"></audio></td></tr>
100
+ <tr><td><b>*I*</b> never said she stole my money.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/emphasis_1.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/emphasis_1.mp3"></audio></td></tr>
101
+ <tr><td>I never said <b>*she*</b> stole my money.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/emphasis_2.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/emphasis_2.mp3"></audio></td></tr>
102
+ <tr><td>I never said she stole my <b>*money*</b>.</td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/emphasis_3.mp3"></audio></td><td><audio controls preload="none" src="https://huggingface.co/fdemelo/x-vits/resolve/main/samples/v0.2/emphasis_3.mp3"></audio></td></tr>
103
  </table>
104
 
105
  ## 🚀 Usage
 
137
  | `style` | `default` `happy` `sad` `confused` `enunciated` `laughing` | none gives a neutral mix |
138
  | `emphasis` | `auto` · `marked` · `none` | `auto`: marks if present, otherwise predicted |
139
  | `emphasis_scale` | default 1.5 | multiplies the emphasis pitch peak, lengthening and loudness; 1.0 = average emphasis in the recordings |
140
+ | `style_strength` | default 1.0 | style exaggeration: 0 none, 2 double (pitch stays within the speaker's range) |
141
  | `guidance` | `"timing,pitch,energy,effort"` | per-channel exaggeration; default `"1.0,2.0,4.0,1.0"` |
142
  | `temperature` | `"timing,pitch,energy"` | variety; default `"0.8,0.7,1.0"`, higher is livelier |
143
  | `length_scale` | default 1.08 | larger is slower |
 
155
  | `durations.onnx` | style-aware stochastic duration predictor | 2.5 MB |
156
  | `acoustic.onnx` | prosody-conditioned prior, length regulation, flow, HiFi-GAN | 36 MB |
157
  | `prominence.onnx` | predicts which words to stress | 4.8 MB |
158
+ | `speakers.npz`, `dp_cond.npz`, `emphasis_template.json` | style embeddings; style vectors for the duration predictor; the emphasis shape | small |
159
  | `runtime.json`, `config.json` | runtime settings; Piper phoneme map (eSpeak `en`) | |
160
 
161
  These graphs are driven by `xvits.runtime`, so they aren't drop-in files for Piper's own runtime.
162
+ The export was verified against PyTorch end to end at several sentence lengths.
163
 
164
  ## 🧪 Training
165
 
166
  - **Base:** Piper's LJSpeech `medium` checkpoint (LJSpeech is public domain).
167
  - **Data:** [Expresso](https://speechbot.github.io/expresso/) speaker **ex02**, read speech in six styles,
168
  2.2 h after leaving out whisper, singing, long-form and `<laugh>` rows. 245 utterances held out.
169
+ - **Recipe** ([x-vits](https://github.com/femelo/x-vits) 0.3, `xvits-train`, with `--emotion-speakers`):
170
  1. fine-tune the base checkpoint on ex02;
171
  2. extract per-phoneme duration, pitch, energy and vocal-effort targets;
172
+ 3. fine-tune with a zero-initialised prosody input to the prior, including frame-level interpolation, and one zero-initialised embedding per style (400 epochs);
173
  4. train an OT-CFM prosody predictor with a style input;
174
  5. train a style-conditioned duration predictor;
175
  6. train a word-prominence student on acoustic labels;
 
181
  |---|---|---|---|---|
182
  | Piper, fine-tuned | 0.37 | 0.30 | 1.7 % | 4.08 |
183
  | x-vits 0.1 | 0.37 | 0.39 | 2.1 % | 4.01 |
184
+ | x-vits 0.2 | **0.40** | 0.37 | 3.6 % | 3.86 |
185
+ | **x-vits 0.3** | 0.38 | 0.39 | 4.5 % | **3.96** |
186
  | the recordings | | | | 4.12 |
187
 
188
+ UTMOS and Whisper both prefer calm read speech: UTMOS gives the speaker's own laughing takes 2.49.
189
+ Listen above and decide for yourself.
 
190
 
191
  The prominence student finds the recording's main stress 42 % of the time, against 34 % for "last word" and 15 % for a random word.
192
 
 
194
 
195
  - **CC BY-NC 4.0.** Expresso is licensed for non-commercial use only, and so is this voice. The x-vits code is MIT.
196
  - English, one female speaker, read speech. Styles are as recorded in Expresso; there are no other emotions.
197
+ - Laughing is rendered through intonation, timing, brightness and the style embedding; the voice doesn't produce actual laughter.
198
  - Questions sometimes end with a smaller rise than a natural reading.
199
  - Don't use this voice to impersonate real people or to mislead listeners.
200
 
acoustic.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:99589c8e2573db10924fd76b62a0ddb96171ec4e2b87f7b6852ae6f90f38b4ee
3
- size 36053268
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c760b868f5dc4a5c221ecaa08c5c96b7fd1920594b4d6960269baee377d1ef6
3
+ size 49194637
dp_cond.npz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9c4b102e1914abcc5e8a1cf6156407517a18da05c4426d17941bc07ef9ccfd35
3
  size 13808
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53e307fcf3564c4e6850a153b6e4802018091c0756ecc3058ca3cd772c31992d
3
  size 13808
durations.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a3745ff973e81be1643000683dd361635777df08bfa4205b5cda5240fff03081
3
- size 2506044
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2064a6749a3236b139dee1f82cd6e4bb7454f5310d9a96fe0dafba407c271de
3
+ size 2506048
emphasis_template.json CHANGED
@@ -5,209 +5,209 @@
5
  14
6
  ],
7
  "pitch": {
8
- "A": 3.521,
9
- "mu": 1.65,
10
- "s_l": 2.261,
11
- "s_r": 2.094,
12
- "R": 0.919,
13
- "k_r": 1.249,
14
  "tau": 1.5
15
  },
16
  "dur": {
17
- "C": 0.084,
18
- "B": 0.295,
19
- "mu": -0.861,
20
  "s_l": 2.5,
21
- "s_r": 2.903
22
  },
23
  "n_words": 444,
24
- "rmse_pitch_st": 0.54,
25
- "rmse_logdur": 0.077,
26
  "styles": {
27
  "confused": {
28
  "pitch": {
29
- "A": 3.521,
30
- "mu": 1.65,
31
- "s_l": 2.261,
32
- "s_r": 2.094,
33
- "R": 0.919,
34
- "k_r": 1.249,
35
  "tau": 1.5
36
  },
37
  "dur": {
38
- "C": 0.058,
39
- "B": 0.328,
40
- "mu": -0.861,
41
  "s_l": 2.5,
42
- "s_r": 2.903
43
  },
44
  "n_words": 63,
45
- "rmse_pitch_st": 1.06,
46
- "rmse_logdur": 0.104,
47
  "energy": {
48
- "C": 0.442,
49
- "B": -0.288,
50
  "mu": -4.0,
51
  "s_l": 6.0,
52
  "s_r": 10.0
53
  },
54
- "rmse_energy": 0.109,
55
  "pitch_from": "pooled (style shape does not fit)"
56
  },
57
  "default": {
58
  "pitch": {
59
- "A": 6.027,
60
- "mu": 1.65,
61
- "s_l": 2.261,
62
- "s_r": 2.094,
63
- "R": 1.069,
64
- "k_r": 1.249,
65
  "tau": 1.5
66
  },
67
  "dur": {
68
- "C": 0.128,
69
- "B": 0.215,
70
- "mu": -0.861,
71
  "s_l": 2.5,
72
- "s_r": 2.903
73
  },
74
  "n_words": 176,
75
- "rmse_pitch_st": 0.61,
76
- "rmse_logdur": 0.105,
77
  "energy": {
78
- "C": 0.4,
79
- "B": -0.261,
80
  "mu": -4.0,
81
  "s_l": 6.0,
82
  "s_r": 10.0
83
  },
84
- "rmse_energy": 0.118
85
  },
86
  "enunciated": {
87
  "pitch": {
88
- "A": 3.286,
89
- "mu": 1.65,
90
- "s_l": 2.261,
91
- "s_r": 2.094,
92
- "R": 2.498,
93
- "k_r": 1.249,
94
  "tau": 1.5
95
  },
96
  "dur": {
97
- "C": 0.1,
98
- "B": 0.421,
99
- "mu": -0.861,
100
  "s_l": 2.5,
101
- "s_r": 2.903
102
  },
103
  "n_words": 48,
104
- "rmse_pitch_st": 0.59,
105
- "rmse_logdur": 0.159,
106
  "energy": {
107
- "C": 0.334,
108
- "B": -0.239,
109
  "mu": -4.0,
110
  "s_l": 6.0,
111
  "s_r": 10.0
112
  },
113
- "rmse_energy": 0.182
114
  },
115
  "happy": {
116
  "pitch": {
117
- "A": 3.709,
118
- "mu": 1.65,
119
- "s_l": 2.261,
120
- "s_r": 2.094,
121
- "R": 0.474,
122
- "k_r": 1.249,
123
  "tau": 1.5
124
  },
125
  "dur": {
126
- "C": -0.016,
127
- "B": 0.355,
128
- "mu": -0.861,
129
  "s_l": 2.5,
130
- "s_r": 2.903
131
  },
132
  "n_words": 56,
133
- "rmse_pitch_st": 0.88,
134
- "rmse_logdur": 0.089,
135
  "energy": {
136
- "C": 0.436,
137
- "B": -0.378,
138
  "mu": -4.0,
139
  "s_l": 6.0,
140
  "s_r": 10.0
141
  },
142
- "rmse_energy": 0.167
143
  },
144
  "laughing": {
145
  "pitch": {
146
- "A": 3.521,
147
- "mu": 1.65,
148
- "s_l": 2.261,
149
- "s_r": 2.094,
150
- "R": 0.919,
151
- "k_r": 1.249,
152
  "tau": 1.5
153
  },
154
  "dur": {
155
- "C": 0.088,
156
- "B": 0.357,
157
- "mu": -0.861,
158
  "s_l": 2.5,
159
- "s_r": 2.903
160
  },
161
  "n_words": 49,
162
- "rmse_pitch_st": 0.96,
163
- "rmse_logdur": 0.15,
164
  "energy": {
165
- "C": 0.475,
166
- "B": -0.423,
167
  "mu": -4.0,
168
  "s_l": 6.0,
169
  "s_r": 10.0
170
  },
171
- "rmse_energy": 0.156,
172
  "pitch_from": "pooled (style shape does not fit)"
173
  },
174
  "sad": {
175
  "pitch": {
176
- "A": 2.171,
177
- "mu": 1.65,
178
- "s_l": 2.261,
179
- "s_r": 2.094,
180
- "R": 1.082,
181
- "k_r": 1.249,
182
  "tau": 1.5
183
  },
184
  "dur": {
185
- "C": 0.059,
186
- "B": 0.273,
187
- "mu": -0.861,
188
  "s_l": 2.5,
189
- "s_r": 2.903
190
  },
191
  "n_words": 52,
192
- "rmse_pitch_st": 0.52,
193
- "rmse_logdur": 0.113,
194
  "energy": {
195
- "C": 0.445,
196
- "B": -0.375,
197
  "mu": -4.0,
198
  "s_l": 6.0,
199
  "s_r": 10.0
200
  },
201
- "rmse_energy": 0.149
202
  }
203
  },
204
  "energy": {
205
- "C": 0.61,
206
- "B": -0.518,
207
  "mu": -4.0,
208
  "s_l": 6.0,
209
  "s_r": 10.0
210
  },
211
- "rmse_energy": 0.154,
212
  "source": "human marks"
213
  }
 
5
  14
6
  ],
7
  "pitch": {
8
+ "A": 3.559,
9
+ "mu": 1.57,
10
+ "s_l": 2.161,
11
+ "s_r": 2.227,
12
+ "R": 0.979,
13
+ "k_r": 1.344,
14
  "tau": 1.5
15
  },
16
  "dur": {
17
+ "C": 0.072,
18
+ "B": 0.309,
19
+ "mu": -1.588,
20
  "s_l": 2.5,
21
+ "s_r": 3.536
22
  },
23
  "n_words": 444,
24
+ "rmse_pitch_st": 0.5,
25
+ "rmse_logdur": 0.096,
26
  "styles": {
27
  "confused": {
28
  "pitch": {
29
+ "A": 3.559,
30
+ "mu": 1.57,
31
+ "s_l": 2.161,
32
+ "s_r": 2.227,
33
+ "R": 0.979,
34
+ "k_r": 1.344,
35
  "tau": 1.5
36
  },
37
  "dur": {
38
+ "C": 0.044,
39
+ "B": 0.346,
40
+ "mu": -1.588,
41
  "s_l": 2.5,
42
+ "s_r": 3.536
43
  },
44
  "n_words": 63,
45
+ "rmse_pitch_st": 1.13,
46
+ "rmse_logdur": 0.112,
47
  "energy": {
48
+ "C": 0.513,
49
+ "B": -0.374,
50
  "mu": -4.0,
51
  "s_l": 6.0,
52
  "s_r": 10.0
53
  },
54
+ "rmse_energy": 0.103,
55
  "pitch_from": "pooled (style shape does not fit)"
56
  },
57
  "default": {
58
  "pitch": {
59
+ "A": 5.994,
60
+ "mu": 1.57,
61
+ "s_l": 2.161,
62
+ "s_r": 2.227,
63
+ "R": 1.146,
64
+ "k_r": 1.344,
65
  "tau": 1.5
66
  },
67
  "dur": {
68
+ "C": 0.133,
69
+ "B": 0.199,
70
+ "mu": -1.588,
71
  "s_l": 2.5,
72
+ "s_r": 3.536
73
  },
74
  "n_words": 176,
75
+ "rmse_pitch_st": 0.54,
76
+ "rmse_logdur": 0.095,
77
  "energy": {
78
+ "C": 0.388,
79
+ "B": -0.241,
80
  "mu": -4.0,
81
  "s_l": 6.0,
82
  "s_r": 10.0
83
  },
84
+ "rmse_energy": 0.136
85
  },
86
  "enunciated": {
87
  "pitch": {
88
+ "A": 3.551,
89
+ "mu": 1.57,
90
+ "s_l": 2.161,
91
+ "s_r": 2.227,
92
+ "R": 2.861,
93
+ "k_r": 1.344,
94
  "tau": 1.5
95
  },
96
  "dur": {
97
+ "C": 0.101,
98
+ "B": 0.399,
99
+ "mu": -1.588,
100
  "s_l": 2.5,
101
+ "s_r": 3.536
102
  },
103
  "n_words": 48,
104
+ "rmse_pitch_st": 0.66,
105
+ "rmse_logdur": 0.178,
106
  "energy": {
107
+ "C": 0.307,
108
+ "B": -0.219,
109
  "mu": -4.0,
110
  "s_l": 6.0,
111
  "s_r": 10.0
112
  },
113
+ "rmse_energy": 0.17
114
  },
115
  "happy": {
116
  "pitch": {
117
+ "A": 3.391,
118
+ "mu": 1.57,
119
+ "s_l": 2.161,
120
+ "s_r": 2.227,
121
+ "R": 0.082,
122
+ "k_r": 1.344,
123
  "tau": 1.5
124
  },
125
  "dur": {
126
+ "C": -0.048,
127
+ "B": 0.425,
128
+ "mu": -1.588,
129
  "s_l": 2.5,
130
+ "s_r": 3.536
131
  },
132
  "n_words": 56,
133
+ "rmse_pitch_st": 0.82,
134
+ "rmse_logdur": 0.075,
135
  "energy": {
136
+ "C": 0.443,
137
+ "B": -0.39,
138
  "mu": -4.0,
139
  "s_l": 6.0,
140
  "s_r": 10.0
141
  },
142
+ "rmse_energy": 0.164
143
  },
144
  "laughing": {
145
  "pitch": {
146
+ "A": 3.559,
147
+ "mu": 1.57,
148
+ "s_l": 2.161,
149
+ "s_r": 2.227,
150
+ "R": 0.979,
151
+ "k_r": 1.344,
152
  "tau": 1.5
153
  },
154
  "dur": {
155
+ "C": 0.108,
156
+ "B": 0.338,
157
+ "mu": -1.588,
158
  "s_l": 2.5,
159
+ "s_r": 3.536
160
  },
161
  "n_words": 49,
162
+ "rmse_pitch_st": 1.18,
163
+ "rmse_logdur": 0.169,
164
  "energy": {
165
+ "C": 0.555,
166
+ "B": -0.52,
167
  "mu": -4.0,
168
  "s_l": 6.0,
169
  "s_r": 10.0
170
  },
171
+ "rmse_energy": 0.159,
172
  "pitch_from": "pooled (style shape does not fit)"
173
  },
174
  "sad": {
175
  "pitch": {
176
+ "A": 2.274,
177
+ "mu": 1.57,
178
+ "s_l": 2.161,
179
+ "s_r": 2.227,
180
+ "R": 1.032,
181
+ "k_r": 1.344,
182
  "tau": 1.5
183
  },
184
  "dur": {
185
+ "C": 0.026,
186
+ "B": 0.317,
187
+ "mu": -1.588,
188
  "s_l": 2.5,
189
+ "s_r": 3.536
190
  },
191
  "n_words": 52,
192
+ "rmse_pitch_st": 0.51,
193
+ "rmse_logdur": 0.11,
194
  "energy": {
195
+ "C": 0.526,
196
+ "B": -0.455,
197
  "mu": -4.0,
198
  "s_l": 6.0,
199
  "s_r": 10.0
200
  },
201
+ "rmse_energy": 0.141
202
  }
203
  },
204
  "energy": {
205
+ "C": 0.631,
206
+ "B": -0.542,
207
  "mu": -4.0,
208
  "s_l": 6.0,
209
  "s_r": 10.0
210
  },
211
+ "rmse_energy": 0.147,
212
  "source": "human marks"
213
  }
encoder.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6e2435ff3eecb266cf857b5936b8e4886c83dc3d3837a26f331950d3b18e9b22
3
  size 25515134
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eed0ab453adb16e8f91f8ba7bdedc8137a47c1ab4135f42a6609488cbf31ad43
3
  size 25515134
predictor.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3a60b686353996efe251edf8d822e9970224d1cccbc6a3cb10b0b345c65a9f9a
3
  size 31054553
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d8d8cd8f019a00cbf96a821b1d28af845bc26f6d894c0a5cff1d92b1ab4961d
3
  size 31054553
prominence.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d2f0fcbee84714dfa139b2ea2df2879ed1087e5aa0a9bf57514359c949479e0f
3
  size 4769869
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46df9b00a1fd1747ce63722a5b50495ea0a91adc086cf01a6d23ae21815538f3
3
  size 4769869
runtime.json CHANGED
@@ -7,6 +7,7 @@
7
  "predictor": "predictor.onnx",
8
  "prominence": "prominence.onnx",
9
  "dp_cond": "dp_cond.npz",
 
10
  "template": "emphasis_template.json"
11
  },
12
  "config": "config.json",
@@ -16,12 +17,12 @@
16
  "text_channels": 192,
17
  "predictor": {
18
  "stats": {
19
- "lf0_mean": 5.489707946777344,
20
- "lf0_std": 0.23994062840938568,
21
- "energy_mean": 2.288797616958618,
22
- "energy_std": 1.3672088384628296,
23
- "tilt_mean": -4.491980075836182,
24
- "tilt_std": 2.3583922386169434,
25
  "tilt_voiced": true,
26
  "f0_range": [
27
  108.26672640713778,
@@ -30,8 +31,8 @@
30
  "sample_rate": 22050,
31
  "hop": 256,
32
  "n_utts": 2254,
33
- "logdur_mean": 1.242134413178703,
34
- "logdur_std": 0.5587541654503597
35
  },
36
  "styles": [
37
  "confused",
@@ -66,6 +67,24 @@
66
  "prominence_threshold": 0.5,
67
  "pp_steps": 16,
68
  "unvoiced_styles": [],
69
- "voicing_fix": true
70
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  }
 
7
  "predictor": "predictor.onnx",
8
  "prominence": "prominence.onnx",
9
  "dp_cond": "dp_cond.npz",
10
+ "speakers": "speakers.npz",
11
  "template": "emphasis_template.json"
12
  },
13
  "config": "config.json",
 
17
  "text_channels": 192,
18
  "predictor": {
19
  "stats": {
20
+ "lf0_mean": 5.489567279815674,
21
+ "lf0_std": 0.23982250690460205,
22
+ "energy_mean": 2.288287401199341,
23
+ "energy_std": 1.367926001548767,
24
+ "tilt_mean": -4.491642475128174,
25
+ "tilt_std": 2.357414484024048,
26
  "tilt_voiced": true,
27
  "f0_range": [
28
  108.26672640713778,
 
31
  "sample_rate": 22050,
32
  "hop": 256,
33
  "n_utts": 2254,
34
+ "logdur_mean": 1.241659970991739,
35
+ "logdur_std": 0.5592681957696038
36
  },
37
  "styles": [
38
  "confused",
 
67
  "prominence_threshold": 0.5,
68
  "pp_steps": 16,
69
  "unvoiced_styles": [],
70
+ "voicing_fix": true,
71
+ "style_gain_db": {},
72
+ "pitch_ceiling": {
73
+ "confused": 1.485,
74
+ "default": 1.774,
75
+ "enunciated": 1.412,
76
+ "happy": 2.063,
77
+ "laughing": 1.99,
78
+ "sad": 1.075
79
+ },
80
+ "stress_max_frames": 9.0
81
+ },
82
+ "speakers": [
83
+ "confused",
84
+ "default",
85
+ "enunciated",
86
+ "happy",
87
+ "laughing",
88
+ "sad"
89
+ ]
90
  }
samples/confused_xvits.mp3 CHANGED
Binary files a/samples/confused_xvits.mp3 and b/samples/confused_xvits.mp3 differ
 
samples/default_xvits.mp3 CHANGED
Binary files a/samples/default_xvits.mp3 and b/samples/default_xvits.mp3 differ
 
samples/emphasis_0.mp3 CHANGED
Binary files a/samples/emphasis_0.mp3 and b/samples/emphasis_0.mp3 differ
 
samples/emphasis_1.mp3 CHANGED
Binary files a/samples/emphasis_1.mp3 and b/samples/emphasis_1.mp3 differ
 
samples/emphasis_2.mp3 CHANGED
Binary files a/samples/emphasis_2.mp3 and b/samples/emphasis_2.mp3 differ
 
samples/emphasis_3.mp3 CHANGED
Binary files a/samples/emphasis_3.mp3 and b/samples/emphasis_3.mp3 differ
 
samples/enunciated_xvits.mp3 CHANGED
Binary files a/samples/enunciated_xvits.mp3 and b/samples/enunciated_xvits.mp3 differ
 
samples/happy_xvits.mp3 CHANGED
Binary files a/samples/happy_xvits.mp3 and b/samples/happy_xvits.mp3 differ
 
samples/laughing_xvits.mp3 CHANGED
Binary files a/samples/laughing_xvits.mp3 and b/samples/laughing_xvits.mp3 differ
 
samples/sad_xvits.mp3 CHANGED
Binary files a/samples/sad_xvits.mp3 and b/samples/sad_xvits.mp3 differ
 
samples/same_confused_xvits.mp3 CHANGED
Binary files a/samples/same_confused_xvits.mp3 and b/samples/same_confused_xvits.mp3 differ
 
samples/same_default_xvits.mp3 CHANGED
Binary files a/samples/same_default_xvits.mp3 and b/samples/same_default_xvits.mp3 differ
 
samples/same_enunciated_xvits.mp3 CHANGED
Binary files a/samples/same_enunciated_xvits.mp3 and b/samples/same_enunciated_xvits.mp3 differ
 
samples/same_happy_xvits.mp3 CHANGED
Binary files a/samples/same_happy_xvits.mp3 and b/samples/same_happy_xvits.mp3 differ
 
samples/same_laughing_xvits.mp3 CHANGED
Binary files a/samples/same_laughing_xvits.mp3 and b/samples/same_laughing_xvits.mp3 differ
 
samples/same_sad_xvits.mp3 CHANGED
Binary files a/samples/same_sad_xvits.mp3 and b/samples/same_sad_xvits.mp3 differ
 
samples/v0.2/confused_xvits.mp3 ADDED
Binary file (42.4 kB). View file
 
samples/v0.2/default_xvits.mp3 ADDED
Binary file (26.7 kB). View file
 
samples/v0.2/emphasis_0.mp3 ADDED
Binary file (25.1 kB). View file
 
samples/v0.2/emphasis_1.mp3 ADDED
Binary file (25.7 kB). View file
 
samples/v0.2/emphasis_2.mp3 ADDED
Binary file (26.1 kB). View file
 
samples/v0.2/emphasis_3.mp3 ADDED
Binary file (27 kB). View file
 
samples/v0.2/enunciated_xvits.mp3 ADDED
Binary file (72.5 kB). View file
 
samples/v0.2/happy_xvits.mp3 ADDED
Binary file (26.4 kB). View file
 
samples/v0.2/laughing_xvits.mp3 ADDED
Binary file (39.5 kB). View file
 
samples/v0.2/sad_xvits.mp3 ADDED
Binary file (61.2 kB). View file
 
samples/v0.2/same_confused_xvits.mp3 ADDED
Binary file (28.6 kB). View file
 
samples/v0.2/same_default_xvits.mp3 ADDED
Binary file (21 kB). View file
 
samples/v0.2/same_enunciated_xvits.mp3 ADDED
Binary file (30.1 kB). View file
 
samples/v0.2/same_happy_xvits.mp3 ADDED
Binary file (22.3 kB). View file
 
samples/v0.2/same_laughing_xvits.mp3 ADDED
Binary file (28.9 kB). View file
 
samples/v0.2/same_sad_xvits.mp3 ADDED
Binary file (23.6 kB). View file
 
speakers.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cac87aaee1e876832e15df00ea3a83a4a2986221e0a954fc5412e87bdef0b37
3
+ size 17392