/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1998--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1998--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "smobs.hh"
#include "rational.hh"
-
/*
A "tonal" pitch. This is a pitch used in diatonal western music
(24 quartertones in an octave), as opposed to a frequency in Hz or a
int get_notename () const;
Rational get_alteration () const;
- Pitch (int octave, int notename, Rational accidental);
- Pitch (int octave, int notename);
+ Pitch (int octave, int notename, Rational accidental = 0);
Pitch ();
Pitch transposed (Pitch) const;
DECLARE_SIMPLE_SMOBS (Pitch);
};
-
-enum {
+enum
+{
DOUBLE_FLAT = -4,
THREE_Q_FLAT,
FLAT,