Skip to content

Instantly share code, notes, and snippets.

@alexeybondarenko
Last active August 8, 2017 20:29
Show Gist options
  • Save alexeybondarenko/7c7ba1be8869154964c38a3e5b7c8449 to your computer and use it in GitHub Desktop.
Save alexeybondarenko/7c7ba1be8869154964c38a3e5b7c8449 to your computer and use it in GitHub Desktop.
client.on('open', function () {
MIDIStream = client.createStream();
});
client.on('stream', function (stream) {
stream.on('data', handleReceiveAudioData);
stream.on('end', handleEndAudioStream);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment