FX - CC input
-
@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! -
@d-healey Good catch! :)
-
@d-healey - great catch!! - off to compile now - but a nagging voice in my head says I did this already - where am I adding this:
Extra_Preprocessor_Definitions?
-
@Lindon Yeah, of your project, not HISE.
-
@d-healey - oh even better,,,,,
-
Yep confirmed that works - life saver as usual Mr Healey...
-
@Lindon said in FX - CC input:
Yep confirmed that works - life saver as usual Mr Healey...
Woah spoke too soon -- this broke HISE in a pretty permanent way - it now wont make any noise at all.....
-
@Lindon Broke HISE or your plugin?