Return zero value for tone instead of -14 when input is invalid.