Matthew Carr Posted March 6, 2021 Share Posted March 6, 2021 Hi, Can anyone please help explain this behaviour - it's driving me nuts and I can't understand WHY this would happen To simplify, I've created a project that has two midi tracks with input from 2 virtual midi devices (Lower_Keyboard and Upper_Keyboard, created with loopMidi.) Both tracks have input echo set to on, and have their outputs set to different cakewalk synths All works fine; I save the file, open it, and all stays the same as I expect. I close the file, and then connect a hardware controller to the PC. When I open the file again, both midi inputs have changed to receive input from both virtual devices! This is crazy.... or am I crazy??? ? Note that after connecting the hardware controller, I didn't even select it as an input in preferences, it was just connected to the PC. I.e. the original device list was: And after connecting the hardware controller, the active inputs were still the same, although the hardware controller was now shown in the list So the fact of just connecting a hardware controller to the PC was enough for the project to be corrupted on opening! I can only think there is a bug with the way inputs are being set on tracks with input echo enabled, but perhaps this is some behaviour I don't understand - if so, I'd really appreciate any ideas on how to stop this from happening! Cheers, Matt Link to comment Share on other sites More sharing options...
Matthew Carr Posted March 6, 2021 Author Share Posted March 6, 2021 Just to add results of a further test If I enable the newly connected hardware controller for midi input and then open the project, one of the inputs stays as it was when saved, whilst the other gets set to all three midi inputs So the inputs are now being royally messed up when opening the project! Link to comment Share on other sites More sharing options...
William W. Saunders, Jr. Posted March 7, 2021 Share Posted March 7, 2021 When you add real or virtual MIDI devices, the MIDI inputs and outputs often get rearranged. Best to add them and leave them connected even if you don't "select" and use them. This can also happen if you delete soft synths. 1 Link to comment Share on other sites More sharing options...
Base 57 Posted March 7, 2021 Share Posted March 7, 2021 To emphasize what @William W. Saunders, Jr. wrote above, any midi devices you will be using in CbB (ever) should be connected before you start the app; EVERY TIME. If you are using a USB keyboard or any other midi device when you save a project, that device needs to be connected when you open the project again or you will suffer the problem in the OP Link to comment Share on other sites More sharing options...
Matthew Carr Posted March 7, 2021 Author Share Posted March 7, 2021 Thanks for the replies, they're appreciated! Due to the way Windows handles USB connections, we've always had to be super careful with making sure Midi devices are on, and connected to the same physical hardware usb connector to avoid problems, but this seems more than that. The midi input was changed from receiving midi data from one single device to receiving midi data from three devices. I could maybe understand if the input was switched to a different device - but why has the input been changed to receive data from three devices? Following the above comments, the conclusion is I can never connect a new piece of USB hardware with midi functionality (mixer, keyboard, interface etc), as if I do, then all my existing projects will be corrupted on opening My gut feeling is that this may be to do with the way virtual midi ports are being enumerated for tracks with input echo set to on. I'll do a few tests and report back. Link to comment Share on other sites More sharing options...
Matthew Carr Posted March 7, 2021 Author Share Posted March 7, 2021 Sorry for the long post below - the tl/dr; I think there is an issue with virtual midi ports, but not physical midi ports (For clarity, in the below tests each physical midi controller was plugged into the same physical usb connector each time) I removed all virtual midi cables on the PC, rebooted, and created a new project with one physical midi controller connected (Impact LX61) I then closed the project, connected another physical midi controller (Novation SL MKII), and re-opened the project. No changes, everything as expected I closed the project, enabled the SL MKII as a midi input, and opened the project. Again, no changes to the midi input of the track This is what I would expect - connecting / adding new midi devices doesn't impact old projects - happy days! ? I then disconnected the SL MKII, added a virtual Midi cable (Lower_Keyboard) with loopMidi, rebooted, and opened the project again (note, I hadn't enabled the virtual midi cable). Still good, no changes the the midi input I close the project, connect the SL MKII, and open the project - still good, no changes. I close the project, enable both the SL MKII and virtual midi cable as inputs, and open the project - still good, no changes So, to summarise at this point - if the project only has midi inputs from physical midi devices, they work exactly as expected - they are not changed by the addition / removal of other physical or virtual midi devices I then close the project, disconnect the SL MKII, open the project and add another track using the virtual midi cable 'Lower_Keyboard' as the input Opening and closing the project works as expected, the track inputs stay as they were originally saved I then close the project, connect the SL MKII, open the project and.... The midi input from the physical midi device stays the same The midi input from the virtual cable is changed to accept midi data from all active midi inputs!! ? Sooo... this to me really seems like a bug, inputs from virtual midi devices are being changed when new physical midi controllers are added to the setup, whereas inputs from physical midi devices are not changed. Getting to the limit of my understanding now.. I hope someone can chime in with an explanation, or confirmation that this is a bug and I can report it. Cheers, Matt Just to add, this seems like an edge case scenario that only happens when you add a new midi controller to your setup, but it affects me a lot. E.g. When I open a project in my rehearsal space, that I've worked on in my studio, the inputs from virtual midi devices get corrupted on opening. I even have the same PC and midi controller keyboards plugged into the same physical USB ports at both locations, but it's not enough!! Because there is some gear connected at the rehearsal space that has USB midi functionality (even though it's not checked as active in preferences) , it's enough to trigger this bug. Link to comment Share on other sites More sharing options...
msmcleod Posted March 7, 2021 Share Posted March 7, 2021 Have you tried using "Manage Presets" , creating a preset for just the Upper or Lower, then using the preset instead ? Link to comment Share on other sites More sharing options...
Matthew Carr Posted March 7, 2021 Author Share Posted March 7, 2021 (edited) Thanks Mark - that looks interesting, never come across that functionality before so will give it a try! Updated: This looks like it could be a great workaround, on a simple test it seemed to work, I just need to try it on a more realistic situation - I'll give an update once I have Thanks again Mark, really appreciate your help Edited March 7, 2021 by Matthew Carr Updated Link to comment Share on other sites More sharing options...
Matthew Carr Posted March 7, 2021 Author Share Posted March 7, 2021 Spoke too soon, as soon as there's a mix of real and virtual midi inputs, the issues start up Project with two tracks: one input from a preset mapped to virtual midi cable one input from a preset mapped to physical controller All mappings look good Close the project, connect another physical controller, open the project and... The mapping for the virtual Lower_Keyboard (PrLowerKB) stays mapped correctly The track with input from the physical controller LX61 has changed to receive input from both virtual midi cables, and the the newly add physical controller SL MKII. The input from the LX61 has been lost The mapping for the virtual Upper_Keyboard (PrUpperKB) is changed to receive input from the physical LX61 If I attempt to view the mapping for the physical controller again, the screen shows no mappings - I think this is a different bug on the Input Presets screen (sorry) If I open the preset manager via clicking on the 'Manage Presets' button for the track, the mappings are shown If I use the drop down list to select the preset, the mappings are not shown Hopefully this helps Mark, please let me know if you need any further info Link to comment Share on other sites More sharing options...
user 905133 Posted March 7, 2021 Share Posted March 7, 2021 (edited) 11 hours ago, Matthew Carr said: My gut feeling is that this may be to do with the way virtual midi ports are being enumerated for tracks with input echo set to on. I'll do a few tests and report back. This was my guess when I read your original posts yesterday. Thanks for taking the time and doing some tests, to msmcleod for the Manage Presets option, and for your follow-up explanations using that option. I started a project idea that never got implemented as planned for the Summer of 2020 (outdoor performances using indoor gear, including networked audio PCs) and this option might be very helpful if I implement it this summer or next. So, thanks for raising this issue here! Edited March 7, 2021 by User 905133 to add a missing word ("it") Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now