More shape changes adding more frequencies
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
const DEFAULT_SIZE = 250;
|
||||
const LINE_LIFT = 8;
|
||||
const FREQ_RANGE = 0.28;
|
||||
const FREQ_RANGE = 0.07;
|
||||
const INV_255 = 1 / 255;
|
||||
const SMOOTH_FACTOR = 0.45;
|
||||
const SCALE_SMOOTH = 0.15;
|
||||
@@ -235,7 +235,7 @@
|
||||
}
|
||||
|
||||
analyser = audioContext.createAnalyser();
|
||||
analyser.fftSize = 2048;
|
||||
analyser.fftSize = 8192;
|
||||
analyser.smoothingTimeConstant = smoothing;
|
||||
bufferLength = analyser.frequencyBinCount;
|
||||
dataArray = new Uint8Array(bufferLength);
|
||||
|
||||
Reference in New Issue
Block a user