Forum

    • Register
    • Login
    • Search
    • Categories

    Scriptnode graph new feature, am I dreaming...

    Feature Requests
    4
    19
    89
    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.
    • ustk
      ustk last edited by ustk

      @Christoph-Hart I was just thinking about designing graphs that need complex ear tuning where you have to change multiple times the parameters until you find it perfect (if perfect exists...)
      I find it a bit annoying to right-click on tens of controls to enter/paste a new value, then realize that you have to do it again, and again...
      I came up with the idea of having a two columns table/list (name/values) that you can link to the parameters, and enter the values directly as text.

      Untitled.png

      Or three columns where the first two are automatically filled with the node name and parameter name that is connected
      Instead of links, this could be a table with comboboxes where you select the node/parameter per line

      Another idea would be to enter a whole set of values as object {val1, val2, valn...} when you compute them somewhere else...

      So, am I dreaming?

      Tired to press F5 in the forum...
      Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

        No it's actually a good idea. I would implement it through a "learn mode" that once you enable it it will add all parameters that you touch to that list.

        Setting values programatically (like precomputed values) is best achieved through the scripting layer - it's called scriptnode for a reason πŸ™‚

        1 Reply Last reply Reply Quote 2
        • ustk
          ustk last edited by ustk

          @Christoph-Hart Youhou!!! Disneyland powa!!! πŸ™‚
          So I imagine it would be a new tile
          About computing the values somewhere else I was referring outside of Hise…

          Tired to press F5 in the forum...
          Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

            Alright, here's my go at it:

            1. Click on the "probe" icon
            2. Select all parameters (it will show the icon next to all enabled parameters).
            3. Click on the icon again, it will open a JSON object with all selected parameters
            4. Modify the values (or paste in a precomputed list). It allows JS expressions, so you can use variables & function calls (it's plain Javascript though, no HiseScript)
            5. Press F5 in order to apply this.

            probe.gif

            The function is also available as scripting call DspNetwork.setParameterDataFromJSON() so it can be used to create an internal preset system.

            ustk d.healey 3 Replies Last reply Reply Quote 5
            • ustk
              ustk @Christoph Hart last edited by

              @Christoph-Hart ouch you got busy Christoph! That rocks! 😎

              Tired to press F5 in the forum...
              Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

              1 Reply Last reply Reply Quote 0
              • d.healey
                d.healey @Christoph Hart last edited by

                @Christoph-Hart Is this in the codegen_rewrite branch?

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

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

                  Will be in a short time when I commit the changes from the weekend...

                  d.healey 1 Reply Last reply Reply Quote 2
                  • d.healey
                    d.healey @Christoph Hart last edited by

                    @Christoph-Hart Is it stable or should we treat it as alpha?

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

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

                      100% alpha, but it compiles (at least on Windows and macOS, but Linux should be fine too) and you can play around with it.

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

                        @Christoph-Hart The scripting call availability is awesome
                        So is this safe to use in a slider callback instead of creating a graph parameter the old fashion ?

                        Tired to press F5 in the forum...
                        Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

                          @Christoph-Hart I try to compile on mac almost at every commit you've made since I've seen some mac compile fixes lately but with no luck

                          Tired to press F5 in the forum...
                          Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

                            No, it involves allocation and object creation and is undoable, so it's not safe to use in a slider callback that might be automated...

                            1 Reply Last reply Reply Quote 2
                            • Christoph Hart
                              Christoph Hart last edited by

                              @ustk said in Scriptnode graph new feature, am I dreaming...:

                              I try to compile on mac almost at every commit you've made since I've seen some mac compile fixes lately but with no luck

                              Oh OK, I'll check it on macOS then. It compiled last week so the changes I made since then shouldn't be to hard to fix.

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

                                @Christoph-Hart I'm checking again to be sure we're on the same commit...

                                Tired to press F5 in the forum...
                                Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

                                  [screeching intensifies]

                                  Music - Instruments

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

                                    @ustk This one should compile on macOS:

                                    https://github.com/christophhart/HISE/commit/069e7a203561787c83c1b7a597aad17ad0f57e79

                                    (at least it did here).

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

                                      @Christoph-Hart That one instantly fails:

                                      Untitled.png

                                      Tired to press F5 in the forum...
                                      Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

                                        Ah try the snex_workbench project, the HISE projucer file hasn't been updated yet.

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

                                          @Christoph-Hart Oh I see, I'm trying...

                                          Tired to press F5 in the forum...
                                          Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

                                          22
                                          Online

                                          852
                                          Users

                                          5.7k
                                          Topics

                                          52.9k
                                          Posts