Minimal example to use aubiojs for beatection
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Lennart Bernhardt cd4a7562b6
dehardcode sample rate for tempo detection
5 months ago
src dehardcode sample rate for tempo detection 5 months ago
.eslintignore init 5 months ago
.eslintrc.js init 5 months ago
.gitignore init 5 months ago
package-lock.json remove cleanwebpackplugin 5 months ago
package.json remove cleanwebpackplugin 5 months ago
readme.md make readme more clear 5 months ago
tsconfig.json init 5 months ago
webpack.config.js dehardcode sample rate for tempo detection 5 months ago

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.