@David-Healey Yes, it also works in Ableton, but you have to route it to a new MIDI track.
Posts
-
RE: Sending Midi Out from Sliders (Instrument Plugin)posted in General Questions
-
RE: Sending Midi Out from Sliders (Instrument Plugin)posted in General Questions
@David-Healey Oh.. on reaper it works if you select Record output midi, instead of input midi..
-
RE: Sending Midi Out from Sliders (Instrument Plugin)posted in General Questions
@bendurso Oh, the problem might be that HISE clears all MIDI messages on the midi out if the plugin is not a MIDI FX?
https://github.com/christophhart/HISE/blob/develop/hi_core/hi_core/MainController.cpp#L1641
-
RE: Sending Midi Out from Sliders (Instrument Plugin)posted in General Questions
@David-Healey Well, I tried this snippet using just the keyboard: https://forum.hise.audio/topic/6575/still-problems-with-message-sendtomidiout/28
It doesn’t work in Reaper. The idea is to transform the artificial notes into real MIDI notes so they can be recorded in the DAW.
This is the simplified snippet I’m trying to achieve: (I'm exporting as Instrument Plugin).
HiseSnippet 1060.3oc6WstaaaCElLNbnwMCaEXO.B8WICAAR1xVxs+XtwNt0n0IF0tY6OCEzRzVbQlTPhJoFAEnOZ6gYO.6MX6PIeQNW5BLZFvtneDjyMd93g77cn6GK8XIIxXDt7vYQLDdWxfYBUPq.JWf51Fg+FxPVhxnG2mabZpBczrHZRByGgwkdo1I7Naix998e3HZHU3wVoBgNSx8XugOkqVoseyWyCC6P8YC4SK3scytdRQKYnLE.TIhIJh5cNcB6Dp1ssHnWQSBP3umXS8pa6axX0p5TaTUaGKamJN0bccoLqpdi78aXwbcpfve0w9bkLdfhpXIH71GI8mMHPdoHOAmwS3iBYZAKz.Hy4p6HC80aQsVTq.dne+EUpDDBS5uptUJut8cDcEZo9U0uuMyfwpHJV.wasN7JsF7rJBOyBv6VfDt.j1NGROgLvKlGoVYQimGS5JTr3wT3bpHTx8Eg+URKI3fPc3T54rNwfvx.1qto4AFve1+4iSEdJtTXHEmHUrSE6se4qJuS4OV135lFO9VsoSSrLLjEeql0WMh+bAtmHc5HV7AFWPCSYKcD19qWSI2cMs3QtW9ttfiRQWAWcZDSbWWDPyKUv+8ttsoJp9fXtNvuHVrhqg.tM6BnMH+XYGRaVx4JYTluSijB8Jf2UM+dT9AQmPIUwESFxAnx808gEUYg9vp9lSZNaoPyeo4kbeUvREe5plAL9jfU8ee5rlywXNfJSdMa1HIM1GMZxhtucI1Ubscp2npqIhqXSWX3wD6ZUZ3Z6V0pf9J4QzvtQcmJMpgTrOnJ1HmUb15mwjqJaX7THe+nFjO8YFV1GZdfVWadRTHc1odJ5ErSxNZAyiogIrL6uQdIDFnpQl3q34RVUbxjaklnjSeYLMJf6krVjsYioogpWDEwnwZ9IvpJNM23Qg.ECrTuEJsRvf4g0aj845Z5zvzwJyqgxISBY8j9r0VYcmMzoKDrPMTxz8tD1YLO39WArrLafwNgT0.0rvqsR8Odwgv00C2iiUqxRkE5OV3WH20K+QfX8Fb..6izOER45TRZh64Ffdp03AzM6hDtZVQh8uX7T2WH9DRetxK31w3V2BFgNuGBLNmc+qIGOdLbptBfaS57SOLT4ES+itigx6lQRCRrXquDSjit2SjwkdHFnt8+fGnVlzqa6t23sQKlm9aDi6XVYOXMfG2bXBS3OTp2TvZr29O+yMC8dFy0msdOC6+.yb+eNx+UvQ9VYp9oP8npXN7RHB7fgA.GkGa9HQ8cP7V5aK4xlZYcEX.zAjI7Gv2biVZY7biVKL92RNlR8hku2Ku6RS67nLMv9Vj8ad1gzSKaXgx53JdVNE5heum25K0MBrxlFX0MMP6MMvZaZf02z.c1z.c+qCTSx9hT3Mo4slHD7jsL5JL9XAEtkm0Qf9SN.4RuC
-
RE: Hise with Gumroad licensing systemposted in Scripting
@Avián You should use Server.callWithPOST
https://docs.hise.audio/scripting/scripting-api/server/index.html#callwithpostsomething like this based on what I read from the docs of gumroad (i'm not using gumroad, so I don't know if it works)
Server.setBaseURL("https://api.gumroad.com"); const var params = { "product_id": "1234", "license_key": "your_license_key", "increment_uses_count": "true" }; Server.callWithPOST("v2/licenses/verify", params, function(status, response) { if(status == Server.StatusOK) { if(response.success) { Console.print("License valid"); Console.print("Uses: " + response.uses); Console.print("Product: " + response.purchase.product_name); } else { Console.print("License invalid"); } } else { Console.print("HTTP error: " + status); } }); -
RE: Sending Midi Out from Sliders (Instrument Plugin)posted in General Questions
@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()
-
RE: Sending Midi Out from Sliders (Instrument Plugin)posted in General Questions
@David-Healey I actually don't have another plugin with midi out to test hehe. But the standalone also should send midi out
-
RE: Sending Midi Out from Sliders (Instrument Plugin)posted in General Questions
@David-Healey I checked with the standalone and ableton
-
RE: Sending Midi Out from Sliders (Instrument Plugin)posted in General Questions
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.KEOPH65nEOPxK4JG5KEfhtMdLgOhtRwerXAtzkv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kEUvMVTA2bQEr5hJ3VucA060b2QJ4vn5DXy5V6Yl2aYEsTsojA8e.kgMYOA -
RE: Sending Midi Out from Sliders (Instrument Plugin)posted in General Questions
Great, thanks.
Now the onController actually receives the MIDI input, but Message.sendToMidiOut() doesn’t send any MIDI output.
-
RE: Sending Midi Out from Sliders (Instrument Plugin)posted in General Questions
@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?
-
Sending Midi Out from Sliders (Instrument Plugin)posted in General Questions
I'm trying to send midi out from sliders and I tried using inside the slider callback:
Synth.addController(int channel, int number, int value, int timeStampSamples)
Synth.sendController(int number, int value)And then.. using Message.sendToMidiOut() inside onController
The onController doesnt receive the midi income from the sendController or addController.I have enabled "Enable Midi Out" in project settings..
and nothing..
Snippet:
HiseSnippet 1267.3oc4W0raaaDDdokoajRaPSfKRORXzCxAAFlx+HWTDXEK+SLRjsfkiSuErhbj0BubWBxktVIH.8Ped5qP6khdsOBsuA8Mnc1kTVjNJNppMIns9fs2YmY1uc1Y9lgsijdPbrLhXU43Ag.w5is6LPn52rOkIH6uMw5V1snwJHxIUzVCBowwfOwxpzdZAVkmkX9422bKJmJ7fQhHjSjLO3Ir.lZjz1MdLiy2k5CGyBxo8pM12SJZJ4xDDOkrWlDR8NidJb.Uq1L1jGQi6Srtm8pTu0W0eY.Vak5q0ckUq6tZ8Z0WaiM1fBtq3002+KcgMpWiXM2N9LkLpihpfXh0raI8Gzou7aDoGvIrXVWNnW3R5fmbp3ckbe8UT++jl8Yb+1CCTwDhkc6QgsRogs4saw7YWJeT36SMa3Lxh7APqYJBuREfm6aBdiARV4fzroP511c7hXgpQ6nwyMs2Wful8n36TdnjpKYlexxtoD0PnVJfdFraDt3RKpt9xKeeG7WK9UUpTgI3LA3zKQ3oXRgiT7Xgrqq17HIupmLHTJPGcemyo7DXwJurRYtzixcBvPxI3eefSKpp+RQxDgeUiRN2yws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kNojojg7mOBz4ZC -
RE: Midi Overlay Panels in Compiled Plugin Crashing DAWS?posted in Bug Reports
@Goodflow said in Midi Overlay Panels in Compiled Plugin Crashing DAWS?:
Line 40:
class MidiOverlayFactory: public DeletedAtShutdowngets changed to
class MidiOverlayFactoryI was having the same crash and was fixed with this. Thanks!
Seems to work on mac, windows & linux. @Christoph-Hart maybe this could be included in the dev branch? -
RE: Server.downloadFile with signed Amazon S3 URLposted in General Questions
@David-Healey Haha that make sense too :)
-
RE: Server.downloadFile with signed Amazon S3 URLposted in General Questions
@David-Healey @Dan-Korneff Great news! I was able to fix the issue with Amazon S3 pre-signed URLs and the HISE Server.downloadFile function.
Thanks to Dan's explanation of the source code (on the other post), the problem was identified:
HISE original logic sees the ? in the S3 URL and assumes it needs to separate and re-parse the query string into a separate parameter object. This process destroys the specific encoding required for the X-Amz-Signature, invalidating the S3 link.
So, I modified the ScriptingApi::Server::downloadFile function in the HISE source code to skip the parameter parsing if the URL contains the S3-specific parameter "X-Amz-Algorithm=".
I think this should be changed in the HISE source code because AWS S3 are pretty common.
-
RE: Server.downloadFile with signed Amazon S3 URLposted in General Questions
@David-Healey I found a post where Dan was using the same amazon s3 links as me.
https://forum.hise.audio/topic/4635/question-about-queued-downloads-from-amazon-s3/26I'm actually trying to use moonbase, but I got the same links for download.
@Dan-Korneff How did you solve this?
-
RE: Server.downloadFile with signed Amazon S3 URLposted in General Questions
@David-Healey Thanks. It worked with cURL as a background process. I read that if the user has a Windows version prior to 2019 wont work. Should I use powershell for Windows for better compatibility right?
-
RE: Server.downloadFile with signed Amazon S3 URLposted in General Questions
@d-healey Thanks, yes it works with curl in terminal.
In HISE, I'm clearing the HttpHeader before starting the download, as I read in the forum, and I'm making sure not to repeat the base URL (just using https://).
It works with links from other servers, but it doesn’t seem to work with signed S3 URLs.