Midi out plugin is not sending any midi.
-
Hey, I have quite a simple project with just a midi player that is playing a sequence.
I know this has been asked several times but the solutions are still not working for me
Setup:
- MidiGeneratorPlayer plays a sequence.
- Connected to a ScriptProcessor (one level down) with Message.sendToMidiOut(); in onNoteOn/onNoteOff. (both are received)
- Internal HISE MIDI monitor shows Note ON/OFF events correctly.
- "Enable MIDI Output" is checked in HISE project settings.
- MIDI drag-and-drop from player to DAW works.
Problem:
No MIDI output received in DAWs (macOS, tested in Bitwig & Ableton).I've added this to the Settings in HISE (do I need to compile HISE with that flag too or just the plugin)
Questions:
Why isn't MIDI being sent out from the plugin despite Message.sendToMidiOut(); and internal MIDI activity?
For the "Enable MIDI Output" project setting: Does HISE itself need a special compile flag, or is just enabling it in project settings and recompiling the plugin enough?Any ideas what I might be missing?
In case: I have a MacBook M1 (i read about some obscure bug with that some years back?)!
Thanks!
-
@oskarsh what have you compiled it as?
You need to compile it as an Instrument when vst3, the MIDI FX option work only for au and LogicYou don't need the extra definition setting since you have checked the "Enable Midi Out"
-
@ulrik wait, I need to compile as instrument?
I only did compile as FX and MIDI FX since I thought that would be the proper way.
Can Logic also read this instrument and interpret as midi?
Does midi out only work in instruments?
-
@oskarsh said in Midi out plugin is not sending any midi.:
@ulrik wait, I need to compile as instrument?
Yes if you want it as an vst3
I only did compile as FX and MIDI FX since I thought that would be the proper way.
I have never been able to run a vst3 compiled as MIDI FX, I think it's broken in Hise
However the au version of MIDI FX works at least in Logic, not in Ableton or ReaperCan Logic also read this instrument and interpret as midi?
I don't know, try to compile it as an au instrument and see
Does midi out only work in instruments?
I think you can outpout midi in FX as well, but some daws will not read it, and MIDI FX as au with Logic
That is my experience at least
-
@oskarsh Did you have any luck with this? I am having a hard time getting FL Studio to receive any MIDI. Pretty much the same setup as yours. I am trying this on Windows for now.
-
Ahhh okay, unless you figured this out already it appears to be an issue related to the VST3 SDK rather than something with HISE. Most certainly there is a workaround to get VST3 working but VST works perfectly fine. I plan to do some more digging on how to get it setup with VST3 but my only advice is to just use VST for now.
https://forum.juce.com/t/solved-vst-midi-effect-plugin/51475/8
https://forum.juce.com/t/vst3-midi-and-juce/31100/23
@Christoph-Hart apologies I know I should improve my skills a bit but could we add this to the HISE wishlist? Even better if you could point us in the right direction to solving this I'd be happy to try and take it on. Even when I export the plugin as an instrument I can't seem to get the MIDI out.
-
@HISEnberg Regarding VST3, Is it only specific MIDI message types that are not working, or is it not outputting any MIDI at all in your host DAW? I have built and tested at least a dozen VST3 plugins with MIDI output now and they are working.
I have encountered trouble at times when testing a VST3 plugin and it does not provide the MIDI out, and in those cases I found that there may be a bug with the "Midi Settings" interfering with build.
To explain, here is a screenshot of my "Midi Settings" when testing with a MIDI controller in HISE:
I have the AKAI MPK mini 3 connected and selected.
Sometimes when opening a HISE project that was configured like this and I have my controller plugged in and available, it is not connected in HISE and appears to be not selected:
I have noticed that if I build the plugin in this state that the resulting VST3 plugin will no longer send MIDI out signals.
The solution has been to get the MIDI controller reconnected and build again.
I am not sure why this would effect the MIDI out of the built plugin, but this has been my experience.
So, it may be something to look into when trying to get MIDI out working for VST3 Instrument build.