Am 25.12.2017 um 14:22 schrieb Gianmaria Lari:
This code generate some 'regular', staccato and staccatissimo notes:

    \version "2.19.80"
    \score {
       \fixed c' {c8 d e-. f-. g-! a-! r4}
       \midi{}
       \layout {}
    }


Is there any way to change the default duration of 'regular', staccato and staccatissimo notes?

Have a look at the definition of staccato in the file script-init.ly:

staccato = #(make-articulation "staccato"
             'midi-length
             (lambda (len context)
               (moment-min (ly:moment-mul len (ly:make-moment 1/2))
                           (seconds->moment 1/2 context)))
             'midi-extra-velocity 4)

Maybe this can be copied and changed?

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to