HISE Logo Forum
    • Categories
    • Register
    • Login

    ProTools load problem....

    Scheduled Pinned Locked Moved General Questions
    33 Posts 7 Posters 1.6k 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.
    • Dan KorneffD
      Dan Korneff @Christoph Hart
      last edited by

      @Christoph-Hart said in ProTools load problem....:

      Is there any valid use case for why the default state of a plugin should be different from the defaultValue property of each UI element?

      For something like a mixing console, the default value for a fader would be set to 0dB, but that could be way different than the balance you may have dialed in for your default state.

      Dan Korneff - Producer / Mixer / Audio Nerd

      1 Reply Last reply Reply Quote 1
      • Dan KorneffD
        Dan Korneff @Christoph Hart
        last edited by

        @Christoph-Hart said in ProTools load problem....:

        what if we just add a initValue property that will take precedence over the defaultValue at initialisation so you can customize those controls individually?

        Could this be generated automatically from the export state? If you have 100 controls, you'd have to manually verify that the initValue matches the value of your export state. I can't think of a reason why these would ever be different.

        Dan Korneff - Producer / Mixer / Audio Nerd

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

          @Dan-Korneff yeah the suggestion of David makes more sense, so I‘d go that route - you will just have to specify a default preset in the settings and it will use this as init state and plugin parameter default state (which solves the Protools issue).

          1 Reply Last reply Reply Quote 6
          • LindonL
            Lindon @Christoph Hart
            last edited by

            @Christoph-Hart said in ProTools load problem....:

            Is there any valid use case for why the default state of a plugin should be different from the defaultValue property of each UI element? This is nagging me for years because you have to drag around an "init user preset" and restore it everytime you save the project to not mess up the git history.

            I'm thinking about adding an Enforce Default State mode that will restore the values of each UI element to the default state defined by the defaultValue property whenever you save or export the project and this would drive-by-fix this annoying Protools problem too.

            Actually-if understand this correctly- this would be the exact opposite of fixing the problem. Every control needs a default state - but the plugins init state may well need to be a specific preset (so the user gets a "good" experience straight away).

            So if I set the plugin to this init-preset on compile, then every other DAW loads the plugin AND its init-preset state. ProTools loads the plugin and ignores this init-preset state and just sets every control to its default...=== bad,bad,bad PT.

            So what we need here is a mechanism to force the load of this init-preset in ProTools.

            HISE Development for hire.
            www.channelrobot.com

            Dan KorneffD 1 Reply Last reply Reply Quote 0
            • Dan KorneffD
              Dan Korneff @Lindon
              last edited by

              @Lindon I think @Christoph-Hart is suggesting that he adds a feature to load a specific preset when you launch your plugin. Like an automatic version of my hack.

              Dan Korneff - Producer / Mixer / Audio Nerd

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

                @Dan-Korneff oh well yes if that works in ProFools then great!

                HISE Development for hire.
                www.channelrobot.com

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

                  Hey guys,
                  I dealt with this issue before releasing my Handy Drums update v1.4. Here is a solution.

                  The default values of my controls were different from that of what the actual sliders and knobs were set to. I made a simple script to get the current values of all controls and set the default state of all controls to those values. I run the script once before compiling the plugin, then comment it out.

                  The result is that both the default values and current values match. So, PT opens up the plugin exactly as any other DAW. Tested and working.

                  @Lindon Try it out.

                  Goran Rista
                  https://gorangrooves.com

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

                  gorangroovesG Dan KorneffD 2 Replies Last reply Reply Quote 0
                  • gorangroovesG
                    gorangrooves @gorangrooves
                    last edited by

                    Here:
                    https://forum.hise.audio/post/57305

                    Goran Rista
                    https://gorangrooves.com

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

                    1 Reply Last reply Reply Quote 0
                    • Dan KorneffD
                      Dan Korneff @gorangrooves
                      last edited by

                      @gorangrooves but didn't this change the default values of the parameters?

                      Dan Korneff - Producer / Mixer / Audio Nerd

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

                        @Dan-Korneff said in ProTools load problem....:

                        @gorangrooves but didn't this change the default values of the parameters?

                        yeah - this == bad.

                        HISE Development for hire.
                        www.channelrobot.com

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

                          Alright, I've pushed something that should take care of this problem. You can now define a relative path in the Project settings to a user preset file (from the user preset directory) (DefaultUserPreset) that will be embedded into the binary and loaded as default state. Once you've done this, this preset is being loaded everytime you save or export the project. It will also return the value stored in the preset as default value for the plugin parameter which should hopefully fix this Protools issue once and for all.

                          What I haven't done yet is to make this the selected preset on init, but that's something for another day :)

                          Let me know if that helped.

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

                            @Christoph-Hart I guess, this will only work for those who utilize presets in their plugins.

                            @Dan-Korneff Yes, it sets the "default values" of parameters to that what you set on your GUI as the default state of your plugin. Isn't that the objective?
                            If I set a slider to a value of 0.5 on the GUI to be loaded when a user opens up the plugin, why would I want the default value of that slider to be anything different from that?
                            Basically, you make your adjustments for the controls on the GUI to be what you want them to be in every DAW, and the little script sets the default values for those controls to the same values.

                            The secondary script on the page I pointed to, gets the Pro Tools to recall those values if one slider moves to a value we know it should not be on load.

                            @Lindon What's bad?

                            All I can tell you is that I have implemented this, and it works perfectly.

                            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

                              @d-healey said in ProTools load problem....:

                              @gorangrooves said in ProTools load problem....:

                              @Christoph-Hart I guess, this will only work for those who utilize presets in their plugins.

                              You can just add a preset for the purpose of having a default preset. You don't need to use them for any other reason if you don't want to.

                              Isn't that the objective?

                              Nope. The idea is to have the controls on the UI appear in a particular state when the plugin is initialized. That state does not necessarily match the default values you want for your controls.

                              d.healeyD gorangroovesG 2 Replies Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @d.healey
                                last edited by d.healey

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • gorangroovesG
                                  gorangrooves @d.healey
                                  last edited by

                                  @d-healey My plugins have presets, so I am good.

                                  So, what would you want the component default values for if not for when a plugin is loaded?

                                  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

                                    @gorangrooves We have posted some scenarios where this is useful further up the thread.

                                    The default values are used when the user double clicks a knob to reset it. That doesn't mean you want it at that position with the initial instance of the plugin.

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

                                      Pro-Tools support might not be a problem soon https://www.reuters.com/technology/space/media-editing-software-vendor-avid-explores-sale-sources-2023-05-24/ :)

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

                                        @d-healey I see.
                                        I personally would want the double-click to bring the knob value to what is set on the GUI on the initial plugin instance. So, for me, it still makes sense to match the two.

                                        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

                                          @gorangrooves Yeah me too for most of my instruments, but it depends on the plugin. Someone posted a good example above. When you have a mixer you want the default (double click) to be 0dB but you want the initial state of your plugin to have a good balanced mix so the faders probably won't all be at 0dB.

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

                                          49

                                          Online

                                          1.7k

                                          Users

                                          11.7k

                                          Topics

                                          101.8k

                                          Posts