Stretched tuning is a detail of musical tuning, applied to wire-stringed musical instruments, older, non-digital electric pianos (such as the Fender Rhodes piano and Wurlitzer electric piano), and some sample-based synthesizers based on these instruments, to accommodate the natural inharmonicity of their vibrating elements. In stretched tuning, two notes an octave apart, whose fundamental frequencies theoretically have an exact 2:1 ratio, are tuned slightly farther apart (a stretched octave). "For a stretched tuning the octave is greater than a factor of 2; for a compressed tuning the octave is smaller than a factor of 2."
Melodic stretch refers to tunings with fundamentals stretched relative to each other, while harmonic stretch refers to tunings with harmonics stretched relative to fundamentals which are not stretched. For example, the piano features both stretched harmonics and, to accommodate those, stretched fundamentals.
In most musical instruments, the tone-generating component (a string or resonant column of air) vibrates at many frequencies simultaneously: a fundamental frequency that is usually perceived as the pitch of the note, and harmonics or overtones that are multiples of the fundamental frequency and whose wavelengths therefore divide the tone-generating region into simple fractional segments (1/2, 1/3, 1/4, etc.). (See harmonic series.) The fundamental note and its harmonics sound together, and the amplitude relationships among them strongly affect the perceived tone or timbre of the instrument.