Altering the shape of a default slur with a list of offsets [revised]
If you want to adjust the shape of a slur, one way is to specify a … …control-points. This is done by entering a list of offsets (in staff spaces) to the default coordinates: \… …snippet is a revised version, by David Nalesnik, of the original (snippet 639).
…index in list ;; and apply offsets from list of offsets: (let loop ((n 0)) (if (eq? (list-ref … …grob) (if (< n total-found) (loop (1+ n)) ;; end of list -- none found?! ;; return defaults: ((alter-curve '()) grob)))) ;; ;; … …8 f' e d c2) \bar "||" %% borh halves of the slur are modified \shapeSlur #'((0 -2.…