projects / dj-mixer-node

⚡ Personal project

In-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.

  • Node.js
  • Express.js
  • AngularJS
  • MongoDB
  • JavaScript
  • Web Audio API

$ cat architecture.md

How the mixer works

One language end to end, JavaScript: the server, the interface and the audio processing.

  1. 01

    Live mixing

    DJlive gestures
    AngularJS2 decks · crossfader
    Web Audio APIvolume · tempo · mix
    Audio outputreal time

    Audio is processed in the browser: every gesture on a deck is heard instantly, with no server round trip.

  2. 02

    Tracks and sessions

    BrowserAngularJS
    Express.jsREST API
    Node.jsserver
    MongoDBtracks · sessions

    The 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