Help with assigning knobs...
-
Hi,
This is probably something really silly like a typo in the code but I cannot for the life of me get the tempo knob to control the delay tempo.
Got Tempo Sync button working, got a Stereo Link function working fine, but even just trying to get 1 knob to control the left time and nothing.
I'm sure ill work it out as soon as I post this but here's the bit of code:
//Tempo Control Functionality <---- This bit ! inline function onknbDelaylefttempoControl(component, value) { Delay1.setAttribute(Delay1.DelayTimeLeft, Value); }; Content.getComponent("knbDelaylefttempo").setControlCallback(onknbDelaylefttempoControl); //Everything from here on works fine. //Feedback linked inline function onknbDelayfbControl(component, value) { Delay1.setAttribute(Delay1.FeedbackLeft, value); Delay1.setAttribute(Delay1.FeedbackRight, value); }; Content.getComponent("knbDelayfb").setControlCallback(onknbDelayfbControl); //Tempo Sync inline function onbtnDelaytemposyncControl(component, value) { knbDelayrighttempo.set("visible",value); knbDelayrightfreq.set("visible",value-1); knbDelaylefttempo.set("visible",value); knbDelayleftfreq.set("visible",value-1); Delay1.setAttribute(Delay1.TempoSync,value); }; Content.getComponent("btnDelaytemposync").setControlCallback(onbtnDelaytemposyncControl); //Delay time stereo link inline function onknbDelaylefttempoControl(component, value) { if (btnDelaystereolink.getValue()) { knbDelayrighttempo.setValue(value); } }; knbDelaylefttempo.setControlCallback(onknbDelaylefttempoControl); inline function onknbDelayrighttempoControl(component, value) { if (btnDelaystereolink.getValue()) { knbDelaylefttempo.setValue(value); } }; knbDelayrighttempo.setControlCallback(onknbDelayrighttempoControl); inline function btnDelaystereolinkControl(component, value) { if(value) { btnDelaystereolink.changed(); } }; Content.getComponent("btnDelaystereolink").setControlCallback(onbbtnDelaystereolinkControl); inline function onknbDelayleftfreqControl(component, value) { if (btnDelaystereolink.getValue()) { knbDelayrightfreq.setValue(value); } }; knbDelayleftfreq.setControlCallback(onknbDelayleftfreqControl); inline function onknbDelayrightfreqControl(component, value) { if (btnDelaystereolink.getValue()) { knbDelayleftfreq.setValue(value); } }; knbDelayrightfreq.setControlCallback(onknbDelayrightfreqControl); inline function btnDelaystereolinkControl(component, value) { if(value) { btnDelaystereolink.changed(); } }; Content.getComponent("btnDelaystereolink").setControlCallback(onbbtnDelaystereolinkControl);
Someone, make me feel stupid by pointing out my simple mistake please.
Chris
-
//Tempo Control Functionality <---- This bit ! inline function onknbDelaylefttempoControl(component, value) { //Look like you have typo here : value => Value Delay1.setAttribute(Delay1.DelayTimeLeft, Value); };
-
@sakorada didn't do it I'm afraid but thanks!
-
its
value
notValue
in the setAttribute.Just asking ChatGPT next time might be even easier.
//Tempo Control Functionality <---- This bit ! inline function onknbDelaylefttempoControl(component, value) { Delay1.setAttribute(Delay1.DelayTimeLeft, value); };
-
@oskarsh Afraid not. Might be something else going on. Thanks though.
Ps, I didn't know chatgpt could do HISE, I've just chucked the code in to see if it can check it for me. Thanks for headsup!
-
@bfaudio said in Help with assigning knobs...:
@oskarsh Afraid not. Might be something else going on. Thanks though.
Ps, I didn't know chatgpt could do HISE, I've just chucked the code in to see if it can check it for me. Thanks for headsup!
this always helps...
//Tempo Control Functionality <---- This bit ! inline function onknbDelaylefttempoControl(component, value) { Console.print("in the delay time call back"); Delay1.setAttribute(Delay1.DelayTimeLeft, value); };
-
@Lindon Thankyou, 'Compiled OK' but didn't print "in the delay time call back" so something not going through there.
Will keep searching -
@bfaudio have you connected the knob to a modulator by processor/parameter ID?
Don't trust ChatGPT.
-
@d-healey I am actually doing quite some coding now with chatGPT I created my own GPT based on the documentation and a bunch of example code from the hise examples. Together with some prompting it's working quite nicely.
-
@d-healey No, I had done that previously when I was just doing the initial layout but I've since removed all assignments from the property editor when I started scripting.
All the other functions I've done with the delay work I just can't get this to do the thing and I can't see my error. -
@oskarsh It's very useful if you know when it makes a mistake and how to correct it, but, if you don't know that, you end up pasting GPT nonsense on the forum for me to fix
-
@bfaudio post a snippet
-
@d-healey please go easy on me...
HiseSnippet 8996.3oc68rzbbbbdyRxgh.7A.enGNwN0ZJ4DPKJnc6EOMiMV.B.RXAP.hEhRpjcHGr6r.i4tyrZmYAATrpnJoRhSkphqbIo3onp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NPujDOFPFFSoLLlIxvXlLCiYpLLloyvXlIwwf7nb9NdNMIqcgMrwRj.bli5KCp1+OLRR5s.
-
@bfaudio You've assigned 2 callbacks to the same knob. Lines 398 and 430.
-
@d-healey ahhh I see. I’ll try putting it all in the same callback. Thanks heaps!
-
@d-healey DavidGPT trained on all the forum knowledge
-
@oskarsh said in Help with assigning knobs...:
@d-healey DavidGPT trained on all the forum knowledge
-
Ok, so further to THIS post...
after exporting said instrument and looking down the automation parameter list, its messy to have separate automation lanes for tempo synced and frequency. I've been looking at how to switch modes on the knobs when the tempo synced button is pressed rather than visible/invisible knobs. There doesn't seem to be a tempo synced mode to switch to? Is this correct?
-
@bfaudio I’m talking about switching modes with setmode in scripting fyi
-
@bfaudio said in Help with assigning knobs...:
setmode
What about something like
if (button == 1) knob.set("mode", "TempoSync"); else knob.set("mode", "Frequency");