UNPKG

websockets-streaming-audio

Version:

Click a browser button to launch a node.js process on the server side which streams audio using web sockets back to the browser which is then rendered using web audio API My plan is to make this modular enough to get added to your process as simple API

15 lines (7 loc) 408 B
var config = require('./config.global'); config.env = "dev"; config.hostname = 'test.example'; // media_path <-- a double quote : delimited list of full paths to reach dirs containing // audio media files IE. song files in WAV format config.media_path = "/home/stens/Dropbox/Documents/data/audio:/some/full/path/to/dir/of/files"; module.exports = config;