OK, I'll do it this way, the arguments to the music-fn are now strings and not
integers, so no integer-> string conversion needed. It would be better to still
use integers and then pad a 0 where required, but I'm not sure how to do this.  

stopwatch =
#(define-music-function (parser location minutes seconds) (string? string?)
    #{ \mark \markup \rounded-box \small \concat
        { $minutes \char ##x2032 $seconds \char ##x2033 } #})


{ c'1 \stopwatch #"4" #"03" c' }






_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to