added octave control via the 'z' and 'x' keys