Getting the default value of an AudioParameterFloat


#1

Hi,

I’m trying to get the default value of an AudioParameterFloat. A way to do this is upcasting my parameter, call getDefaultValue() (it’s private otherwise), then scale it back from 0-1 to my actual range.

It would be a nice improvement if we can get the default value of an AudioParameterFloat directly (and perhaps for the other Ranged types too).

Thoughts?

Milan