lilypond-user
[Top][All Lists]
Advanced

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

simple scheme function #{ $note #}


From: Gianmaria Lari
Subject: simple scheme function #{ $note #}
Date: Fri, 11 May 2018 15:53:31 +0200

Sorry to bother with a simple question. Why this does not work?

\version "2.19.81"
pit = #(define-music-function 
        (p) (ly:pitch?)
        #{ $p #}
        )
{ \pit c' }

Changing the body to

 #{ $p $p #}

or 

#{ $pit 4 #}  

or

#{ $p a' #}

it works....

g.

reply via email to

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