diff --git a/src/Aquarium.Engine/Render/D3D12Renderer.cs b/src/Aquarium.Engine/Render/D3D12Renderer.cs index 0e1c6c1..edd689c 100644 --- a/src/Aquarium.Engine/Render/D3D12Renderer.cs +++ b/src/Aquarium.Engine/Render/D3D12Renderer.cs @@ -64,10 +64,10 @@ public sealed class D3D12Renderer : IAquariumRenderer new(9, "SdfObject Identity"), new(10, "SdfObject Steps"), ]; - private static readonly DebugUi.DebugUiOption[] SynthPresetOptions = AquariumSynth.Dsl.BuiltInScripts.PrimitiveGolfScripts() + private static readonly DebugUi.DebugUiOption[] SynthPresetOptions = AquariumSynth.Dsl.BuiltInScripts.ReferenceScripts() .Select((preset, index) => new DebugUi.DebugUiOption(index, $"{preset.Family}/{preset.Name}")) .ToArray(); - private static readonly (string Family, string Name, string Script)[] SynthPresets = AquariumSynth.Dsl.BuiltInScripts.PrimitiveGolfScripts().ToArray(); + private static readonly (string Family, string Name, string Script)[] SynthPresets = AquariumSynth.Dsl.BuiltInScripts.ReferenceScripts().ToArray(); private readonly IDXGIFactory4 factory; private readonly ID3D12Device device; @@ -101,7 +101,7 @@ public sealed class D3D12Renderer : IAquariumRenderer private string terminalInput = "help"; private readonly List terminalLines = ["Aquarium terminal ready. Type help."]; private IReadOnlyList clientCommands = []; - private string synthPlaygroundScript = AquariumSynth.Dsl.BuiltInScripts.ClassicSfxrPrimitiveGolfScripts[0].Script; + private string synthPlaygroundScript = SynthPresets[0].Script; private int synthPlaygroundPreset; private int synthPlaygroundPlayRevision; private float synthPlaygroundGain = 0.45f; diff --git a/state/evidence.jsonl b/state/evidence.jsonl index 037b6e0..95dbc16 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -76,3 +76,4 @@ {"timestamp":"2026-05-12T21:19:20+01:00","topic":"aquarium-synth-dogfood-tests","lesson":"The deprecated Rust synth fork can remain historical evidence, but active synth confidence must live in the C# dogfood path. Aquarium needs tests that render built-in scripts through its native Faust runtime wrapper and inspect the resulting samples, not just parser/export tests in the DSL library.","files":["src/Aquarium.Engine/Audio/AquariumSynthHost.cs","tests/Aquarium.Engine.Tests/SynthPlaybackTests.cs","state/evidence.jsonl"],"source":"user deprecated Rust repo clarification"} {"timestamp":"2026-05-12T21:28:22+01:00","topic":"single-solution-authority","lesson":"Keep one solution inventory for Aquarium. Maintaining both Aquarium.Engine.sln and Aquarium.Engine.slnx created duplicate project authority, Rider confusion, and verification races when both were built against shared obj/bin outputs. Aquarium.Engine.sln is the canonical solution for IDE and CLI work.","files":["Aquarium.Engine.sln","AGENTS.md","README.md","scripts/dev-watch.ps1","state/map.yaml","state/evidence.jsonl"],"source":"user solution authority cleanup"} {"timestamp":"2026-05-12T21:52:07+01:00","topic":"sfxr-parity-measures","lesson":"SFXR dogfood tests must compare rendered audio against an SFXR-style reference shape, not merely prove that presets are audible and distinct. Use mel-spectrum, envelope, duration, RMS, and zero-crossing comparisons so wrong filter mappings are caught by the engine's actual native Faust render path.","files":["tests/Aquarium.Engine.Tests/SynthPlaybackTests.cs","state/evidence.jsonl"],"source":"user clarified presets sound unlike sfxr"} +{"timestamp":"2026-05-12T22:07:56+01:00","topic":"synth-reference-corpus","lesson":"The synth playground should consume AquariumSynth.Dsl reference patches, not a one-line golf catalog. SFXR, BFXR, 808, FM, and wobble presets exist to test and demonstrate DSL expressiveness; readability is part of the product surface because users will edit these patches in the Aquarium UI.","files":["src/Aquarium.Engine/Render/D3D12Renderer.cs","state/evidence.jsonl"],"source":"user clarified preset purpose for patch DSL iteration"}