Add graph source position control

This commit is contained in:
Meta Vens 2026-05-27 12:17:45 +01:00
commit b2ccca46b8
8 changed files with 113 additions and 32 deletions

View file

@ -214,7 +214,7 @@ question is whether graph-authored PT compatibility can beat the current weak
The parity report now renders the graph lane only. The latest static fixture
evidence is useful instead of decorative: open/front/nasal/ma/sibilant/closure
cosine is 0.6252/0.6576/0.6893/0.6550/0.4389/0.5993. The useful levers so far
cosine is 0.5870/0.6632/0.6965/0.6598/0.4053/0.6137. The useful levers so far
are source semantics, radiation impedance, terminal-specific admittance,
frication injection, cutting stale first-frame morphology from generated graph
paths, and live path-area control at graph sample points.
@ -254,6 +254,15 @@ because they are closed. Latest accepted utterance graph smoke is `mama` 0.3339,
`papa` 0.8320, and `thrombosis` 0.3957 under
`artifacts/parity/pink-trombone-utterance-logmel/20260527T110608640`.
Moving source position is now graph-native too. `AcousticSourcePositionControl`
weights fixed source terminals from a live index/width/scale expression, and
generated `tract propagation=graph` injection emits an oral source-port bank
instead of one stale terminal. This keeps the graph topology Faust-friendly
while letting frication and release energy follow the articulator. Latest
accepted utterance graph smoke is `mama` 0.3418, `papa` 0.8318, and
`thrombosis` 0.4521 under
`artifacts/parity/pink-trombone-utterance-logmel/20260527T111349174`.
## Cut Line
The current `Voice.Tract` scalar proxy may survive only as an adapter over real

View file

@ -83,6 +83,8 @@ Current AquaSynth can express:
- aperture-normalized turbulent source lowering, where sustained jet noise is
allowed only through a narrow-open constriction and closure release remains
owned by the transient path;
- source-port `PositionControl`, which lets a bank of fixed graph terminals
share one moving source gesture through differentiable runtime weights;
- graph lowering that splits paths at terminals, injects typed sources, scatters
connection groups, and radiates from typed terminal ports;
- oscillator/noise sources;
@ -148,6 +150,9 @@ Trombone anatomy:
- generated graph records mirror live `tract` parameter bindings into acoustic
source, terminal, connection, radiation, and path-area fields so `/pink/...`
controls exercise the actual graph.
- generated graph tract injection now emits a source-port bank along the oral
tract; `/pink/constriction/index` weights those ordinary source ports instead
of leaving later bursts stuck at the first-frame constriction location.
- accepted utterance parity lowers the surviving PT control-point sketches into
Faust `age` curves over ordinary `/pink/...` parameters and compares the
Aqua graph render against the source-ported PT renderer.
@ -160,12 +165,12 @@ Trombone anatomy:
writes listening WAV/report artifacts under
`artifacts/parity/pink-trombone-logmel/`, and reports only the graph lane.
- Latest static graph fixture evidence after cutting the old parity lane:
open vowel cosine 0.6252, front vowel 0.6576, nasal 0.6893,
bilabial-nasal-ma 0.6550, sibilant 0.4389, closure-release 0.5993.
open vowel cosine 0.5870, front vowel 0.6632, nasal 0.6965,
bilabial-nasal-ma 0.6598, sibilant 0.4053, closure-release 0.6137.
- Latest graph utterance smoke evidence:
`mama` cosine 0.3339 / RMS 1.0698, `papa` 0.8320 / 0.1806,
`thrombosis` 0.3957 / 1.6144 under
`artifacts/parity/pink-trombone-utterance-logmel/20260527T110608640`.
`mama` cosine 0.3418 / RMS 1.0295, `papa` 0.8318 / 0.1806,
`thrombosis` 0.4521 / 1.2855 under
`artifacts/parity/pink-trombone-utterance-logmel/20260527T111349174`.
This is still not final speech parity; it is the first honest graph-only
moving-utterance rung.
- `tools/vocal-tract-playground` exposes the same control surface for fast

View file

@ -804,7 +804,7 @@ public static class FaustEmitter
var opening = $"max(0.0, {parameters.Expression(OwnerField(path, "opening"), port.Opening)})";
var noise = $"clip01({parameters.Expression(OwnerField(path, "noise"), port.Noise)})";
var transient = $"clip01({parameters.Expression(OwnerField(path, "transient"), port.Transient)})";
var balance = parameters.Expression(OwnerField(path, "balance"), port.Balance);
var balance = $"({parameters.Expression(OwnerField(path, "balance"), port.Balance)}) * ({SourcePositionWeightExpression(port, path, parameters)})";
var detune = port.Kind == AcousticSourceKind.Labial ? $" * (1.0 + ({balance} - 0.5) * 0.018)" : "";
var phase = $"os.phasor(1.0, {frequency}{detune})";
var closure = $"clip01((0.12 - ({opening})) / 0.12)";
@ -827,6 +827,24 @@ public static class FaustEmitter
};
}
private static string SourcePositionWeightExpression(
AcousticSourcePort port,
string path,
ParameterMap parameters)
{
if (port.PositionControl is not { } control)
{
return "1.0";
}
var index = parameters.Expression(OwnerField(path, "position/index"), control.Index);
var width = parameters.Expression(OwnerField(path, "position/width"), control.Width);
var indexScale = parameters.Expression(OwnerField(path, "position/index_scale"), control.IndexScale);
var target = $"clip01(({index}) * max(0.0, {indexScale}))";
var radius = $"max(0.000001, ({width}) * max(0.0, {indexScale}))";
return $"clip01(1.0 - abs({F(port.Position)} - ({target})) / ({radius}))";
}
private static string TractExpression(
StringBuilder source,
VocalTract tract,

View file

@ -309,7 +309,13 @@ public sealed record AcousticSourcePort(
float Noise = 0.08f,
float Transient = 0,
float Balance = 1,
bool Active = true);
bool Active = true,
AcousticSourcePositionControl? PositionControl = null);
public sealed record AcousticSourcePositionControl(
float Index = 0,
float Width = 1,
float IndexScale = 1);
public sealed record AcousticBranch(
string Name,

View file

@ -575,7 +575,8 @@ public static class PatchScript
GetBoundFloat(fields, line, 0.08f, $"/acoustic/sources/{_acousticSourcePorts.Count}/noise", "noise", "aspiration"),
GetBoundFloat(fields, line, 0, $"/acoustic/sources/{_acousticSourcePorts.Count}/transient", "transient", "burst"),
GetBoundFloat(fields, line, 1, $"/acoustic/sources/{_acousticSourcePorts.Count}/balance", "balance"),
TryGetAny(fields, ["active"], out var active) ? ParseBool(active, line) : true);
TryGetAny(fields, ["active"], out var active) ? ParseBool(active, line) : true,
ParseAcousticSourcePositionControl(fields, line, _acousticSourcePorts.Count));
AddAcousticSourcePortRecord(port);
AddAcousticTerminalRecord(new AcousticTerminal(
port.Name,
@ -585,6 +586,22 @@ public static class PatchScript
port.Name));
}
private static bool HasAcousticSourcePositionControl(IReadOnlyDictionary<string, string> fields) =>
HasAny(fields, "position_control", "follow_position", "position_index", "source_index", "follow_index", "position_width", "position_index_scale");
private AcousticSourcePositionControl? ParseAcousticSourcePositionControl(IReadOnlyDictionary<string, string> fields, int line, int sourceIndex)
{
if (!HasAcousticSourcePositionControl(fields))
{
return null;
}
return new AcousticSourcePositionControl(
GetBoundFloat(fields, line, 0, $"/acoustic/sources/{sourceIndex}/position/index", "position_index", "source_index", "follow_index"),
GetBoundFloat(fields, line, 1, $"/acoustic/sources/{sourceIndex}/position/width", "position_width", "follow_width"),
GetBoundFloat(fields, line, 1, $"/acoustic/sources/{sourceIndex}/position/index_scale", "position_index_scale", "follow_index_scale"));
}
private void AddAcousticBranch(IReadOnlyDictionary<string, string> fields, int line)
{
var name = Required(fields, "name", line);
@ -1344,24 +1361,48 @@ public static class PatchScript
if (tract.Injection is { } injection)
{
var injectionName = string.IsNullOrWhiteSpace(injection.Name) ? $"{prefix}_injection" : $"{prefix}_{injection.Name}";
var injectionSource = new AcousticSourcePort(
injectionName,
primaryPathName,
NormalizeTractIndex(injection.Position, tract.Sections),
AcousticSourceKind.TurbulenceJet,
Math.Max(injection.Turbulence, injection.Burst),
0,
injection.Diameter,
Math.Max(0.001f, injection.Turbulence),
injection.Burst);
var injectionSourceIndex = _acousticSourcePorts.Count;
AddAcousticSourcePortRecord(injectionSource);
MirrorParameterBinding(OwnerField(tractPath, "turbulence"), $"/acoustic/sources/{injectionSourceIndex}/pressure");
MirrorParameterBinding(OwnerField(tractPath, "constriction_diameter"), $"/acoustic/sources/{injectionSourceIndex}/opening");
MirrorParameterBinding(OwnerField(tractPath, "turbulence"), $"/acoustic/sources/{injectionSourceIndex}/noise");
MirrorParameterBinding(OwnerField(tractPath, "injection/burst"), $"/acoustic/sources/{injectionSourceIndex}/transient");
AddAcousticTerminalRecord(new AcousticTerminal(injectionSource.Name, injectionSource.Path, injectionSource.Position, AcousticTerminalKind.Source, injectionSource.Name));
sourceNames.Add(injectionName);
if (tract.Propagation == TractPropagationMode.Graph)
{
var sourceWidth = Math.Max(0.25f, injection.Width);
var sourceIndexScale = tract.IndexScale / Math.Max(1, tract.Sections - 1);
for (var section = 2; section < tract.Sections; section++)
{
AddTractInjectionSource(
$"{injectionName}_{section}",
section / (float)Math.Max(1, tract.Sections - 1),
new AcousticSourcePositionControl(tract.ConstrictionIndex, sourceWidth, sourceIndexScale));
}
}
else
{
AddTractInjectionSource(injectionName, NormalizeTractIndex(injection.Position, tract.Sections), null);
}
void AddTractInjectionSource(string name, float position, AcousticSourcePositionControl? positionControl)
{
var injectionSource = new AcousticSourcePort(
name,
primaryPathName,
position,
AcousticSourceKind.TurbulenceJet,
Math.Max(injection.Turbulence, injection.Burst),
0,
injection.Diameter,
Math.Max(0.001f, injection.Turbulence),
injection.Burst,
1,
true,
positionControl);
var injectionSourceIndex = _acousticSourcePorts.Count;
AddAcousticSourcePortRecord(injectionSource);
MirrorParameterBinding(OwnerField(tractPath, "turbulence"), $"/acoustic/sources/{injectionSourceIndex}/pressure");
MirrorParameterBinding(OwnerField(tractPath, "constriction_diameter"), $"/acoustic/sources/{injectionSourceIndex}/opening");
MirrorParameterBinding(OwnerField(tractPath, "turbulence"), $"/acoustic/sources/{injectionSourceIndex}/noise");
MirrorParameterBinding(OwnerField(tractPath, "injection/burst"), $"/acoustic/sources/{injectionSourceIndex}/transient");
MirrorParameterBinding(OwnerField(tractPath, "constriction_index"), $"/acoustic/sources/{injectionSourceIndex}/position/index");
AddAcousticTerminalRecord(new AcousticTerminal(injectionSource.Name, injectionSource.Path, injectionSource.Position, AcousticTerminalKind.Source, injectionSource.Name));
sourceNames.Add(name);
}
}
if (tract.Nasal is { AreaFunction: { } nasalArea } nasal)

View file

@ -169,3 +169,4 @@
{"evidence":"Added `AcousticAreaControl` to acoustic paths, generated neutral oral area terminals for `tract propagation=graph`, and mirrored tract tongue/constriction/lip parameters into path-area fields. Focused graph parity tests passed. Latest static artifact artifacts/parity/pink-trombone-logmel/20260526T232021742 reports open/front/nasal/ma/sibilant/closure cosine 0.6252/0.6576/0.6893/0.6550/0.4166/0.5554. Latest utterance artifact artifacts/parity/pink-trombone-utterance-logmel/20260526T232106458 reports mama cosine 0.3354 RMS 1.0698; papa 0.8162 RMS 0.1815; thrombosis 0.3584 RMS 1.9499.","claim":"The typed acoustic graph now has live sampled morphology. Path rest shape remains the continuous owner, while `AcousticAreaControl` evaluates tongue, constriction, and lip gestures at graph sample terminals so scattering changes over time. This is the missing PT-class moving-tube primitive without preserving a PT-shaped waveguide backend.","timestamp":"2026-05-26T23:20:00+00:00","topic":"acoustic-path-live-area-control"}
{"evidence":"Added `AcousticSourcePort.Transient`, parser support for `transient`/`burst` on source ports, graph lowering for turbulence release bursts, and tract injection mirroring from `tract/injection/burst` to generated source transient. Focused graph utterance and structural tests passed. Boosting the release multiplier worsened papa/thrombosis, so the transient remains a semantic source hook rather than a metric-forced gain hack.","claim":"Closure-release energy belongs to a typed source port, not a PT-specific backend or a hidden utterance compensator. The current transient hook is architecturally correct but not yet the main parity lever; next pressure is timing/normalization rather than brute-force burst gain.","timestamp":"2026-05-27T10:36:00+01:00","topic":"acoustic-source-transient-control"}
{"evidence":"Changed graph `TurbulenceJet` sustained noise from a pure closedness gate to a normalized narrow-open aperture gate intersected with the previous upper constriction cap, leaving `AcousticSourcePort.Transient` as the closure-release owner. Focused graph utterance test passed with artifact artifacts/parity/pink-trombone-utterance-logmel/20260527T110608640: mama cosine 0.3339 RMS 1.0698, papa 0.8320 RMS 0.1806, thrombosis 0.3957 RMS 1.6144. Static graph test passed with artifacts/parity/pink-trombone-logmel/20260527T110649452: open/front/nasal/ma/sibilant/closure cosine 0.6252/0.6576/0.6893/0.6550/0.4389/0.5993.","claim":"Sustained frication is an aperture-window source law, not a reward for complete closure. Closed constrictions should not hiss; release energy belongs to the transient path. This improved papa, thrombosis, sibilant, and closure-release without disturbing vowel fixtures.","timestamp":"2026-05-27T11:08:00+01:00","topic":"acoustic-turbulence-aperture-normalization"}
{"evidence":"Added `AcousticSourcePositionControl`, parser support for source position index/width/scale, Faust lowering as triangular source weights, and generated graph-tract injection source banks. Focused structural, utterance, and static graph parity tests passed. Latest utterance artifact artifacts/parity/pink-trombone-utterance-logmel/20260527T111349174: mama cosine 0.3418 RMS 1.0295, papa 0.8318 RMS 0.1806, thrombosis 0.4521 RMS 1.2855. Latest static artifact artifacts/parity/pink-trombone-logmel/20260527T111427660: open/front/nasal/ma/sibilant/closure cosine 0.5870/0.6632/0.6965/0.6598/0.4053/0.6137.","claim":"Moving constriction sources belong in graph-native source weighting, not in a PT-shaped moving backend. A fixed Faust graph can express moving frication/release by distributing one source gesture over fixed source terminals with live differentiable weights; this materially improves thrombosis because the b release no longer fires at the initial dental position.","timestamp":"2026-05-27T11:18:00+01:00","topic":"acoustic-source-position-control"}

View file

@ -1,6 +1,6 @@
project: AquaSynth
spine_version: 1
updated: 2026-05-27T11:08:00+01:00
updated: 2026-05-27T11:18:00+01:00
prime_directive: >
Build coherent synth machinery. References exist to reveal missing structure,
@ -119,8 +119,8 @@ live_invariants:
- The physical voice research packet now includes a practical implementation/researcher map (`research/physical-voice-modeling/PEOPLE.md`) and talk/transcript ledger (`research/physical-voice-modeling/talks/TALKS.md`). Birkholz/VocalTractLab pressures multi-level articulatory control and gestures; Story/TubeTalker pressures continuous parametric area functions and length/coupling; Smith pressures bidirectional delay-line scattering and fractional-delay waveguides; Fels/ArtiSynth pressures separation between biomechanics, acoustics, timeline controls, and diagnostics. These are reusable DSL semantics, not modules to clone.
- Physical voice implementation has started moving PT pressure into neutral acoustic owners: `AcousticPath`, `AcousticTerminal`, `AcousticConnection`, `AcousticSourcePort`, `AcousticBranch`, `AcousticRadiationPort`, `WaveClockPolicy`, and `AcousticPortNetwork`. Parser commands `path`, `terminal`, `connect`, `source_port`, `branch`, `radiation_port`, `wave_clock`, and `acoustic_network` now exist. Existing `tract_shape`, `glottis`, `tract_injection`, `nasal_branch`, and `tract` commands populate acoustic records as compatibility aliases while the current `Voice.Tract` Faust renderer still owns audio.
- `acoustic` / `acoustic_voice` can now render an `AcousticPortNetwork` through a compact Faust response proxy or, when typed terminals are present, a compiled bidirectional Faust segment graph. Graph lowering splits paths at terminal positions, aggregates co-located terminals into graph nodes, orders connection ports deterministically, scatters area-weighted/pressure/bypass connection groups, injects source terminals even at connected nodes, and sums radiation terminals. Segment delay follows physical segment length and the network `wave_clock` strategy through unit-grid, half-sample, linear fractional, Lagrange, or Thiran/allpass Faust delay primitives. Source, branch, radiation, terminal, and connection controls can bind through ordinary Aqua parameters into emitted Faust. PT-shaped `tract` authoring now routes accepted parity through `propagation=graph`; the old waveguide parity lane is not a comparison baseline or historical pressure lane.
- Pink Trombone log-mel parity now writes graph candidates only. Generated tract graphs mirror live `/pink/...` tract bindings into acoustic source, terminal, connection, radiation, and path-area fields. Graph generation stopped baking first-frame tongue/constriction/lip morphology into the path; `AcousticPath.AreaControl` now turns tongue/constriction/lip controls into live area expressions at graph sample points. Velum owns nasal branch coupling/aperture, and the first nasal tube sample is no longer allowed to decide the velum opening. Graph radiation now blends raw pressure with high-passed pressure instead of throwing away body energy. Latest static graph evidence: open/front/nasal/ma/sibilant/closure cosine 0.6252/0.6576/0.6893/0.6550/0.4389/0.5993.
- PT expressive parity should decompose into reusable Aqua primitives before audio golf: `tract_shape` owns continuous diameter/area geometry over normalized position, physical length (`length_cm`), interpolation/resampling, derived reflection coefficients, and per-cell acoustic delay; `AcousticAreaControl` owns live sampled morphology controls on a path; `glottis` owns excitation controls; `tract_injection` owns positioned frication/burst controls; `AcousticSourcePort.Transient` owns graph-native release/click energy; sustained `TurbulenceJet` lowering owns a narrow-open aperture gate so closed constrictions no longer hiss; `nasal_branch` owns a second diameter/area tube and branch aperture; `tract_motion` owns control slew and obstruction threshold; `AcousticPortNetwork` owns graph lowering. `PinkTromboneReferenceRenderer` ports the pinned MIT `chdh/pink-trombone-mod` DSP source (`external/pink-trombone-mod` at 359c2d3b42b10280404c1650dc601902112b4c90), and reference WAVs before `artifacts/parity/pink-trombone-utterances/20260526T211902375` are invalid. The accepted PT utterance curriculum is mama, papa, and thrombosis; lulek was cut because its control sketch taught a bad artifact. Latest graph-only utterance smoke under `artifacts/parity/pink-trombone-utterance-logmel/20260527T110608640`: mama cosine 0.3339 / RMS 1.0698, papa 0.8320 / 0.1806, thrombosis 0.3957 / 1.6144. The internal-node scatter fix made unconnected injection/source terminals transmit pressure between adjacent segments instead of acting as dead boundaries. Next pressure is source/radiation impedance normalization and moving source distribution, not reviving the old PT-shaped waveguide path.
- Pink Trombone log-mel parity now writes graph candidates only. Generated tract graphs mirror live `/pink/...` tract bindings into acoustic source, terminal, connection, radiation, and path-area fields. Graph generation stopped baking first-frame tongue/constriction/lip morphology into the path; `AcousticPath.AreaControl` now turns tongue/constriction/lip controls into live area expressions at graph sample points. Velum owns nasal branch coupling/aperture, and the first nasal tube sample is no longer allowed to decide the velum opening. Graph radiation now blends raw pressure with high-passed pressure instead of throwing away body energy. Latest static graph evidence: open/front/nasal/ma/sibilant/closure cosine 0.5870/0.6632/0.6965/0.6598/0.4053/0.6137.
- PT expressive parity should decompose into reusable Aqua primitives before audio golf: `tract_shape` owns continuous diameter/area geometry over normalized position, physical length (`length_cm`), interpolation/resampling, derived reflection coefficients, and per-cell acoustic delay; `AcousticAreaControl` owns live sampled morphology controls on a path; `glottis` owns excitation controls; `tract_injection` owns positioned frication/burst controls; `AcousticSourcePort.Transient` owns graph-native release/click energy; sustained `TurbulenceJet` lowering owns a narrow-open aperture gate so closed constrictions no longer hiss; `AcousticSourcePositionControl` owns differentiable runtime weights over fixed source terminals so moving articulators can move source energy without recompiling the graph; `nasal_branch` owns a second diameter/area tube and branch aperture; `tract_motion` owns control slew and obstruction threshold; `AcousticPortNetwork` owns graph lowering. `PinkTromboneReferenceRenderer` ports the pinned MIT `chdh/pink-trombone-mod` DSP source (`external/pink-trombone-mod` at 359c2d3b42b10280404c1650dc601902112b4c90), and reference WAVs before `artifacts/parity/pink-trombone-utterances/20260526T211902375` are invalid. The accepted PT utterance curriculum is mama, papa, and thrombosis; lulek was cut because its control sketch taught a bad artifact. Latest graph-only utterance smoke under `artifacts/parity/pink-trombone-utterance-logmel/20260527T111349174`: mama cosine 0.3418 / RMS 1.0295, papa 0.8318 / 0.1806, thrombosis 0.4521 / 1.2855. The internal-node scatter fix made unconnected injection/source terminals transmit pressure between adjacent segments instead of acting as dead boundaries. Next pressure is source/radiation impedance normalization and plosive level recovery, not reviving the old PT-shaped waveguide path.
- If dotnet builds hang in this workspace, stop orphan dotnet workers and retry with `--disable-build-servers -p:UseSharedCompilation=false -p:BuildInParallel=false`; plain parallel/shared builds can stall without useful diagnostics.
- eSpeak NG is an early parity reference for timing, IPA coverage, and log-mel pressure, not an anatomy oracle or final target.
- Do not expand into prosody, emotional context, personality, or broad Weksa expressivity until the tiny IPA utterance harness can show useful loss movement.

View file

@ -170,7 +170,7 @@ public sealed class PatchScriptTests
path name=trachea length_cm=12 diameters=.4,.7,1,1
path name=oral length_cm=17 diameters=.6,1.1,1.6,1.2,.8
source_port name=left_labium path=trachea kind=labial position=.1 pressure=@/voice/left_pressure tension=.55 opening=.4 noise=.02
source_port name=right_labium path=trachea kind=labial position=.1 pressure=.65 tension=.5 opening=.45 noise=.03 balance=.8
source_port name=right_labium path=trachea kind=labial position=.1 pressure=.65 tension=.5 opening=.45 noise=.03 balance=.8 position_index=.12 position_width=.05 position_index_scale=1
branch name=throat from_path=trachea from_position=.9 to_path=oral kind=bronchial opening=@/voice/throat_opening coupling=.7
radiation_port name=mouth path=oral kind=lip position=1 opening=@/voice/mouth_opening reflection=-.82
wave_clock name=continuous strategy=thiran order=1 max_delay=4096 smoothing_ms=3
@ -194,6 +194,7 @@ public sealed class PatchScriptTests
Assert.Equal(5, patch.AcousticTerminals.Count);
Assert.Single(patch.AcousticConnections);
Assert.All(patch.AcousticSourcePorts, port => Assert.Equal(AcousticSourceKind.Labial, port.Kind));
Assert.NotNull(patch.AcousticSourcePorts[1].PositionControl);
Assert.Equal(AcousticBranchKind.Bronchial, Assert.Single(patch.AcousticBranches).Kind);
Assert.Equal(AcousticRadiationKind.Lip, Assert.Single(patch.AcousticRadiationPorts).Kind);
Assert.Equal(WaveClockDelayStrategy.FractionalThiran, Assert.Single(patch.WaveClocks).Strategy);
@ -629,7 +630,7 @@ public sealed class PatchScriptTests
Assert.NotEmpty(patch.TractMotions);
Assert.Equal(TractPropagationMode.Graph, voice.Tract.Propagation);
Assert.Contains(patch.AcousticPaths, path => path.Name == "voices_0_oral" && path.AreaControl is not null);
Assert.Contains(patch.AcousticSourcePorts, port => port.Name == "voices_0_inj" && port.Transient > 0);
Assert.Contains(patch.AcousticSourcePorts, port => port.Name.StartsWith("voices_0_inj_", StringComparison.Ordinal) && port.Transient > 0 && port.PositionControl is not null);
Assert.Contains(patch.AcousticTerminals, terminal => terminal.Name.StartsWith("voices_0_area_", StringComparison.Ordinal));
Assert.Contains("acoustic_graph_radiated", export.Source);
Assert.Contains("graph_terminal_area_voices_0_area_", export.Source);