diff --git a/docs/index.html b/docs/index.html index 9064ae6..72b1531 100644 --- a/docs/index.html +++ b/docs/index.html @@ -103,6 +103,7 @@

Pitchy example

navigator.mediaDevices.getUserMedia({ audio: true }).then((stream) => { audioContext.createMediaStreamSource(stream).connect(analyserNode); const detector = PitchDetector.forFloat32Array(analyserNode.fftSize); + detector.minVolumeDecibels = -10; const input = new Float32Array(detector.inputLength); updatePitch(analyserNode, detector, input, audioContext.sampleRate); }); diff --git a/docs/playground.html b/docs/playground.html index 7680310..6b4a79f 100644 --- a/docs/playground.html +++ b/docs/playground.html @@ -137,6 +137,13 @@

Pitchy playground

Data quality +
+ +
+