HISE Logo Forum
    • Categories
    • Register
    • Login

    Preset MIDI Learn doesn't load in compiled plugin

    Scheduled Pinned Locked Moved Bug Reports
    13 Posts 3 Posters 529 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.
    • d.healeyD
      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.

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - 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 HartC
          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 HartC
              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.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @tomekslesicki
                      last edited by

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

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - Public HISE tutorials
                      My Patreon - 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 HartC
                          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

                            16

                            Online

                            2.0k

                            Users

                            12.7k

                            Topics

                            110.4k

                            Posts