diff --git a/tests/AquaSynth.Dsl.Tests/StopClosureAndControlRenderTests.cs b/tests/AquaSynth.Dsl.Tests/StopClosureAndControlRenderTests.cs index 6e4aa27..973d9e5 100644 --- a/tests/AquaSynth.Dsl.Tests/StopClosureAndControlRenderTests.cs +++ b/tests/AquaSynth.Dsl.Tests/StopClosureAndControlRenderTests.cs @@ -50,14 +50,13 @@ public sealed class StopClosureAndControlRenderTests(ITestOutputHelper output) // fill that band (/d/ read -11.6 dB with the source on and -52.8 with it off; with the source on it swings between -13.5 and -9.3 dB // with f0 alone, 139.5 to 145 Hz, as the harmonics fall on and off the 100 Hz grid), so with the source on the measure cannot tell the // voicing from the hiss. Source off, the burst gain held through the closure read +5 dB (/p/) and +14 dB (/t/, /d/) on 3b62b9c; gated, - // every stop reads -52 dB. -30 is the bound between the two. /g/ has no burst gain to hold (the gate mutant leaves it at -52 dB); it is here as a stop that must stay quiet. + // every stop reads -52 dB. -30 is the bound between the two. /g/ is not here: it is not in TryIpaDescriptor, so it would render the default approximant and could not fail. [FaustTheory] [InlineData("p")] [InlineData("b")] [InlineData("t")] [InlineData("d")] [InlineData("k")] - [InlineData("g")] public void ClosingIntoAStopMakesNoHighFrequencyNoise(string ipa) { var parsed = PatchScript.Parse(Word(ipa)); diff --git a/tests/AquaSynth.Dsl.Tests/StressAndReleaseRenderTests.cs b/tests/AquaSynth.Dsl.Tests/StressAndReleaseRenderTests.cs index 3402ce2..74a3677 100644 --- a/tests/AquaSynth.Dsl.Tests/StressAndReleaseRenderTests.cs +++ b/tests/AquaSynth.Dsl.Tests/StressAndReleaseRenderTests.cs @@ -389,7 +389,7 @@ public sealed class StressAndReleaseRenderTests(ITestOutputHelper output) // source-off /k/ read -21.0 dB over .21 to .263 s with the ramp and -27.5 with the contact and the constriction stepped shut; main's // 30 ms-later window read -25.7), and that decays within the first 25 ms. // The test therefore proves its own measure first (a leak injected into the tongue's closed diameter must read 3 dB louder) and then bounds - // the sealed closure (-16.5 measured; the .02 leak reads -14.7). + // the sealed closure (-16.5 measured; a .005, .03 or .035 leak reads -15.1, a .02 leak -14.7). [Fact] public void AVelarStopClosureSealsAndTheMeasureSeesALeak() { @@ -415,7 +415,7 @@ public sealed class StressAndReleaseRenderTests(ITestOutputHelper output) output.WriteLine($"/k/ closure re vowels, source on, settled part: sealed {sealedClosure:F1} dB, with a 0.1 leak {leaking:F1} dB"); if (double.IsNaN(sealedClosure)) return; Assert.True(leaking >= sealedClosure + 3, $"the measure sees a leak: sealed {sealedClosure:F1} dB, leaking {leaking:F1} dB"); - Assert.True(sealedClosure <= -15, $"the /k/ closure seals: {sealedClosure:F1} dB re the vowels (a .02 leak reads about 1.8 dB louder than the measured -16.5)"); + Assert.True(sealedClosure <= -15.5, $"the /k/ closure seals: {sealedClosure:F1} dB re the vowels (measured -16.5; leaks of .005 to .1 read -15.1 to -12.4, the measure is not monotonic in the leak, so the bound sits under the weakest of them)"); } [Fact]