]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/music-property-description.scm
* Another grand 2003 update.
[lilypond.git] / scm / music-property-description.scm
index c6ddde46ec067485c4c702ca37fd132bc9fd1959..83ff53bf4fea2a045e41d18c7e0c83b8472a40a2 100644 (file)
@@ -2,7 +2,7 @@
 ;;;;
 ;;;;  source file of the GNU LilyPond music typesetter
 ;;;; 
-;;;; (c) 1998--2001  Han-Wen Nienhuys <hanwen@cs.uu.nl>
+;;;; (c)  1998--2003  Han-Wen Nienhuys <hanwen@cs.uu.nl>
 ;;;;                 Jan Nieuwenhuizen <janneke@gnu.org>
 
 
@@ -11,7 +11,7 @@
 (define (music-property-description symbol type? description)
  (if (not (equal? #f (object-property symbol 'music-doc)))
       (begin
-       (ly-warn (string-append "Redefining " (symbol->string symbol) "\n"))
+       (ly:warn (string-append "Redefining " (symbol->string symbol) "\n"))
        (exit 2)
       ))
  (set-object-property! symbol 'music-type? type?)
 
 
 (music-property-description 'iterator-ctor procedure? "Function to construct music-event-iterator object for this Music")
-(music-property-description 'duration duration? "Duration of this note/lyric.")
+(music-property-description 'duration ly:duration? "Duration of this note/lyric.")
 (music-property-description 'metronome-count number? "How many beats in a minute?")
 (music-property-description 'span-type string? "What kind of spanner should be created?
 
 TODO: consider making type into symbol") 
+(music-property-description 'articulations music-list?
+                           "Articulation events specifically for this note.")
 (music-property-description 'articulation-type string? "key for script definitions alist.
 
 TODO: consider making type into symbol ")
@@ -34,33 +36,43 @@ TODO: consider making type into symbol ")
 (music-property-description 'cautionary boolean? "If set, this alteration needs cautionary accidental")
 (music-property-description 'change-to-id string? "name of the context to change to ")
 (music-property-description 'change-to-type string? "type of the context to change to.")
+(music-property-description 'compress-procedure procedure? "compress this music expression. Argument 1: the music, arg 2: factor")
 (music-property-description 'context-id string? "name of context")
 (music-property-description 'context-type string?  "type of context")
 (music-property-description 'denominator integer? "denominator in a time signature")
-(music-property-description 'direction dir? "Print this up or down?")
+(music-property-description 'digit integer? "digit for fingering")
+(music-property-description 'direction ly:dir? "Print this up or down?")
 (music-property-description 'text-type symbol? "Particular type of text script (eg. finger, dynamic).")
-(music-property-description 'element music? "The single child of a Music_wrapper music object, or the body of a repeat.")
+(music-property-description 'tempo-unit ly:duration? "The unit for the metronome count.")
+(music-property-description 'tonic ly:pitch? "Base of the scale")
+(music-property-description 'element ly:music? "The single child of a Music_wrapper music object, or the body of a repeat.")
 (music-property-description 'elements music-list? "A list of elements for sequential of simultaneous music, or the alternatives of repeated music. ")
 (music-property-description 'force-accidental boolean? "If set, a cautionary accidental should always be printed on this note")
 (music-property-description 'grob-property symbol? "The symbol of the grob property to set. ")
 (music-property-description 'grob-value scheme? "The value of the grob property to set")
 (music-property-description 'inversion boolean? "If set, this chord note is inverted.")
 (music-property-description 'label markup? "label of a mark.")
-(music-property-description 'last-pitch pitch? "The last pitch after relativization.")
+(music-property-description 'last-pitch ly:pitch? "The last pitch after relativization.")
 (music-property-description 'length procedure? "How to compute the duration of this music")
+(music-property-description 'internal-class-name string? "C++ class to use for this Music object") 
+(music-property-description 'name symbol? "Name of this music object")
 (music-property-description 'numerator integer? "numerator of a time signature")
 (music-property-description 'once boolean? "Apply this operation only during one time step?")
-(music-property-description 'origin ly-input-location? "where was this piece of music defined?")
+(music-property-description 'octavation  integer?
+                           "This pitch was octavated by how many octaves?
+For chord inversions, this is negative.")
+(music-property-description 'origin ly:input-location? "where was this piece of music defined?")
 (music-property-description 'penalty number? "Penalty for break hint.")
-(music-property-description 'pitch pitch? "the pitch of this note")
+(music-property-description 'pitch ly:pitch? "the pitch of this note")
 (music-property-description 'pitch-alist list? "list of pitches jointly forming the scale of a key signature")
 (music-property-description 'pop-first boolean? "Do a revert before we try to do a override on some grob property.")
-
+(music-property-description 'procedure procedure?
+                           "The function to run with \\applycontext. It must take a single argument, being the context.")
 (music-property-description 'predicate procedure? "the predicate of a \outputproperty")
 (music-property-description 'type symbol? "The type of this music object. Determines iteration in some cases.")
 (music-property-description 'types list? "The types of this music object. Determines iteration in some cases.")
 (music-property-description 'repeat-count  integer? "do a @code{\repeat} how ofen?")
-(music-property-description 'span-direction dir? "Does this start or stop a spanner?")
+(music-property-description 'span-direction ly:dir? "Does this start or stop a spanner?")
 
 (music-property-description 'start-moment-function procedure? "Function to compute the negative length of
 starting grace notes.")