Having issues getting MIDI generated in my plugin to the output
-
I used this tutorial from David Healey to make an XY Pad (thanks David!):
https://www.youtube.com/watch?v=NYc44pKQHxAIn my version of the XY Pad, I am using it to generate CC messages.
This is working internally, and I can see the CCs in the Event Logger:I have a "MIDI Out" Script Module which just sends all of the MIDI out of the plugin:
I have "Enable Midi Out" selected in the Settings:
When I export as VSTi and test the plugin with a MIDI monitor, I get passthrough of MIDI messages (note on, note off and MIDI CCs get passed from the input to the output), but I do not get any of the CCs generated by my XY pad from the output of the plugin.
What am I missing?
-
@VirtualVirgin do you have snippet?
-
Hi ulrik :)
I am new to HISE (started a week ago), so I am not sure if I am exporting the snippet correctly. I used "Export as HISE Snippet" then pasted from the clipboard to a text file. -
@VirtualVirgin said in Having issues getting MIDI generated in my plugin to the output:
Hi ulrik :)
I am new to HISE (started a week ago), so I am not sure if I am exporting the snippet correctly. I used "Export as HISE Snippet" then pasted from the clipboard to a text file.Instead you can paste the snippet between the code tags
I moved your MidiOut script and placed it in a container under the Main level
Try and see if it works when compiled, it works here in HiseHiseSnippet 1787.3oc6X0saaTDEd1jrs0leJHwMb2HyEcSIjX23jVnBvsNITKZZivkRhPnpw6N1dTWuyxtiargVo9Lv07FvKAOB7nvMbEWDNmY106XGm1jnVt.ZTjsmyb9a9N+L+rWhzmmlJSHNkev3XNw4scaONR0uYelHhzZKhya4tqHPzr48GpH2dbLKMkGPbbV7qPFbJsDQ+2e9k2lExh74EjHjGJE976JFHTET2qwWKBC2gEvefXfE20azxWF0TFJGBNyhtUIwL+Gy5wuGCYaAWxcXo8INW0cS+Ocipc3U2XiaTe8aTu9l02bipcqtd2N2Xy5cV+50WOn9F07Wm3bgsCDJYRaESwSINKcaYv318kGFYLvCEohNgbbPMRavxFx6HCCvkH9aRy9hvf8xQoTBwwcuBLaQCl8AZHZB8Br68zSPKjvF.cVXZ2awobuZmj6MGWxwxkVx3Ruuaa+DQrpXFSrrUjhmzkAwIaWwvKYgEtnaSIvQjZ0ArGy2IAFLQBuMqV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YUv5MHeaqsfDP73DYtE3pw7Dk.QAms3OANLm4vEkb2hm9XkLFPmI6TBjMF9cxO5AlUos6Ec0EajQE16fFisGnKwKHLtgoX2lRdSQf1E9ke6WOBoVzMAoRNZGMUHcWdXdAM36W1EZuRKHPr74KepPaKGukki+G+XiT0XLWnr6CQjBpzHoJdL1FxN3LfUnge+QytZ+hisZ+hFCDAAg78joBLq093yA7trgglc.sswzXwQGcT2oQnqogn+5t+MRVIkgJAD+9PWyZjhmrB22+frs5IJ9HEFLyQAYxAmYjaeKjC.qBjqwy+uGxs+Iib6OExcwoqStKqSVcxkb0+tlc91N1nlrgQ2W.zM8.xLnwVGCMp23rX2qYY2eOzxt8etsc2eV61Zd183WIAtLjLXXHSM8Mjv6QlMAFuruVBd0iHHNN1NZM60lV5j6OWct2patchOkt666tmP42e996BywewV6ul82rKg9Nta2sKjsU3rK4ty9uvab9J2UtzI7FBus9ZkvHdRsWEOhP7o9QDbV7EcI6pmgKYuzqq68uzo6.Fujmk3T+F.kc2s0Vsny9bN4OAvlNtzS3vd4m+JkGE7.ItBAk3crSdM0g.OkxL6gCOQwdywFsO1345Lauo07+aZMadVhdv8ISDvd6tPkQan0nOG7jH3z4XdpyBXFkYbUbLhLsg5N8.3zPGkMYMbrS1j0xm7eEaLf4mHeT1yQgc6tjlBrtizuNbI2cwwzZydsFBANNn3Q99SqpiI30NuBt94Uv5mWA237J3lmWAu94Uva7xEDaseqgJ4.SIKgr6daqao43rcD9Dk5pCx+rRN+aB
-
@ulrik confirmed, it work in Logic, compiled as Midi FX plugin (au)
-
@ulrik
Thanks for checking this out :)I built this from your snippet using VSTi and tested in Bidule and it works (it passes outside MIDI thru and it sends to the CC generated internally from the XY Pad).
Now,
when I go to other projects and try to recreate this by either moving the MIDI Out module to a new container, or just creating a new script processor inside a new container, HISE has crashed on me 3 times thus far. I am not quite sure exactly what is triggering it, but HISE just seems sensitive to creating and using a MIDI Script Processor. I will keep trying and see if I can find a particular method that works without crashing. -
@VirtualVirgin said in Having issues getting MIDI generated in my plugin to the output:
I will keep trying and see if I can find a particular method that works without crashing.
You can do it the old fashioned way and open the xml in a text editor and cut/paste the modules - keep a backup though in case you mess it up (I always do!)