Due to the use of an incorrect exponentiation operator the following exception was triggered when changing attributes of a wave profile: TypeError: Unsupported operand type(s) for ^: 'float' and 'float' fixes #21048