>     \tempo 4 = 72
>     \override Score.MetronomeMark #'stencil = ##f

Nick, I've been using:

tpoMidi = #(define-music-function (parser location bUnit rayt) (number?
number?)
        #{
                \once \set Score.tempoHideNote = ##t
                \set Score.tempoWholesPerMinute = #(ly:make-moment $rayt $bUnit)
        #}
)

Perhaps you just need to use the ...tempoHideNote... instead of spiking the
MetronomeMark. This function is very limited and won't deal with dotted
values, but I can figure out the undotted rate 1000s of times faster than
writing the necessary code, so there it sits. I have no provenance on this
code; I suspect it came from this forum.
David


-- 
View this message in context: 
http://old.nabble.com/programming-error%3A-cannot-align-on-self%3A-empty-element-tp31357256p31359544.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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

Reply via email to