HISE Logo Forum
    • Categories
    • Register
    • Login

    How can I access LFO Modulator1 on Simple Gain1 module

    Scheduled Pinned Locked Moved Scripting
    4 Posts 2 Posters 197 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.
    • T
      TNTHM
      last edited by TNTHM

      I am looking to control the LFO Modulator on the Simple Gain module through script. I thought it would be accessed by:

      SimpleGain1.LFOModulator1.Frequency
      

      This is does not work. I checked the docs under

      Modulators > List of Time Variant Modulators > LFO > Parameters

      Is there somewhere else in the docs I should look for this info?

      ulrikU 1 Reply Last reply Reply Quote 0
      • ulrikU
        ulrik @TNTHM
        last edited by

        @TNTHM

        You have to have a reference to the LFOModulator and set it's freq like this:

        LFOModulator1.setAttribute(LFOModulator1.Frequency, value);
        

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

        T 1 Reply Last reply Reply Quote 0
        • T
          TNTHM @ulrik
          last edited by

          @ulrik oh wow. Thank you, that makes sense!

          ulrikU 1 Reply Last reply Reply Quote 0
          • ulrikU
            ulrik @TNTHM
            last edited by

            @TNTHM it's in the documentation as well:

            Link Preview Image
            HISE | Docs

            favicon

            (docs.hise.audio)

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

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

            21

            Online

            1.7k

            Users

            11.9k

            Topics

            103.4k

            Posts