HISE Logo Forum
    • Categories
    • Register
    • Login

    AAX plugin doesn't initiate default slider values when loaded in Pro Tools

    Scheduled Pinned Locked Moved General Questions
    49 Posts 10 Posters 2.8k 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.
    • gorangroovesG
      gorangrooves @tomekslesicki
      last edited by

      @tomekslesicki If you disable that, you won't be able to automate those parameters, so it is not really a good workaround.

      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

        I must admit - I'd really like this fixing too...

        HISE Development for hire.
        www.channelrobot.com

        gorangroovesG P 2 Replies Last reply Reply Quote 1
        • gorangroovesG
          gorangrooves @Lindon
          last edited by

          @Lindon Do you think this is HISE-related or PT?

          Goran Rista
          https://gorangrooves.com

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

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

            it's pretty annoying but what I do to work around this is: in a timer: if value of slider that never makes sense to be on 0 on initialization (like gain) load init preset.

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

              @gorangrooves said in AAX plugin doesn't initiate default slider values when loaded in Pro Tools:

              @Lindon Do you think this is HISE-related or PT?

              I think its HISE in PT...

              HISE Development for hire.
              www.channelrobot.com

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

                Kind man, @Christoph-Hart , if you can, would you please wave your magic wand and fix this for us all? 😀

                Goran Rista
                https://gorangrooves.com

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

                1 Reply Last reply Reply Quote 0
                • orangeO
                  orange
                  last edited by orange

                  @gorangrooves Are you using AAX SDK version 2.4.0?
                  If not, can you try with it?

                  develop Branch / XCode 13.1
                  macOS Monterey / M1 Max

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

                    @orange I am using 2.4.1. That's the latest one if I am correct.

                    Goran Rista
                    https://gorangrooves.com

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

                    orangeO 1 Reply Last reply Reply Quote 0
                    • orangeO
                      orange @gorangrooves
                      last edited by orange

                      @gorangrooves Yes, but that retrospective SDK test can help to solve the cause of the issue. You can download the SDK v2.4.0, compile the static libraries and give it a go.

                      develop Branch / XCode 13.1
                      macOS Monterey / M1 Max

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

                        @orange i will try. You are not having the issue with that SDK?

                        Goran Rista
                        https://gorangrooves.com

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

                        orangeO 1 Reply Last reply Reply Quote 0
                        • orangeO
                          orange @gorangrooves
                          last edited by orange

                          @gorangrooves I built on June and it was working. If you'd like, you can download Need 73 or 81 or 84 from here and try on your system.

                          develop Branch / XCode 13.1
                          macOS Monterey / M1 Max

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

                            @orange I compiled a plugin using AAX SDK 2.4.0, and the issue still remains. 😞

                            :folded_hands_light_skin_tone: @Christoph-Hart

                            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
                              last edited by

                              There's also an issue with linking controls in multi-mono mode. I haven't built an AAX binary with a recent version of HISE yet so I'll try to do that over the weekend and see what happens.

                              Dan Korneff - Producer / Mixer / Audio Nerd

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

                                Also, regarding AAX export: HISE autogenerated compiler specifies "Use static runtime" for Runtime Library, while the AAX SDK requires DLL. I had to change that to make the compilation successful.

                                Goran Rista
                                https://gorangrooves.com

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

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

                                  @ps Would you mind sharing that bit of script, please (as a fall-back)?

                                  Goran Rista
                                  https://gorangrooves.com

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

                                  P 1 Reply Last reply Reply Quote 0
                                  • FortuneF
                                    Fortune
                                    last edited by Fortune

                                    This problem is definitely unacceptable. I can't believe even the button issue is happening for years!

                                    I am sure rather than adding no-urgent additions to Hise, @Christoph-Hart has already started to debug this critical issue and I am sure he will find a way to fix this and the already many years active button issue too.

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

                                      @Fortune Yes, I have my faith in @Christoph-Hart . There was an issue with FL Studio multi-out, and fixed that in a very timely manner recently. Didn't say he was doing it, but just published the fix when it was ready.

                                      Goran Rista
                                      https://gorangrooves.com

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

                                      1 Reply Last reply Reply Quote 2
                                      • P
                                        ps @gorangrooves
                                        last edited by

                                        @gorangrooves i don‘t have hise in front of me right now but it‘s very simple:

                                        Start a timer on init for something like 500ms.

                                        In the timer callback check for a slider value that will usually never be set to 0 (only by protools) and is a plug-in parameter. (This could be your main out gain knob for example).

                                        If (MainGainKnob.getValue() == 0)
                                        {
                                        load your init preset(depending on how your preset system works it either your own function or Engine.loadUserPreset);

                                        timer.stopTimer();
                                        }

                                        That’s it :)

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

                                          So a "generic" script would look like this:

                                          const var ProtoolsParameterFixer = Engine.createTimerObject();
                                          
                                          ProtoolsParameterFixer.setTimerCallback(function()
                                          {
                                          	for(c in Content.getAllComponents(".*"))
                                          	{
                                          		if(c.get("isPluginParameter"))
                                          		{
                                          			c.setValue(c.get("defaultValue"));
                                          			c.changed();
                                          		}
                                          	}
                                          	
                                          	this.stopTimer();
                                          });
                                          
                                          ProtoolsParameterFixer.startTimer(600);
                                          

                                          @gorangrooves if this solves the problem I could add this as native C++ function, then it will only be called when loaded as AAX plugin and I'll try to not make a educated guess how long it will take, but somehow call it after the plugin initialisation. Still not sure why the default values aren't used by Protools, the code in HISE looks OK.

                                          FortuneF LindonL 2 Replies Last reply Reply Quote 1
                                          • FortuneF
                                            Fortune @Christoph Hart
                                            last edited by Fortune

                                            @Christoph-Hart This is not a proper solution.

                                            It can clutter with the saved settings in the Pro Tools project. It is obvious that there is a bug and it has to be fixed. Other plugins doesn't do that, so it is Hise related.

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

                                            31

                                            Online

                                            1.8k

                                            Users

                                            12.1k

                                            Topics

                                            104.9k

                                            Posts