HISE Logo Forum
    • Categories
    • Register
    • Login

    Changed Knob mode with a button but Knob value can't be saved

    Scheduled Pinned Locked Moved General Questions
    22 Posts 6 Posters 3.0k 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.
    • resonantR
      resonant @d.healey
      last edited by resonant

      @d-healey very strange. It is not working on my Hise

      1 Reply Last reply Reply Quote 0
      • orangeO
        orange @d.healey
        last edited by

        @d-healey It really doesn't work on my system. I will show it with a video too

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

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

          @orange Which version of HISE are you using?

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

          orangeO 1 Reply Last reply Reply Quote 0
          • orangeO
            orange @d.healey
            last edited by

            @d-healey
            1.5.1
            (17.04.2018 update)

            develop Branch / XCode 13.1
            macOS Monterey / M1 Max

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

              @orange This is strange, I'm on pretty much the same version, I can't see anything different between our versions that should prevent it working for you. Show me your video please, start with copying and pasting that snippet so I can see the whole process

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

              orangeO 1 Reply Last reply Reply Quote 0
              • staiffS
                staiff
                last edited by

                did you just try 1 button and 2 sliders (or knobs) =

                button = tempo sync on/off
                slider 1 = time in ms
                slider 2 = tempo (synced)

                when tempo button on = slider 1 hidden, slider 2 visible.
                when tempo off = slider 2 hidden, slider 1 visible.

                the 2 sliders at the exact same place, of course; all (button, knobs) set saveinpreset = yes

                in this case all infos (on/off, time ms, tempo) will be saved in the preset.

                Excuse me i'm French.

                lalalandsynthL 1 Reply Last reply Reply Quote 0
                • orangeO
                  orange @d.healey
                  last edited by

                  @d-healey
                  I've shoot a video from scratch. It is not working :(

                  develop Branch / XCode 13.1
                  macOS Monterey / M1 Max

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

                    @orange Very strange, it must be something to do with our different versions. I have the latest build from source.

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

                    orangeO 1 Reply Last reply Reply Quote 1
                    • orangeO
                      orange @d.healey
                      last edited by orange

                      @d-healey
                      Can we go with the previous thread?

                      • In this case we will use 2 different modulators (TempoSync & free mode individually)
                      • We won't use knob mode changing. we will use different knobs for each modulator with show/hide option depending on sync button.
                      • But in this case we will have an issue for tables and sliderpacks whilde selecting waveforms.

                      FOR THE SOLUTION, I ONLY NEED:
                      We can use an "if" state in an other "if". So;

                      If table is selected; and if tempo sync is on >> show table1
                      If table is selected; and if tempo sync is off >> show table2
                      If sliderpack is selected; and if tempo sync is on >> show sliderpack1
                      If sliderpack is selected; and if tempo sync is off >> show sliderpack2

                      In previous thread I've asked this solution. I really don't know how to do that :(

                      develop Branch / XCode 13.1
                      macOS Monterey / M1 Max

                      1 Reply Last reply Reply Quote 0
                      • lalalandsynthL
                        lalalandsynth @staiff
                        last edited by lalalandsynth

                        @staiff I tried this and it does not get saved properly in a preset.

                        Tried a lot of things today and cannot get this to work.

                        The @d-healey script works in a simple test script but not in a larger script for some reason.

                        HiseSnippet 2193.3oc6ZzzaabbcojVaQ5nFmDEfdo.CD5ApVGYJK63j3Vn05KGVKYwHJ6jh1h3Q6NTbh1clM6Nq9HoBvWLZ+AzKtmxw9Sn8luFfbnEM.8pKZQA5s7OH4MyreRtThlv1HN1zR.ddu27l2Wy6igpU.2lDFxCLpTc6i7IFUdEy1GwDcWtKlxLZthQkZlaS77cwBhwRG4iCCINFUpL9Mj3qTcBC0muYwkvtXlMICjgwc3Tax5TOpHCpu0MottqgcHaS8xQ8ksZZyYKyc4QfrLtYCCer8d3cI2BKIaLSiJmYUGpfGzV.hRnQkI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VaRNm4Gh2mn9FBUVioUq6vC7P2fvHARa0IjQ3u+j+KFeSaAHAostOedN2CtKUL0jHhkRt0BKbMKMnKkUiXtGJ0t0.sKGamzJA3kxCDhJJb1v5BmWg5DFFqxvfOuMAzFmMCsAkEWXpjuYwVQtgD0kiTg7e+YecNvIr2p1+5+rXuoFerGN64v+d.d18JAiObh6oLaV0DYTWMcUnNmKGfnKzrh9AESglWHyFyMeLzVD3t+tp2nISzKUettP.M5jAYZqsHtDb9Ic+oVqSYDLLrsCYDMEOgFS8GapEWj7pO5GFOty3+.5wcdZbAExN9BRM0mEmgG1Nf+w15uRJ4UuIUP.8lo9NapBsuCqQym7sOYZ1XtFxGxk9w11xni2BrOkumKMB6YgQXOWdD1yUFg871ivdt5Hrm24D2irz40iDbOc7O.n0p52RrhtSA0UAiuCvRq9SS
                        

                        With this script it will not load correctly from a preset if the previous preset is unsynced , and you are loading a synced one, or from synced to unsynced. It does however load correctly if you double click the preset ,or go from synced to synced , or unsynced to unsynced. Not possible to load correctly when using prev/next buttons to load presets.

                        Preset load.gif

                        Exactly the same script in a simple test project, same presets. Works just fine.

                        Preset load2.gif

                        Tried everything, if anyone has a solution I would love to hear it.

                        https://lalalandaudio.com/

                        https://lalalandsynth.com/

                        https://www.facebook.com/lalalandsynth

                        https://www.facebook.com/lalalandsynth

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

                        20

                        Online

                        1.7k

                        Users

                        11.9k

                        Topics

                        103.7k

                        Posts