Why don't I hear sound?
If you look in the console you will see an error being reported


  TypeError: unsupported operand type(s) for ^: 'float' and 'float'


In python ^ is a bitwise XOR operator while **, pow() or math.pow() is used for power.