Skip to content

the ultimate vocal synthesizer - sing, speak, beatbox, and more

Rust

Hill climb 1: a trained singer's jitter, not a clinical one

Jameson Hodge0b6cbb0444fd
diff --git a/crates/chimera/src/voice/human_voice.rs b/crates/chimera/src/voice/human_voice.rs
index 911a1b6..87ab26f 100644
--- a/crates/chimera/src/voice/human_voice.rs
+++ b/crates/chimera/src/voice/human_voice.rs
@@ -301,7 +301,9 @@ impl HumanVoice {
g.closure_sharpness = 0.25 + 0.7 * s.tension;
g.skew = 0.56 + 0.16 * s.tension;
g.fry = s.fry;
- g.jitter = 0.003 + 0.035 * s.roughness;
+ // Jitter of a healthy, trained voice at the default roughness (0.1): about 0.45 %, well
+ // under the clinical threshold (MDVP: 1.04 %).
+ g.jitter = 0.0021 + 0.0245 * s.roughness;
g.shimmer = 0.02 + 0.22 * s.roughness;
g.diplophonia = if s.roughness > 0.5 { (s.roughness - 0.5) * 1.4 } else { 0.0 };
g.vibrato_depth = s.vibrato_depth;