lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

extract and print all the items after duration from ly:music


From: Paolo Prete
Subject: extract and print all the items after duration from ly:music
Date: Sat, 24 Feb 2018 22:46:28 +0000 (UTC)

Hello,

how can I extract and print all the items ( \mp and slur)  after the duration parameter in the function below?
Thanks.

%%%%%%%

identityFunction = #(define-music-function (parser location note) (ly:music?)
  (let
    ((mypitch (ly:music-property note 'pitch '()))
     (myduration (ly:music-property note 'duration '())))
#{$mypitch $myduration #}))

{
  \identityFunction c' 4\mp( e'4)
}


%%%%%%%

reply via email to

[Prev in Thread] Current Thread [Next in Thread]