|
||
---|---|---|
src | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
package-lock.json | ||
package.json | ||
readme.md | ||
tsconfig.json | ||
webpack.config.js |
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
- 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). - 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.
- Run
npm run build
to build a production ready bundle.