HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode graph new feature, am I dreaming...

    Scheduled Pinned Locked Moved Feature Requests
    19 Posts 4 Posters 615 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.
    • Christoph HartC
      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
      • ustkU
        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…

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

        1 Reply Last reply Reply Quote 0
        • Christoph HartC
          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.

          ustkU d.healeyD 3 Replies Last reply Reply Quote 4
          • ustkU
            ustk @Christoph Hart
            last edited by

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

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

            1 Reply Last reply Reply Quote 0
            • d.healeyD
              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 HartC
                Christoph Hart
                last edited by

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

                d.healeyD 1 Reply Last reply Reply Quote 2
                • d.healeyD
                  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 HartC
                    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.

                    ustkU 1 Reply Last reply Reply Quote 1
                    • ustkU
                      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 ?

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

                      1 Reply Last reply Reply Quote 0
                      • ustkU
                        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

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

                        1 Reply Last reply Reply Quote 1
                        • Christoph HartC
                          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 HartC
                            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.

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

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

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

                              Christoph HartC 1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User
                                last edited by

                                [screeching intensifies]

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

                                  @ustk This one should compile on macOS:

                                  Link Preview Image
                                  - fix compilation on macOS pt. II · christophhart/HISE@069e7a2

                                  The open source framework for sample based instruments - - fix compilation on macOS pt. II · christophhart/HISE@069e7a2

                                  favicon

                                  GitHub (github.com)

                                  (at least it did here).

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

                                    @Christoph-Hart That one instantly fails:

                                    Untitled.png

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

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

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

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

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

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

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

                                        14

                                        Online

                                        1.7k

                                        Users

                                        11.8k

                                        Topics

                                        103.2k

                                        Posts