2 key-def.hh -- declare Key_def
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Jan Nieuwenhuizen <janneke@gnu.org>
14 #include "musical-pitch.hh"
17 Universal key definition (Should rename class Key to 'Accidentals'?)
24 Array<Musical_pitch> pitch_arr_;
28 /// squash the octaves to 1
29 void squash_octaves ();
31 /// return number accidentals in key; ordinary key only
32 int ordinary_accidentals_i () const;
34 /// return number of flats in key
37 /// return number of sharps in key
38 int sharps_i () const;
41 bool minor_b () const;
43 void transpose (Musical_pitch d);
46 #endif /* KEY_DEF_HH */