changed getPitch to getPitches, it's more accurate