[Top][All Lists]

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


From: Johan Vromans
Subject: RemoveEmptyStaffContext
Date: 10 Feb 2009 10:40:15 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4


I have a score with 3 voices, A, B, and C.
Voices B and C have a lot in common. For about half of the score the B
parts is identical to the C part.

By specifying rests in voice B where it is identical to voice C, and
using \RemoveEmptyStaffContext, LilyPond can eliminate printing of
voice B. That's good. And a space saver.

But, not surprisingly, this makes the generated MIDI less useful. I
split the MIDI into separate parts for the individual voices, and now
voice B will have large gaps where it should sound the same as voice
C. I hope it is clear what I mean.

What would be a good way to benefit from \RemoveEmptyStaffContext and
still get a useful MIDI? I'm currently considering to write
non-printing rests (S-rests) in voice B where it matches voice C and
then develop a scheme function that copies the measures from C where B
has S-rests. But I was wondering whether there are other means to deal
with this situation.

-- Johan

reply via email to

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