struct Musical_pitch : public Input

The pitch as it figures in diatonal western music (12 semitones in an octave)

int accidental_i_
0 natural, 1 sharp, etc
int notename_i_
0 is c, 6 is b
int octave_i_
0 is central c
int semitone_pitch()
return pitch from central c (in halfnotes)
int steps()
return large part of interval from central c

Documentation

The pitch as it figures in diatonal western music (12 semitones in an octave).

It is not Music because, it has to duration associated

int notename_i_
0 is c, 6 is b

int octave_i_
0 is central c

int accidental_i_
0 natural, 1 sharp, etc

int steps()
return large part of interval from central c

int semitone_pitch()
return pitch from central c (in halfnotes)

alphabetic index hierarchy of classes


This program documentation comes from lilypond-1.0.0.tar.gz. It was generated by <janneke@gnu.org> on Fri Jul 31 15:42:17 CEST 1998