HISE Logo Forum
    • Categories
    • Register
    • Login

    Still problems with Message.sendToMidiOut();

    Scheduled Pinned Locked Moved Bug Reports
    74 Posts 8 Posters 4.1k 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.
    • ulrikU
      ulrik @d.healey
      last edited by

      @d-healey Do you have "JucePlugin_ProducesMidiOutput=1" as an extra definition in the preferences?

      And I see you don't use "Message.sendToMidiOut()"?

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @ulrik
        last edited by

        @ulrik

        JucePlugin_ProducesMidiOutput=1

        Yes.

        And I see you don't use "Message.sendToMidiOut()"?

        Ah crap. Something went weird and it's duplicated my script. I'll fix it an update the snippet.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        P 1 Reply Last reply Reply Quote 0
        • P
          ps @d.healey
          last edited by ps

          @d-healey I think for narrowing it down it would be important to know if Message.sendToMidiOut() equals for example what Message.getNoteNumber() is receiving at the same point of the midi signal flow. Or if the events need to be specified somehow.

          EDIT:
          Those are the callbacks that appear once I add sendtomidiout to a script processor - percentages that don't change value when I play notes...

          Bildschirmfoto 2022-10-26 um 12.32.09.png

          P 1 Reply Last reply Reply Quote 0
          • P
            ps @ps
            last edited by

            ok so i figured that my last tests in the JUCE plugin host didn't work anymore - now looking at the callback I realised why. I didn't kill the initial notes - so it seems there have to be artificial notes only in the midi buffer. So I have a very simple snippet now that does work in plugin host but in ableton I still get the input notes instead of the single artificial note the plugin is generating. If it does what it should in the plugin host we have to be so damn near to have it working in the daw...

            HiseSnippet 1287.3oc6Xs0SibCE1CIyJRX6kc6ppp9znU8grRTTBkxkVUsPtQiVBDQBr8kpUlYbRrXF6od7.DsZeo+xp5uf9qnOu+CnG6IgYF1IozTPpEQd.w4l8m8w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LenW7C7o223S+3noeIyt.0otRPO4etV150vUQr1k.jppMuYQr9G29DqQ2DpGbik.edPpAtKwi1CtRXPRkp6VHH+h9hLI0WCtTQlld+KaBKxLioKVFJzGK1wiGxjoNFjaVuWZpkqoqHR3eFzt4uq5Dj+lcl4u4sc+K5JrZlOn5OmZSgID2ADlSOtZkdPnrjh1dVOhZpQMaB8aXXOPz+eAh9TmBKLAicod9tjFryHtvhTiwmZN9APSzllGqMmw8GxYT6jE4GRjB5fADQRrm4BZGoDdAUrlms8gDWBNIg0Ws8d.QCVnd+zbtWT4e78zxLe8ElQv0RcF15+uMnyc+tA8g7P02vnMFNDdAvSrenWWnunMY7CdUbGFKnpxijKqjiZLxbzBpuFwXiUTxFiMVYhw6MygG1VveicDyqpVXQsFXuko+BmELaqjspfzrwPblkWoLxCX2eissJM90.AZ1wr5bDy2LGwr1bDy2NGwr9bDyFyQLaNyXTMV2ITx8hJqAEcZnaQYXzfggJDc0D5ufq7JlQ
            
            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @ps
              last edited by

              @ps Did you follow @jonhallur link about setting up a special MIDI out channel in Ableton?

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              P 1 Reply Last reply Reply Quote 0
              • P
                ps @d.healey
                last edited by

                @d-healey yes - same as with any other plugin I use midi out in live with :/

                ulrikU 1 Reply Last reply Reply Quote 1
                • ulrikU
                  ulrik @ps
                  last edited by

                  @ps @d-healey Here I made a minimal test with an arp and 3 slider packs in the gui, however I had to manually connect them to the arp, it was not working using the Property Editor.

                  Try it and see if it works for you.

                  VIDEO

                  PROJECT

                  Hise Develop branch
                  MacOs 15.3.1, Xcode 16.2
                  http://musikboden.se

                  P 2 Replies Last reply Reply Quote 0
                  • P
                    ps @ulrik
                    last edited by

                    @ulrik very interesting what you are doing here - the way you setup ableton is def not how it is intended to be. haha
                    Are you compiling as MIDI FX or AUDIO Fx?

                    1 Reply Last reply Reply Quote 0
                    • lalalandsynthL
                      lalalandsynth @d.healey
                      last edited by

                      @d-healey Export as FX.

                      https://lalalandaudio.com/

                      https://lalalandsynth.com/

                      https://www.facebook.com/lalalandsynth

                      https://www.facebook.com/lalalandsynth

                      1 Reply Last reply Reply Quote 0
                      • P
                        ps @ulrik
                        last edited by

                        @ulrik compiled your project exactly the same setup but doesn't work.
                        This is killing me haha
                        Are you inputting notes with a keyboard?

                        ulrikU 1 Reply Last reply Reply Quote 0
                        • ulrikU
                          ulrik @ps
                          last edited by ulrik

                          @ps compile as audio fx, yes keyboard

                          Hise Develop branch
                          MacOs 15.3.1, Xcode 16.2
                          http://musikboden.se

                          ulrikU 1 Reply Last reply Reply Quote 0
                          • ulrikU
                            ulrik @ulrik
                            last edited by

                            @ulrik I'm on the Master code from yesterday

                            Hise Develop branch
                            MacOs 15.3.1, Xcode 16.2
                            http://musikboden.se

                            P 1 Reply Last reply Reply Quote 0
                            • P
                              ps @ulrik
                              last edited by

                              @ulrik does it work when drawing notes or using the computer keyboard as input?

                              ulrikU 2 Replies Last reply Reply Quote 0
                              • ulrikU
                                ulrik @ps
                                last edited by

                                @ps I don't know, have not tried yet

                                Hise Develop branch
                                MacOs 15.3.1, Xcode 16.2
                                http://musikboden.se

                                1 Reply Last reply Reply Quote 0
                                • ulrikU
                                  ulrik @ps
                                  last edited by

                                  @ps Yes it's working

                                  arpout.gif

                                  Hise Develop branch
                                  MacOs 15.3.1, Xcode 16.2
                                  http://musikboden.se

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    ps @ulrik
                                    last edited by

                                    @ulrik ok i also added the floating tile keyboard and nothing... everything looks the same as on your end but no midi from the fx plugin...

                                    can you do me the massive favor and check the snippet I posted a few posts above and see if it works for you as vst3 instrument.

                                    Also your plugin works in plugin host but not in ableton for me so if my snippet works for you also in the daw and you are able to route midi out of the instrument and record the generated midi on an empty midi track ( it should be a# notes only whatever you input) there is something super strange going on on my end but I also might get some ideas.

                                    ulrikU 2 Replies Last reply Reply Quote 0
                                    • ulrikU
                                      ulrik @ps
                                      last edited by

                                      @ps I'll do that

                                      Hise Develop branch
                                      MacOs 15.3.1, Xcode 16.2
                                      http://musikboden.se

                                      1 Reply Last reply Reply Quote 0
                                      • ulrikU
                                        ulrik @ps
                                        last edited by

                                        @ps Ok, compiled as VST3, works here!

                                        Hise Develop branch
                                        MacOs 15.3.1, Xcode 16.2
                                        http://musikboden.se

                                        P 1 Reply Last reply Reply Quote 0
                                        • P
                                          ps @ulrik
                                          last edited by ps

                                          @ulrik you must be kidding me!!!
                                          What could be different on your side?
                                          You have been able to record the generated midi (a# note)

                                          ulrikU 3 Replies Last reply Reply Quote 0
                                          • ulrikU
                                            ulrik @ps
                                            last edited by

                                            @ps the os, the preferences inside Hise, the settings in Hise Projucer file?

                                            I'm on MacOs 13.0, using the Master code from yesterday, I'll check the Hise projucer settings, hold on...

                                            Hise Develop branch
                                            MacOs 15.3.1, Xcode 16.2
                                            http://musikboden.se

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

                                            17

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts