getAttribute index for Pitch modulation LFO Semitones?
-
Is it possible to enter the attribute for the semitones (see picture) like this :
PitchshiftKnob1.setValue(PitchShift1.getAttribute());
it's for knobs updating when selecting a base64 preset.
Thanks in advance!
-
@Gab
setIntensity()
-
@d-healey Thanks! the index would be 0?
-
@Gab Sorry I thought you wanted to set the value. To get the value use
getIntensity();
-
@d-healey It's to restore a knob value on the UI, do I put a specific number like getIntensity(1); or I directly input the value like (-12):?
-
@Gab Just
getIntensity()
will give you the current value of the module's intensity. -
@d-healey It's working but shows 6000 for some reasons (settings of min -1 max 1)
-
@Gab You might need to convert the value using
Engine.getSemitoneFromPitchRatio();