Normal pitch:

audioSource.pitch = 1f;

Lower:

audioSource.pitch = 0.8f;

Higher:

audioSource.pitch = 1.2f;

Small random variation:

audioSource.pitch =
    Random.Range(
        0.95f,
        1.05f
    );

Useful for repeated footsteps, impacts and shots.