Skip to content

Web-Multi-Media/multi-web-audio-sequencer

Repository files navigation

Multi Web Audio Step Sequencer

A web collaborative step sequencer using Freesound content. Built using Express.js, Web Audio API, Socket.io.

The sequencer is available here.

Step sequencer inspired by Catarak Web Audio Sequencer.

INSTALL (Docker)

Note: You'll need to have docker and docker-compose installed.

docker-compose up

INSTALL

npm install
npm install nodemon
npm start

DEPLOY

The server is looking for the environment variables MULT_WEB_SEQ_SERV, MULT_WEB_SEQ_SERV_P and BASE_PATH. If undefined, they are set to localhost, 8080 and "". Setting NODE_ENV to production gives the best performance.

  • MULT_WEB_SEQ_SERV: The server where Node (or Docker) starts.
  • MULT_WEB_SEQ_SERV_P: The port to which the Node server is listening.
  • BASE_PATH: Base path which will be added to all the request links to the app.

Example for starting the app on your sever using npm:

export MULT_WEB_SEQ_SERV=myserver.com
export MULT_WEB_SEQ_SERV_P=9050
export NODE_ENV=production
node server.js

If you want to use Docker for the deployment, you will have to edit the docker-compose.yml file according to your settings.