The pitch of a sound rises by an octave for every doubling of its frequency. For example, a violin string vibrating 400 times a second will sound an octave higher if it vibrates at 800 times a second.