Julian Waller

Results 535 comments of Julian Waller

Hey @hrueger I have just published this on npm https://www.npmjs.com/package/@julusian/midi. So far I am happy that both input and output are working on linux, I havent tried running it elsewhere,...

no that stack trace doesnt really say anything useful.. what version of electron are you using? and it looks like this is happening on windows for you? any chance of...

ok, I suspect this is hitting https://www.electronjs.org/blog/v8-memory-cage. It looks like this is wrapping an external pointer in a buffer https://github.com/Julusian/node-midi/blob/master/src/input.cpp#L120, which is precisely what they say to avoid doing https://www.electronjs.org/blog/v8-memory-cage#how-will-i-know-if-my-app-is-impacted-by-this-change....

Ignore that idea, after quite some digging, it turns out that the memory-cage change applies to v21 not v20 like it is documented to be. Ill give the code a...

yeah, that stack trace is a lot more meaningful now, but the place it is crashing is rather odd.. Ill have a play and see what I can figure out...

1) Yeah, I can see that. It looks like the midi library being wrapped classifies that as a warning and so only outputs it to the console.. 2) Unfortunately it...

Note for myself: Maybe rtmidi should we replaced with https://github.com/jcelerier/libremidi? It looks to be a bit more modern, and although it suffers a lot of the same flaws, has more...

> Hm, how many Midi Ports do you have on your system? I have about 8 created with loopMidi and a couple more from rtpMidi. Ah, that did it. I...

@hrueger Please give v3.0.0-3 a try. It is no longer crashing for me in your reproduction. It also includes the typescript typings too

I have some concerns about the approach here 1) It is doing a poll for each custom-variable listed, so for each custom-variable it is searching through all controls for usages...