In the Generic Remote device the path was: VST Control Room > Control Room > Ins. 5 VU Meter > Bypass. I don’t see this option in the MIDI Remote. The only one I can see is: Control Room > Main (or Monitor Channel X) > Bypass Inserts, which bypasses all Inserts of the given bus.
Unfortunately, bypassing absolutely doesn’t help.
Before “Midi Remote” was implemented, I was able to bring up my VU Meter (or any other plugin) with one button.
In “Generic Remote” it has the following path:
“VST Control Room” / “Control Room” / “Ins.5 (name of the plugin) Edit”.
Moreover, I could bring up any plugin not only from Control Room, but also from any insert of the mixer for a selected track.
Now those features seem to be missing in “Midi Remote”, that is a huge drawback in my opinion =/
Oh, sorry, you are right. I was thinking of it and during the process of thinking, I switched in my head, you asked for the Bypass. Yes, you are right, the “Edit” command is missing in the MIDI Remote.
So, in order to bring up a plugin with a midi button, I should use “Generic Remote” instead of “Midi Remote” unless Steinberg adds this feature one day?
There are also more troublesome but less likely edge conditions with that one as well. There always is when trying to address something optional by name. But getting them by their position should be possible.
There is likely some way to work pre/post into the mix though.
I’m fully aware of this. Yes it is ambiguous, but I don’t want to query the current channel to find the correct insert slot by myself each time due to performance reasons. Just return the first one that is found. I very seldom add the same plugin multiple times at the same channel. I guess this works 99%. I strive for a fast workflow. My implementation would support 1 instance anyhow, because I don’t want to have an additional selector to choose between the multiple instances of the same plugin. Which for me is a corner case. Then I use the mouse for that one.
I’m trying to do the same thing right now (open insert slots with hardware buttons on my controller)
Has this been implemented in the API yet? I can see that there is .mInsertAndStripEffects but I can’t figure out how to use it to actually open specific plugin slots.
This is my code:
// Create plugin viewer variables
var pluginViewers = [];
for (var channelIndex = 0; channelIndex < 16; channelIndex++) {
pluginViewers[channelIndex] = quickControlsPage.mHostAccess.mTrackSelection.mMixerChannel.mInsertAndStripEffects.makeInsertEffectViewer('Slot ' + (channelIndex + 1));
pluginViewers[channelIndex].accessSlotAtIndex(channelIndex);
}
// Combined functionality for Select Buttons
selectButtons.forEach(function (selectButton, channelIndex) {
// Access the plugin viewer for each insert slot
var pluginViewer = pluginViewers[channelIndex]; // Use pre-created plugin viewers
selectButton.mSurfaceValue.mOnProcessValueChange = function (activeDevice, activeMapping, value) {
console.log('value changed')
if (isDAWControlPageActive && channelIndex < 15) {
// Reset fader to midpoint
midiOutput.sendMidi(activeDevice, [0xB0 + channelIndex, 7, 64]);
} else if (isQuickControlPageActive) {
console.log('Handling Plugin Slot ' + (channelIndex + 1));
// Open plugin editor
pluginViewer.mEdit.increment(activeMapping);
console.log('Successfully opened plugin editor for Slot:', channelIndex + 1);
}
};
});
So basically I’m trying to map the 16 track select buttons on my Faderport 16 to open plugins in the 16 insert slots of the selected track, but only when the quickControlsPage is active. When the other page is active those buttons just reset fader positions.
I think the issue is in this line: pluginViewer.mEdit.increment(activeMapping);
At the moment this code doesn’t actually open any of the insert slots, what am I doing wrong here?
However, they’re just for toggling, so the accessSlotAtIndex is more powerful since it allows both show and hide at our will and even we can sync the slots state this way.
I have no idea about writing code and would also like to open the insert plugins function in the control room via MIDI remote. Do I have to insert your code somewhere for that?