Forum

    • Register
    • Login
    • Search
    • Categories

    Preset MIDI Learn doesn't load in compiled plugin

    Bug Reports
    3
    13
    192
    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.
    • T
      tomekslesicki last edited by

      Ok, so I've just finished MIDI-mapping everything on the interface to CCs. It works fine after the file is loaded in HISE but when I export the vst, I need to load the preset for the mappings to work. It doesn't seem to load the mappings on first plugin load.

      I remember reading somewhere that I might need to load the preset in HISE before export and I did it but it doesn't help.

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

        Yes this is a problem I have faced too. @Christoph-Hart We really need the option to set a default preset, this would solve this issue and several other issues, some of which there are workarounds for. One in particular is even if we save/export with what we want as our "default" preset it doesn't highlight it in the preset browser so the user may not be aware that a particular preset is loaded at all.

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

        1 Reply Last reply Reply Quote 3
        • T
          tomekslesicki last edited by tomekslesicki

          I can live without the default preset if it’s super-hard to implement, but it would be lovely if the midi mappings worked. I know I can script them in but that doesn’t work well with Logic’s non-realtime bounce and some automation artifacts start showing up. So I have to use the midi mapping instead but it doesn’t work on init...

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

            Yeah it‘s more likely that I fix the midi mapping and let you set a default preset as file just for displaying.

            T 1 Reply Last reply Reply Quote 2
            • T
              tomekslesicki @Christoph Hart last edited by tomekslesicki

              @Christoph-Hart said in Preset MIDI Learn doesn't load in compiled plugin:

              Yeah it‘s more likely that I fix the midi mapping and let you set a default preset as file just for displaying.

              That would be awesome! When would you say we can expect this?

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

                @tomekslesicki said in Preset MIDI Learn doesn't load in compiled plugin:

                That would be awesome! When would you say we can expect this?

                Wasn't too hard 🙂

                https://github.com/christophhart/HISE/commit/060a887f06595a97f1dc1770bba5292f97f7221b

                1 Reply Last reply Reply Quote 2
                • T
                  tomekslesicki last edited by

                  Awesome stuff! Thank you!

                  1 Reply Last reply Reply Quote 0
                  • T
                    tomekslesicki last edited by

                    Hey @Christoph-Hart, I'm working on AAX versions of the plugins now and it seems like there's a problem with loading the initial preset in ProTools. All slider values look kind of random on init:

                    Annotation 2020-08-12 113315.jpg

                    When I load the preset again, they load just fine:

                    Annotation 2020-08-12 113332.jpg

                    These are not default slider values either.

                    Help!

                    1 Reply Last reply Reply Quote 1
                    • T
                      tomekslesicki last edited by

                      Here's a lead: if the sliders are not set to be plugin parameters, the instrument loads fine.

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

                        @tomekslesicki Could it be that the DAW overrides the default?

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

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          tomekslesicki @d.healey last edited by

                          @d-healey that would be my guess, too. @Christoph-Hart ?

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

                            Ah yes, I think I remember that was a Protools special:

                            https://forum.hise.audio/topic/756/initial-loading-values-of-gui-elements-in-aax-when-plugin-is-opened

                            TLDR: Make sure that the defaultValue property match the value in your initial preset.

                            1 Reply Last reply Reply Quote 0
                            • T
                              tomekslesicki last edited by

                              Ok, I experimented with this further and it seems like the only thing that helps is to disable 'is plugin parameter' for the sliders on AAX plugins. defaultValue doesn't help much.

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

                              20
                              Online

                              1.1k
                              Users

                              6.7k
                              Topics

                              62.1k
                              Posts