Forum
    • Categories
    • Register
    • Login

    Auto Wah

    Scheduled Pinned Locked Moved General Questions
    9 Posts 2 Posters 61 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.
    • pcs800P
      pcs800
      last edited by

      I built a wah pedal plugin which works great with daw automation which sweeps a couple parameteric eq's via the sweep knob on the gui.
      I want to have an auto wah button which responds to incoming audio.
      I have tried using an envelope follower in a Scipt FX, but not sure how to expose it's paramaters to the interface.
      Or if I am even on the right track. Anyone help?

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @pcs800
        last edited by

        @pcs800 you’re definitely on the right track with an envelope follower
        Now connect it to a global cable to grab the value from the UI script via a global cable callback

        Hise made me an F5 dude, any other app just suffers...

        pcs800P 2 Replies Last reply Reply Quote 0
        • pcs800P
          pcs800 @ustk
          last edited by

          @ustk So I just add a global_cable under the env follower?
          Do I need to add a slot and select it?

          1 Reply Last reply Reply Quote 0
          • pcs800P
            pcs800 @ustk
            last edited by

            @ustk What's the function call to register the global cable callback in the Interface script?

            ustkU 1 Reply Last reply Reply Quote 0
            • ustkU
              ustk @pcs800
              last edited by ustk

              @pcs800 you connect the envelope follower to the global cable and add a new slot

              then in the UI script:

              const var grm = Engine.getGlobalRoutingManager();
              const var autoWah_gc  = grm.getCable("yourGlobalCableSlotName");
              
              autoWah_gc.registerCallback(function(value)
              {
              	// do whatever with value, repaint a panel...
              	
              }, AsyncNotification);
              

              Hise made me an F5 dude, any other app just suffers...

              pcs800P 1 Reply Last reply Reply Quote 0
              • pcs800P
                pcs800 @ustk
                last edited by

                @ustk Thanks!
                I have envelope_follower connected to global_cable (slot0), and I'm using:

                const var grm = Engine.getGlobalRoutingManager();
                const var autoWah_gc = grm.getCable("slot0");
                autoWah_gc.registerCallback(onAutoWahCableCallback, true);

                But the callback never fires - no values are printed. What am I missing? Can you share a complete working example or snippet?

                ustkU 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @pcs800
                  last edited by

                  @pcs800 Do you see the cable moving in the network?

                  Is onAutoWahCableCallback a function?

                  true should be AsyncNotification (literally) but I don't think it's an issue here...

                  Hise made me an F5 dude, any other app just suffers...

                  pcs800P 1 Reply Last reply Reply Quote 0
                  • pcs800P
                    pcs800 @ustk
                    last edited by

                    @ustk This is what i have in the network DSP.png

                    pcs800P 1 Reply Last reply Reply Quote 0
                    • pcs800P
                      pcs800 @pcs800
                      last edited by

                      @pcs800 Never mind, I got it working.
                      I forgot to connect the modulation target
                      Thanks for the help.

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

                      22

                      Online

                      2.2k

                      Users

                      13.3k

                      Topics

                      116.0k

                      Posts