Sustain DX7 max-feedback buzz
This commit is contained in:
parent
6b8b7a8590
commit
458fe5d6b4
6 changed files with 43 additions and 8 deletions
|
|
@ -130,6 +130,11 @@ math is still fake in the places that matter perceptually.
|
|||
Aquarium feedback `2.2`, while feedback value `5` remains at `0.19` for
|
||||
the hard PRC target. The hotter value restores much more of the 1.2-5 kHz
|
||||
buzzing-harmonic band, with envelope/RMS still imperfect.
|
||||
- Listening then caught that the max-feedback candidate still lost punch
|
||||
halfway through the note. The accepted lowering now enables Aquarium's
|
||||
existing output `soft_clip` only for voices with max DX7 feedback and a
|
||||
self-feedback topology. That keeps the ANLGSYN buzz alive without applying
|
||||
output nonlinearity to the hard PRC feedback-5 target.
|
||||
- A first survey also tried `DX1 LEAD B`, `MELLOWSOLO`, and `RES SYNTH1`;
|
||||
they were left out of the passing gate because listening and
|
||||
log-mel/zero-crossing evidence do not justify calling them parity yet.
|
||||
|
|
|
|||
|
|
@ -50,3 +50,4 @@
|
|||
{"kind":"dx7_voice_transpose","lesson":"Piano Bass in analog1.syx proved imported DX7 voices must lower the voice transpose byte into graph frequency. Transpose 24 is neutral; transpose 12 lowers MIDI note 60 to 130.8128 Hz. Hardcoding 261.6256 made Piano Bass a full octave too high. After the fix, Piano Bass improves to log-mel 0.16180529, zero-crossing 0.905511, score 0.64267576. Do not call the broader analog1.syx survey passing; only Mooger and fixed Piano Bass are currently defensible.","source":"Piano Bass listening correction on 2026-05-14"}
|
||||
{"kind":"dx7_fixed_frequency","lesson":"ANLGSYN 1 proved DX7 fixed-frequency operators must lower as absolute Hz divided by the graph base frequency, not as note ratios. Dexed fixed mode uses a log-frequency formula; op1 fixed 0/0 is about 1 Hz and op3 fixed 0/8 detune 14 is about 1.207 Hz, yielding ratios 0.007615 and 0.009227 against the transposed 130.8128 Hz graph base. This restores the low buzzing modulation and improves ANLGSYN 1 to log-mel 0.19427659, zero-crossing 0.94662774, score 0.659334.","source":"ANLGSYN 1 listening correction on 2026-05-14"}
|
||||
{"kind":"dx7_max_feedback","lesson":"ANLGSYN 1 still sounded too 'woooh' after fixed-frequency lowering because high-band buzz was missing. Route-index sweeps did not help; increasing only DX7 feedback value 7 from 0.66 to 2.2 restored much more 1.2-5 kHz energy while leaving feedback value 5 at 0.19 for PRC. Latest ANLGSYN 1: log-mel 0.17553389, centroid 0.9519112, zero-crossing 0.90904, score 0.6448498. Envelope/RMS worsened, so this is a timbre correction, not final ANLGSYN parity.","source":"ANLGSYN 1 max-feedback listening correction on 2026-05-14"}
|
||||
{"kind":"dx7_output_nonlinearity","lesson":"ANLGSYN 1 listening caught a remaining 'deeooh' failure: the max-feedback candidate had a close attack but lost sustained high-band punch halfway through. Enabling Aquarium's existing output soft clip only for max-feedback self-feedback DX7 voices improved ANLGSYN to score 0.70946133, log-mel 0.18456098, envelope 0.10628832, RMS 0.9816304 while PRC stayed passing with soft clip disabled at score 0.7546429 and log-mel 0.13874851. Do not apply the nonlinearity globally; PRC proves that would be a compensator.","source":"ANLGSYN 1 sustained-buzz parity correction on 2026-05-14"}
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@
|
|||
},
|
||||
"dx7_reference_path": {
|
||||
"status": "DX7 SysEx parser extracts voice edit buffers, packed voices, packed 32-voice banks, six operators, envelopes, algorithm, feedback, oscillator sync, LFO, transpose, voice name, checksum validation, ReferencePatch features, algorithm topology from the reverse-engineered OPS algorithm ROM table, envelope-to-ADSR approximations, measured carrier output amplitude, isolated two-op modulation route scale, summed/cascaded route scale, calibrated feedback amount table, ratio detune lowering, voice transpose lowering, fixed-frequency operator lowering, ROM COM output compensation, topology-aware route lowering, staged operator envelopes with per-segment curves, raw and block-interpolated DX7 envelope tracing, applied-envelope curved lowering, two Aquarium DSL rebuild attempts, first-class OperatorGraph support, public-domain SysEx fixture coverage, dexed-py reference rendering, project-authored Dexed patch rendering, Aquarium candidate rendering through Faust-generated C#, one thresholded rendered parity test for analog1.syx voice 13, a hard PRC SYNTH1 parity probe with listening WAV artifacts and log-mel <= 0.18, project-authored algorithm-8 summed-stack/cascade/summed-pair parity, rendered community parity for Mooger, Piano Bass, and ANLGSYN 1, and renderable delayed operator feedback.",
|
||||
"lesson": "Algorithm 32's additive six-carrier shape maps cleanly to six Aquarium voices. Algorithm 8 justified OperatorGraph: operators, modulation edges, carriers, and feedback belong to a graph authority, not Voice fields. The first rendered parity rung is behavioral and sine-like, not exact DX7 operator execution. A harder algorithm-8 target exposed that feedback must be delayed recursion in Faust, not a direct cyclic self-reference. Static DX7 output-level approximation helped import/rebuild math but was mathematically wrong for carrier amplitude. A single-carrier Dexed sweep shows carrier amplitude follows 2^((outputLevel - 99) / 8). Isolated two-op DX7 FM maps full-level modulation to Aquarium route index 6.275; summed/cascaded algorithm-8 branches now use 6.0 after PRC listening, a project-authored combined stack probe, and split cascade/summed-pair probes showed lower values were under-bright. Feedback lowers through a fitted table instead of PRC-local constants; ANLGSYN 1 showed max feedback value 7 needs a hotter Aquarium amount 2.2 to recover buzzy high bands, while value 5 remains 0.19 for PRC. Ratio-mode detune belongs in operator frequency lowering. DX7 voice transpose belongs in graph base frequency: transpose 24 is neutral, transpose 12 lowers MIDI note 60 to 130.8128 Hz. DX7 fixed-frequency operators are absolute Hz, not note ratios; ANLGSYN 1 proved fixed op1/op3 must lower to ratios around 0.007615/0.009227 against a 130.8128 Hz graph base to preserve low buzzing modulation. ROM COM values carry output-count compensation; because the amplitude curve was fitted against algorithm 32, DX7 carriers scale by 6/(COM+1). Project-authored Dexed patch rendering now gives lawful calibration targets. Reusing the operator output curve for EG levels was tested and cut because it failed hard-target log-mel. Direct envelope tracing shows current linear `env=rl` cannot express DX7 EG spike/drop behavior. Dexed-style audio samples EG once per 64-sample block and interpolates applied gain, so raw EG parity alone is not audio parity. Staged operator envelopes now support linear/exponential segments and supranormal levels. `ApproximateAppliedRateLevelEnvelope` uses that surface and now picks the first near-peak before gate so slower rising modulators hit early instead of swelling late. PRC log-mel is down to 0.13874426 with RMS at unity; remaining community voices still expose timbre/zero-crossing mismatch and must not be called passing.",
|
||||
"lesson": "Algorithm 32's additive six-carrier shape maps cleanly to six Aquarium voices. Algorithm 8 justified OperatorGraph: operators, modulation edges, carriers, and feedback belong to a graph authority, not Voice fields. The first rendered parity rung is behavioral and sine-like, not exact DX7 operator execution. A harder algorithm-8 target exposed that feedback must be delayed recursion in Faust, not a direct cyclic self-reference. Static DX7 output-level approximation helped import/rebuild math but was mathematically wrong for carrier amplitude. A single-carrier Dexed sweep shows carrier amplitude follows 2^((outputLevel - 99) / 8). Isolated two-op DX7 FM maps full-level modulation to Aquarium route index 6.275; summed/cascaded algorithm-8 branches now use 6.0 after PRC listening, a project-authored combined stack probe, and split cascade/summed-pair probes showed lower values were under-bright. Feedback lowers through a fitted table instead of PRC-local constants; ANLGSYN 1 showed max feedback value 7 needs a hotter Aquarium amount 2.2 to recover buzzy high bands, while value 5 remains 0.19 for PRC. ANLGSYN 1 then exposed a sustained-buzz gap: the accepted max-feedback lowering also enables Aquarium's existing output soft clip only for max-feedback self-feedback voices, improving ANLGSYN without applying the nonlinearity to PRC. Ratio-mode detune belongs in operator frequency lowering. DX7 voice transpose belongs in graph base frequency: transpose 24 is neutral, transpose 12 lowers MIDI note 60 to 130.8128 Hz. DX7 fixed-frequency operators are absolute Hz, not note ratios; ANLGSYN 1 proved fixed op1/op3 must lower to ratios around 0.007615/0.009227 against a 130.8128 Hz graph base to preserve low buzzing modulation. ROM COM values carry output-count compensation; because the amplitude curve was fitted against algorithm 32, DX7 carriers scale by 6/(COM+1). Project-authored Dexed patch rendering now gives lawful calibration targets. Reusing the operator output curve for EG levels was tested and cut because it failed hard-target log-mel. Direct envelope tracing shows current linear `env=rl` cannot express DX7 EG spike/drop behavior. Dexed-style audio samples EG once per 64-sample block and interpolates applied gain, so raw EG parity alone is not audio parity. Staged operator envelopes now support linear/exponential segments and supranormal levels. `ApproximateAppliedRateLevelEnvelope` uses that surface and now picks the first near-peak before gate so slower rising modulators hit early instead of swelling late. PRC log-mel is down to 0.13874851 with RMS near unity; remaining community voices still expose timbre/zero-crossing mismatch and must not be called passing.",
|
||||
"next": "Use the now-validated algorithm-8 route scale, transpose lowering, and fixed-frequency lowering as fixed inputs while isolating remaining community-voice timbre mismatch, then expand to broader public-domain banks."
|
||||
},
|
||||
"note_and_envelope_model": {
|
||||
|
|
@ -91,7 +91,7 @@
|
|||
},
|
||||
"last_verified": {
|
||||
"command": "AQUARIUM_DX7_PYTHON=<bundled python> dotnet test AquariumSynthCSharp.slnx --no-restore",
|
||||
"result": "73 passed; ANLGSYN 1 max-feedback lowering restores much more high-band buzz while PRC remains passing",
|
||||
"commit": "pending DX7 max-feedback retune"
|
||||
"result": "73 passed; ANLGSYN 1 now uses conditional soft clip for max-feedback self-feedback sustain while PRC remains passing",
|
||||
"commit": "pending DX7 max-feedback sustain retune"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,6 +15,19 @@ Doctrine update:
|
|||
|
||||
Completed this slice:
|
||||
|
||||
- Tightened `ANLGSYN 1` after listening caught the `deeooh` failure: the
|
||||
max-feedback candidate had a better attack but lost sustained buzz midway.
|
||||
- Added conditional output nonlinearity in the DX7 probe lowering:
|
||||
`soft_clip=true` only when a voice has DX7 feedback `7` and a self-feedback
|
||||
topology. PRC stays `soft_clip=false`.
|
||||
- Fresh `ANLGSYN 1`: score `.70946133`, log-mel `.18456098`, envelope
|
||||
`.10628832`, RMS `.9816304`, zero-crossing `.8657629`, centroid `.95726264`.
|
||||
- Fresh PRC after the conditional clip gate: score `.7546429`, log-mel
|
||||
`.13874851`, envelope `.067291394`, RMS `.99121606`, zero-crossing
|
||||
`.95325506`.
|
||||
|
||||
Previous slice:
|
||||
|
||||
- Retuned DX7 max-feedback lowering for `ANLGSYN 1`. Route-index sweeps did not
|
||||
materially improve the missing high-band buzz; hotter feedback did.
|
||||
- Changed only feedback value `7` from `.66` to `2.2`. Feedback value `5`
|
||||
|
|
@ -29,7 +42,7 @@ Completed this slice:
|
|||
`AQUARIUM_DX7_PYTHON=<bundled python> dotnet test AquariumSynthCSharp.slnx --no-restore`:
|
||||
73 passed.
|
||||
|
||||
Previous slice:
|
||||
Earlier slice:
|
||||
|
||||
- Fixed DX7 fixed-frequency operator lowering after `ANLGSYN 1` exposed the
|
||||
missing buzzing modulation. The old lowering treated fixed mode as a fake
|
||||
|
|
|
|||
|
|
@ -142,6 +142,17 @@ next_agent_start_here:
|
|||
- "dotnet test AquariumSynthCSharp.slnx --no-restore"
|
||||
|
||||
completed_slices:
|
||||
- date: 2026-05-14
|
||||
summary: >
|
||||
Tightened the `ANLGSYN 1` parity rung after listening caught the remaining
|
||||
`deeooh` failure: the hotter feedback attack was close, but sustained
|
||||
high-band buzz collapsed midway through the note. The DX7 probe lowering
|
||||
now enables Aquarium's existing output soft clip only for max-feedback
|
||||
voices with a self-feedback topology. PRC remains `soft_clip=false`.
|
||||
Latest `ANLGSYN 1`: score 0.70946133, log-mel 0.18456098, envelope
|
||||
0.10628832, RMS ratio 0.9816304, zero-crossing 0.8657629. Latest PRC:
|
||||
score 0.7546429, log-mel 0.13874851, envelope 0.067291394.
|
||||
verification: "AQUARIUM_DX7_PYTHON=<bundled python> dotnet test AquariumSynthCSharp.slnx --no-restore: 73 passed"
|
||||
- date: 2026-05-14
|
||||
summary: >
|
||||
Retuned DX7 max-feedback lowering after listening found `ANLGSYN 1` still
|
||||
|
|
|
|||
|
|
@ -183,10 +183,10 @@ public sealed class Dx7ReferenceParityTests
|
|||
|
||||
var report = $"{ParityReport(result.Value.Comparison)}{Environment.NewLine}artifacts: {result.Value.ArtifactDir}";
|
||||
|
||||
Assert.True(result.Value.Comparison.LogMelDistance <= 0.25f, report);
|
||||
Assert.True(result.Value.Comparison.EnvelopeDistance <= 0.17f, report);
|
||||
Assert.True(result.Value.Comparison.LogMelDistance <= 0.20f, report);
|
||||
Assert.True(result.Value.Comparison.EnvelopeDistance <= 0.12f, report);
|
||||
Assert.InRange(result.Value.Comparison.ZeroCrossingRatio, 0.8f, 1.2f);
|
||||
Assert.True(result.Value.Comparison.Score >= 0.6f, report);
|
||||
Assert.True(result.Value.Comparison.Score >= 0.7f, report);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
@ -369,7 +369,7 @@ public sealed class Dx7ReferenceParityTests
|
|||
var builder = new StringBuilder();
|
||||
builder.AppendLine("patch");
|
||||
builder.AppendLine(" gain=1.4");
|
||||
builder.AppendLine(" soft_clip=false");
|
||||
builder.AppendLine($" soft_clip={F(NeedsDx7OutputNonlinearity(voice, topology))}");
|
||||
builder.AppendLine();
|
||||
builder.AppendLine("opgraph");
|
||||
builder.AppendLine($" name={graphName}");
|
||||
|
|
@ -704,6 +704,11 @@ public sealed class Dx7ReferenceParityTests
|
|||
private static string F(float value) =>
|
||||
value.ToString("0.######", System.Globalization.CultureInfo.InvariantCulture);
|
||||
|
||||
private static string F(bool value) => value ? "true" : "false";
|
||||
|
||||
private static bool NeedsDx7OutputNonlinearity(Dx7Voice voice, Dx7AlgorithmTopology topology) =>
|
||||
voice.Feedback >= 7 && topology.SelfFeedbackOperators.Count > 0;
|
||||
|
||||
private static string SafeName(string value)
|
||||
{
|
||||
var builder = new StringBuilder(value.Length);
|
||||
|
|
|
|||
Loading…
Reference in a new issue