posted an update

var midiot = require('midiot'); var barnowl = require('barnowl'); var barnacles = require('barnacles');

var middleware = new barnowl( { n: 1, enableMixing: true, mixingDelayMilliseconds: 240, minMixingDelayMilliseconds: 120 } ); var notifications = new barnacles( { delayMilliseconds: 960, minDelayMilliseconds: 960, historyMilliseconds: 5000, disappearanceMilliseconds: 10000, keepAliveMilliseconds: 4800 } );

var soundscape = new midiot();

middleware.bind( { protocol: 'serial', path: '/dev/ttyUSB0' } ); notifications.bind( { barnowl: middleware } ); soundscape.bind( { barnowl: middleware } ); soundscape.bind( { barnacles: notifications } ); console.log(soundscape.getPorts()); soundscape.openPort(1);

Log in or sign up for Devpost to join the conversation.