(set! pitch (modulo (1+ pitch) 7)))))
oneNoteScore =
-#(define-music-function (parser location) ()
- (add-one-note-score parser)
- (make-music 'Music 'void #t))
+#(define-void-function (parser location) ()
+ (add-one-note-score parser))
%%%
#(define (adjust-slash-stencil-default num forward stencil mag)
stencil)
-unsetExceptions = #(define-music-function (parser location) ()
+unsetExceptions = #(define-void-function (parser location) ()
; (set! horizontal-slash-interval horizontal-slash-interval-default)
; (set! adjust-slash-stencil adjust-slash-stencil-default)
- (make-music 'Music 'void #t)
)
<<
\version "2.16.0"
myDisplayMusic =
-#(define-music-function (parser location music)
+#(define-void-function (parser location music)
(ly:music?)
- (display-scheme-music music (current-error-port))
- (make-music 'SequentialMusic 'void #t))
+ (display-scheme-music music (current-error-port)))
\myDisplayMusic \chordmode { c }
(set! pitch (modulo (1+ pitch) 7)))))
oneNoteScore =
-#(define-music-function (parser location) ()
- (add-one-note-score parser)
- (make-music 'Music 'void #t))
+#(define-void-function (parser location) ()
+ (add-one-note-score parser))
%%%
% chord-shape-table
addChordShape =
-#(define-music-function (parser location key-symbol tuning shape-definition)
+#(define-void-function (parser location key-symbol tuning shape-definition)
(symbol? pair? string-or-pair?)
(_i "Add chord shape @var{shape-definition} to the @var{chord-shape-table}
hash with the key @code{(cons @var{key-symbol} @var{tuning})}.")
(hash-set! chord-shape-table
(cons key-symbol tuning)
- shape-definition)
- (make-music 'SequentialMusic 'void #t))
+ shape-definition))
#(define (chord-shape shape-code tuning)
(get-chord-shape shape-code tuning chord-shape-table))
% fretboard-table
storePredefinedDiagram =
-#(define-music-function
+#(define-void-function
(parser location fretboard-table chord tuning diagram-definition)
(hash-table? ly:music? pair? string-or-pair?)
(_i "Add predefined fret diagram defined by @var{diagram-definition}
diagram-definition)))
(hash-set! fretboard-table
hash-key
- verbose-definition)
- (make-music 'SequentialMusic 'void #t)))
+ verbose-definition)))
%% point and click
pointAndClickOn =
-#(define-music-function (parser location) ()
+#(define-void-function (parser location) ()
(_i "Enable generation of code in final-format (e.g. pdf) files to reference the
originating lilypond source statement;
this is helpful when developing a score but generates bigger final-format files.")
- (ly:set-option 'point-and-click #t)
- (make-music 'SequentialMusic 'void #t))
+ (ly:set-option 'point-and-click #t))
pointAndClickOff =
-#(define-music-function (parser location) ()
+#(define-void-function (parser location) ()
(_i "Suppress generating extra code in final-format (e.g. pdf) files to point
back to the lilypond source statement.")
- (ly:set-option 'point-and-click #f)
- (make-music 'SequentialMusic 'void #t))
+ (ly:set-option 'point-and-click #f))
pointAndClickTypes =
#(define-void-function (parser location types) (symbol-list-or-symbol?)