It really feels weird, the Tabbed script i got from tabbed view snippet, is working in the snippet, and its working in my other project too, and the one iam currently, that same script is returning all the values on console, but nothing is updating on the UI, like the the button wont show the corresponding panel. its not a scripting error coz the script compiles ok and ive referenced every other project and settings.. what could be wrong, are backend files blocking ui or what.
Posts
-
RE: Scripted radio buttons with the tabbed viewposted in General Questions
-
RE: Rms type or Cosine type Crossfade Curvesposted in Scripting
@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
-
RE: Rms type or Cosine type Crossfade Curvesposted in Scripting
@griffinboy chatgpt or other bots aren't familiar with HISE coding yet i believe.. they just get confused with parameters.
said in Rms type or Cosine type Crossfade Curves:
This is pseudo code.
It's something like this// Equal-power wet/dry crossfade (pseudocode) // knob range value = 0 to 127 // normalize t = value / 127.0 // equal-power law // sin/cos keep total power constant wet_lin = sin(t * PI * 0.5) dry_lin = cos(t * PI * 0.5) // linear → dB // dB = 20 * log10(gain) // log10(x) = ln(x) / ln(10) wet_db = 20 * ln(wet_lin) / ln(10) dry_db = 20 * ln(dry_lin) / ln(10) // clamp near zero (avoid -inf) if (wet_lin < 0.00001) wet_db = -100 if (dry_lin < 0.00001) dry_db = -100 // apply WET.Gain = wet_db DRY.Gain = dry_db /* Behaviour: t=0 dry=1.0 (0 dB) wet=0.0 (-inf) t=0.5 dry≈0.707 (-3 dB) wet≈0.707 (-3 dB) Summed signal power stays constant across the crossfade, so the centre position does not sound quieter.This is the kind of question that AI can help you understand.
Ask chat gpt about it until you get why it works! -
RE: Rms type or Cosine type Crossfade Curvesposted in Scripting
@David-Healey this works good but still the same issue, at 50% the volume is not constant.
said in Rms type or Cosine type Crossfade Curves:
@Jeetender What about setting the Gain of the SimpleGain where you want it and using a CC modulator to control the actual value (you can connect the Default value knob to a UI knob, you don't actually need to use a CC). Then you could set any shape you want using the modulation tables.

-
RE: Rms type or Cosine type Crossfade Curvesposted in Scripting
@David-Healey no i did not, but the thing is there, i still have to balance between the send or wet with Dry. there is no direct wet dry balance in the modules...
-
RE: Rms type or Cosine type Crossfade Curvesposted in Scripting
@David-Healey iam just trying to create a wet dry balance between the two gain modules. iam not using scriptfx node. the earlier script moved the knobs in opposite direction but it was checking the peak volume, so at 50% the overall gain would just goo silent..

-
RE: Rms type or Cosine type Crossfade Curvesposted in Scripting
@Lindon How
const var wetdryknob = Content.getComponent("wetdryknob"); const var FX_WET = Synth.getEffect("WET"); const var FX_DRY = Synth.getEffect("DRY"); inline function onWetDryControl(component, value) { local wetMix = value / 127.0; local dryMix = 1.0 - wetMix; local wetGain = Math.sin(wetMix * Math.PI * 0.5); local dryGain = Math.cos(dryMix * Math.PI * 0.5); wetGain = Math.max(wetGain, 0.0001); dryGain = Math.max(dryGain, 0.0001); local wetDb = Engine.getDecibelsForGainFactor(wetGain); local dryDb = Engine.getDecibelsForGainFactor(dryGain); FX_WET.setAttribute(FX_WET.Gain, wetDb); FX_DRY.setAttribute(FX_DRY.Gain, dryDb); } wetdryknob.setControlCallback(onWetDryControl);``` -
RE: This script processor has a network that consumes the parametersposted in General Questions
@dannytaurus said in This script processor has a network that consumes the parameters:
@Jeetender Check the docs. Looks like you're missing an 's' at the end -
setForwardControlsToParametershttps://docs.hise.dev/scripting/scripting-api/dspnetwork/index.html#setforwardcontrolstoparameters
Yes it was missing am 's' at the end, thank you. it works but gives out a warning in almost every script "Warning: 'local' used outside of callback/inline function, treating as 'var' "
-
Rms type or Cosine type Crossfade Curvesposted in Scripting
here is a small code, i have a wet and and dry module in HISE, using simple gain, and there is a knob on the UI names wetdryknob, now this script works fine switching between wet and dry from -100 to 0db, but at 50% both the gain are at -50db, the curve is linear, iam not goo at maths, but the gain output should be constant and gain matched. how can i achieve it.
const var wetdryknob = Content.getComponent("wetdryknob"); const var FX1 = Synth.getEffect("WET"); const var FX2 = Synth.getEffect("DRY"); inline function onMasterKnobControl(component, value) { // Normalize value to 0–1 range local normValue = value / 127.0; // Map WET: 0 → -100dB, 1 → +18dB local wetGain = normValue * 127 - 0; // Map DRY: 0 → +18dB, 1 → -100dB (inverted) local dryGain = (1 - wetGain) - normValue * 0 - 101; FX1.setAttribute(FX1.Gain, wetGain); FX2.setAttribute(FX2.Gain, dryGain); } Content.getComponent("wetdryknob").setControlCallback(onMasterKnobControl); -
RE: This script processor has a network that consumes the parametersposted in General Questions
@Christoph-Hart Unknown function 'setForwardControlsToParameter'
-
This script processor has a network that consumes the parametersposted in Scripting
iam working on a plugin, and when ever i compile, this gives an error that script processor has a network that consumes the parameter, last night it was fine the scrip compiled well, and the buttons interface was working fine until this morning, this error came again. does this error come after a value mismatch in knob data???
for (i = 0; i < 5; i++)
{
buttons[i] = Content.getComponent("Button" + i);
panels[i] = Content.getComponent("Panel" + i);
buttons[i].setControlCallback(onButtonControl); // this line give an error now.
}
inline function onButtonControl(component, value)
{
local idx = buttons.indexOf(component);
if(!value)
return;
currentComp = idx;
ScriptFX.setAttribute(0, idx / 4);
updateUI();
} -
RE: JUCE error while exporting VSTposted in General Questions
@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); -
RE: JUCE error while exporting VSTposted in General Questions
@David-Healey the scriptnode dont have much as of now and nothing with the same declared var or name. How can i share the full script ?
-
RE: JUCE error while exporting VSTposted in General Questions
@David-Healey the compilation was successful, and it gav3e an error to set u hise path i did correct it and it works fine and exporting is ON.
i have this call back function
buttons[i].setControlCallback(onButtonControl);
every time i compile the script it gives an error " the script processor has a network that consumes the parameter. how to check..?
-
RE: JUCE error while exporting VSTposted in General Questions
@David-Healey said in JUCE error while exporting VST:
I've never used it so I don't know, but the speed will depend on your internet connection.
well i have a 100mbps line..lets see how much time it takes
-
RE: JUCE error while exporting VSTposted in General Questions
@David-Healey said in JUCE error while exporting VST:
@Jeetender The web link will do all the steps for you or you can do it manually. Both result in compiling HISE from source. If you're doing it manually, watch the bootcamp video again because it's been updated and contains the latest info about the sub module.
i executed the online and its doing its work.. how much time does it take, iam not sure if its working or stuck..

-
RE: JUCE error while exporting VSTposted in General Questions
@David-Healey ok i will try both ways.. and see if its working .. thank you david.
-
RE: JUCE error while exporting VSTposted in General Questions
@David-Healey ok i removed everything.. now should i compile a new hise with the projucer or run the weblink again.
-
RE: JUCE error while exporting VSTposted in General Questions
@David-Healey no i did not watch any video for submodules... and after running the link this error showed up
========================================
HISE Migration Script (ZIP to Git)Existing HISE path: C:\Users\JSin\Documents\HISE
Build config: Release
Keep backup: Yes (HISE_pre_git)[PHASE] Check/Install Git
[OK] Git is already installed
[PHASE] Backup Existing Installation
-> Renaming existing HISE folder to HISE_pre_git...
Rename-Item : Access to the path 'C:\Users\JSin\Documents\HISE' is denied.
At C:\Users\JSin\Downloads\hise-migration_2026-03-08_14-30-50.ps1:87 char:1- Rename-Item -Path $HISE_PATH -NewName "HISE_pre_git" -ErrorAction Sto ...
-
+ CategoryInfo : WriteError: (C:\Users\JSin\Documents\HISE:String) [Rename-Item], IOException + FullyQualifiedErrorId : RenameItemIOError,Microsoft.PowerShell.Commands.RenameItemCommand
-
RE: JUCE error while exporting VSTposted in General Questions
@David-Healey yes i did the git pull command on the prompt. it did dnload files, but that dint work, so i downloaded the latest hise develop branch.. and then put that where my old hise folder was, and then dropped the jucer file into projucer, and the tried to build with VS. i followed all step u told in the bootcamp video.. i misplaced the juce folder, and made a new folder in root C:\juce i don't know where did i go wrong, its just path mishandling i blv..