KeppySoftware / OmniMIDI

A software MIDI synthesizer for professional use.
https://keppysoftware.github.io/
Other
372 stars 40 forks source link

Electron not detecting Keppy's Synth as a possible MIDI output? #82

Closed FireController1847 closed 6 years ago

FireController1847 commented 6 years ago

Now I don't know if this is an issue with Electron or Keppy's Synth, but I came here first (because loopMidi shows fine). When running the test code below:

navigator.requestMIDIAccess().then(midi  => {
  for (const item of midi.outputs) {
    console.log(item[1]);
  }
}).catch(console.error);

If you run it in Google Chrome, you'll see that Keppy's Synth shows up as an option (so does loopMidi for me). But if you run it in an Electron app, say, Discord, by pressing CTRL+SHIFT+I and then pasting it into there, you'll see the only outputs available are loopMidi if you have it, but no Keppy's Synthesizer.

KaleidonKep99 commented 6 years ago

It's up to the app developer to disable certain MIDI support functions in the Electron engine.

FireController1847 commented 6 years ago

What? That's not the issue lol. First, I am the app developer, second, the issue is that it doesn't show up at all in Electron while it does in Google Chrome.

KaleidonKep99 commented 6 years ago

Well, you didn't specify you were the developer. 🤔 Chromium had issues with MIDI devices, and they fixed them recently, after some Nightly builds.

Maybe Electron is using an oudated release of Chromium, I'm not sure.

FireController1847 commented 6 years ago

Yea, sorry about that lul.

I'll bring up an issue in https://github.com/electron/electron/ referencing this one to see if it's an issue there.

KaleidonKep99 commented 6 years ago

Also take a look at this, it might help the Electron team: https://bugs.chromium.org/p/chromium/issues/detail?id=672793

KaleidonKep99 commented 6 years ago

Anything new about it?

FireController1847 commented 6 years ago

No, this bug still seems to be there. No responses on the electron issue either.

KaleidonKep99 commented 6 years ago

👀

FireController1847 commented 6 years ago

It got tagged, hopefully will be fixed eventually.

KaleidonKep99 commented 6 years ago

I'll close this, since it's not an issue with Keppy's Synthesizer itself. Let's see if the Electron team updates their CEF build... 🤷‍♂️