|
|
Node:Pitch data type,
Next:Music,
Previous:Duration,
Up:Internals
Pitch data type
| make-pitch octave note shift
|
Function |
|
octave is specified by an integer, zero for the octave containing
middle C. note is a number from 0 to 6, with 0 corresponding to C
and 6 corresponding to B. The shift is zero for a natural, negative for
flats, or positive for sharps.
|
|
extract the octave from pitch p.
|
| pitch-notename p
|
Function |
|
extract the note name from pitch p.
|
| pitch-alteration p
|
Function |
|
extract the alteration from pitch p.
|
| pitch-semitones p
|
Function |
|
calculate the number of semitones of p from central C.
|
| Pitch::transpose t p
|
Function |
|
Transpose p by the amount t, where t is the pitch that
central C is transposed to.
|
|
|
Go back to index of LilyPond.
Please send GNU LilyPond questions and comments to
lilypond-user@gnu.org.
Please send comments on these web pages to
lilypond@packages.debian.org
Copyright (c) 1997--2001 Han-Wen Nienhuys and Jan Nieuwenhuizen.
Verbatim copying and distribution of this entire article is
permitted in any medium, provided this notice is preserved.
|