Add a math block to your program so that the sound that it plays is equal to 1000 plus the rate measured by the gyro sensor.