Welcome to Decent Sampler Q&A, where you can ask questions and receive answers from other members of the community.
0 votes

I'm having a very strange issue with knob settings where one knob always loads with a value of 1 (no matter what knob it is) even though the default value is set to "0". For instance the Delay Send knob is set to be at "0" when loading but it always loads set to "1". I noticed this happening when I would add a new knobs or faders. Add a new knob, another one acts funny and ignores the code. Add another knob and a different knob would do this. So I added a dummy knob that was invisible to see if I could find a workaround and it did the same thing. Except this time the knob loaded set to "1" but was stuck there (in the 9 o'clock position. 

Has anyone else had an issue like this? It's maddening because it also happens in every preset I make even if I have the defaultValue settings to "0" for those knobs.

Delay settings: minValue="0" maxValue="5" value="0.0" defaultValue="0.0"

Chorus Settings:  minValue="0.0" maxValue="1" value="0.0"

in Using the Sampler by charlie-waymire (440 points)

1 Answer

0 votes
Hello Charlie,
I do this constantly and I have no problem with it.
Did you think about specifying the type of the attribute in your code, just like this :
type="percent"
or this :
type="float"
Depending on the type/range of your knob/control
by michel-pecqueur (2.0k points)
...