/ proof-of-concept / steelsim21
Sign in
proof-of-concept / steelsim21
Spectrogram default range 5 kHz
Jeremy Magland <jmagland@flatironinstitute.org> committed commit 6f03b39614b2 parent adc495d Browse files
1 changed file+2−2
src/main.tsmodified+2−2View file
@@ -177,7 +177,7 @@ let live = true;
177177 let scrubFrame = 0;
178178 let movieBuf: GPUBuffer | null = null;
179179 let movieBufFrame = -1;
180-let spec = new Spectrogram({ windowSize: 2048, hop: 512, fmax: 10000, dbFloor: 80, logFrequency: false });
180+let spec = new Spectrogram({ windowSize: 2048, hop: 512, fmax: 5000, dbFloor: 80, logFrequency: false });
181181 const player = new Player();
182182 let lastStatsTime = 0, lastStatsSteps = 0, stepsPerSec = 0;
183183 let duration = params.duration;
@@ -321,7 +321,7 @@ function buildSpecToolbar(): void {
321321 }
322322 win.value = "2048";
323323 const hop = numInput(512, 64);
324- const fmax = numInput(10000, 500);
324+ const fmax = numInput(5000, 500);
325325 const floor = numInput(80, 5);
326326 const logf = document.createElement("input");
327327 logf.type = "checkbox";
↑↓ move↵openescclose