gurix
7f6471426f
feat(05-01): wire waveform resolution into NewLayer at construction time
- NewLayer resolves WaveformPresetHarmonics when cfg.WaveformType != WaveformCustom
- Preset harmonics stored in Layer.Config so AdvanceSample uses them unchanged
- WaveformCustom path preserves existing hand-tuned harmonics (backward compatible)
- TestNewLayerResolvesWaveformPreset: verifies preset fills harmonics on construction
- TestNewLayerPreservesCustomHarmonics: verifies hand-tuned harmonics are untouched
- TestSineRegressionVsCustomHarmonics: verifies WaveformSine == {Ratio:1,Amp:1.0}
- All 41 synth tests pass, encode tests unaffected
2026-03-26 17:34:45 +01:00
..
2026-03-26 13:11:24 +01:00
2026-03-26 12:03:06 +01:00
2026-03-26 13:11:24 +01:00
2026-03-26 17:34:02 +01:00
2026-03-26 11:57:43 +01:00
2026-03-26 17:34:45 +01:00
2026-03-26 12:02:06 +01:00
2026-03-26 12:02:06 +01:00
2026-03-26 11:57:43 +01:00
2026-03-26 11:58:44 +01:00
2026-03-26 17:34:45 +01:00