source file of the GNU LilyPond music typesetter
- (c) 1998--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1998--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
static int compare (Pitch const&,Pitch const&);
/// return large part of interval from central c
- int steps() const;
+ int steps () const;
/// return pitch from central c (in halfnotes)
- int semitone_pitch() const;
+ int semitone_pitch () const;
String str () const;
+
- static SCM transpose (SCM p, SCM delta);
SCM smobbed_copy () const;
- DECLARE_SCHEME_CALLBACK(less_p, (SCM a, SCM b));
- DECLARE_SIMPLE_SMOBS(Pitch,);
+ DECLARE_SCHEME_CALLBACK (less_p, (SCM a, SCM b));
+ DECLARE_SIMPLE_SMOBS (Pitch,);
};
-
-Pitch* unsmob_pitch (SCM);
+SCM ly_pitch_transpose (SCM p, SCM delta);
+DECLARE_UNSMOB(Pitch,pitch);
#include "compare.hh"
-INSTANTIATE_COMPARE(Pitch, Pitch::compare);
+INSTANTIATE_COMPARE (Pitch, Pitch::compare);
int compare (Array<Pitch>*, Array<Pitch>*);
+extern SCM pitch_less_proc;
#endif /* MUSICAL_PITCH_HH */