Hi again,

I’m a little confused that the output of

%%%  SNIPPET BEGINS
\version "2.25.11"

adjustPitch = 
#(define-music-function (pitchIn pitchOut music) (ly:pitch? ly:pitch? ly:music?)
   (music-map
    (lambda (m)
      (ly:message "Pitch is: ~a" (ly:music-property m 'pitch)) m)
    music))

\adjustPitch es es \fixed c' { c4 d e f g a b c' }
%%%  SNIPPET ENDS

is

Pitch is: #<Pitch c' >
Pitch is: #<Pitch d' >
Pitch is: #<Pitch e' >
Pitch is: #<Pitch f' >
Pitch is: #<Pitch g' >
Pitch is: #<Pitch a' >
Pitch is: #<Pitch b' >
Pitch is: #<Pitch c'' >
Pitch is: ()
Pitch is: ()

What is causing the last two output lines?

Thanks,
Kieren.
______________________________________________

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.


Reply via email to