0.3.3 • Published 7 years ago
auto-dj v0.3.3
auto-dj
Automatic DJing node module for the browser. Uses decision processes based on automatic audio analysis to make nice transitions between songs.
Install using
$ npm install auto-djInitialize using
const dj = new AutoDJ();
await dj.isReady();Transition to a song using
dj.transitionToTrack('https://path-to-audio');Synchronize anything to the beat with
const beats = dj.getBeatObservable();The constructor of AutoDj can be given a custom FeatureService, a decision type in (Default, Random, DecisionTree, FiftyFifty), a custom decision tree of type JsonTree, and a default transition type in TransitionType.