Questions
-
-
@d-healey I will! Downloaded a lot of PDFs about coding.
But it will take time..and for now I just would like to have values in my labels. -
@d-healey KnobDsp1 is a label and it wants to be a display :D Renamed to ValueDisplay1
-
But it will take time
Years... be prepared, or hire a scripter.
Renamed to ValueDisplay1
That's a terrible name, it doesn't tell me anything other than it's something that displays some value. If the label is to display the value of a gain control for example you could call it
lblGain
that tells me straight away it's a label control and it's displaying a gain value, so I would expect it either to be in dB or a gain factor.Read this.
KnobDsp1.set("text", value);
If KnobDsp1 is a label then that line of code should work. Post a snippet and we'll see what's going wrong.
-
@d-healey I would like to have a best friend who is a genius in coding.
But yeah..I'm prepared! Music production is also not an easy thing
and I have learned over 15 years. I like to learn new things
and coding is a skill I would use daily :)The name is indeed terrible.
I just thought it's better to have the same name
and just numbers for arrays etc. For quick prototyping it is fine.
And to me it's much easier to copy like this.
Mostly I don't need to name it, if the function is done.I will study the doc section!
-
-
@d-healey Can't really explain hahah.. I thought it would be needed for identifying.
If I had an array I could say KnobDisplay1-19 and that's all.
I do know some of those variables etc. from Unreal Engine blueprinting,
but visual programming is not the same. -
If I had an array I could say KnobDisplay1-19 and that's all.
Go and read all of the HISE docs and follow the links there to Javascript tutorials, it will save us both a lot of time ;)
-
@d-healey Yes I agree :)
-
A knob can use either parameter/processor ID or a custom callback, not both.
-
@d-healey Did read that somewhere else today. Can you explain for dummies?
Guess I have to get the slider value with a get function :) -
-
@d-healey You would laugh or cry - probably both,
if you would see how I'm using knobs. :P
I think my first fault was to put the code onInit and not onControl. -
@UD-AUDIO Don't use on control, it's obsolete.
-
@d-healey Aye! Good to know..
-
This post is deleted! -
@d-healey Hey mate! Sorry for not responding yesterday.
I was very tired. It took me a while to understand what this means technically:A knob can use either parameter/processor ID or a custom callback, not both.
I do understand it now. But this doesn't say, you can't get the value somehow, right?
Found some other posts with the same or similar topics:
https://forum.hise.audio/topic/1037/sliders-value-to-text?=1625189564881
https://forum.hise.audio/topic/709/filmstrip-knob-value-display/4?=1625189564856
https://forum.hise.audio/topic/2270/getting-the-bpm-of-the-host-displayed-in-a-text-label?_=1625236096862
2018-2021 :DI don't see an issue with HISE here.
But do you think I should make a Feature Request for it?
Just as second option for the built-in value popup.And yes...I will learn scripting - even if HISE had anything I want
as out-of-a-box functions. Just because the skill is so powerful. -
But do you think I should make a Feature Request for it?
Nope. Just use a custom callback and drop the parameter/processor ID. Then you'll get everything you need.
-
@d-healey You also said that in one of those posts, I remember.
I will try it! :) -
Hello :)
I try to make pads for playing swappable sounds. Is this doable?
My interface is just a thin strip after reopening the project.(fixed)
Do I need to script my buttons etc. with position and size
to make use of onNoteOn/Off and onControl?
Or should I use onInit only?