X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fscale.hh;h=f853636b8caccfddbceb0c47df943d7a12b158b9;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=58bec89eb538456f9823d4f527dc272cc20f9eec;hpb=adaa7aecab8595596fc6505402b40a37a04716e6;p=lilypond.git diff --git a/lily/include/scale.hh b/lily/include/scale.hh index 58bec89eb5..f853636b8c 100644 --- a/lily/include/scale.hh +++ b/lily/include/scale.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2006 Han-Wen Nienhuys + (c) 2006--2008 Han-Wen Nienhuys */ @@ -16,10 +16,19 @@ struct Scale { - vector step_tones_; - Scale (); +public: + Scale (vector const&); Scale (Scale const&); + + Rational tones_at_step (int step, int octave = 0) const; + Rational step_size (int step) const; + int step_count () const; + int normalize_step (int step) const; + DECLARE_SMOBS (Scale); + +private: + vector step_tones_; }; extern Scale *default_global_scale;