[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compress Full Bar Rests
From: |
Hugh Resnick |
Subject: |
Compress Full Bar Rests |
Date: |
Sat, 15 Sep 2012 00:58:05 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
> I'm not top posting.
Jan N. himself requested that I send this question to the forum after becoming
frustrated with it last night and tweeting about it. I cannot see what I am
doing incorrectly that would prevent \compressFullBarRests from working in this
situation. When I compile the following, I get no error message, but neither do
I get compressed bars. Is there a command that I am missing, or one that I do
have that prevents the compression? BTW, the piece is not really called "Neener
Neener".
Thanks for any help.
Hugh
\paper { papersize = "letter"
linewidth = 165 \mm
indent = 20 \mm
% interscoreline = 4.0 \mm
}
\include "english.ly"
\version "2.14.2"
#(set-global-staff-size 22)
\header {
title = \markup { \small "Neener Neener" }
composer = ""
poet = ""
instrument = \markup { \concat{ B \teeny \raise #0.4 \flat } "Trumpet" }
opus = "September 2012"
source = ""
copyright = "2012"
}
global = {
%%%TIME SIGNATURE%%%
\time 4/4 s4 s1 s1
\time 3/4 s2. \break s2. s2. s2. s2. s2. \break s2. s2. s2. s2. s2. \break s2.
\time 4/4 s1 s1 s1 \break s1 s1 s1 s1 \break s1
\time 3/4 s2. s2. s2. s2. \break s2. s2. s2. s2. s2.
\time 4/4 s1 \break s1
\time 3/4 s2. s2. s2. s2. \break s2. s2. s2.
\time 4/4 s1 s1
\time 3/4 s2. s2. s2.
}
rit = \markup { \italic rit. }
trumpet = \relative c' {
\clef treble
\key g \major
\partial 4
d8 d16 d16 |
g4. g8 a4 g8 a8 |
b8. c16 d4 r8 \autoBeamOff e,8 d'[ c] \autoBeamOn |
b2 e,4 |
c' b4. g8 |
fs2 e4 |
d2. |
\compressFullBarRests
R2.*8 |
R1*8 |
R2.*9 |
R1*2 |
R2.*2 |
R2.^\fermataMarkup |
\tempo "A tempo"
d4 g d' |
c2 g8 a |
b4 d b8 g |
a4 e d8 d16 d16 |
g4. g8 a4 g8 a8 |
b8. c16 d4 r8 \autoBeamOff d8 g[ fs] \autoBeamOn |
e8 e16 e16 e4 g |
a4 g4. e8 |
g2. |
\bar "|."
}
\score { <<
\new Voice = "trumpet"
<< \global { \trumpet } \set Staff.instrumentName = \markup { \concat{ B \teeny
\raise #0.4 \flat } "Trumpet" } >>
>>
}