1.0.4 • Published 4 years ago
countkicks-bpm v1.0.4
:exclamation::exclamation::exclamation: This is README for countkicks-bpm :exclamation::exclamation::exclamation:
For last stable release (v2) go here
🚀 INSTALLATION
npm i countkicks-bpm
🚀 ES6 IMPORT
import { countkicksandbpm } from 'countkicks-bpm';
const COUNTKICKS = (file: File, duration: number)=> { const count = countkicksandbpm(file, duration); return count.kicks; }
const BPM = (file: File, duration: number)=> { const count = countkicksandbpm(file, duration); return count.bpm; }
🚀 DETAILS
Por ahora solo cuenta con una funcion que devuelve una promesa con un objeto asi:
{ kicks, bpm, samples }