Lines Matching refs:octave
133 static int octave; /* currently selected octave */ variable
182 octave = DFLT_OCTAVE; in playinit()
253 pitch = notetab[c - 'A'] + octave * OCTAVE_NOTES; in playstring()
274 ++octave; in playstring()
280 --octave; in playstring()
321 GETNUM(cp, octave); in playstring()
322 if (octave >= nitems(pitchtab) / OCTAVE_NOTES) in playstring()
323 octave = DFLT_OCTAVE; in playstring()
328 if (octave < nitems(pitchtab) / OCTAVE_NOTES - 1) in playstring()
329 octave++; in playstring()
333 if (octave > 0) in playstring()
334 octave--; in playstring()