Smoother waveform: 256 samples + interpolated segment-distance line

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
lucianoandClaude Opus 4.8 committed 2026-06-19 15:53:51 +02:00
1 parent 5f9e33b7dd
commit eee3c63133
2 files changed
+20 -13

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ class AudioEngine {
this.spectrum = new Float32Array(this.NB);
// Time-domain waveform (oscilloscope), -1..1.
this.NW = 128;
this.NW = 256;
this.wave = new Float32Array(this.NW);
this.timeData = new Uint8Array(this.analyser.fftSize);
}