projects / dj-mixer-node
⚡ Personal projectIn-browser DJ mixer: Node.js, Express, AngularJS and MongoDB
Personal project: a real-time web application to mix music directly in the browser, full JavaScript end to end, from the Node.js API to the AngularJS interface.
$ cat architecture.md
How the mixer works
One language end to end, JavaScript: the server, the interface and the audio processing.
- 01
Live mixing
DJlive gesturesAngularJS2 decks · crossfaderWeb Audio APIvolume · tempo · mixAudio outputreal timeAudio is processed in the browser: every gesture on a deck is heard instantly, with no server round trip.
- 02
Tracks and sessions
BrowserAngularJSExpress.jsREST APINode.jsserverMongoDBtracks · sessionsThe Node.js API serves the tracks and stores mixing sessions in MongoDB.
The stakes Deliver a smooth mixing experience in a plain browser, with no software to install: the sound must react instantly to the user's gestures. The solution • A JavaScript stack end to end (MEAN): MongoDB, Express.js, AngularJS and Node.js. • An Express REST API on Node.js to manage tracks and mixing sessions. • An AngularJS interface: two decks, crossfader, volume and tempo controls. • Audio processing in the browser with the Web Audio API. • Libraries and sessions persisted in MongoDB. What it demonstrates Command of a full JavaScript stack back in 2015, from server to interface, and attention to user experience in an interactive, real-time application.
November 2015