lilypond-user
[Top][All Lists]
Advanced

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

Multi-rest with automatic bar number before and after it


From: Menu Jacques
Subject: Multi-rest with automatic bar number before and after it
Date: Thu, 18 Feb 2016 18:12:57 +0100

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




reply via email to

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