HISE Logo Forum
    • Categories
    • Register
    • Login

    ShowControl Strange Behaviour

    Scheduled Pinned Locked Moved General Questions
    9 Posts 2 Posters 273 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.
    • S
      Sawer
      last edited by

      Hello Everyone!
      Based on this video, when I compile or Select a sound in the browser, The other panel comes out.
      I know the issue is mine and code related , but I've been looking where the problem is but I'm not getting it. I just not getting the logic of this behaviour

      Any help is greatly appreciated.
      Screen Recording 2022-02-25 at 11.08.31.gif

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

        @Sawer Minimal snippet required

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

        S 2 Replies Last reply Reply Quote 0
        • S
          Sawer @d.healey
          last edited by

          @d-healey absolutely, will be done.

          1 Reply Last reply Reply Quote 0
          • S
            Sawer @d.healey
            last edited by

            @d-healey I don't know but on the minimal snippet created to send here everything works. only on this projects things are not going as expected. But probably I think is because the code is triggering in an external file instead of the onInit callback.

            Will try recreating the whole thing and see..

            S d.healeyD 2 Replies Last reply Reply Quote 0
            • S
              Sawer @Sawer
              last edited by

              @Sawer Is Hise Recompiling after a preset has been selected?

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

                @Sawer said in ShowControl Strange Behaviour:

                @d-healey I don't know but on the minimal snippet created to send here everything works.

                That's often what happens, that's why it's always good to make a minimal snippet.

                Is Hise Recompiling after a preset has been selected?

                No

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

                S 1 Reply Last reply Reply Quote 0
                • S
                  Sawer @d.healey
                  last edited by

                  @d-healey OK solved, the opacity of the preset browser was a 0. that's why.

                  I have another 2 problems:

                  1. When Opening project or xml from scratch in Hise, The name of the preset doesn't show up until I select it on the preset browser or I click the prev/next buttons.

                  2. I've set the master knob Default Value to 0.5(Parameter editor) so that you once plugin is opened from scratch you dont need to set the volume anytime, Not working. Done the same thing thru code, nothing. Is possible to set the master volume to a certain value the moment the plugin initialises?

                  Thanks

                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • S Sawer marked this topic as a regular topic on
                  • d.healeyD
                    d.healey @Sawer
                    last edited by

                    @Sawer

                    When Opening project or xml from scratch in Hise, The name of the preset doesn't show up until I select it on the preset browser or I click the prev/next buttons.

                    Where do you expect it to show up?

                    Default Value to 0.5

                    Default value is the value it will go to when you double click it.

                    Is possible to set the master volume to a certain value the moment the plugin initialises?

                    Yes, in on init you can use myKnob.setValue(). Or if the knob is set to save in preset you'll need to use the UserPresetHandler and set it in the post callback (but then there is no reason to have it save in preset).

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

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Sawer @d.healey
                      last edited by

                      @d-healey Ok, great. Thanks

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

                      21

                      Online

                      1.8k

                      Users

                      12.0k

                      Topics

                      104.1k

                      Posts