2 key.hh -- declare Key, Octave_key
4 (c) 1996,97 Han-Wen Nienhuys
13 /// administration of current key in one octave.
17 Array<int> accidental_i_arr_;
20 void set (int i, int acc);
21 int acc (int i) const { return accidental_i_arr_[i]; }
25 /// administration of accidentals
28 /** for each octave a key. Has to be private since octave 0 isn't member 0.
30 Array<Octave_key> octaves_;
31 int octave_to_index (int) const;
37 void set (int name, int acc);
38 void set (int oct, int name, int acc);