Re: Measure number collision
> I think it would be hard to write macros to approximate strokes with > lines. Well, right now I'm rewriting the parmesan stuff to make it work with mf2pt1 (the feta stuff has already be done two years ago). After this has been finished, only `fill' and `unfill' is used, and `draw' and `drawdot' are gone. > My suggestion is to render the outside contour as a coarse bitmap, > and then use potrace to generate a simple curved representation. I was thinking of doing something similar directly in metafont: 1. Collect all paths within a glyph so that they can be addressed sequentially. 2. Find intersections of horizontal rays coming from the left with all paths, taking the minimum x value of the found intersections. The vertical distance of those rays (which gives the resolution granularity) is something I would like to know from you. 3. Repeat step 2 for the remaining three directions. Werner ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: note collisions .... and \layout question
Hi, Steve: \score { \new StaffGroup << \new Staff = men { << \clef bass \new Voice = ten { \global \Three } \new Voice = bar { \global \Two } \new Voice = bas { \global \One } >> } \new Lyrics = "l3" \lyricsto "bas" \words >> \layout { \context { \Score \override SeparationItem #'padding = #0.3 } \context { \Staff \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3) } \context { \Staff \accepts "Lyrics" } \context { \Lyrics \override LyricSpace #'minimum-distance = #1.6 } } You might try explicitly setting \new Voice = ten { \voiceOne \global \Three } \new Voice = bar { \voiceThree \global \Two } \new Voice = bas { \voiceTwo \global \One } and see what happens... Hope this helps! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \override VerticalAlignment #'forced-distance in version 2.11.15
Hi, Just to clarify this, VerticalAlignment no longer has the property forced-distance in v 2.11. The lilypond score I am processing was written by a relative who unfortunately died last year and I am not sure exactly what effect he was trying to achieve. Getting it to work at all was a bit of a struggle as it didn't have a \version tag and I had to use convert-ly several times before I got it to work. Bernard On Tue, 2007-04-24 at 18:55 +0100, Bernard Hurley wrote: > Hi all, > > What is the equivalent of: > > \context { > \PianoStaff > \override VerticalAlignment #'forced-distance = #9 > } > > > in version 2.11.15? > > Thanks, > > Bernard > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Hymn settings and partcombine?
Below is a lilypond file that is typical of some hymn settings i'm trying (the core of this is from hymn.ly from the snippet repository). Basically, the soprano and alto are on a stave together the tenor and bass are on seperate staves, corresponding to RH, LH, and pedal for organ. It's no big deal to rearrange the voices in the score section to have the RH be soprano only, and then the LH to be the alto and tenor - in a separate file. But I would like to be able to arrange a single file that has, for example in a four stanza hymn, the first and second stanzas set RH:soprano and alto, LH:tenor, PED:bass; the third stanza set like RH:soprano, LH:alto and tenor, PED bass; then the final stanza set like stanzas one and two but transposed up a half-step or a whole step. (see %%%comments in the score%%%)(the basic setting works great, but crashes when...) \version "2.10.0" \paper { #(set-paper-size "letter") left-margin = 1\in line-width = 6.5\in } \header{ title = "Praise to the Lord" subtitle = "LOBE DEN HERRN" } sopranoNotes = \relative c { \key f\major f'4 f4 c'4 a4. g8 f4 e4 d4 c4 d4 e4 f4 g2. f2. \break f4 f4 c'4 a4. g8 f4 e4 d4 c4 d4 e4 f4 g2. f2. \break c'4 c4 c4 d2. a4 bes4 c4 c4 bes4 a4 g2. \break c,4 d4 e4 f4 g4 a4 g2. f2. } altoNotes = \relative c { \key f\major c'4 d4 c4 f4. e8 d4 c4 bes4 a4 bes4 bes4 a4 d4 c4 bes4 a2. c4 d4 c4 f4. e8 d4 c4 bes4 a4 bes4 bes4 a4 d4 c4 bes4 a2. f'4 g4 f4 f2. f4 f4 g4 f4 d8 e8 f4 e2. c4 bes4 bes4 a4 d4 cis4 d2 c8 bes8 a2. } tenorNotes = \relative c { \key f\major a'4 a4 g4 c4. c8 a4 a4 f4 f4 f4 g4 f4 f4 e2 f2. a4 a4 g4 c4. c8 a4 a4 f4 f4 f4 g4 f4 f4 e2 f2. a4 g4 a4 bes2. c4 bes4 g4 a4 bes4 c4 c2. f,4 f4 g4 f4 d4 e4 d4 g8 f8 e4 f2. } bassNotes = \relative c { \key f\major f4 d4 e4 f4. c8 d4 a4 bes4 f4 bes4 g4 d'4 bes4 c2 f,2. f'4 d4 e4 f4. c8 d4 a4 bes4 f4 bes4 g4 d'4 bes4 c2 f,2. f'4 e4 f4 bes,2. f'4 d4 e4 f4 g4 a8 f8 c2. a4 bes4 g4 d'4 a4 a4 bes2 c4 f,2. } \score { \context StaffGroup << %%%- i've tried copying this section to \context Staff = "upper" << \set Staff.printPartCombineTexts = ##f \clef treble \time 3/4 \partcombine \sopranoNotes \altoNotes >> \context Staff = "middle" << \clef bass \time 3/4 \tenorNotes >> \context Staff = "lower" << \clef bass \time 3/4 \bassNotes >> >> %%% here %%% down here with the parts combined the way I described above \layout { indent = 0.0\in } } Thanks, Ernie ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
note collisions .... and \layout question
I must admit to being quite confused about the proper setup of \score and \layout for vocal music. I am trying to typeset a 3-part men's vocal piece and the composer has drawn it out on a single bass clef staff ... i.e. 3 parts sharing the same staff. My method for using Lilypond to typeset this is to type in the notes (music expressions) of the three voices separately, naming each of them One, Two, and Three respectively (per the composer's naming conventions). Then I use the \staff and \layout code below to put the three voices together (with lyrics) on a single staff. \score { \new StaffGroup << \new Staff = men { << \clef bass \new Voice = ten { \global \Three } \new Voice = bar { \global \Two } \new Voice = bas { \global \One } >> } \new Lyrics = "l3" \lyricsto "bas" \words >> \layout { \context { \Score \override SeparationItem #'padding = #0.3 } \context { \Staff \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3) } \context { \Staff \accepts "Lyrics" } \context { \Lyrics \override LyricSpace #'minimum-distance = #1.6 } } The resulting compilation results in many, many occurrences of the message warning: ignoring too many clashing note columns Indeed, I am getting a lot of flags and bars on top of others and, in general, quite a mess. There are some cases where two notes a small interval apart have their note heads essentially on top of each other as well. I've tried going into the source and marking it \noFlag for various notes ... and this helps, but there are so many of these collision errors that I feel I must be doing something that is rather basic wrong. I've used Lilypond to typeset several pieces in the past without running into this problem but each seems structurally a bit different and, though I've read a lot of documentation, I've never had a good understanding of how to properly use the Staffs and Layout and Contexts. Any suggestions of guidance on this would be greatly appreciated. I'm using lilypond version 2.8.0 running on Linux Fedora Core 6. Steve Butner, novice typesetter ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Measure number collision
2007/4/23, Joe Neeman <[EMAIL PROTECTED]>: Here is an example of a treble clef. I only need the outermost curves traced, but it doesn't matter if some other curves are. I don't know exactly what the resolution needs to be, but it should distinguish between, for example, the stem and the bottom of a flat (also between the stems and the middle of a natural). I think it would be hard to write macros to approximate strokes with lines. My suggestion is to render the outside contour as a coarse bitmap, and then use potrace to generate a simple curved representation. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: beginning-of-measure padding value?
Kieren MacMillan wrote: Hi, Graham: Anything in particular other than this? Here are three screenshots from my "COA" reed part (sorry: no time to make minimal examples right now, so I can't be sure how many of these are easily reproducible, or are artifacts of my particular score and engraving code). Ironically, I only recognize the third one (whole note tremolo, the only one with an exapmle :) as having been fixed recently. I'm surprised about the first two collisions; the new collision avoidance should really have caught them. OTOH, it's possible that these were isolated incidents which were fixed after .11. I'll test them in .22 as soon as you have an example (in this case, even non-minimal will do). Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
\smallCaps how to
\version "2.11.20" Given this piece of the titling scheme scoreTitleMarkup = \markup { \column { \on-the-fly #print-all-headers { \bookTitleMarkup \hspace #1 } \line { \fromproperty #'header:piece } } } I would like to display the piece name as small caps. \smallCaps "string" seems to work but when I put it in front of a complex expression like \fromproperty #'header:piece I got a bunch of errors Preprocessing graphical objects.../home/yoochan/usr/lilypond/usr/bin/../share/lilypond/current/scm/define- markup-commands.scm:980:64: In procedure string->list in expression (string->list text): /home/yoochan/usr/lilypond/usr/bin/../share/lilypond/current/scm/define- markup-commands.scm:980:64: Wrong type argument in position 1 (expecting string): (# header:piece) And once again, I'm not fluent enough in scheme to catch the subtilities. Thank you for your help Yota ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: -dbackend=eps, bounding box etc
Damian leGassick wrote: I've seen that this crops up from time to time, but was there ever a fix to stop the bounding box being set too small? I'm not certain, but a quick check of the bug tracker shows that there's no archived bugs for this. Could you please send a minimal example of this problem so I can add it? http://lilypond.org/web/devel/participating/bugs Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
-dbackend=eps, bounding box etc
Hi all version 2.11.22 I've seen that this crops up from time to time, but was there ever a fix to stop the bounding box being set too small? I still lose something from the bottom of the image. I don't really want to set them by hand in the .eps file - there are about a hundred of them which need latexing. TIA Damian ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Bar numbers in unmetered music.
Hi list, for unmetered music, I'm using \cadenzaOn \cadenzaOff but \set score.currentBarNumber seems not working. I'm pretty sure I'm missin' something but what? This is my lily-file: -- % code start \version "2.11.21" \include "english.ly" \header { title="test" tagline=" " } verseOne=\lyricmode {\tiny This is a test } melody={\set melismaBusyProperties = #' () \override Staff.TimeSignature #' transparent = ##t \time 5/4 \clef violin \key d \major \transpose c c' { \cadenzaOn e4 e e e a \bar "|" cs2 e a4 \bar "|" \break \set Score.currentBarNumber = #5 d4 d d \bar "|" cs4 d cs e d\bar"|." \cadenzaOff } } \score { << \new Voice= "one" {\melody} \new Lyrics \lyricsto "one" \verseOne >> } % end code - The output is fine, except for the missing bar number. Hope this isn't too silly question but I'm a beginner. Thanks in advance for help. Cheers. AB ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: beginning-of-measure padding value?
On 4/24/07, Kieren MacMillan <[EMAIL PROTECTED]> wrote: p.s. I'd be using something beyond 2.11.12, but every version I've tried has fontconfig problems, which none of the tips on the list(s) have solved for me... =\ Hi Kieren, You're on a Mac under OS X, yes? I had fontconfig drama right around .18 or so (though it may have been earlier) and what fixed it on my OS X box was deleting ~/.fontconfig. (The tip came from one of James's mail on 27 February, so you've probably already tried this. But just in case.) -- Trevor Bača [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: gracenote producing wrong clef
In message <[EMAIL PROTECTED]>, madhg <[EMAIL PROTECTED]> writes Michael Lauer wrote: See the end of the section on "grace notes" in the manual. Thank you very much. I learn that I should always look for the "bugs" section at the end of a manual page. That's normal practice on Unix. Pretty much all man pages should list known problems. For amusement, however, if you have access to a Unix/linux system, try "man mutt" (or search the web for it). It has an amusing twist to standard practice :-) Cheers, Wol -- Anthony W. Youngman - [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
\override VerticalAlignment #'forced-distance in version 2.11.15
Hi all, What is the equivalent of: \context { \PianoStaff \override VerticalAlignment #'forced-distance = #9 } in version 2.11.15? Thanks, Bernard ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: gracenote producing wrong clef
Michael Lauer wrote: > > See the end of the section on "grace notes" in the manual. > Thank you very much. I learn that I should always look for the "bugs" section at the end of a manual page. -- View this message in context: http://www.nabble.com/gracenote-producing-wrong-clef-tf3638828.html#a10165714 Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: gracenote producing wrong clef
madhg bris.ac.uk> writes: > > > In keyboard music, an appoggiatura for the first note in the treble staff > interferes with the clefs in the lower staff. It makes the bass staff start > with a treble clef folllowed immediately by the correct bass clef. > > Removing the appogg gets rid of the problem: lower staff starts with the > bass clef as it should. > See the end of the section on "grace notes" in the manual. You can work around the weirdness by adding a grace skip in the lower staff: mylowerstaff = { \clef bass \grace s16 r4 } % end lowerstaff Michael ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: beginning-of-measure padding value?
Hi, Graham: Could you make up a minimal example (perhaps with some of the stuff below) Will do. Anything in particular other than this? Here are three screenshots from my "COA" reed part (sorry: no time to make minimal examples right now, so I can't be sure how many of these are easily reproducible, or are artifacts of my particular score and engraving code). 1. Collisions: between \markup (attached to initial rest), slur, and \mark: 2. Collision: dynamic indication in one (single-staff) system with slur, articulation, and \mark in the following system: 3. Collisions: \repeat "tremolo": Minimal example for #3: \version "2.11.12" \paper { ragged-right = ##t } \score { { \time 6/4 \repeat "tremolo" 24 { b'32 d'' } | } } Cheers, Kieren. p.s. I'd be using something beyond 2.11.12, but every version I've tried has fontconfig problems, which none of the tips on the list(s) have solved for me... =\___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stanza numbering looks ugly
I too would like to know how to fix this. Thanks, Joe On 22/04/07, Dominic Neumann <[EMAIL PROTECTED]> wrote: Hi, I´m trying to typeset songs with different verses. When the refrain comes before the verses, the stanza numbers don´t get enough place. They are printed right onto the last syllables of the refrain. Where can I find some help in the manual? I couldn´t find the right place - or maybe you can help? Example code: %%% BEGIN %%% \version "2.10.20" refrain = \lyricmode { \set stanza = "Refr. " this is a test, yes "it´s" a test } verseOne = \lyricmode { \set stanza = "1. " verse num -- ber one will soon be gone } verseTwo = \lyricmode { \set stanza = "2. " verse num -- ber two da dee da doo } refrSkip = { \repeat unfold 8 { \skip 4 } } \score { { << \relative c'' { g4 g g g | a a a a | b b b b | d c d c \bar "|." } \addlyrics { \refrain \verseOne } \addlyrics { \refrSkip \verseTwo } >> } } %%% END %%% As an attachment you can find the output. Dominic ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
gracenote producing wrong clef
In keyboard music, an appoggiatura for the first note in the treble staff interferes with the clefs in the lower staff. It makes the bass staff start with a treble clef folllowed immediately by the correct bass clef. Removing the appogg gets rid of the problem: lower staff starts with the bass clef as it should. Lilypond v. 2.11.20. Bug? or my error? Small example: myupperstaff = { \clef treble \time 4/4 \appoggiatura f'16 e4 } % end myupperstaff mylowerstaff = { \clef bass r4 } % end lowerstaff \score{ \new GrandStaff << \new Staff = trebleStaff \relative c' \myupperstaff \new Staff = bassStaff \relative c \mylowerstaff >> } Same thing happens if I use PianoStaff instead of separate staves combined into GrandStaff. -- View this message in context: http://www.nabble.com/gracenote-producing-wrong-clef-tf3638828.html#a10161483 Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Vertical alignment of lyrics to multiple voices
[EMAIL PROTECTED]: > You might find the postings at http://partoches.bearteam.org/ useful. There > is a link to ly source files near the bottom of the page. That link (http://partoches.bearteam.org/jazz.tar.gz) gives $ wget -x http://partoches.bearteam.org/jazz.tar.gz --09:34:09-- http://partoches.bearteam.org/jazz.tar.gz => `partoches.bearteam.org/jazz.tar.gz' Resolving partoches.bearteam.org... 62.212.101.94 Connecting to partoches.bearteam.org|62.212.101.94|:80... connected. HTTP request sent, awaiting response... 404 Not Found 09:34:10 ERROR 404: Not Found. Regards, /Karl --- Karl HammarAspö Data [EMAIL PROTECTED] Lilla Aspö 2340Networks S-742 94 Östhammar +46 173 140 57 Computers Sweden +46 70 511 97 84 Consulting --- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Diminished symbols in Lyrics Line
I don't know anything about the typesetting of harmonic analysis, but you can insert any symbol or combination of symbols or whatever into a lyrics line using text markup commands, \markup{...}. See the section on Text markup in the manual. /Mats beng wrote: Hi all. I have been trying to set an analysis of MacDowell's "To a Wild Rose" on lilypond. After a whole heap of time getting to know lily better and heaps of time scrounging through the manuals and the snippet repository, I've pretty much got it together but for one final detail. I have placed my harmonic analysis in a lyrics line below the bass stave, which has worked quite well. All that remains is for me is to insert diminished and half-diminished symbols within the lyrics line for the vii (diminished chords). Can this be done? and how? Also, if anyone out there has come up with a better way to structure a simple on-score analysis, or would have a template for the job, please let me know about it. Kindly Ben Simmonds -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user