Still problems with Message.sendToMidiOut();
-
Could someone explain why this test snippet doesn't work sending generated midi out?
this are my setting:
HiseSnippet 2458.3oc2Ys0babaEdoj13PZaMNcRyzG5zAUSyzUYXnIscUblTWQKIJaNVWXLocSlNstP6BRhpcAn2ET1Lc7L9k9+n+TxOg9Zm9R9I3+AsmCvRtX4EIZk3dSOPa.bN37gykObYaEK8YIIxXmBE6LZ.yov0baORn5uaeJW3zbOmBumamFs63rynAzjDVfSgBq9.brBEWyQ+2a1dGZHU3yx5xw4oRtO6.dDWk0aq5OhGFtOMf0gGYI8cp2zWJ1UFJGB3XU2pNCn9mR6wNhhhshK.hFAbkLtshpXINEVaGYvn18kuPXj+o7D9IgLrQMm1vDY5deYX.hXrWmc6yCCZMd8l33TvsU1peUyp+CcOjGvmzelW3F5AHYZX6OJrRd3sZN3UyFdUsf2bfTAKHslARefaa+X9.U1HHdtpaSghE2kBtcanXj0YkUul6tRPBgpRD8T19wPiIZ3sU0pkIvOa9EkJAt9DE4LZL4Aw7fCj8N3jPx8Hi0tGSsqLZfT.M71HSjM.cyTsULCQviXiRNO0yKV9o3nm9Hg7jEppY37pb.SzS0+bUKSj7p9TV34pW534UpoHf6Sg.8ArfEposP4U+3AJtTriRrPcmHQdEMA0CnmvBqsPcsEBUuToXVORqGk.Z7698SBzcdHztgnGWvp3GyfD1NwTQx.Yr5gTQPHK1CTtyCqjvTMDTHsEi4dp3grxjZ2EmXtHDzlzcnvGgKoGH.ToH5w7nw8pUl.+dK8u2dyR+4RECk9zPhBrqIHh.+ozvgLzRoih4LYwp4IwYfDoQk7CWpHuKQaYxGiV4djpaVpHX2h1ghJATEsBMbPeJLQ0pT8KlVfX1.nZWomSXRKlOYE8GdanXuTsQYzqV4OI4BuMJuwlikOcgvDYNX.msoQCBYI6Ki+xgzXn.bGvmm3U6le9VjOAf6mPtylvOgoSRWYLwSP3BzFvxPuNzKvI4FVqdT.iDEu4MKtqNbRNDfMPd9Pj7KNQOnAZQSG4yIoYcWrXDtRQpG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V2B8WBun6gXaRswO5fqa0JUwqyweluO5h+TXGg4qystD5b6KgN24Rnyu5RnyVWBc9rKgN28b0A2879CUxHSIGzQqF5G+oPAyGOUmo67u.9PcGz.
-
Unfortunately I think at the moment this function only works in theory, have you tried to see if it works in the JUCE Plugin Host?
Midi Out worked for me in there but never in a DAW (Ableton) I played around with it quite a bit as I really need this function but no success yet - there needs something to be done on the source side still I think. -
@ps said in Still problems with Message.sendToMidiOut();:
Unfortunately I think at the moment this function only works in theory, have you tried to see if it works in the JUCE Plugin Host?
No, where can I find the JUCE Plugin Host?
Midi Out worked for me in there but never in a DAW (Ableton) I played around with it quite a bit as I really need this function but no success yet - there needs something to be done on the source side still I think.
Yes I've played around with this for a looong time now but still no luck :(
@Christoph-Hart any suggestions?
-
@ps said in Still problems with Message.sendToMidiOut();:
- there needs something to be done on the source side still I think.
Do you mean in the JUCE code or Hise?
-
@ulrik the plug-in host is a little helper app that comes with JUCE itself it‘s not included in HISE as far as I can remember.
-
@ps thanks!
-
@ulrik I assume the HISE implementation as it doesn‘t seem to be a problem wir JUCE plugins (assuming by not finding anything in the JUCE forum and being aware that a lot of JUCE plugins have the function working)
But It‘s very strange that the plug-in host can receive the generated midi and the daw will pass the input notes. There is nothing logical that I could come up with that could explain it. -
@ps Which DAWs have you tested?
-
@d-healey I tested Live 11 only - as I used midi out in live countless times with other plugins so i can be sure it‘s not a user error on my side and if something doesn‘t work in live it‘s not something I can implement because a fair share of my users are using it. But of course it would be interesting if it works in other daws - I’ll see if I can find my little midi out test project and post a snippet for others to try. Now that I think about it I believe I tried in logic as well.
-
@ps Try Reaper too. If it works in some and not others it may help Christoph narrow down the cause.
-
@d-healey try the snippet in Reaper and tell if it's working for you
-
@ulrik said in Still problems with Message.sendToMidiOut();:
@d-healey try the snippet in Reaper and tell if it's working for you
Doing some tests now. First thing I notice is you're using
Message.sendToMidiOut();
but you haven't specified which message, I assume the call should bem.sendToMidiOut();
-
@d-healey Here is the most basic and secure way I could come up with to demonstrate a MidiOut case. This snippet works in the JUCE plugin host but not in Live.
I'm using containers as they are making an encapsulated midi processing possible.
In the Daw the midi you receive from the plugin should equal the notes you hear and not the notes you input.
HiseSnippet 1058.3oc6X00aaaCEkz1Zn1scXcqXXOpG1CtXYAVdcMCHXnIweTXr5XiHmt8VAiDsMQjH0nn7lwv9GtG1+i8R+GrcojcjbphqifWwxp8CAg268Hd38iin8PovgFFJjHb0QyCnH7CLrmyUSaMkv3ndsQ3GZzuW6dCNeznN1iPmLOfDFRcQXb4WnCAWsBJ9yad9IDOB2glZBgdkf4PeIymoRsN7nef440k3RGw7yD8SOpmif2R3Ih.5T1nAJf3bIYB8ThNrRFH7G0wkoDRaEQQCQ3JmHbmaOU7K7j3eEKjcgGUuvBYCOnDycEdtZFqshZMk44Nb4wNDgvFCSSBkSRBO1nOykck8zjwmD6vLEQ17Atz5nmUV50XyoGNC8pjPuGYX6HYApTOZtceidbEUNl.kfrzJIVD9uLZIf.3p88IWR6JgEWAn9yZzXOS3OO4vZ0l3Itf3YxM+dyFGNNh6nXBtofepPQGvq+jZ+VspZm8g8FJO6OgpztNMx+BprN7D98ZlWG13wI3tlOMijBOOMtbbqaPjqCXcd7ltm4LhWD8p.gL0pkBiatTjsSwIIAkIPAuGmoFDP42TABsHqB+248ZSTDcMagMHt.pTwzT.2lNCFFRpfUMZSCuTIBfwg2p7BMYB2HOhZ0NO831BGPNXkRrtNxCYp4YGGud6X4MqcLmS3FRwGYLjobllOGKkCGgL0+FbbwP7CM5LdL0QkRvJFc+o0NwtU196cCBoOHd9CVQkVaCczfMVGEW9NktYgqBatV4msvZJirxSyrTKrg4Mn.tT8iMgKjzNyfw85JIHBcXspyHRSNDKHRF2DrefGYtFbc9WY0bOSqlGjMrl4E2AWE15zSSfwSLcx7XZzyst1fF5Zb27sDp2IFuSL9CPw3l6DiuSHFi+i2oVbHk6NRnOcChTuiahtgX1IJ99STbq7EldOJPt04awEK25T4iSnx8MrAMxXwyXh74wqM+QxLp4Knf5oNottqy9maeEzANJX6GII7v.Q3JOXapOajfqyHoFOOD91tze9LcUNq8VBhLWWu44cgCYtXrIpHYb6xw9hHtZk1ixabM4VnrW4+z+7D2AtwzJuHp5RNZy7C7nc3yndfBXLG+TPxaLIxSsz5p808EbQvTAm4jsneFUIYSlPkY4dtGniUJhykoVd7QmQ8njrMve4QuDZ7HRHOQKXtv5V+R4bqWegQBcM0Cil++PTu7Glh5mIhTL9j9DnQ8WgKZbZjuMnk5PAlv4TO8kOvkz5gIqanWmHlxciW72vmENszqwKbZsz4t83VrG9DGo30NIWOTOSduXKP8iG+CcW0nudsoEJ9Ji.NiF62.4CJ6u1wQ2170PcNeLMK.luo.XdZAv7sE.yyJ.lCJ.luasXzuT83HkvOQRALLrS78nw3NbBLQFO8h9GnReieM
-
@Christoph-Hart @ulrik @ps MIDI out doesn't appear to be working here.
I made an incredibly simple snippet. Just click the on screen keyboard.
HiseSnippet 925.3ocsUsraabCEkT1zHRoEsAnq5pAAYgMfqvHWW+nYQbrdjHjHagHE2toHfdFJIBygb.GN1YPP1zur9YjOi7G3bImQZF4p5lJfpEB593v6gWduGMTqBXIIJMBWebVLCg+FxnLoYV6YTtD0uCB+.xPMKgYPmlESSRXgHLdiWXihquIx84yO6TpfJCXktPnKT7.1q4QbSo2gm7JtPziFxFyipj89mzOPIaqDpTfIaP7QwzfqnSYmQsoUifva0MjaT5QFpgkfvadpJLazL0Mx77ufmvuTvrFsPifCJ2cOkHzxXqWT6YbQ3v423DDbJCKu+aje++Ax.dHeg+x9v26B3UhnZ+.WaY5swRzq0+D8VAkvUnzl4T5QjQAZdroLhkOOjzWZX5ITnsWkJ44hvehzVAIHMMinWw5oAiE.19.e+c8fu14oSRkAFtR5ojmoLrykauSiOzn9.nPP+uYBSFNVYu4mmZ1dmm13iM7tKjISxwbmX1xqUBASuxv1I.88AbaYZzkL8tdWSEorEIBskk60a800qCx6FURTI6K4lyiYE12+vBpncB+5s86PMT6iUgOHuXl1vszA2gcML4m+zUmzgkbkQE6xMJVIsm.9glhYs7GqdBE0vkSGyAZyAF7cjptZgde0EqLDlfeRIgxqTCxqXYWpn5PzkSmuIUeqvvvasf3FVTo2au81ebYu6U31krg8dSYxyqq6NW6OvjOzvy6wP09MdnY1i+UuV62zeWquN7jXAM67.C8Z1YtWOH7DpHg4h+Z0M.Lv0wNyWxysZs2gN61oIFUzKzz3Y7fjkP1gMglJLOONlQ0VkFHpQmlG7TAHV.G0afNlBB327ficeN5H+CO1+vVtrFqlNUvFnBYKcx1QaXIWJYBKUb9daB6BV.LhUgKKpFDrmfZFYxD24jF1c9Svc8CipZSYU1at+txvJ09fFeDcismt309u9ySP+c8.PIRElBbXY4IqlbQ.XOZIMA6huLgaxppY+ePyx+d0r9Zo3iHC4lfYqli0VAGgMr+O3XgR+2R5NYB7LWRvMI8980UV+eo7uQkZWmGPMZNrMSfsiQv9U.q38OwtTWytTma6asscfQf.ryvtbVDrk0FWDr07fnHZfV8tfb0S6+k7.mGfSR2eiVmLvZ60B4TTAbD+l9nHXC3cAA1q+OABeqFydqAledMvr+Zf4WVCLGrFXNbMvbz8hwJ977TPzKec.bLrqSlEi6JovjkaJD8EkuGnXA
-
@d-healey said in Still problems with Message.sendToMidiOut();:
@Christoph-Hart @ulrik @ps MIDI out doesn't appear to be working here.
I made an incredibly simple snippet. Just click the on screen keyboard.
You snippet works fine for me after I have added a few settings
and
Notice how you have to add a new channel in Ableton Live to grab the midi out of the plugin.
Explained here
-
@jonhallur Oh that looks promising. @Christoph-Hart Why it no work without those extra defs (or why they not added automatically when the Enable Midi Out checkbox is enabled)?
-
@jonhallur ok, and you haven't changed anything in the source code, or in the projucer project file when compiling Hise?
I tried your settings (changed in Hise) but still no luck, I compiled the project as an instrument au and vst3, nothing in Live or Reaper.
I'll try to compile it as an FX Plugin instead..
-
@ulrik We are indeed compiling as fx.
-
@lalalandsynth ok, Davids snippet works when compiled as fx but not my snippet.
The difference between them is that David has the Message.sendToMidiOut() in the NoteOn callback and I have it in an inline function, the TransportHandlers onGridChange function, and I have to have it there to be able to send on 4 midi channels from 4 MidiPlayers... ;( -
@ulrik Did you try changing
Message.sendToMidiOut()
tom.sendToMidiOut()
?