HISE Logo Forum
    • Categories
    • Register
    • Login

    Initial loading values of GUI elements in aax when plugin is opened....

    Scheduled Pinned Locked Moved General Questions
    25 Posts 6 Posters 2.9k 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 @Dan Korneff
      last edited by

      Doesn't seem to work.
      @Christoph-Hart any tricks to get a button to default ON in protools? I've scripted the defaultValue, but it still initialized as OFF.

      Dan Korneff - Producer / Mixer / Audio Nerd

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

        @dustbro button.setValue(1);

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        Dan KorneffD 2 Replies Last reply Reply Quote 1
        • Dan KorneffD
          Dan Korneff @d.healey
          last edited by

          @d-healey That doesn't work either. 🤔

          Dan Korneff - Producer / Mixer / Audio Nerd

          1 Reply Last reply Reply Quote 0
          • Dan KorneffD
            Dan Korneff @d.healey
            last edited by

            @d-healey I was calling this after declaring the variable. It doesn't seem to affect the value of the button either way when hitting F5. Where should this be called?

            Dan Korneff - Producer / Mixer / Audio Nerd

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

              After the declaration. My thinking was something wasn't working with the saveInPreset so maybe that would resolve it. Does this problem only happen with AAX?

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              Dan KorneffD 1 Reply Last reply Reply Quote 0
              • Dan KorneffD
                Dan Korneff @d.healey
                last edited by Dan Korneff

                @d-healey here's a simple version. I can't seem to change the value of a button?

                HiseSnippet 718.3ocsU0taSCCE0tqdhVXSaR7.Dse0IMlRgsARSHF8KTErsJxXh+M443tZsD6HGmAUHdT3cj2.35jzlLnpzEIxux8ii8Im6GYjVw3wwJMB23hoQbD9IDuoRyjtSnBIZXODdSxozXCW6j4pyzHZbL2Ggwq8NqCbi5nzme9lNz.pjwKbgPWpDL9GDgBSg2Qm7dQPv.pO+BQXorO3jgLkrqJPk.7YMhKJhxtkdC+LpMsZDDd899BiR6YnFdLBWuixep2D0WjY4eoHVbc.2ZzF4AGTl6Ap.eKisdQcmHB7GM66NFAmxnBUXsLU3ojSE9h49KTisRC3TfnrdfqsL509eSO2EQObI5UOidaS7XZQjoHhkaOlLTBEpwTnDTlVY4hpsElzUAYHM6GRukOPCFyQz5HW28bNz0c2i2n4FMgBQrw4Np1oShwnjscdsyLv2vMcUgQJIXzZm736jgK2Z+Xt4RZPBuU6cOdbhjYDJoiRdlxvOW1Z2leqYileuoyeFZ73EFydyZUP.Wuvv11H8x.1RlDdMWuG7AAbZdhfdd+B15qVAikIDkRTIGJElyi341KuiCkqj1haNCgTMok1MyKsYBIR.GRCRtphRoe4wKzmF1iZnyNH3Lg6IhqMB6mCtG+NX7KqmoAoGO9ViJJM27xGn.qv09UDlfkvsM09xORmg+qdRXxP4mDPM2ebwtiHO.TRtWeos2SFKLSKuC4ALC4txi3qJc2lLRXXSVLeqs.9BB++a9luQZCR+wi4LSAYqSF74pt94APkOpRLB4MmRMZgsQ3rjPOXAMiCLQJ4Aw1dhZ1l5LaWqsUY73R+TieAO4Aaasw4AaOKHJjxzpqXYiB1cdOJ0CvIY5p+Fv+f.am4S.Dh69tnPXU7ULlUJdFv8Ei44U.yKp.lCp.lCq.lip.lWVALuZoXr+E7sIFUX1XB3XT+zMQXbeIE5xR6HQ+FLl7NlA
                

                I can change it within an inline function, but calling setValue() after declaration doesn't work

                Dan Korneff - Producer / Mixer / Audio Nerd

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

                  @dustbro Does it only happen with AAX or does it also happen with VST/AU?

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  Dan KorneffD 1 Reply Last reply Reply Quote 0
                  • Dan KorneffD
                    Dan Korneff @d.healey
                    last edited by

                    @d-healey This is just AAX. The button initializes properly with VST AU

                    Dan Korneff - Producer / Mixer / Audio Nerd

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

                      Then I don't think there is anything we can do from within HISE to fix this. @Christoph-Hart any ideas?

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - Public HISE tutorials
                      My Patreon - HISE tutorials

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

                        @Christoph-Hart I figured it out.
                        If isPluginParameter is enabled on a button, AAX will default it's value to 0 even if it's set to 1 when you compile

                        Dan Korneff - Producer / Mixer / Audio Nerd

                        d.healeyD 1 Reply Last reply Reply Quote 1
                        • d.healeyD
                          d.healey @Dan Korneff
                          last edited by

                          AAX will default it's value to 0 even if it's set to 1 when you compile

                          Does this happen in all AAX hosts? (are there any hosts other than pro-tools?).

                          Free HISE Bootcamp Full Course for beginners.
                          YouTube Channel - Public HISE tutorials
                          My Patreon - HISE tutorials

                          ustkU 1 Reply Last reply Reply Quote 0
                          • ustkU
                            ustk @d.healey
                            last edited by

                            @d-healey AAX is PT only

                            Hise made me an F5 dude, browser just suffers...

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

                              @ustk What a useless format :p

                              Free HISE Bootcamp Full Course for beginners.
                              YouTube Channel - Public HISE tutorials
                              My Patreon - HISE tutorials

                              FortuneF 1 Reply Last reply Reply Quote 0
                              • FortuneF
                                Fortune @d.healey
                                last edited by

                                @d-healey said in Initial loading values of GUI elements in aax when plugin is opened....:

                                @ustk What a useless format :p

                                Yeah, it's so useless.
                                Because it's been widely used by so many pros and legend engineers.
                                And also it is almost the main mixing environment standart of the Hollywood film and music industry

                                😅 😂 😈

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

                                  @Christoph-Hart Any chance we can dig up this old thread?
                                  If isPluginParameter is enabled on a button or combo, AAX will initialize to 0 no matter what the defaultValue is set to. Disabling isPluginParameter initializes to the proper value.
                                  This only affects AAX. Other formats work properly.

                                  Dan Korneff - Producer / Mixer / Audio Nerd

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

                                  25

                                  Online

                                  2.0k

                                  Users

                                  12.7k

                                  Topics

                                  110.3k

                                  Posts