Lokua / launchpad

Node.js script to control a Novation Launchpad MIDI controller
MIT License
4 stars 0 forks source link

Getting random SIGSEGV's from the device? #1

Open Nevexo opened 7 years ago

Nevexo commented 7 years ago

Randomly my software crashes and sends a 'SIGSEGV' error from the launchpad, any idea why this happens when running code?

Lokua commented 6 years ago

@Nevexo so sorry I completely missed this issue! Pretty sure it from base node midi package

https://github.com/justinlatimer/node-midi/issues/95

I tried to debug to the best of my abilities in this commit but didn't really get anywhere https://github.com/Lokua/launchpad/commit/44ea50f4873b59f3a6ac95ac1d2ca964e3bd2f17

I've since stopped using that package and have been having a great time using a fork of this in the browser using the web midi API. Was planning on updating this project with that version in a way that supports both environments - happy to ping you when that is available though I assume you've moved on.