]> git.donarmstrong.com Git - lilypond.git/blob - scm/music-property-description.scm
* VERSION (MY_PATCH_LEVEL): make 1.7.0
[lilypond.git] / scm / music-property-description.scm
1 ;;;; music-property-description.scm -- part of generated backend documentation
2 ;;;;
3 ;;;;  source file of the GNU LilyPond music typesetter
4 ;;;; 
5 ;;;; (c) 1998--2001  Han-Wen Nienhuys <hanwen@cs.uu.nl>
6 ;;;;                 Jan Nieuwenhuizen <janneke@gnu.org>
7
8
9 (define all-music-properties '())
10
11 (define (music-property-description symbol type? description)
12  (if (not (equal? #f (object-property symbol 'music-doc)))
13       (begin
14         (ly-warn (string-append "Redefining " (symbol->string symbol) "\n"))
15         (exit 2)
16       ))
17  (set-object-property! symbol 'music-type? type?)
18  (set-object-property! symbol 'music-doc description)
19  (set! all-music-properties (cons symbol all-music-properties))
20  )
21
22
23
24 (music-property-description 'iterator-ctor procedure? "Function to construct music-event-iterator object for this Music")
25 (music-property-description 'duration duration? "Duration of this note/lyric.")
26 (music-property-description 'metronome-count number? "How many beats in a minute?")
27 (music-property-description 'span-type string? "What kind of spanner should be created?
28
29 TODO: consider making type into symbol") 
30 (music-property-description 'articulation-type string? "key for script definitions alist.
31
32 TODO: consider making type into symbol ")
33 (music-property-description 'bass boolean? "Set if this note is a bass note in a chord")
34 (music-property-description 'cautionary boolean? "If set, this alteration needs cautionary accidental")
35 (music-property-description 'change-to-id string? "name of the context to change to ")
36 (music-property-description 'change-to-type string? "type of the context to change to.")
37 (music-property-description 'context-id string? "name of context")
38 (music-property-description 'context-type string?  "type of context")
39 (music-property-description 'denominator integer? "denominator in a time signature")
40 (music-property-description 'direction dir? "Print this up or down?")
41 (music-property-description 'text-type symbol? "Particular type of text script (eg. finger, dynamic).")
42 (music-property-description 'element music? "The single child of a Music_wrapper music object, or the body of a repeat.")
43 (music-property-description 'elements music-list? "A list of elements for sequential of simultaneous music, or the alternatives of repeated music. ")
44 (music-property-description 'force-accidental boolean? "If set, a cautionary accidental should always be printed on this note")
45 (music-property-description 'grob-property symbol? "The symbol of the grob property to set. ")
46 (music-property-description 'grob-value scheme? "The value of the grob property to set")
47 (music-property-description 'inversion boolean? "If set, this chord note is inverted.")
48 (music-property-description 'label markup? "label of a mark.")
49 (music-property-description 'last-pitch pitch? "The last pitch after relativization.")
50 (music-property-description 'length procedure? "How to compute the duration of this music")
51 (music-property-description 'numerator integer? "numerator of a time signature")
52 (music-property-description 'once boolean? "Apply this operation only during one time step?")
53 (music-property-description 'origin ly-input-location? "where was this piece of music defined?")
54 (music-property-description 'penalty number? "Penalty for break hint.")
55 (music-property-description 'pitch pitch? "the pitch of this note")
56 (music-property-description 'pitch-alist list? "list of pitches jointly forming the scale of a key signature")
57 (music-property-description 'pop-first boolean? "Do a revert before we try to do a override on some grob property.")
58
59 (music-property-description 'predicate procedure? "the predicate of a \outputproperty")
60 (music-property-description 'type symbol? "The type of this music object. Determines iteration in some cases.")
61 (music-property-description 'repeat-count  integer? "do a @code{\repeat} how ofen?")
62 (music-property-description 'span-direction dir? "Does this start or stop a spanner?")
63
64 (music-property-description 'start-moment-function procedure? "Function to compute the negative length of
65 starting grace notes.")
66 (music-property-description 'string-number integer? "The number of the string in a String_number_req")
67 (music-property-description 'symbol symbol? "Grob name to perform an override/revert on.")
68 (music-property-description 'text markup? "markup expression to be printed")
69 ;; markup?
70 (music-property-description 'tremolo-type integer? "")
71 (music-property-description 'value scheme? "Assignment value for a
72 translation property")
73 (music-property-description 'what string? "What to change for auto-change. FIXME, naming")
74
75 (music-property-description 'figure number? "number for figured bass")
76 (music-property-description 'alteration number? "alteration for figured bass")
77 (music-property-description 'bracket-start boolean? "start a bracket
78 here. TODO: use span requests?")
79 (music-property-description 'bracket-stop boolean? "stop a bracket here.")
80