Last active
August 8, 2017 20:31
-
-
Save alexeybondarenko/2bf76d0cbfb717cf7e0e750240ca41d1 to your computer and use it in GitHub Desktop.
Tutorial. How to create MIDI synthesizer with MIDI API and Node JS https://medium.com/nebo-15/tutorial-how-to-create-midi-synthesizer-with-midi-api-and-node-js-48d41c162009
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const server = app.listen(app.get('PORT'), (error) => { | |
if (error) { | |
console.log('Server started with an error', error); | |
process.exit(1); | |
} | |
console.log(`Server started and is listening at http://localhost:${app.get('PORT')}`); | |
}); | |
const socket = new binaryServer({ | |
server: server, | |
path: '/socket', | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment