I have seen the error of my ways... My previous use of a function needed just a music object this was simply the following music expression in my case an include file of notes.
When the function has an additional parameter this must come after the music not immediately after the \functionname. I was anticipating some internal Lily magic when the answer was simple...doh. Thanks for putting me on the right track. >-----Original Message----- >From: Thomas Morley [mailto:[email protected]] >Sent: Thursday, May 14, 2015 1:07 PM >To: Peter Gentry >Cc: lilypond-user >Subject: Re: Music function problem > >2015-05-14 13:44 GMT+02:00 Peter Gentry <[email protected]>: >> I am trying to write an include file that will modify a music object >> dependent on the specified instrument. >> >> >music-functions _do_ accept strings or numbers, something else >must be wrong. >Can't say more without compilable code, though. >Cheers, > Harm _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
