HISE Logo Forum
    • Categories
    • Register
    • Login

    How I tell an instance of a ScriptSynth to load a particular DSP network?

    Scheduled Pinned Locked Moved Scripting
    25 Posts 7 Posters 440 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.
    • O
      Orvillain @Orvillain
      last edited by

      @Christoph-Hart - is this actually possible? Been trying again, and was not able to figure it out.

      1 Reply Last reply Reply Quote 0
      • O
        Orvillain
        last edited by

        Don't suppose anyone knows how to tell a script node synth or a script node effect to load a named network???

        HISEnbergH 1 Reply Last reply Reply Quote 0
        • HISEnbergH
          HISEnberg @Orvillain
          last edited by

          @Orvillain Not to my knowledge. It is certainly possible with the HardcodedFx Module using SlotFx.setEffect, but that doesn't translate to the ScriptFx.

          O 1 Reply Last reply Reply Quote 0
          • O
            Orvillain @HISEnberg
            last edited by

            @HISEnberg

            There is DSPNetwork.createFromJSON() but I don't know how to get my DSPNetwork as a JSON chunk.

            I'm assuming if I did have that (rather than the raw XML????) that it would be a simple affair of getting the network reference and then feeding in my JSON.

            That might be one way to do this.

            I'm not trying to do dynamic loading of networks in my plugin or anything. I'm using the Builder to construct my module hierarchy, and I want to auto-plumb in some premade DSPnetworks.

            O 1 Reply Last reply Reply Quote 0
            • O
              Orvillain @Orvillain
              last edited by

              I guess I probably am required to make one, compile it, then use the hardcoded effects and the .setEffect call.

              HISEnbergH 1 Reply Last reply Reply Quote 0
              • HISEnbergH
                HISEnberg @Orvillain
                last edited by

                @Orvillain Ya it would be easier to just use a hardcoded version but I think you are touching on a good feature request. It could definitely expedite the development process a bit. I see you can attach the ScriptFx to an external script, so possibly you can do it there but I have no idea how to implement that.

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

                  Consider it a good thing that this missing feature nudges you towards using hardcoded FX modules :)

                  O Dan KorneffD 2 Replies Last reply Reply Quote 0
                  • O
                    Orvillain @Christoph Hart
                    last edited by

                    @Christoph-Hart

                    Booooo this man!!!!

                    ;-)

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

                      @Christoph-Hart said in How I tell an instance of a ScriptSynth to load a particular DSP network?:

                      Consider it a good thing that this missing feature nudges you towards using hardcoded FX modules :)

                      Only if it nudges you towards increasing the parameter limit for hardcoded effects. 😉
                      Some of my basic nodes can have 40-50 parameters.

                      Dan Korneff - Producer / Mixer / Audio Nerd

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

                        @Dan-Korneff said in How I tell an instance of a ScriptSynth to load a particular DSP network?:

                        basic nodes

                        Nope

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

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

                          @d-healey Am I the only one that ends up with networks like this?

                          Screenshot 2025-06-24 150119.png

                          Dan Korneff - Producer / Mixer / Audio Nerd

                          L ChazroxC O d.healeyD 4 Replies Last reply Reply Quote 0
                          • L
                            Lurch @Dan Korneff
                            last edited by

                            @Dan-Korneff .... you just might be 😆

                            1 Reply Last reply Reply Quote 0
                            • ChazroxC
                              Chazrox @Dan Korneff
                              last edited by Chazrox

                              @Dan-Korneff Im almost there with this one and Im not done yet...lol

                              Screenshot 2025-06-24 at 12.46.37 PM.png

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

                                Guys you know you can fold nodes?

                                Dan KorneffD ChazroxC 2 Replies Last reply Reply Quote 2
                                • O
                                  Orvillain
                                  last edited by

                                  Yah! Double click headers boiz! You'll discover magic!

                                  1 Reply Last reply Reply Quote 0
                                  • O
                                    Orvillain @Dan Korneff
                                    last edited by

                                    @Dan-Korneff When it gets to that point, I'd rather write a custom c++ node!! 😆

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

                                      @Dan-Korneff said in How I tell an instance of a ScriptSynth to load a particular DSP network?:

                                      Am I the only one that ends up with networks like this?

                                      That's a work of art

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

                                      Dan KorneffD 1 Reply Last reply Reply Quote 1
                                      • Dan KorneffD
                                        Dan Korneff @Orvillain
                                        last edited by

                                        @Orvillain Those are almost ALL custom C++ nodes. I just need a ton of parameters exposed for tweaking

                                        Dan Korneff - Producer / Mixer / Audio Nerd

                                        O 1 Reply Last reply Reply Quote 1
                                        • O
                                          Orvillain @Dan Korneff
                                          last edited by

                                          @Dan-Korneff siiiiiiccckkkkkkk

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

                                            @Christoph-Hart Even with folded nodes, I have an onslaught of knobs at the top of the container.

                                            1000009653.jpg

                                            Luckily, I have a monitor just for the DSP network.

                                            Dan Korneff - Producer / Mixer / Audio Nerd

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

                                            33

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.4k

                                            Posts