Forum

    • Register
    • Login
    • Search
    • Categories

    ProTools load problem....

    General Questions
    7
    33
    150
    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.
    • Lindon
      Lindon last edited by

      So does anyone have a workable solution to the ProTools bug, where it fails to load the correct Plugin (saved on compile ) state at start up - and instead loads each control with its default value?

      HISE Development for hire.
      www.channelrobot.com

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

        Here's my hacky solution. I've created a button and label in a hidden Maintenance panel.
        Before I export my plugin, I click the InitialState0 button so it's enabled.
        When the plugin is first launched in PT, it runs the InitializeState() function and loads a "factory reset" preset and then changes the state of the InitialState0 button so it doesn't run again.

        const var InitialStateLabel = Content.getComponent("InitialStateLabel");
        const var InitialState0 = Content.getComponent("InitialState0");
        
        inline function InitializeState()
        {
        	if(InitialState0.getValue() == 1)
        	{
        		InitialStateLabel.set("text", "");
        		Engine.loadUserPreset("Factory Reset.preset");
        		InitialStateLabel.set("text", Engine.getCurrentUserPresetName());
        		
        		InitialState0.setValue(0);
        	}
        
        
        }
        
        ProtoolsParameterFixer.setTimerCallback(function()
        {
        	InitializeState();
        	this.stopTimer();
        });
        
        ProtoolsParameterFixer.startTimer(200);
        

        Dan Korneff - Producer / Mixer / Audio Nerd

        ustk Lindon 2 Replies Last reply Reply Quote 1
        • ustk
          ustk @Dan Korneff last edited by

          @Dan-Korneff Wouldn't it be enough to simply load the initial preset manually before saving/exporting?
          Is this hack just a shortcut against this issue or more?

          I can't help pressing F5 in the forum...

          Dan Korneff Lindon 2 Replies Last reply Reply Quote 0
          • Dan Korneff
            Dan Korneff @ustk last edited by

            @ustk

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

            @Dan-Korneff Wouldn't it be enough to simply load the initial preset manually before saving/exporting?

            Protools ignores the settings you placed at export and instead loads all controls to their default values.

            Dan Korneff - Producer / Mixer / Audio Nerd

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

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

              @Dan-Korneff Wouldn't it be enough to simply load the initial preset manually before saving/exporting?
              Is this hack just a shortcut against this issue or more?

              the problem is ProTools wont load your initial preset -Basically ProTools ignores whatever you have set each control == to, and flips every control to its default value. Giving you a mess of a set up, so as Dan has shown you need some way to make ProTools load the first preset as soon as the plug in is loaded...

              HISE Development for hire.
              www.channelrobot.com

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

                @Dan-Korneff Thanks Dan thats the implementation I was thinking of using - ugly as it is...

                HISE Development for hire.
                www.channelrobot.com

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

                  @Lindon I came up with this one quickly cause I was in a hurry, and it worked, but I'm sure there's much room for improvement.

                  Dan Korneff - Producer / Mixer / Audio Nerd

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

                    @Dan-Korneff yeah - let me think about it for a bit....

                    HISE Development for hire.
                    www.channelrobot.com

                    1 Reply Last reply Reply Quote 0
                    • iamlamprey
                      iamlamprey last edited by

                      my hacky solution is to tell customers to use a better daw šŸ˜Ž

                      New Song 🄰 - Instruments

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

                        @iamlamprey I use a similar solution, I don't provide an AAX šŸ™‚

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

                        Christoph Hart 1 Reply Last reply Reply Quote 3
                        • Christoph Hart
                          Christoph Hart @d.healey last edited by

                          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.

                          Dan Korneff Lindon 2 Replies Last reply Reply Quote 0
                          • d.healey
                            d.healey last edited by

                            I can imagine it's not uncommon to have "safe" default values for the user's benefit when they are tweaking the controls but for your default preset you want different settings.

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

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

                              @d-healey yeah I think Iā€˜m going through the projects and compare the init state vs the default value, but what if we just add a initValue property that will take precedence over the defaultValue at initialisation so you can customize those controls individually?

                              d.healey Dan Korneff 2 Replies Last reply Reply Quote 3
                              • d.healey
                                d.healey @Christoph Hart last edited by

                                @Christoph-Hart That's good. I think even better would be if we could assign a "default preset" that would also be selected in the preset browser.

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

                                1 Reply Last reply Reply Quote 1
                                • Dan Korneff
                                  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 Korneff
                                    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 Hart 1 Reply Last reply Reply Quote 0
                                    • Christoph Hart
                                      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
                                      • Lindon
                                        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 Korneff 1 Reply Last reply Reply Quote 0
                                        • Dan Korneff
                                          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

                                          Lindon 1 Reply Last reply Reply Quote 0
                                          • Lindon
                                            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

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

                                            6
                                            Online

                                            1.2k
                                            Users

                                            7.1k
                                            Topics

                                            64.9k
                                            Posts