mmckegg / loop-drop-app

[unmaintained] MIDI looper, modular synth and sampler app built using Web Audio and Web MIDI APIs
826 stars 88 forks source link

improve midi port detection across platforms #199

Open mmckegg opened 8 years ago

mmckegg commented 8 years ago

As reported by @voseone here, other platforms may prefix or suffix the name with something extra. This throws off portMatch which expects that the name start with the given sequence.

It might just be a matter of relaxing the matchers to not require the port name "starts with", rather will match any part of the name. This is probably okay, as false positives aren't really a problem as this is more just to help the user and cut down on noise.

mmckegg commented 7 years ago

Also reported on this YouTube comment

But when I test it in my machine, I can't reproduce. Maybe it only happens after switching USB ports or something.