Hello folks,

With the following definitions:


myDisplayBarNummber = {
  \once\override Score.BarNumber.break-visibility = ##(#f #t #t)
}

multiROne =
#(define-music-function (parser location barsNumber)(number?)
   #{
     \myDisplayBarNummber
     R1*#barsNumber  % <—-- not allowed
     \myDisplayBarNummber
   #})


I’d like to be able to replace:

  \myDisplayBarNummber
  R1*2 |
  \myDisplayBarNummber

by:

  multiROne 2


Is there a way to achieve that?

Thanks for your help!

JM


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

Reply via email to