qiuxiang / aubiojs

aubio for javascript, the real-time audio processing library
https://qiuxiang.github.io/aubiojs/
MIT License
134 stars 36 forks source link

aubio.Pitch.do returns 0 #11

Closed timstrasser closed 2 years ago

timstrasser commented 2 years ago

Right now I'm trying to get your tuner to run in NUXT. However when I run

self.pitchDetector.do(
    event.inputBuffer.getChannelData(0)
)

just like in the tuner project, it always returns zero.

timstrasser commented 2 years ago

Turns out, it was an issue with my browser settings.