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
    2 Posts 1 Posters 186 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
      last edited by

      I'm constructing a bunch of ScriptSynths in my module tree like this.

      for (i = 0; i < max_count; i++)
      {
      var script_idx = builder.create(builder.SoundGenerators.ScriptSynth, "ScriptSynth" + i, 0, builder.ChainIndexes.Direct);
      }
      

      I have a DSP Network in my project called 'one_shot_sampler' and I want to load an instance of this network into each ScriptSynth.

      More or less the equivalent of this menu:
      9501a0d0-aee0-4fb9-8111-664eddc96050-image.png

      How would I do this in my Interface.js script?

      O 1 Reply Last reply Reply Quote 0
      • 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
        • First post
          Last post

        43

        Online

        1.7k

        Users

        11.7k

        Topics

        101.8k

        Posts