HISE Logo Forum
    • Categories
    • Register
    • Login

    MidiFX Plugin from Hise

    Scheduled Pinned Locked Moved General Questions
    24 Posts 5 Posters 1.9k 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 no I didn't even know about it :)
      Thanks for showing, interesting

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

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @ulrik
        last edited by

        @ulrik setting the AU_MidiProcessor flag might be useful for Au export. Let me know if this changes anything then I‘ll hook it up into the exporter.

        ulrikU jonhallurJ 3 Replies Last reply Reply Quote 1
        • ulrikU
          ulrik @Christoph Hart
          last edited by

          @Christoph-Hart I'll experiment with it, thanks!

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

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

            @d-healey @Christoph-Hart aha, you were talking about compiling Hise as a plugin right?
            That's why I couldn't find the settings in the Hise Standalone project
            Those settings are in the Hise Plugin project not for the the Hise standalone.

            I'm talking about compiling a MidiFX plugin from Hise standalone.

            Skärmavbild 2022-07-27 kl. 08.59.03.png

            Skärmavbild 2022-07-27 kl. 09.00.51.png

            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 I was talking about compiling your project as a plugin, not compiling HISE. Those settings are accessible in your project's .jucer file.

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

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

                @d-healey ok, I didn’t know that, great thank you 🙏

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

                1 Reply Last reply Reply Quote 0
                • jonhallurJ
                  jonhallur @Christoph Hart
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • jonhallurJ
                    jonhallur @Christoph Hart
                    last edited by

                    @Christoph-Hart said in MidiFX Plugin from Hise:

                    @ulrik setting the AU_MidiProcessor flag might be useful for Au export. Let me know if this changes anything then I‘ll hook it up into the exporter.

                    7356c65a-2095-4bc5-a094-97fb183afc73-image.png

                    This is from the Ableton Live website
                    I did not know about this limitation before

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

                      @ulrik Did you know of this little quirky setup needed for Ableton Live MIDI output, because I did not. My VST2 from HISE on windows work fine both in Ableton Live and Reaper.

                      Just a moment...

                      favicon

                      (help.ableton.com)

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

                        @jonhallur Beautiful find! Thank you for showing, works great with Midi FX plugin vst2 🙏🏻

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

                        jonhallurJ 1 Reply Last reply Reply Quote 1
                        • jonhallurJ
                          jonhallur @ulrik
                          last edited by jonhallur

                          @ulrik More updates.

                          If you like to use modulators and MIDI I have found the least changes you can do to the HISE code to make that happen.

                          diff --git a/hi_core/hi_core/MainController.cpp b/hi_core/hi_core/MainController.cpp
                          index 2863465c6..5a40b119e 100644
                          --- a/hi_core/hi_core/MainController.cpp
                          +++ b/hi_core/hi_core/MainController.cpp
                          @@ -975,7 +975,7 @@ void MainController::processBlockCommon(AudioSampleBuffer &buffer, MidiBuffer &m
                                          }
                               }
                          
                          -#elif HISE_MIDIFX_PLUGIN
                          +#elif defined(HISE_MIDIFX_PLUGIN) || defined(ALLOW_MIDI_OUTPUT)
                          
                                  synthChain->processHiseEventBuffer(masterEventBuffer, numSamplesThisBlock);
                          
                          @@ -1149,7 +1149,9 @@ void MainController::processBlockCommon(AudioSampleBuffer &buffer, MidiBuffer &m
                           #endif
                          
                           #if !HISE_MIDIFX_PLUGIN
                          +       #if !ALLOW_MIDI_OUT
                                  midiMessages.clear();
                          +       #endif
                           #endif
                          
                           }
                          

                          Then I added the following extra definitions

                          JucePlugin_ProducesMidiOutput=1
                          JucePlugin_IsMidiEffect=1
                          ENABLE_ALL_PEAK_METERS=1 
                          ALLOW_MIDI_OUT=1
                          

                          Export the plugin as a FX (not as MIDIFX) and Bob is your uncle.

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

                            @jonhallur If I change the code to this and export the plugin as FX plugin, will it really load as a Midi FX plugin?

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

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

                              @ulrik With out knowing it completely, I don't think under the VST2 or even VST3 (I´ve done some professional JUCE work before using VST3) there is no concept of a MIDI FX plugin.

                              At least in JUCE, you just tell the host that you want to receive and/or send MIDI. You can do the same with sound, stating how many channels you want to input/output etc.

                              I have no idea what a given host does with that information. The host will ask a plugin upon instantiation weather it will produce audio and/or MIDI. A JUCE plugin can answer yes to both. Perhaps some hosts will decide to put some plugins into some categories, but it works on Windows both in Reaper and Ableton Live

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

                                @jonhallur Ok I see, I might give it a try and see if also Logic will accept it as a MidiFX plugin, thanks! :)

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

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

                                  @ulrik Please let me know, I don't have a Mac and I'm very curious about Logic.

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

                                    @jonhallur I don't know if I did. it the right way but...

                                    I changed the code (as you described), compiled Hise Standalone with the extra definitions, exported as FX plugin from Hise but it didn't show up in Logic under the Midi FX slot

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

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

                                      @jonhallur am I supposed to set the extra definitions in Hise preferences as well?
                                      And do I set the Hise projucer "HISE_MIDIFX_PLUGIN" enabled?

                                      Skärmavbild 2022-08-22 kl. 21.42.04.png

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

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

                                        @ulrik No, I did not mess with the ProJucer project file at all it's just settings in HISE.

                                        f8950dcb-f6b3-453e-b2b4-14d7ee2368e2-image.png

                                        I also did not compile the HISE Standalone editor again, if that is what you mean.

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

                                          @jonhallur great, I'll test again

                                          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 found some crazy behavior using Hise MidiFX plugin inside Logic

                                            When standing on the MidiFX activated track it works fine, as soon as I stand on another track it fails, the arp is running but it's not producing any midi out to the instrument even though the arp is running as it should

                                            Hise MidiFX Arpeggiator

                                            Compared to the Logics own arpeggiator

                                            Logic MidiFX Arpeggiator

                                            Any thoughts about what's happening here is much appreciated

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

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

                                            22

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.2k

                                            Posts