Forum

    • Register
    • Login
    • Search
    • Categories

    Macro again

    Scripting Forum
    2
    8
    91
    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.
    • ulrik
      ulrik last edited by

      Can someone explain for me why this 2 logs doesn't show the same values?
      There must be something I don't understand (well there is a lot of that kind of stuff .. 😂)

      Skärmavbild 2021-12-16 kl. 08.10.39.png

      HiseSnippet 1469.3oc2Ys0aZbDEdVCaTflD0zT0aOsxJOfURIfufwJpxTiMVjXavkzboUpVC6NvN0CyrY2AmfpxS8k9T+sUo9GHOze.8eP6Y163fcnHmTS3ADybNm47cNybtLCscElDOOgKRK2iF4PPZWSuyHtzttMlxQM2VMQCJSRbM1qQKzVibvddDKjlVlcUbnkKKx+yeu4VXFlaRRlBgdrfZR1iNfJSlscsGRYrFXKxinCRw8p0ZZJ30ELwP.MYzKgbvlGi6SN.qXaAcj1U1whJEtcjXIwCokcKg0nN1hWvC3+wTOZWFQMnLpCrPAS2PvrTHV8aTcaJypcjU6gPZ5sS7AYB7Aep99TKZ77I9hO1mfQhDo8GZKLN7xLF7JeVvaBPRKEjxF.oap2wzk5HSnnvyGo2jCaM8vfaOMTB3EsvutfdcAvAWVb.9XRCWXPrDEpTpzcMfuV594yCtdOowIXWifc6xFeig+Agh8Ixc50iXJKrXHoEAAR3GNVruvZHCCl9XREOagEAdLRXZb4qq9ElKOKYioqDK+8t23pdWWriMHYjYBxVWLvQvgA950mAeQAYysO1zUT9XdWCyt4obFkSL5MjaJoBtgfGP9g7tpkyUvJXFsV2ETHaHYo7+R9bJDIXjhNtTPIiY+95enqKHwdjSHrBKAZ9TBDrP2O+q.LMYXGCiEWpnmhhOXpiYrtPHQg2DmvpkxJNPHIs3E7wZ9Wk23zj50ahzBWKFwchjUQqtmmfE3CGzk3l1SoXDNBOdbwUlt3By.WSJFE7lbprkCIbbRfc4IDEgB8sp3oPDBrJ8iltQXzTGF0h3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FzYHyJyfLqNCxr1LHSkYPl0mAYpdtxnt742NDZ.M3JSvDs2In0Ss3VX0xf9WDiG6kI
      

      Hise Develop branch
      MacOs 13, Xcode 14.0.1
      http://musikboden.se

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

        @ulrik the macro modulation system is not exact - think of it as a way to move the knobs instead of having to move them manually but don‘t expect mathematical accuracy.

        In this case the call to setValue was done a little bit earlier than the callback execution.

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

          @christoph-hart so you're saying that the value from a macro controlled knobs callback is never accurate between 0 and 1?

          As you can see here, when using the step waveform,

          first step (0):
          level = 0
          macro cb value = 0

          second step (0.5)
          level = 0.5
          macro cb value = 0.25

          third step (1)
          level = 1
          macro cb value = 1

          Skärmavbild 2021-12-16 kl. 09.35.31.png

          Hise Develop branch
          MacOs 13, Xcode 14.0.1
          http://musikboden.se

          ulrik 1 Reply Last reply Reply Quote 0
          • ulrik
            ulrik @ulrik last edited by

            @Christoph-Hart I think I'm completely misunderstanding the macro system, I have to read up on it 🙂
            Sorry 🙏

            Hise Develop branch
            MacOs 13, Xcode 14.0.1
            http://musikboden.se

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

              @ulrik The value range will be accurate, it's just the timing of when it has which value that is imprecise because it will just fetch a single value of a buffer and then call a script function which might be executed a few milliseconds later.

              You can use it for modulating a parameter with slow movements, but if you're trying to make a "real" modulation system, then this is not the right tool.

              ulrik 1 Reply Last reply Reply Quote 1
              • ulrik
                ulrik @Christoph Hart last edited by

                @christoph-hart said in Macro again:

                but if you're trying to make a "real" modulation system, then this is not the right tool.

                What is your suggestion how to make a real system, if I wan't to control parameters that is not controllable via a LFO Modulator module?

                Hise Develop branch
                MacOs 13, Xcode 14.0.1
                http://musikboden.se

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

                  @ulrik You basically have three options here:

                  1. Use the modulation system for parameters that are modulatable
                  2. Use the macro modulation system for unmodulatable parameters and live with the timing issues
                  3. Use scriptnode and build whatever modulation architecture you need.
                  ulrik 1 Reply Last reply Reply Quote 1
                  • ulrik
                    ulrik @Christoph Hart last edited by

                    @christoph-hart said in Macro again:

                    Use scriptnode and build whatever modulation architecture you need.

                    I will go for number 3 !!
                    I just have to start learning scriptnode now 🙂
                    Thank you Christoph!

                    Hise Develop branch
                    MacOs 13, Xcode 14.0.1
                    http://musikboden.se

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

                    18
                    Online

                    1.1k
                    Users

                    6.8k
                    Topics

                    62.4k
                    Posts