(set! grob-name (string->symbol (list-ref name-components 1)))
(set! context-name (string->symbol (list-ref name-components 0)))))
- (make-music 'ApplyOutputEvent
- 'origin location
- 'context-type context-name
- 'procedure
- (lambda (grob orig-context context)
- (if (equal?
- (cdr (assoc 'name (ly:grob-property grob 'meta)))
- grob-name)
- (set! (ly:grob-property grob property) value))))))
+ (context-spec-music
+ (make-music 'ApplyOutputEvent
+ 'origin location
+ 'procedure
+ (lambda (grob orig-context context)
+ (if (equal?
+ (cdr (assoc 'name (ly:grob-property grob 'meta)))
+ grob-name)
+ (set! (ly:grob-property grob property) value))))
+
+ context-name)))
breathe =
#(define-music-function (parser location) ()
argument))
-
-
-
-resetRelativeOctave =
-#(define-music-function
- (parser location reference-note)
- (ly:music?)
- "Set the octave inside a \\relative section."
-
- (let*
- ((notes (ly:music-property reference-note 'elements))
- (pitch (ly:music-property (car notes) 'pitch)))
-
- (set! (ly:music-property reference-note 'elements) '())
- (set! (ly:music-property reference-note
- 'to-relative-callback)
- (lambda (music last-pitch)
- pitch))
-
- reference-note))
-