audionode

Mix and distribute audio in node :)

npm install audionode
2 downloads in the last week
3 downloads in the last month

This is a 8-bit mono WAV audio streaming server. Supports multiple rooms. Starting the deamon:

> ./server.js

Creating a room (the room will vanish and all clients will disconnect when you disconnect):

> (echo 'provide <roomname>'; arecord) | nc <server> 1289

Listening to a room:

> nc <server> 1289 | aplay
listen <roomname>

Important: Room names can't contain spaces!

To reduce audio lag with aplay and arecord, call them with -B 1.

npm loves you