HISE Logo Forum
    • Categories
    • Register
    • Login

    Global LFO Intensity issue

    Scheduled Pinned Locked Moved Scripting
    3 Posts 2 Posters 98 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.
    • C
      cadrose
      last edited by

      Hey, I seem to be having an issue I would like to control two Global modulators that are linked to global lfo's. So one control on the UI affects the intensity of the two Global Static Time Variant Modulators

      I can do it with processor ID however I cant seem to do it with code

      
      //WTType//
      const var WaveformLFO1 = Synth.getModulator("Waveform LFO 1");
      const var MoogWaveformLFO1 = Synth.getModulator("MoogWaveformLFO1");
      
      inline function onSynthWaveLFO1Control(component, value)
      {
      	WaveformLFO1.setAttribute(WaveformLFO1.Intensity, value);
      	MoogWaveformLFO1.setAttribute(MoogWaveformLFO1.Intensity, value);
      };
      
      
      Content.getComponent("SynthWaveLFO1").setControlCallback(onSynthWaveLFO1Control);
      
      
      
      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @cadrose
        last edited by

        @cadrose Use setIntensity

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

        C 1 Reply Last reply Reply Quote 0
        • C
          cadrose @d.healey
          last edited by

          @d-healey ahh Legend! Thanks!

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

          29

          Online

          1.7k

          Users

          11.8k

          Topics

          102.3k

          Posts