withLabel
returns a copy of the attributes with the change applied, so this won’t have any effect (the copy is immediately discarded).
AudioParameterFloatAttributes attrib;
attrib.withLabel("Hz");
You should probably write it like this instead:
const auto attrib = AudioParameterFloatAttributes().withLabel("Hz");