osdir.com
mailing list archive

Subject: Re: Petrucci-like spacing? - msg#00256

List: lilypond-user-gnu

Date: Prev Next Index Thread: Prev Next Index
Laura Conrad <lconrad <at> laymusic.org> writes:

>
> But when I transcribe Petrucci from the facsimile, the spacing lilypond
> does always looks clunky, especially in the parts with large
> note-values.
>

>
> I believe Petrucci's spacing is just equal spacing for every note, no
> matter what its value.
>
> Does anyone have any tricks for making lily's output look a little more
> like that?

Hi Laura,

I was able to get closer to what I think you want by:

-- setting SpacingSpanner #'shortest-duration-space to 1. That seems to
turn off much of the duration-based spacing.
-- spacing notes and rests with extra-spacing-width and extra-spacing-height
(the height to keep things from overlapping if they're on different
lines).
-- setting defaultBarType to "", not Empty (I have no idea why, but it seems
to help).
-- making barlines take no space, again with extra-spacing-width
-- removing the RehearsalMark stuff you have, which seems to add some
space to the (invisible) barlines. To add it back when you have
marks, maybe you could use \once \override for each one?

So the layout block looks like this:

\layout {
\context{
\Staff
\consists Custos_engraver
\override Custos #'style = #'mensural

\override BarLine #'extra-spacing-width = #'(+inf.0 . -inf.0)
}

\context {
\Score
defaultBarType = ""
\override SpacingSpanner
#'base-shortest-duration = #(ly:make-moment 1 1)
\override SpacingSpanner
#'shortest-duration-space = #1
}
\context {
\Voice
\consists Ambitus_engraver
\override NoteHead #'extra-spacing-width = #'(-.4 . .4)
\override Rest #'extra-spacing-width = #'(-.4 . .4)
\override NoteHead #'extra-spacing-height = #'(-inf.0 . +inf.0)
\override Rest #'extra-spacing-height = #'(-inf.0 . +inf.0)
}
}

That ignores lyrics issues completely, but it's a start--

Hope that's useful--
Michael Lauer

>
> I'm trying to redesign my website, and one idea I have is to have a
> graphic in the header with a facsimile on one side and lily's output on
> the other. So it's important that people not look at the lilypond
> output and say, "Wow, that's ugly compared to the facsimile." Of course
> one way to do that would be to use an ugly facsimile (of which there are
> many), but it would be more fun to use a beautiful facsimile and also
> have beautiful lilypond.
>

I like that idea.





_______________________________________________
lilypond-user mailing list
lilypond-user@xxxxxxx
http://lists.gnu.org/mailman/listinfo/lilypond-user

Find Programming Jobs at git.net
(osdir sister site)

Thread at a glance:

Previous Message by Date: (click to view message preview)

Re: Reduce vertical space in one score ?

2009/5/14 <dan@xxxxxxxxxxxx>: > I would like to reduce the vertical space between staves (aka 1-stave > systems) within one \score on a page that has two other \scores. > > Once the rest of the content is added, I want to force the first \score's > staves much closer together and leave all the default automatic spacing in > place for the second two scores.  This will allow all three scores to fit > on one page. Have you tried this? \context { \Staff \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0) } Default is #'(-4 . 4) If you have lyrics, remember to do the same for the \Lyrics context. -- Francisco Vila. Badajoz (Spain) www.paconet.org _______________________________________________ lilypond-user mailing list lilypond-user@xxxxxxx http://lists.gnu.org/mailman/listinfo/lilypond-user

Next Message by Date: click to view message preview

JEdit question

I've recently started using LilyPond.  I'm enjoying it.  I'm using JEdit with the LP plugins.    I haven't been able to find an answer to this question in either the LP Help files or the JEdit help.  I'm probably not searching the index for the right terms.   In the Editor, when I enter the backslash \   the editor autofills:   \melody   I have to remember each time to erase "melody" or else it creates errors.  It would be much more useful to have the backslash without the autofill.  How do I get rid of the autofill - anybody have any ideas?   Thanks.   Mike Wogan      _______________________________________________ lilypond-user mailing list lilypond-user@xxxxxxx http://lists.gnu.org/mailman/listinfo/lilypond-user

Previous Message by Thread: click to view message preview

Petrucci-like spacing?

In general, I love the way lilypond output looks when compared with other computer-generated sheetmusic. I'm aware that the ideal espoused by the developers is the 19th century hand-engraved sheet music. I usually like the look of my lilypond output as compared with the late sixteenth and early seventeenth century printers I usually transcribe. I always like the look of lilypond output as compared with anyone's hand-written music. But when I transcribe Petrucci from the facsimile, the spacing lilypond does always looks clunky, especially in the parts with large note-values. I've recently figured out that the large note-values look better if you put: \context{ \Score \override SpacingSpanner #'base-shortest-duration = #(ly:make-moment 1 1) } in the \layout block. I believe Petrucci's spacing is just equal spacing for every note, no matter what its value. Does anyone have any tricks for making lily's output look a little more like that? I'm trying to redesign my website, and one idea I have is to have a graphic in the header with a facsimile on one side and lily's output on the other. So it's important that people not look at the lilypond output and say, "Wow, that's ugly compared to the facsimile." Of course one way to do that would be to use an ugly facsimile (of which there are many), but it would be more fun to use a beautiful facsimile and also have beautiful lilypond. If you want to look at the Petrucci, one example is at <http://clavichord.cantabileband.org/~newlily/music/josquin/adieu/adieu-p1.png>. The lilypond output I have at the moment for that is <http://clavichord.cantabileband.org/~newlily/music/josquin/adieu/cantus.png> and <http://clavichord.cantabileband.org/~newlily/music/josquin/adieu/tenor-nowords.png> -- Laura (mailto:lconrad@xxxxxxxxxxxx http://www.laymusic.org/ ) (617) 661-8097 233 Broadway, Cambridge, MA 02139 I've been singing. I've been taking a part in White sand and grey sand. I don't know anything about it. Never mind. I'll take any part in anything. It's all the same, if you're loud enough. Charles Dickens, _Little Dorrit_ _______________________________________________ lilypond-user mailing list lilypond-user@xxxxxxx http://lists.gnu.org/mailman/listinfo/lilypond-user

Next Message by Thread: click to view message preview

Re: Petrucci-like spacing?

>>>>> "Michael" == Michael Lauer <mrlauer1@xxxxxxxxx> writes: Michael> Laura Conrad <lconrad <at> laymusic.org> writes: >> >> But when I transcribe Petrucci from the facsimile, the spacing lilypond >> does always looks clunky, especially in the parts with large >> note-values. >> >> >> I believe Petrucci's spacing is just equal spacing for every note, no >> matter what its value. >> >> Does anyone have any tricks for making lily's output look a little more >> like that? Michael> I was able to get closer to what I think you want by: Thanks, that looks a lot better. Michael> So the layout block looks like this: Michael> \layout { Michael> \context{ Michael> \Staff Michael> \consists Custos_engraver Michael> \override Custos #'style = #'mensural Michael> \override BarLine #'extra-spacing-width = #'(+inf.0 . -inf.0) Michael> } Michael> \context { Michael> \Score Michael> defaultBarType = "" Michael> \override SpacingSpanner Michael> #'base-shortest-duration = #(ly:make-moment 1 1) Michael> \override SpacingSpanner Michael> #'shortest-duration-space = #1 Michael> } Michael> \context { Michael> \Voice Michael> \consists Ambitus_engraver Michael> \override NoteHead #'extra-spacing-width = #'(-.4 . .4) Michael> \override Rest #'extra-spacing-width = #'(-.4 . .4) Michael> \override NoteHead #'extra-spacing-height = #'(-inf.0 . +inf.0) Michael> \override Rest #'extra-spacing-height = #'(-inf.0 . +inf.0) Michael> } Michael> } Michael> Hope that's useful-- I think so. There's a lot of stuff where modern transcribers typically halve or even quarter the note values, and I'd prefer not to but it's problematic with the normal lilypond spacing. (One reason it probably became common is that the same is true of other printing based on 19th century engraving practices.) Whether it makes my website as beautiful as I'm hoping remains to be seen, but I'll let you know. You can see the spacing with Michael's layout on my blog entry for today: <http://laymusic.org/wordpress/?p=974> -- Laura (mailto:lconrad@xxxxxxxxxxxx http://www.laymusic.org/ ) (617) 661-8097 233 Broadway, Cambridge, MA 02139 Anyone can do any amount of work provided it isn't the work he is supposed to be doing at the moment. Robert Benchley _______________________________________________ lilypond-user mailing list lilypond-user@xxxxxxx http://lists.gnu.org/mailman/listinfo/lilypond-user

Web Hosting Reviews from OSDir.com Sister Site iBizWebHosting.com

Home | News | Patents | Sitemap | FAQ | advertise | OSDir is an Inevitable website. GBiz & git.net are too!

Advertising by