From a851a76ce546fb9dbc135b0bbd28ad0de6662d24 Mon Sep 17 00:00:00 2001 From: Daniel Wolf Date: Wed, 10 Aug 2016 20:13:05 +0200 Subject: [PATCH] Minor improvements to animation rules --- src/mouthAnimation.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mouthAnimation.cpp b/src/mouthAnimation.cpp index 2ffd58c..c190586 100644 --- a/src/mouthAnimation.cpp +++ b/src/mouthAnimation.cpp @@ -58,17 +58,17 @@ Timeline animate(optional phone, centiseconds duration, centiseco case Phone::AA: return single({ D }); case Phone::IY: return single({ B }); case Phone::UW: return single({ F }); - case Phone::EH: return single({ C }); + case Phone::EH: return single({ { C }, 20_cs, { D } }); case Phone::IH: return single({ B }); case Phone::UH: return single({ E }); case Phone::AH: return single({ { B, C, D, E, F }, 6_cs, { C } }); // Heuristic: < 6_cs is schwa case Phone::AE: return single({ D }); - case Phone::EY: return diphtong({ C }, { B }); + case Phone::EY: return diphtong({ { C }, 20_cs, { D } }, { B }); case Phone::AY: return diphtong({ D }, { B }); case Phone::OW: return diphtong({ E }, { F }); case Phone::AW: return diphtong({ D }, { F }); - case Phone::OY: return diphtong({ E }, { B }); - case Phone::ER: return single({ E }); + case Phone::OY: return diphtong({ F }, { B }); + case Phone::ER: return single({ { B }, 7_cs, { E } }); case Phone::P: case Phone::B: return bilabialStop(); case Phone::T: