A fundamental parameter to determine how electromagnetic waves interfere is their relative phase, and achieving a fine control over it enables a wide range of interferometric applications. Existing phase control methods rely on modifying the optical path length either by changing the path followed by the light or by altering the thickness or index of refraction of an optical element in the setup. In this Letter, we present a novel, to the best of our knowledge, method, based on acousto-optic modulators (AOMs), which allows adjusting the phase by shifting the frequency of the light in a segment of its path. Since the amount of phase shift depends on the length of the segment, an optical fiber is used to realize a 2π shift. Two experimental implementations are described which deal with different sources of phase fluctuations. The first addresses fluctuations resulting from the optical fiber, while the second tackles unwanted variations originating from the AOMs.