Forum
    • Categories
    • Register
    • Login

    Sending Midi Out from Sliders (Instrument Plugin)

    Scheduled Pinned Locked Moved General Questions
    23 Posts 3 Posters 511 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bendursoB
      bendurso @David Healey
      last edited by

      @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?

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @bendurso
        last edited by

        @bendurso Generally it's a good idea to put all realtime stuff outside of the Interface script.

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        bendursoB 1 Reply Last reply Reply Quote 1
        • bendursoB
          bendurso @David Healey
          last edited by

          @David-Healey

          Great, thanks.

          Now the onController actually receives the MIDI input, but Message.sendToMidiOut() doesn’t send any MIDI output.

          David HealeyD 1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey @bendurso
            last edited by

            @bendurso Are you compiling as a VSTi?

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            bendursoB 1 Reply Last reply Reply Quote 0
            • bendursoB
              bendurso @David Healey
              last edited by

              @David-Healey yeah :)

              David HealeyD 1 Reply Last reply Reply Quote 0
              • David HealeyD
                David Healey @bendurso
                last edited by

                @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

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                bendursoB 1 Reply Last reply Reply Quote 0
                • bendursoB
                  bendurso @David Healey
                  last edited by

                  @David-Healey

                  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++s3FD0fUCjiDdkLLguI1obUs5KXxCWMjJ7h0HmFTpLX+XoAldNv2Tz1mppO0hkV1fjkWADWEKccBm2ExmJkElfVR8.NTpnMEkLPs3yKhe4q50al2kBflqa.9aHu0.9NRcBPyQpRfoJ.bFJ4zU8CXZXpBlvD8wJIVy5x5mTFEqKPBdSlrjXzvtzfztXMiPRP1LK6WelU5De2HmYJFkhCDLUSep30UNfhi.5rvXTArpL4fWMNGrMm4QCPLHU6irMtejAvwE+u3690+XaziNXWhhLUMfFAq3SCTL8CvZW5XnURTpcA6cogmnj9FdiC5vi7sZzmdZ2leiWaRxg90fVb9sYOaJhp8WO6m1F8pEUP4rzaDmnxViq6DFeADdxTXoKdDgL0jzcJOyJ7mWHdM6VLk6fYiwklAFgvv4AFiaW9I160qG0Uk.v716+8mO8FSa9aDY9qX+XxXpoAiw3eg4bOYvP78nBZf1247FF08my6nN+4dTWSWE.gNADQnuLj5jVysoCYcfb7vLTeIIJOSIxPcWpZjHqpiHkgKsqXevUjhuKWaJwxoI1hHxnL3bFM0fkTugdw16IHP.qMEd4dMCcAGi1Omtrn0HdH8wLO0.mzBlPtbZx2mD3AwP2LIs4NOF3eoyqA94mu1xIv68a3+mGSMAcNybIf6XYiO6mJNlDfcc0C8iGO1+zgy.OGZFjYFRpYbbz5Ayhyi0SNLL9NLo8u+4eA27QctCtd8kw2RiiagWFrf9v3nkIt.O4cglcdAX7VlT6BSwXa1PeNcOwXJGdjFL9YvqpGYDWMkZ1D6FRgzefTvxzr3HpJf0uOMSOnY9ftqRAqNlP450NhxojvTsz+pZOD1FlD.9I5B5Kbdm2welwquzNBtXcNL98Itke9hau4tmmIqnjatVQ4LGuK95JePcc5YNO8hSj9F1v3+xXS3F++e79H4HE7UXvmhFnWXwFlD0F1KykBHVHnbcSbqkzsaiNul9bzVVBOyg+E9Eeoi9rU7kNSu7ChMFRbCjOwMZ7jtgwkMTf2sv7GPofcC8Yb1u8x7S+I0Ow0MqpdEAKunBt9hJXkEUvMVTA2bQEr5hJ3VucA060b2QJ4vn5DXy5V6Yl2aYEsTsojA8e.kgMYOA
                  
                  David HealeyD 1 Reply Last reply Reply Quote 0
                  • David HealeyD
                    David Healey @bendurso
                    last edited by

                    @bendurso Which DAW are you testing in?

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

                    bendursoB 1 Reply Last reply Reply Quote 0
                    • bendursoB
                      bendurso @David Healey
                      last edited by

                      @David-Healey I checked with the standalone and ableton

                      David HealeyD 1 Reply Last reply Reply Quote 0
                      • David HealeyD
                        David Healey @bendurso
                        last edited by

                        @bendurso Do other MIDI plugins work in Ableton?

                        Free HISE Bootcamp Full Course for beginners.
                        YouTube Channel - Public HISE tutorials
                        My Patreon - HISE tutorials

                        bendursoB 1 Reply Last reply Reply Quote 0
                        • bendursoB
                          bendurso @David Healey
                          last edited by

                          @David-Healey I actually don't have another plugin with midi out to test hehe. But the standalone also should send midi out

                          David HealeyD 1 Reply Last reply Reply Quote 0
                          • David HealeyD
                            David Healey @bendurso
                            last edited by

                            @bendurso said in Sending Midi Out from Sliders (Instrument Plugin):

                            But the standalone also should send midi out

                            Should it?

                            Free HISE Bootcamp Full Course for beginners.
                            YouTube Channel - Public HISE tutorials
                            My Patreon - HISE tutorials

                            bendursoB 1 Reply Last reply Reply Quote 0
                            • bendursoB
                              bendurso @David Healey
                              last edited by

                              @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 GitHub

                              Message.sendToMidiOut()

                              David HealeyD 1 Reply Last reply Reply Quote 0
                              • David HealeyD
                                David Healey @bendurso
                                last edited by

                                @bendurso Try the test snippet that ulrik posted

                                Try it in Reaper.

                                Free HISE Bootcamp Full Course for beginners.
                                YouTube Channel - Public HISE tutorials
                                My Patreon - HISE tutorials

                                bendursoB 1 Reply Last reply Reply Quote 0
                                • bendursoB
                                  bendurso @David Healey
                                  last edited by

                                  @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+FxPVhxnG2mabZpBczrHZRByGgwkdo1I7Naix998e3HZHU3wVoBgNSx8XugOkqVoseyWyCC6P8YC4SK3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S67nLMv9Vj8ad1gzSKaXgx53JdVNE5heum25K0MBrxlFX0MMP6MMvZaZf02z.c1z.c+qCTSx9hT3Mo4slHD7jsL5JL9XAEtkm0Qf9SN.4RuC
                                  

                                  Screen Recording 2026-01-10 at 12.35.13 PM.gif

                                  bendursoB 1 Reply Last reply Reply Quote 0
                                  • bendursoB
                                    bendurso @bendurso
                                    last edited by

                                    @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

                                    David HealeyD 1 Reply Last reply Reply Quote 0
                                    • David HealeyD
                                      David Healey @bendurso
                                      last edited by

                                      @bendurso Me and Ulrik were testing with it as a VSTi

                                      Free HISE Bootcamp Full Course for beginners.
                                      YouTube Channel - Public HISE tutorials
                                      My Patreon - HISE tutorials

                                      bendursoB 1 Reply Last reply Reply Quote 0
                                      • bendursoB
                                        bendurso @David Healey
                                        last edited by

                                        @David-Healey Oh.. on reaper it works if you select Record output midi, instead of input midi..

                                        David HealeyD 1 Reply Last reply Reply Quote 0
                                        • David HealeyD
                                          David Healey @bendurso
                                          last edited by

                                          @bendurso Makes sense, you want the MIDI passing through the plugin and coming out of the track not the MIDI going into it.

                                          Free HISE Bootcamp Full Course for beginners.
                                          YouTube Channel - Public HISE tutorials
                                          My Patreon - HISE tutorials

                                          bendursoB 1 Reply Last reply Reply Quote 1
                                          • bendursoB
                                            bendurso @David Healey
                                            last edited by

                                            @David-Healey Yes, it also works in Ableton, but you have to route it to a new MIDI track.

                                            dannytaurusD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            27

                                            Online

                                            2.2k

                                            Users

                                            13.3k

                                            Topics

                                            115.8k

                                            Posts