lilypond-user
[Top][All Lists]
Advanced

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

Re: Removing manual beams when multiplying note values


From: Phil Holmes
Subject: Re: Removing manual beams when multiplying note values
Date: Thu, 9 Jun 2011 09:54:37 +0100

----- Original Message ----- From: "Nicholas Moe" <address@hidden>
To: <address@hidden>
Sent: Wednesday, June 08, 2011 9:40 PM
Subject: Removing manual beams when multiplying note values


Hello,

I am replicating a handwritten score of Renaissance polyphony. I
entered the notes with \autoBeamOff and manually entered the beams
where they were needed using square brackets. Later, I decided I
wanted to double the values of the notes, as is common with this type
of music. I figured out how to do it by using a snippet in "The
LilyPond Report #19" and removing the beam stencils. But now I get all
sorts of errors. How do I suppress these?

Thanks,

Nick

%%%% BEGIN MINIMAL EXAMPLE %%%%
\version "2.13.61"

looksSlower =
#(define-music-function (parser location music) (ly:music?)
(let ((new-music (ly:music-deep-copy music)))
  (shift-duration-log new-music -1 0)
  new-music))

\relative c' {
\looksSlower{
\autoBeamOff
\override Beam #'stencil = ##f
a8[ b]
}
}


Since you're removing the beam stencil and therefore stopping displaying any form of beam, wouldn't the simplest solution be to remove the manual beams ([]) with a text editor search and replace?

--
Phil Holmes




reply via email to

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