Forum
    • Categories
    • Register
    • Login
    1. Home
    2. Jeetender
    3. Topics
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 21
    • Groups 0

    Topics

    • J

      Rms type or Cosine type Crossfade Curves

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      16
      0 Votes
      16 Posts
      252 Views
      J

      @Lindon said in Rms type or Cosine type Crossfade Curves:

      @Jeetender eaiest way is ro use a scriptnode network and a xfade module...

      Yes, but iam not using DspNetwork. just trygin sumthing with the modules only.

      @griffinboy the script is ok, the knob is linear from min 0 to max 1, it only moves either knobs a few dbs +/- . I dont know, my tabs panels were working last night and now the panels wont change with buttons..

      It did work with a macro control, but still the curves

    • J

      This script processor has a network that consumes the parameters

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      3
      0 Votes
      3 Posts
      79 Views
      HISEnbergH

      @Jeetender This issue comes up every now and again, check here.

    • J

      JUCE error while exporting VST

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      17
      0 Votes
      17 Posts
      534 Views
      J

      @David-Healey said in JUCE error while exporting VST:

      @Jeetender How big is it?

      Content.makeFrontInterface(700, 400);

      const var scriptFx = Synth.getEffect("Script FX1");
      const var buttons = [];
      const var panels = [];

      for (i = 0; i < 5; i++)
      {
      buttons[i] = Content.getComponent("Button" + (i));
      panels[i] = Content.getComponent("Panel" + (i));
      buttons[i].setControlCallback(onButtonControl);
      }

      inline function onButtonControl(component, value)
      {
      if (!value) return;

      local idx = buttons.indexOf(component); local compSwitchValue = idx * 0.25; // Show corresponding panel for (i = 0; i < 5; i++) { panels[i].showControl(i == idx); buttons[i].setValue(i == idx); } scriptFx.setAttribute(0, compSwitchValue);

      }

      //const var scriptFx = Synth.getEffect("Script FX1");
      const var mtbuttons = [];
      const var mtpanels = [];

      for (j = 0; j < 3; j++)
      {
      mtbuttons[j] = Content.getComponent("MtrBut" + (j));
      mtpanels[j] = Content.getComponent("MtrPnl" + (j));
      mtbuttons[j].setControlCallback(onMtrButControl);
      }

      inline function onMtrButControl(component, value)
      {
      if (!value) return;
      local ide = mtbuttons.indexOf(component);
      local compSwitchValue = ide * 0.25;

      for (j = 0; j < 3; j++) { mtpanels[j].showControl(j == ide); mtbuttons[j].setValue(j == ide); }

      }

      const var rm = Engine.getGlobalRoutingManager();
      const var cable = rm.getCable("global_cable");

      const var Knob1 = Content.getComponent("Knob1");

      cable.registerCallback(function(value)
      {
      var dB = Engine.getDecibelsForGainFactor(value);
      dB = Math.max(-60, dB); // Clamp to -60dB
      Knob1.setValue(dB);
      Knob1.changed(); // Update UI
      }, AsyncNotification);