lilypond-user
[Top][All Lists]
Advanced

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

Re: How to auto print empty measures?


From: Karlin High
Subject: Re: How to auto print empty measures?
Date: Sat, 29 Dec 2018 13:13:09 -0600
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3

On 12/29/2018 12:49 PM, Kieren MacMillan wrote:
determine the [Voice?] context with the longest duration, and auto-fill any 
[Voice?] contexts that are shorter.


Or how about the solution David Kastrup wrote in May 2018, with the "Adding a continuous drone to midi output" threads. I forget exactly how that ended up, but here's what it started with.

% BEGIN
\version "2.18.2"
onepart = \repeat unfold 80 { c'4 }
% Generate spacer rests equal to length of music variable
filler = #(ly:music-compress #{ s1 #} (ly:music-length onepart))
  <<
    \new Staff { \onepart }
    \new Staff { \filler }
  >>
% END

--
Karlin High
Missouri, USA



reply via email to

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