Sending Midi Out from Sliders (Instrument Plugin)
-
@David-Healey Oh yeah, it works in a MIDI processor outside the main container.
Do you think there could be any issues including it inside the macro modulation source? It works, but I’m not sure if it might cause problems with other things.
Or would be safer creating an empty container?
-
@bendurso Generally it's a good idea to put all realtime stuff outside of the Interface script.
-
Great, thanks.
Now the onController actually receives the MIDI input, but Message.sendToMidiOut() doesn’t send any MIDI output.
-
@bendurso Are you compiling as a VSTi?
-
@David-Healey yeah :)
-
@bendurso A lot of info here that might help
https://forum.hise.audio/topic/13986/hise-midi-fx
And here
https://forum.hise.audio/topic/12685/midi-out-plugin-is-not-sending-any-midi
-
Thanks, I had already found those posts.
However, I still haven’t found a solution. The console output confirms that the message contains a MIDI controller number and value, but sendToMidiOut() doesn’t seem to be sending anything. I’m checking with MIDI monitor, and it isn’t receiving any data.
HiseSnippet 1276.3oc0X8raSbDFe1XuTroEUZohdbTTO3.nnrNNwoTUESbRfHvwtwlPugFu6X6QY7Lq1crKlJtU0Gf9zzi8RuV0GAZeB5aP62L65r6BFvXRnJ9.n4a99yu46+aZEHcoggx.jUwNS7oHqO1t8DgZP8ADl.cvtHqqZ2fDpnA3HR6LwmDFR8PVV4tmlfUg7Hyu+Y6cHbhvklPBgNVxboOjMjoRn1p1CXb99DOZG1vTbWo1AtRQcIWNBvSN60P9D2SH8oGRzrsjM59jvAHqaZWg3tYEu0nzMVu5FcWuRUmJUKWcis1ZKB0Yc2tddesCcqpkQVWZOOlRFzVQTzPjU9cjdSZOP9ChHCbLKj0kS0GbPsAKGQdeI2S+D0TQ0Gv3dsl5nBQHK6VItsbQtsqa2f4wNkdh66SMWfSjHsCzZorvKWF34jFdqkBdy.RVofT9HHcM61tALeUxMZ7bE6CDPzrGAhSogRDunk9cK65RfCgZ0gjSn6G.GNUhRat1Z2FC+yJeSwhEYBNSPw8FIbULo.KEOPH65nEOPxK4JG5KEfhtMdLgOhtRwerXAtzkvwCAWxwv++s3FD0fUCjiDdkLLguI1obUs5KXxCWMjJ7h0HmF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TsojA8e.kgMYOA -
@bendurso Which DAW are you testing in?
-
@David-Healey I checked with the standalone and ableton
-
@bendurso Do other MIDI plugins work in Ableton?
-
@David-Healey I actually don't have another plugin with midi out to test hehe. But the standalone also should send midi out
-
@bendurso said in Sending Midi Out from Sliders (Instrument Plugin):
But the standalone also should send midi out
Should it?
-
@David-Healey Well I think
https://docs.hise.audio/scripting/scripting-api/message/index.html#sendtomidiout
Docs:
sendToMidiOut
This will forward the message to the MIDI out of the plugin. Edit on GitHubMessage.sendToMidiOut()
-