local threshold = synth:addParameter("Compressor.threshold", -12):displayName("Threshold (dbFS)"):min(-60):max(0);`
This control parameter has a default value of -12. When i try to change it i get following error:
2019-11-28 19:48:29 [Error] Message parsing error
[json.exception.type_error.302] type must be number, but is null({"type":"set-control","name":"Compressor.threshold","value":null})
It seems to me the javascript knob library is not handling negatives values correctly, but that's just a guess.
For example:
This control parameter has a default value of -12. When i try to change it i get following error:
It seems to me the javascript knob library is not handling negatives values correctly, but that's just a guess.