Skip to content

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

Rust

Keep the protruded-lip tuck jump the review found as an ignored test (already on main)

Jameson Hodge09fb7769ec13
diff --git a/crates/chimera/tests/geometry_continuity.rs b/crates/chimera/tests/geometry_continuity.rs
index 3512ddf..0dc1764 100644
--- a/crates/chimera/tests/geometry_continuity.rs
+++ b/crates/chimera/tests/geometry_continuity.rs
@@ -269,3 +269,42 @@ fn no_area_jumps_as_the_lower_lip_tucks_for_f() {
}
assert_eq!(jumps, Vec::<String>::new());
}
+
+#[test]
+#[ignore = "known, not yet fixed: run with --ignored. Found by the batch-2 review; already on main (0.30 cm²)"]
+fn no_area_jumps_as_a_protruded_lower_lip_tucks() {
+ // With the lips protruded and narrowed, the first front ray (behind the lower lip's edge, so
+ // not under the handover ramp) switches to a higher crossing of the lower lip's curve as the
+ // lip tucks: NEUTRAL, jaw 0.3, lipAp 0.05, lipProt 0.2, lipWidth 0.5, lab ≈ 0.8612 jumps the
+ // male area 0.41 cm² (0.30 cm² before hill-climb batch 2).
+ let mut jumps: Vec<String> = Vec::new();
+ let n = 400;
+ for (body_name, body) in BODIES {
+ let mut areas = Areas::new(body);
+ for lip_prot in [0.2, 0.6] {
+ for lip_w in [0.5, 1.0] {
+ let mut base = NEUTRAL;
+ base.jaw = 0.3;
+ base.lip_ap = 0.05;
+ base.lip_prot = lip_prot;
+ base.set(ArticKey::LipWidth, lip_w);
+ let key = ArticKey::Labiodental;
+ let mut prev = areas.at(&with(&base, key, 0.0));
+ for i in 1..=n {
+ let cur = areas.at(&with(&base, key, i as f64 / n as f64));
+ let step = max_diff(&cur, &prev);
+ prev = cur;
+ if step <= 0.05 {
+ continue;
+ }
+ let mut f = |u: f64| areas.at(&with(&base, key, u));
+ let j = jump_size(&mut f, (i - 1) as f64 / n as f64, i as f64 / n as f64, 0.05);
+ if j > 0.05 {
+ jumps.push(format!("{body_name} lipProt={lip_prot} lipWidth={lip_w} labiodental={:.4}: {j:.2} cm²", i as f64 / n as f64));
+ }
+ }
+ }
+ }
+ }
+ assert_eq!(jumps, Vec::<String>::new());
+}
diff --git a/docs/hill-climb/log.md b/docs/hill-climb/log.md
index 1b7a334..5cb510b 100644
--- a/docs/hill-climb/log.md
+++ b/docs/hill-climb/log.md
@@ -1367,3 +1367,17 @@ Three findings, all fixed in one commit:
After the fixes: speech 36.75 % training, 44.33 % held-out; singer 0.587, held-out 0.811, note
MCD 8.614 dB. `out/hill/best` holds this run, and the listening page was rebuilt from it.
+
+### Batch review, round 2
+
+- **Fixed, confirmed:** the cluster delay keeps every gesture ordered and inside its stop for
+ durations of 10 ms and up (velars included), and the speech judge prints training transcripts only.
+- **Still open, not new:** with the lips protruded and narrowed, the first front ray (behind the
+ lower lip's edge, outside the new ramp) switches to a higher crossing of the lip's curve as the
+ lip tucks: 0.41 cm² at lab ≈ 0.86 (NEUTRAL, jaw 0.3, lipAp 0.05, lipProt 0.2, lipWidth 0.5). Main
+ has the same jump (0.30 cm²); this batch made it larger. It is kept as the ignored test
+ `geometry_continuity::no_area_jumps_as_a_protruded_lower_lip_tucks` (jumps up to 0.48 cm²) and
+ is lead 10 for the next batch: the lip-curve crossing that rays behind the edge pick.
+- **Declined:** a stop shorter than 10 ms still holds its closure past its end (the minimum hold
+ in `oral_gestures_into`). It predates this batch, and no planner produces one (the sung floor is
+ 12 ms).