Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 582 Bytes

readme.md

File metadata and controls

25 lines (22 loc) · 582 Bytes

aubiojs

aubiojs is a real-time audio processing library based on aubio, now including:

  • pitch detection
  • tempo detection
  • fft forward and inverse

Usage

<script src="aubio.js"></script>
<script>
Aubio().then(function (aubio) {
  const tempo = new aubio.Tempo(bufferSize, hopSize, sampleRate)
  // ...
  const pitch = tempo.do(audioBuffer)
})
</script>

Build

This project uses emscripten to compile aubio, make sure you have installed.

emcmake cmake -Bbuild -H.
make -Cbuild