Lines Matching defs:octave
117 * M[LNS] are missing and the ~ synonym and octave-tracking facility is added.
124 static int octave; /* currently selected octave */
128 static bool octtrack; /* octave-tracking on? */
129 static bool octprefix; /* override current octave-tracking state? */
142 #define DFLT_OCTAVE 4 /* default octave */
155 * our octave 0 is standard octave 2.
157 #define OCTAVE_NOTES 12 /* semitones per octave */
174 octave = DFLT_OCTAVE;
236 pitch = notetab[c - 'A'] + octave * OCTAVE_NOTES;
253 * If octave-tracking mode is on, and there has been no octave-
255 * closest to the last regardless of octave.
261 if (octave < NOCTAVES - 1) {
262 ++octave;
269 if (octave > 0) {
270 --octave;
309 GETNUM(cp, octave);
310 if (octave >= NOCTAVES)
311 octave = DFLT_OCTAVE;
317 if (octave < NOCTAVES - 1)
318 octave++;
323 if (octave > 0)
324 octave--;