diff --git a/src/components/timer.vue b/src/components/timer.vue index 6ba8cfd..ccecd82 100644 --- a/src/components/timer.vue +++ b/src/components/timer.vue @@ -77,7 +77,7 @@ this.running = true; this.intervalID = setInterval(()=>{ - if(this.micLevel > -1){ + if(this.micThreshold > -1){ const array = new Uint8Array(this.analyser.frequencyBinCount); this.analyser.getByteFrequencyData(array);