aubiojs is a real-time audio processing library based on aubio, now including:
- pitch detection
- tempo detection
- fft forward and inverse
<script src="aubio.js"></script>
<script>
Aubio().then(function (aubio) {
const tempo = new aubio.Tempo(bufferSize, hopSize, sampleRate)
// ...
const pitch = tempo.do(audioBuffer)
})
</script>
This project uses emscripten to compile aubio, make sure you have installed.
emcmake cmake -Bbuild -H.
make -Cbuild