FX with MIDI sidechain
-
@Christoph-Hart May I bump gently :)
The development is stuck here, I don't know if I can keep going on this part or if I better have to remove this functionality
But MIDI sidechain is the nerve of this plugin, and the others to come :( -
@ustk I've been keeping my eye on this other thread about sidechaining...
https://forum.hise.audio/topic/2002/multi-input-for-sidechain-ducking
I know that thread is about sidechaining from an audio signal and you want to use midi, but if there is no way around doing it with midi in the end then maybe you could rework your plugin slightly to trigger from an audio channel instead (when the method in the above thread has finally been conquered). It's better than scrapping it completely :)
-
May I bump gently
I'll try something tomorrow.
-
@Christoph-Hart Oh that's great, I can't wait to see it :) Finger crossed :crossed_fingers:
@SteveRiggs Thanks buddy, but unfortunately I don't think this way can lead to a viable solution in my case. Thanks for the shot though ;) -
Guess today's your lucky day:
https://github.com/christophhart/HISE/commit/813d77b0572eed51ddf2afdd6f1c4bb71c8963ff
And an example project:
https://github.com/christophhart/hise_tutorial/tree/master/FXWithMidi
All you need to do is to tick the EnableMidiInputFX box in the project settings in HISE, and it will set all build flags correctly. If this is enabled, the MIDI processors in the root container will be processed so you can react to them with your funky vowel filter.
I've just tested it in the JUCE plugin host, so not sure how many hosts actually support that.
-
@Christoph-Hart Youhou! I'm very grateful Mr Hart! I know you have piles of work at the moment so thanks a lot for doing it so quickly
I tested it and it works smoothly with keys (although I haven't tested the controllers yet)
VST and AU are ok (on macOS at least).
Theoretically, it should work in all major DAWs as the procedure is the same (FX on audio/bus track + a MIDI track feeding the FX) -
@ustk Just rebuilt and checking now myself. Will we be able to get midi in from a specific channel now from the DAW? Or is this just for midi notes? For example, a simple kick drum running on a midi track in Ableton could be the trigger, and then our plugin on a separate audio track routed to it?
-
Trying to work out how a combo box could be added into the UI to pick which midi channel the trigger signal would be coming from...
-
@SteveRiggs said in FX with MIDI sidechain:
@ustk Just rebuilt and checking now myself. Will we be able to get midi in from a specific channel now from the DAW? Or is this just for midi notes? For example, a simple kick drum running on a midi track in Ableton could be the trigger, and then our plugin on a separate audio track routed to it?
Yep it should work ;)
@SteveRiggs said in FX with MIDI sidechain:
Trying to work out how a combo box could be added into the UI to pick which midi channel the trigger signal would be coming from...
Message.getChannel()
in theonNoteOn
callback is what you want
You just have to compare it with the combobox value to authorize or not...
And keepall Channels
selected in the MIDI channel pref
OR
just use the MIDI channel pref :) -
@ustk Badass! That's another one on the list for tomorrow then :) Thanks dude
-
@ustk
hello, I want a snippet to understand what you did if it's possible ... thank you