FX - CC input
-
@Lindon the first flag Dave mentioned is the one, and you also need to tick something in the Preferences too but I’m not in front of my computer to be more precise...
-
@ustk yep got it - I think what you refer to is:
Enable MIDI input FX
in the preferences
So recompile with the flags Dav suggests in projucer and tick this and thats it?
-
@Lindon Just the first flag,
HISE_ENABLE_MIDI_INPUT_FOR_FX=1
, and you'll probably need to add this as an extra definition in your project preferences before exporting too. -
@d-healey Yes but there’s no need for the extra definition, it works straight away
-
@dustbro Maybe enabling the MIDI input (in FX plugins) is the cure of the "Write Automation" issue below in Logic Pro X? Has anyone tried?
https://forum.hise.audio/topic/3277/possible-improvements-to-exported-plugins
-
@d-healey said in FX - CC input:
Perhaps this
Or this
OK Well I'm finally getting around to this and now I'm lost.
Neither of these options seem to show up in my projucer files under windows. can you point me at where in the projucer I have to do what?
is it this?
-
@Lindon It's in the hi_core section.
-
@d-healey ok thanks - so no need for any extra processor definition and only need to turn on Enable MIDI Input FX in the preferences when I'm done and have a new compiled HISE?
-
@Lindon That's how I understand it (I've never tried it mysefl).
-
@d-healey thanks.
-
@Lindon Once compiled there's no need for extra definitions. But you need to activate it in the preferences:
Also, you don't needHISE_MIDIFX_PLUGIN
, onlyHISE_ENABLE_MIDI_INPUT_FOR_FX
,
-
@ustk well after all that I'm still getting nothing from the compiled plug-in - I right click and expect to see the MIDI learn menu - and nothing is showing up...
so to be entirely clear:
I have recompiled HISE with the the two parameters set in the projucer = ENABLED
I then opened my project and opened the preferences panel and set Enable MIDI input FX to ticked (on)
Thats all I have done - I havent set any flags anywhere else. like this:
HISE_ENABLE_MIDI_INPUT_FOR_FX=1
Which I assume I dont need to do?
-
@Lindon bump- anyone? What am I doing wrong?
-
@Lindon Perhaps it only enables MIDI input (which you can detect with your script) and not the MIDI learn feature, in which case I think we need to add MIDI learn to FX too.
-
@d-healey yeahbeginig to suspect this - so I will do some experiments...and report back.
-
@d-healey - yep. You are right - its receiving midi data in - but there's no "right click for MIDI Learn" functionality...
-
@Lindon Yeah that's what Dave is saying. I myself use the MIDI input in my FX plugin, as I need notes to trigger some functions. But no MIDI learn, I should have mentioned that.
-
@ustk all good - off to build my own MIDI CC mapping panel now...
-
I'm looking at the source code now and saw an interesting comment:
/** Allow the end user to right click on a knob to MIDI learn it. On compiled FX plugins, this is deactivated by default (because the FX plugin won't get MIDI input anyway.) */
I'll keep digging.
In the meantime, you could try compiling with
HISE_ENABLE_MIDI_LEARN=1
. -
I can confirm that adding
HISE_ENABLE_MIDI_LEARN=1
in the extra definitions enables MIDI learn for FX plugins :D It's so good to have access to the HISE source!