HISE Logo Forum
    • Categories
    • Register
    • Login

    Scripting dynamics = value inconsistency

    Scheduled Pinned Locked Moved Bug Reports
    20 Posts 6 Posters 639 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 @d.healey
      last edited by

      @d-healey said in Scripting dynamics = value inconsistency:

      You can also use the auto-complete in your script to bring up a list of constants

      The autocomplete doesn't work when you're iterating thru an array, that's why I started using the Magic Numbers. Much easier to type 🤡

      Dan Korneff - Producer / Mixer / Audio Nerd

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

        @Lindon You need to add it to the interface. I have plans for a video on the subject but no-one was interested :(
        da5ee494-0971-457c-b1e2-395e4b068e47-image.png

        @dustbro

        Whatchu talkin bout?

        21fd8657-18bc-43f5-be7d-d2cbdf4b7dd5-image.png

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

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @d.healey
          last edited by

          @d-healey well this now gets sillier and sillier...

          add a degrade fx to you project and it shows you a set of buttons with these names:

          Harmonics
          Bit Crush
          Gain
          Sample rate
          Post Filter

          Create a variable for the fx and press to get autocomplete and it shows you these attributes:

          Headroom
          Quant
          Rate
          PostFilt
          NonLin
          DryWet

          Open a module browser and right lick on Degrade and it shows you this set of parameters;

          1. Threshold
          2. Output
          3. Attack
          4. Release
          5. Knee

          Unless I'm doing something completely daft(not outside the bounds of possibility) I think this is broken.

          HISE Development for hire.
          www.channelrobot.com

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

            No, what he meant was that it will not be able to parse the iterator variable as array expression and detect it as object.

            This is true, but it works for standard array syntax (actually pressing escape kind of "runs" a little script that is able to evaluate some basic expressions to receive the object, but it fails with every scoped variable like iterators or local variables).

            autocomplete.gif

            Dan KorneffD 1 Reply Last reply Reply Quote 1
            • Christoph HartC
              Christoph Hart
              last edited by

              I really need to remove these old modules, I haven't used them for years and they are completely broken.

              There are bit crush and sample reduction nodes available in scriptnode, which should work better and more consistently.

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

                @Lindon I just worked out the documentation is OFF by one press degrade to get the params for the limiter, press Chorus to get the params for the degrade FX...

                now can anyone (@Christoph-Hart ) tell me how those are mapped to the knobs in the FX?

                HISE Development for hire.
                www.channelrobot.com

                ustkU 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @Christoph Hart
                  last edited by

                  @Christoph-Hart but I'm under a tight deadline and I dont have the time to learn scriptnode now, so I'd like these to work,

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Christoph-Hart @d-healey When I used the method in Christoph's video (with [i] ) the popup doesn't work.
                    so if I type something like myList[i]. = no popup

                    Dan Korneff - Producer / Mixer / Audio Nerd

                    ulrikU 1 Reply Last reply Reply Quote 0
                    • ustkU
                      ustk @Lindon
                      last edited by

                      @Lindon said in Scripting dynamics = value inconsistency:

                      now can anyone (@Christoph-Hart ) tell me how those are mapped to the knobs in the FX?

                      You can add a knob with its callback, then you test the attributes from 0 to 5 while you look at what is moving in the module...

                      Can't help pressing F5 in the forum...

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

                        @dustbro I can confirm it does not work for me either on arrays with [i]

                        Hise Develop branch
                        MacOs 15.3.1, Xcode 16.2
                        http://musikboden.se

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

                        42

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        101.9k

                        Posts