Indicating the duration of a feathered beam
…This is an easy way to indicate the duration of a set of beamed notes (especially those …
Results 1−10 of 49 for duration |
…#(define (no-duration? music) (not (ly:duration? (ly:music-property music 'duration)))) #(define (expand-q-chords music); for q chords : … …ly:music?) (map-some-music (lambda (evt) (let ((dur (ly:music-property evt 'duration #f))) (and dur (begin (ly:music-set-property! evt 'duration (ly:make-duration (1+ (ly:duration-log dur)) (ly:duration-dot-count dur))) evt)))) music)) %%%%%%%%%%%%%%%%%%%%%%%%% …
…notes in a chord can have a different duration (music-map (lambda (x) ; get main duration from `from (… …patII = #(make-music 'SequentialMusic 'elements (list (make-music 'NoteEvent 'duration (ly:make-duration 2 1 1) 'pitch (ly:make-pitch -1 0 0)) (make-music 'NoteEvent 'duration (ly:make-duration 3 0 1) 'pitch (ly:make-pitch -1 0 …
…#(define (no-duration? music) (not (ly:duration? (ly:music-property music 'duration)))) #(define (expand-q-chords music); for q chords : … …ly:music?) (map-some-music (lambda (evt) (let ((dur (ly:music-property evt 'duration #f))) (and dur (begin (ly:music-set-property! evt 'duration (ly:make-duration (1+ (ly:duration-log dur)) (ly:duration-dot-count dur))) evt)))) music)) %%%%%%%%%%%%%%%%%%%%%%%%% …
…and (music-is-of-type? m 'skip-event) (let ((dur (ly:music-property m 'duration)) (art (ly:music-property m 'articulations)) (res (ly:music-deep-copy chord))) ;; transfer … …duration (for-some-music (lambda (c) (and (ly:duration? (ly:music-property c 'duration)) (begin (set! (ly:music-property c 'duration) dur) #t))) res) ;; transfer articulations of skip to …
…music 'name))) #(define (get-duration music) (ly:music-property music 'duration)) #(define (moment>=? momentA momentB) (not (ly:moment<? momentA … …end-pos from to))(set! end-pos to)))) (ly:music-set-property! music 'duration (moment->duration (ly:moment-sub end-pos begin-pos))) (*current-moment* end-pos) music) (else ; for …
…music 'elements)) (has-duration? (lambda (x) (ly:duration? (ly:music-property x 'duration)))) ;; If the whole chord should be printed catch … …music 'event-chord) (first (event-chord-notes music))) (else music))) ;; Set duration of note, clear 'articulations. (note (map-some-music (lambda (m) (and (has-duration? m) (begin (set! (ly:music-property m 'duration) (ly:make-duration (if (> lngth 1) 4 3) 0 1 …