Increasing the frequency will have what affect on a wave?