auto-dj
v0.3.3
Published
auto dj node module for the browser
Downloads
3
Readme
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-dj
Initialize 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
.