-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MIDI Mapper] Manage MIDI devices #296
Comments
This issue is referring to the MIDI assignment plugin. Not only the general functionality of the plugin, but the control panel also. Can we spec out these checklist points please? They're currently very ambiguous. |
We will start working on this again for modV 3 and make sure to plan everything right. |
@TimPietrusky "VIRTUAL DEVICES" |
Something like this I think. // Virtual control surface
// --
// inputlink <-> virtual device
// MIDI learning can be interfaced with the virtual device,
// a new i/o link can be created automatically
// Virtual Device should be created for any device automatically
// e.g. When a MIDI device is connected, a virtual device is created
// e.g. When an OSC "device" is connected, a virtual device is created
const virtualDeviceWhichWillbeSavedInPreset = {
id: "someid-0000-ef4d",
name: "Virtual Surface - KORG nanokontrol",
io: {
"someid-or-incremental-number": { /* inputlink details */ }
}
}
const midiDeviceDataWhichWillBeSavedInPreset = {
deviceId: "KORG nanokontrol", // can be updated via UI
assignments: {
66: {
virtualDeviceId: "someid-0000-ef4d",
io: "someid-or-incremental-number"
}
}
}
// We'll keep the existing MIDI device structure, outside of presets |
https://webaudio.github.io/web-midi-api/#dom-midiport-id This explains how to hash a MIDI device (maybe) based on available properties. |
@2xAA I think I already looked at this and it was not working on Windows, but I'm happy to take another look 🙏 |
@TimPietrusky Perfect - thanks! |
Please add the task: Make MIDI assigments editable manually |
@HorstBaerbel do you know what Mixxx sends? Learn should work on any channel and any non-sysex message. |
Agreed, That script is probably a bad example, because it sends multiple messages at the same time, so the first messages gets learned (which might not be the right one). I was successful by editing the preset JSON manually, but that's a bit fiddly ;) EDIT: There's an overview over the Mixxx MIDI output here. |
Thanks for the info! No case is too niche tbh. modV is itself quite niche, haha. The node graph editor I mentioned a while ago (here), well I went and fixed it up. I'm planning, in the long-run, to allow MIDI routing via a node graph interface, which will make any sort of assignment possible. We'll still have a learn button on an input node, but also the ability to set exactly which channel and message(s) to react upon! |
Right now it's possible to use multiple MIDI devices in modV, but that brings problems for systems, that are changing the DeviceID in a non-predictable way (like on Windows 10).
The text was updated successfully, but these errors were encountered: