MCDreamer(P.S. The "<= 10 health" means "More than 10 health" for when that pitch is used, and ">= 150 health" means the opposite, "Less than 150 health" for when the pitch is used, just for those out there who don't understand what those mean.)
It's actually less than 10 and greater than 150. You can't set what the damage borders are, they're always 10 and 150. The number you change is only the pitch of the sound, or more specifically, the pitch of each extreme (10 and 150) with everything in between being linearly pitched to represent the damage