HISE Logo Forum
    • Categories
    • Register
    • Login

    Find the ID from an modulator dynamically?

    Scheduled Pinned Locked Moved Scripting
    3 Posts 2 Posters 51 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.
    • ulrikU
      ulrik
      last edited by

      In this example I have Script Processor 1 in the same sound source container as the modulator "AHDSR Envelope 1"
      Is it possible for the Script Processor to dynamically find the right Id of the AHDSR Envelope?

      Something like .getModulatorsInChain(1) or something?

      If it's possible, how would you do that?

      Skärmavbild 2025-02-21 kl. 16.39.48.png

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

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

        @ulrik Yes, use Synth.getIdList("AHDSR Envelope");

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

        ulrikU 1 Reply Last reply Reply Quote 1
        • ulrikU
          ulrik @d.healey
          last edited by

          @d-healey Beautiful, thanks!

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

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

          17

          Online

          1.7k

          Users

          11.8k

          Topics

          103.1k

          Posts