HISE Logo Forum
    • Categories
    • Register
    • Login

    Plugins fail to load into Logic- isMetaParameter not set.

    Scheduled Pinned Locked Moved Solved General Questions
    21 Posts 5 Posters 1.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.
    • LindonL
      Lindon @gorangrooves
      last edited by

      @gorangrooves are you still doing this stuff?

      get component value
      make it a two-decimal rounded value, by multiplying it by 100, rounding it up, then dividing by 100
      assign the new value as the defaultValue to the component
      

      if so that will lead to the error I think.

      HISE Development for hire.
      www.channelrobot.com

      1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @gorangrooves
        last edited by

        @gorangrooves said in Plugins fail to load into Logic- components' default values rounded up:

        The errors are for some sliders only. I removed the "isMetaParameter" from all components that happened to have them switched on, since I am not using that anywhere. I expect that to fix the issue. Will report back soon.

        So if you have a component, and in its call back it changes the value of another component, or its own default value, then isMetaParameter needs to be set to ON.

        HISE Development for hire.
        www.channelrobot.com

        gorangroovesG 1 Reply Last reply Reply Quote 0
        • gorangroovesG
          gorangrooves @Lindon
          last edited by

          @Lindon Thank you! Yeah, removing the flag did not fix the issue. Oh, what a nightmare. God damn Logic.

          I looked at the latest report on one of the "failed" plugins. Check this out.

          # # # 170 Global Scope Parameters:
          WARNING: retrievedValue = 0.490000 (was 0.490000), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.490000 (was 0.490000), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.850000 (was 0.850000), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.430000 (was 0.430000), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.650000 (was 0.645654), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.650000 (was 0.645654), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.470000 (was 0.467735), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.800000 (was 0.800000), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.850000 (was 0.850000), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.720000 (was 0.720000), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.800000 (was 0.800000), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.540000 (was 0.540000), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.300000 (was 0.300000), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.890000 (was 0.891251), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.870000 (was 0.870964), Parameter did not retain default value when set
          WARNING: retrievedValue = 0.540000 (was 0.540000), Parameter did not retain default value when set
          ERROR: Parameter values are different since last set - probable cause: a Meta Param Flag is NOT set on a parameter that will change values of other parameters.
          

          Some retrieved values are identical to the default parameters and they are somehow not good.

          I did a search of those values in the preset xml file to see what components are being referenced. While I find several components for a single value, I can not find some values at all. Not sure where they are coming from. Some matching values are for both GUI components and synths/ samplers.

          To make sure I understand it correctly: if a button has a callback that says "turn this slider up, switch this on, turn this slider down...", then that button needs to have 'isMetaParameter' turned on?

          What about components that are being controlled by that button?

          Goran Rista
          https://gorangrooves.com

          Handy Drums and Handy Grooves
          https://library.gorangrooves.com

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @gorangrooves
            last edited by Lindon

            @gorangrooves

            Well I suspect that AUval is not reporting the level of detail you need in lines such as this

            WARNING: retrievedValue = 0.490000 (was 0.490000), Parameter did not retain default value when set
            

            I suspect if there were enough decimal places you might see something like this

            WARNING: retrievedValue = 0.4900001111 (was 0.4900002345), Parameter did not retain default value when set
            

            ..so yes if a control changes any =other control its a metaParameter and needs this value set.

            The target controls DONT need this to be set.

            But you should remove all this "rounding code" anyway.

            HISE Development for hire.
            www.channelrobot.com

            gorangroovesG 1 Reply Last reply Reply Quote 0
            • gorangroovesG
              gorangrooves @Lindon
              last edited by

              @Lindon Thank you very much! Yes, I removed the rounding attempt yesterday when I realized it wasn't doing anything.

              It seems I have a lot of components to set this way, probably all sliders and buttons.
              I'll see to do it programatically.
              It will be a bit of trial and error until I figure out all the components that need to be changed. I'll report back.

              Goran Rista
              https://gorangrooves.com

              Handy Drums and Handy Grooves
              https://library.gorangrooves.com

              DanHD 1 Reply Last reply Reply Quote 0
              • DanHD
                DanH @gorangrooves
                last edited by

                @gorangrooves did you try enabling isMetaParameter on the sliders concerned (or all of them?)

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

                gorangroovesG 1 Reply Last reply Reply Quote 0
                • gorangroovesG
                  gorangrooves @DanH
                  last edited by

                  @DanH I am going to do that now. Just figuring out the most practical way, since I have 17 plugins to go through.

                  Goran Rista
                  https://gorangrooves.com

                  Handy Drums and Handy Grooves
                  https://library.gorangrooves.com

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

                    @gorangrooves said in Plugins fail to load into Logic- components' default values rounded up:

                    t figuring out the most practical way, since I have 17 plugins to go through.

                    Start with 1, to make sure this is the problem before you worry about all 17.

                    Do all plugins have the same components?

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

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

                      @d-healey Yes. I am going to compile one now and test. I made a few loops to get all components with certain names (Slider, Mute, Solo, Panner...) and set those flags to 1. Once I get one plugin to work, I'll run the script in all other plugins and recompile.

                      Goran Rista
                      https://gorangrooves.com

                      Handy Drums and Handy Grooves
                      https://library.gorangrooves.com

                      gorangroovesG 1 Reply Last reply Reply Quote 1
                      • gorangroovesG
                        gorangrooves @gorangrooves
                        last edited by

                        @Lindon @bendurso @d-healey Happy to report that the first plugin I tweaked passed the validation! Yay! Thank you so much for all your help! Going to run the script in all the other plugins, then recompile.

                        Does any one of you know of any alternative location where AU plugins may be located?

                        The Logic's Plugin Manager is displaying some of my older plugins that are clearly not in the regular components folder.:
                        Mac HD > Library > Audio > Plug-Ins > Components

                        While some of them say "can't open", one of them opens in side Logic, but it is not in the components folder.

                        Goran Rista
                        https://gorangrooves.com

                        Handy Drums and Handy Grooves
                        https://library.gorangrooves.com

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • gorangroovesG gorangrooves has marked this topic as solved on
                        • d.healeyD
                          d.healey @gorangrooves
                          last edited by

                          @gorangrooves There are only two places they should be. Either the system library folder or the user library folder

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

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

                            @d-healey Aha. Found it. I see the working plugin. I guess the references to others are just stored in some Logic cache. Thanks, Dave!

                            Goran Rista
                            https://gorangrooves.com

                            Handy Drums and Handy Grooves
                            https://library.gorangrooves.com

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

                            16

                            Online

                            1.7k

                            Users

                            11.8k

                            Topics

                            102.4k

                            Posts