That signature of createAndAddParameter
is deprecated. You should consider using the new signature. See AudioProcessorValueTreeState Improvements for more information.
If you want to keep using that signature, you might have to specify some of the default parameters, especially bool isDiscrete=false
.