Forum
    • Categories
    • Register
    • Login

    Sending Midi Out from Sliders (Instrument Plugin)

    Scheduled Pinned Locked Moved General Questions
    23 Posts 3 Posters 182 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
      last edited by bendurso

      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+RQxDgeUiRN2ywsVcs6KaxCWJFD9YdjCQUqgmel0nRuB0aHZOETMGdhUWvfjEVDMWkYcSJm2EympVDlnWxcANPpfCEUMPsxqp3b0s50ar6kCflsagwaLu0.9ik5DfCSTUwipLpYrjCKEFwzvTEMfIN0QIczptf9JUvw5Bjnq6HqJRB5BQ4CwZEwjfhYVyMYYVdoAybJJE6KXpCCgr0iJMbGSdHI60PmQlgPTUkIe7VY4ic3LeHhvPm7Q1lmBhA7YDAe6Cp7yaRd59aSUzgtA8HdJgPjhouLVaCmizJoo4ks2FhOSICM5lk.f7Xu0C8hKYd9QdiAiVbZiX0.cnYNihDLcymCskwLcnOGe2OfzhgcXuvf7WN+2u2u8huayf7ThDR.8h7LjwI85wtvvk0iwChUH11O.SUHV2w9owfiOzilvUNwmg9AKuNCvDHi9jWuBG4Vj9IbppHgilVNaCMfyWkqqjE3EYPdPcUVnYey4JKOVRxwlILgv811sYJu9iGuyLF7h4DuqwaFm9mXuSudfmZDXm0d2u9ZIv+GGJ2MEJ2z9YzyACinAHelYcOYTfydf.hzwT2qo27uLo8lCm3dyG5oPHbbDUDGJiA27dtCDvNFKDiKH8JVTarVTP51fJQTz0ohJnkNTrKFJxo2MZLTXs7BaSEEbFttfmZwxUs9qatifhOdc.7l6eXrGFXzw47kNsS3wvyX9p9t4Mbj3Z4E+HZjO9F5UHYtzDmAkmntXMdN8GyrAy8tZbk2qDE+840JMYv8sLcU4gXrCKHjC6HNG3XqICFuC1KxveOTZwZxVRgLruTvJjAbDfcAN8TnPh0XuPOTovAXFIY9FGAbfFmqN8KZ7DblLZDFmfoLV7WeRyw9d841ov0QSj37ei9Qk9ee+nquBE4O+2yK8csQN8ZNlmamO7u2GIST32BfePTjtKj8AIAcvlsd.hXg.33AYaMidD6z0KqWm15T3aV7G3OYa5pWakso6vMeubFATuH4y8RG9WSXbCiD7dKLeFeY6V50NEm5OcXYr0yy87J5pWyvZSqgqLsFt5zZ3ZSqgqOsFVeZMbi2tg5ICdXhRFjVmfiK0dGyWoYYkNojojg7mOBz4ZC
      
      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @bendurso
        last edited by

        @bendurso From what I recall the sendToMidi out needs to be in a separate MIDI processor.

        @ulrik Is the expert here :)

        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 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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78nBZf1247FF08my6nN+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+FxPVhxnG2mabZpBczrHZRByGgwkdo1I7Naix998e3HZHU3wVoBgNSx8XugOkqVoseyWyCC6P8YC4SK3scytdRQKYnLE.TIhIJh5cNcB6Dp1ssHnW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K0MBrxlFX0MMP6MMvZaZf02z.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
                                            • First post
                                              Last post

                                            37

                                            Online

                                            2.1k

                                            Users

                                            13.2k

                                            Topics

                                            114.5k

                                            Posts