Minimal example to use aubiojs for beatection
 
 
 
Go to file Use this template
Lennart Bernhardt cd4a7562b6
dehardcode sample rate for tempo detection
2022-07-07 20:44:56 +02:00
src dehardcode sample rate for tempo detection 2022-07-07 20:44:56 +02:00
.eslintignore init 2022-07-07 02:39:50 +02:00
.eslintrc.js init 2022-07-07 02:39:50 +02:00
.gitignore init 2022-07-07 02:39:50 +02:00
package-lock.json remove cleanwebpackplugin 2022-07-07 02:49:45 +02:00
package.json remove cleanwebpackplugin 2022-07-07 02:49:45 +02:00
readme.md make readme more clear 2022-07-07 02:56:38 +02:00
tsconfig.json init 2022-07-07 02:39:50 +02:00
webpack.config.js dehardcode sample rate for tempo detection 2022-07-07 20:44:56 +02:00

readme.md

aubiojs-beat-detection-template

Small starter project that uses aubiojs in an Audio Worklet to do beat detection on an audio input device.

Usage

  1. Before doing anything do npm run build. This will build the Audio Worklet bundles. (Right now webpack does not handle imports in worklets directly yet - so we have to pre bundle it).
  2. Run npm start to start a development server that auto reloads on code changes. See the console for the beat detection outputs
    • Note: if you change the audio worklet itself, you will need to stop the dev server and go back to step 1.
  3. Run npm run build to build a production ready bundle.