Re: Harp Pedal Spanners
Your code is much more readable, but I'm not sure I understand the difference between first and second take? I just noticed, where I have -3 it is a typo, it should be positive 3 Alex Loomis On Wed, Jun 7, 2023 at 9:24 AM David Kastrup wrote: > Alexandre Loomis writes: > > > Thanks, that was very helpful! Adding \tweak padding 1 to the original > > function and defining a continue function by > > nextPed = > > #(define-music-function (end-text) (markup?) > >#{ > > \tweak bound-details.left.padding -3 > > \startPed "" #end-text > >#}) > > makes many cases work or almost work by default. It still requires some > > tweaking, but far less. > > That looks like it could instead be defined as > > nextPed = -\tweak bound-details.left.padding -3 > \startPed "" \etc > > Note that this creates an "event function" instead of a "music function" > since that is more appropriate for a \startTextSpan command which can > only be applied attached to some rhythmic event. That way you can write > > c'\nextPed > > instead of > > c'-\nextPad > > and have LilyPond recognize this in the first take (there has been a > "second take" around for a few version that obscurs the distinction, but > it will still show in the output of > > \displayLilyMusic c'\nextPad > > and similar constructs). > > -- > David Kastrup >
Re: Harp Pedal Spanners
Thanks, that was very helpful! Adding \tweak padding 1 to the original function and defining a continue function by nextPed = #(define-music-function (end-text) (markup?) #{ \tweak bound-details.left.padding -3 \startPed "" #end-text #}) makes many cases work or almost work by default. It still requires some tweaking, but far less. Alex On Tue, Jun 6, 2023 at 1:53 PM Kieren MacMillan wrote: > Hi Alexandre, > > > I'm trying to notate harp pedals > > It would be great to have more complete/robust harp pedal support in > Lilypond! > > > Is there any way to make this more "automatic"? > > Unfortunately, I believe TextSpanner still doesn’t implement shorten-pair… > but you can always use padding to fake it: > > startPed = > #(define-music-function (start-text end-text) (markup? markup?) >#{ > \tweak dash-fraction #1.0 > \tweak bound-details.left.text #start-text > \tweak bound-details.left.stencil-align-dir-y #CENTER > \tweak font-shape #'upright > \tweak bound-details.right.text #end-text > \tweak bound-details.right.stencil-align-dir-y #CENTER > \tweak bound-details.left-broken.text ##f > \tweak bound-details.right-broken.text ##f > \tweak bound-details.right.padding 4 > \tweak padding 1 > \startTextSpan >#}) > > endPed = \stopTextSpan > > RH = \relative es'' { > ces'16 gis f gis des8 r a'16 ges es ges d8 r | > } > > Pedals = { > s4_\startPed "G♯" " ♭" s s \endPed _\startPed "" "♮" s4 \endPed _"D♮" | > } > > \score { > \new Staff << > \new Voice \RH > \new Voice \Pedals > >> > } > > Maybe Someone™ will have a more automatic and flexible method, but maybe > this gives you a hint in the right direction? > > Best, > Kieren. > __ > > My work day may look different than your work day. Please do not feel > obligated to read or respond to this email outside of your normal working > hours. > >
Harp Pedal Spanners
Hi all, I'm trying to notate harp pedals. This should looks something like [image: mwe1.cropped.png] I currently have code where it's straightforward to get pretty close, like this [image: mwe2.cropped.png] However, making it look like the first image involves a ton of time starting the new spanner a 16 (or 32, or whatever gives good spacing) later, setting TextSpanner.staff-padding so that the new spanner lines up with the old one, and tweaking the whitespace around the accidentals to look somewhat balanced. Is there any way to make this more "automatic"? My current code is \version "2.24.0" startPed = #(define-music-function (start-text end-text) (markup? markup?) #{ \tweak dash-fraction #1.0 \tweak bound-details.left.text #start-text \tweak bound-details.left.stencil-align-dir-y #CENTER \tweak font-shape #'upright \tweak bound-details.right.text #end-text \tweak bound-details.right.stencil-align-dir-y #CENTER \tweak bound-details.left-broken.text ##f \tweak bound-details.right-broken.text ##f \startTextSpan #}) endPed = \stopTextSpan RH = \relative es'' { ces'16 gis f gis des8 r a'16 ges es ges d8 r | } Pedals = { s4_\startPed "G♯" " ♭" s s \endPed _\startPed "" "♮" s4 \endPed _"D♮" | } \score { \new Staff << \new Voice \RH \new Voice \Pedals >> \layout {} } Thanks, Alex
Re: Othering??
I'd translate it as aliénation or another antonym of assimilation. On Wed, May 10, 2023, 5:45 AM Vincent Gay wrote: > Le 10/05/2023 à 14:26, Andrew Bernard a écrit : > > a word that does not really exist in English > > DeepL translate Othering in French by altérisation, which is not really > French either (the right word would be altération) > > I suppose this is related to the use of sharp, flat and other beccare > > -- > Vincent Gay > Envoyé depuis mon saxo-phone :)https://myrealbook.vintherine.org/ - > http://photos.vintherine.org/ > >
Re: Anybody else playing with GPT4 and Lilypond?
> given some of the other impressive things it can do I think that's been exaggerated. It's very good at generating plausible-sounding text responses to prompts, everything else looks cherry-picked. On Wed, Mar 29, 2023 at 3:54 PM Nate wrote: > Hah yes. It once said \begn{music} and i said "are you making this up?" > "I'm sorry, you're correct. The start tag should be \begin{lilypond}. > > Its super handy but you have to watch it. It can be a pathological liar. I > asked it how to do something on the Akai Mini Play and it said to use this > button On the upper left corner. when i asked for clarification instead of > admitting it was mistaken it said it was white and next to another button. > Twice it doubled down before admitting it was wrong. > > On Wed, Mar 29, 2023, 6:44 PM Saul Tobin > wrote: > >> I've seen some examples of other people succeeding in getting ChatGPT >> with GPT4 to compose simple music in other text based music formats. I've >> had limited success getting it to output Lilypond code. It is able to >> correctly structure the code with a score block, nested contexts, and >> appropriately named variables, and bar checks at the end of each measure. >> It seems to struggle to create rhythms that fit within the time signature >> beyond extremely simple cases. It also seems to struggle a lot to >> understand what octave pitches will be in when using relative mode. >> >> It also seems to have a lot of trouble keeping track of the relationship >> between notes entered in different simultaneous expressions. Just asking it >> to repeat back which notes appear in each voice on each beat, GPT4 >> frequently gives stubbornly incorrect answers about the music it generated. >> This makes it very difficult to improve its output by giving feedback. >> >> I'm curious whether anybody else has tried playing with this. I have to >> imagine that GPT4 has the potential to produce higher quality Lilypond >> output, given some of the other impressive things it can do. Perhaps it >> needs to be provided with a large volume of musical repertoire in Lilypond >> format. >> >
Re: autoChange creating extra staff
That works perfectly, thanks! Follow up question, is there a way to change the cross-over point during the music, or do I need to do something like \CrossStaff = { \autoChange c' { *music* } \autoChange f' { *music* } } On Fri, Mar 17, 2023 at 11:45 AM Jean Abou Samra wrote: > Le vendredi 17 mars 2023 à 11:35 -0700, Alexandre Loomis a écrit : > > Hi, I'm running into an issue using \autoChange. I'd like CrossStaff to > share the lower staff (and upper with another voice, but that doesn't seem > to cause any issues), but it's creating its own. > > \version "2.24.0" > > CrossStaff = \autoChange f { > \relative c' { > c2 c, > } > } > > VoiceTwo = \relative { \clef "bass" c,1 } > > \new PianoStaff << > \new Staff = "up" { > \new Voice \CrossStaff > } > \new Staff = "down" { > \new Voice \VoiceTwo > } > > Try > > \version "2.24.1" > > CrossStaff = \autoChange f { > \relative c' { > c2 c, > } > } > > VoiceTwo = \relative { \clef "bass" c,1 } > > \new PianoStaff << > \new Staff = "up" { > \new Voice \CrossStaff > } > \context Staff = "down" { > \new Voice \VoiceTwo > } > >> > > As you can see in the examples in the documentation, \autoChange is > designed to create two staves at once if not already created. In this case, > when \autoChange is seen by LilyPond at the start of the music, there is > no "down" staff yet, so it's created, and then you create another one with > \new. By using \context instead of new (see Creating and referencing > contexts > <https://lilypond.org/doc/v2.24/Documentation/notation/creating-and-referencing-contexts>), > you insert your \VoiceTwo inside the same context rather than creating a > new one. >
autoChange creating extra staff
Hi, I'm running into an issue using \autoChange. I'd like CrossStaff to share the lower staff (and upper with another voice, but that doesn't seem to cause any issues), but it's creating its own. \version "2.24.0" CrossStaff = \autoChange f { \relative c' { c2 c, } } VoiceTwo = \relative { \clef "bass" c,1 } \new PianoStaff << \new Staff = "up" { \new Voice \CrossStaff } \new Staff = "down" { \new Voice \VoiceTwo } >>
Re: Not sure how to construct an example--need to mark repeat signs underneath, without wrapping to next line
You could also use \jump, for example \version "2.24.1" \repeat volta 2 { c'1 1 1 1 \jump "4×" } On Tue, Mar 7, 2023 at 9:46 AM Jean Abou Samra wrote: > Le mardi 07 mars 2023 à 10:29 -0600, Matthew Probst a écrit : > > I'm not quite sure how to construct an example--I'm working on my scoring > for rock/funk band, and I have everything under control due to the great > help I've received here. One final sticking point is that I like to mark > repeat signs underneath with a "2x" or "4x". I've been using tweaked > \marks: > > \tweak direction #DOWN \mark "4x" > > Problem is, if the closing repeat mark is at the end of a line of music as > it decides to typeset it, this text appears at the beginning of the next > line instead of at the ending repeat barline where I want it. > > I'm guessing that this is not the best way to mark a bar, and I'm not > finding the right terminology/concepts to search for what I want on my own. > > For example: > > \version "2.24.1" > > \repeat volta 2 { > c'1 1 1 1 > \tweak direction #DOWN \textEndMark "4×" > } > > See > https://lilypond.org/doc/v2.24/Documentation/notation/writing-text.html#text-marks > > For a mark at the beginning of the line, you'd use \textMark instead of > \textEndMark. > > Note that you could also use \tweak break-visibility > #begin-of-line-invisible \mark "4×" instead of \textEndMark "4×", but > using \mark for a textual mark has shortcomings, and it is discouraged > starting from version 2.24 in favor of \textMark and \textEndMark. It's > only being kept for compatibility. (This is only about \mark ; \mark > \default is still recommended for a rehearsal mark.) >
Re: Harp Pedal Spanner
That works perfectly, thanks! Alex On Thu, Mar 2, 2023 at 1:34 PM Jean Abou Samra wrote: > Le jeudi 02 mars 2023 à 12:11 -0700, Alexandre Loomis a écrit : > > Hi, > > I'm having trouble defining a harp pedal spanner. I'd like to be able to > write code like > > \relative c' { f4 _\startPedal "F♮" g fes \endPedal "♭" } > > and get as output the notes, with F♮ below the f natural, ♭ below the f > flat, and a line connecting the markups. So far the closest I've been able > to get is > > \relative c' { \startPedal "F♮" \endPedal "♭" f4 _\startTextSpan g fes > \stopTextSpan } > > where startPedal and endPedal are defined as > > startPed = > #(define-music-function > (text) > (markup?) > #{ > \once \override TextSpanner.dash-fraction = #1.0 > \once \override TextSpanner.bound-details.left.text = #text > \once \override TextSpanner.bound-details.left.stencil-align-dir-y = > #CENTER > \once \override TextSpanner.font-shape = #'upright > #} > ) > > endPed = > #(define-music-function > (text) > (markup?) > #{ > \once \override TextSpanner.bound-details.right.text = #text > \once \override TextSpanner.bound-details.right.stencil-align-dir-y = > #CENTER > #} > ) > This produces the correct output, but needing to call all four of > startPed, endPed, startTextSpan, and stopTextSpan is inconveniently verbose. > > With \override, you need to put the command before the note, but LilyPond > also has \tweak, which attaches to the event itself, so you can do > > \version "2.24.1" > > startPed = > #(define-music-function (start-text end-text) (markup? markup?) > #{ > \tweak dash-fraction #1.0 > \tweak bound-details.left.text #start-text > \tweak bound-details.left.stencil-align-dir-y #CENTER > \tweak font-shape #'upright > \tweak bound-details.right.text #end-text > \tweak bound-details.right.stencil-align-dir-y #CENTER > \startTextSpan > #}) > > endPed = \stopTextSpan > > \relative c' { f4 _\startPed "F♮" "♭" g fes \endPed } > > Note that this isn't exactly your wished syntax because the end text is > given to \startPed, not to \endPed. There are no built-in ways to > override the properties of a spanner at a later point than the moment it > has been created in, so it would require custom Scheme code to make your > original syntax work. Unless you really want that, I suggest you just use > this syntax, which isn't more verbose than yours. > > HTH, > > Jean >
Harp Pedal Spanner
Hi, I'm having trouble defining a harp pedal spanner. I'd like to be able to write code like \relative c' { f4 _\startPedal "F♮" g fes \endPedal "♭" } and get as output the notes, with F♮ below the f natural, ♭ below the f flat, and a line connecting the markups. So far the closest I've been able to get is \relative c' { \startPedal "F♮" \endPedal "♭" f4 _\startTextSpan g fes \stopTextSpan } where startPedal and endPedal are defined as startPed = #(define-music-function (text) (markup?) #{ \once \override TextSpanner.dash-fraction = #1.0 \once \override TextSpanner.bound-details.left.text = #text \once \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER \once \override TextSpanner.font-shape = #'upright #} ) endPed = #(define-music-function (text) (markup?) #{ \once \override TextSpanner.bound-details.right.text = #text \once \override TextSpanner.bound-details.right.stencil-align-dir-y = #CENTER #} ) This produces the correct output, but needing to call all four of startPed, endPed, startTextSpan, and stopTextSpan is inconveniently verbose. Thanks, Alex
Removing staff sharp after a \stopStaff
Hi there I'm having trouble trying to let the cropped staff ends right after the notes. There's staff lines continues a bit after (probably due to the alignment with the notes of the staff below). What could solve this and cut the up right after the notes? %Definitions circa= \markup { \teeny "I" } circd= \markup { \teeny "II" } circg= \markup { \teeny "III" } circc= \markup { \teeny "IV" } \score { \new Staff = "notas" \with { \remove Time_signature_engraver } \relative c { %--futura II? \override Score.Stem.stencil = ##f \override Score.Flag.stencil = ##f \time 6/4 \clef F a4_\markup { \hspace #-2 \dynamic p \circa}^\markup { \hspace #-5 \bold "Ad lib." } << { \oneVoice b-4_\circd d-2_\circg f-1_\circc r e-4_\circg d_\circd fis-4_\circa a-2_\circd r c-1 a-4 g, b-4 r e-2 g-1 e-4 \time 7/4 c r e-4 a-2 d-1 r b-4 \bar "|." } \new Staff = "harmonicos" \with { alignAboveContext = #"notas" \remove "Time_signature_engraver" \remove "Bar_engraver" fontSize = #-3 \override StaffSymbol.staff-space = #(magstep -3) \RemoveAllEmptyStaves } \relative c' { \oneVoice \clef G fis4 \omit Clef d \stopStaff s s \startStaff b \stopStaff s \startStaff cis' a \stopStaff s s \startStaff e \stopStaff s \startStaff fis \stopStaff s s \startStaff d \stopStaff s s s s \startStaff a' \stopStaff s s \startStaff fis \stopStaff } >> } } %%%PAPER definitions \paper { left-margin = 20\mm bottom-margin = 15\mm tagline = ##f print-first-page-number = ##f } %%%LAYOUT definitons \layout { \context { \Staff \override Beam #'breakable = ##t } \context { \Staff \override BarLine #'hair-thickness = #0.5 \override VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 5) } \context { \Score proportionalNotationDuration = #(ly:make-moment 1/6) %\override SpacingSpanner.uniform-stretching = ##t \override Flag.stencil = #modern-straight-flag } } Alexandre http://soundcloud.com/alexandre-ficagna \version "2.20.0" %Definitions circa= \markup { \teeny "I" } circd= \markup { \teeny "II" } circg= \markup { \teeny "III" } circc= \markup { \teeny "IV" } \score { \new Staff = "notas" \with { \remove Time_signature_engraver } \relative c { %--futura II? \override Score.Stem.stencil = ##f \override Score.Flag.stencil = ##f \time 6/4 \clef F a4_\markup { \hspace #-2 \dynamic p \circa}^\markup { \hspace #-5 \bold "Ad lib." } << { \oneVoice b-4_\circd d-2_\circg f-1_\circc r e-4_\circg d_\circd fis-4_\circa a-2_\circd r c-1 a-4 g, b-4 r e-2 g-1 e-4 \time 7/4 c r e-4 a-2 d-1 r b-4 \bar "|." } \new Staff = "harmonicos" \with { alignAboveContext = #"notas" \remove "Time_signature_engraver" \remove "Bar_engraver" fontSize = #-3 \override StaffSymbol.staff-space = #(magstep -3) \RemoveAllEmptyStaves } \relative c' { \oneVoice \clef G fis4 \omit Clef d \stopStaff s s \startStaff b \stopStaff s \startStaff cis' a \stopStaff s s \startStaff e \stopStaff s \startStaff fis \stopStaff s s \startStaff d \stopStaff s s s s \startStaff a' \stopStaff s s \startStaff fis \stopStaff } >> } } %%%PAPER definitions \paper { left-margin = 20\mm bottom-margin = 15\mm tagline = ##f print-first-page-number = ##f } %%%LAYOUT definitons \layout { \context { \Staff \override Beam #'breakable = ##t } \context { \Staff \override BarLine #'hair-thickness = #0.5 \override VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 5) } \context { \Score proportionalNotationDuration = #(ly:make-moment 1/6) %\override SpacingSpanner.uniform-stretching = ##t \override Flag.stencil = #modern-straight-flag } } test.pdf Description: Adobe PDF document
Re: Double clefs (or even triple) (Malte Meyn)
Malte, I just changed the musicglyph to the G_change and F_change. So, for a single code that could be applied to initial clefs and clef changes, it would be necessary to create such clefs as new clefs? doubleF = { \once \omit Staff.ClefModifier \once \override Staff.Clef.layer = -1 \once \override Staff.Clef.stencil = #ly:text-interface::print \once \override Staff.Clef.text = \markup { \combine \combine \musicglyph #"clefs.F_change" \translate #'(2.2 . 0) \with-color #white \beam #0.5 #0 #1.5 \translate #'(1.7 . 0) \musicglyph #"clefs.F_change" } } doubleG = { \once \omit Staff.ClefModifier \once \override Staff.Clef.stencil = #ly:text-interface::print \once \override Staff.Clef.text = \markup { \combine \musicglyph #"clefs.G_change" \translate #'(1.5 . 0) \musicglyph #"clefs.G_change" } } tripleG = { \once \omit Staff.ClefModifier \once \override Staff.Clef.stencil = #ly:text-interface::print \once \override Staff.Clef.text = \markup { \combine \combine \musicglyph #"clefs.G_change" \translate #'(1.5 . 0) \musicglyph #"clefs.G_change" \translate #'(3 . 0) \musicglyph #"clefs.G_change" } } Alexandre http://soundcloud.com/alexandre-ficagna Em ter, 22 de out de 2019 às 11:31, Alexandre Ficagna < alexandre.fica...@gmail.com> escreveu: > Beautiful. Thanks! > > -- Forwarded message -- > >> From: Malte Meyn >> To: lilypond-user@gnu.org >> Cc: >> Bcc: >> Date: Sat, 19 Oct 2019 15:23:48 +0200 >> Subject: Re: Double clefs (or even triple) >> >> >> Am 19.10.19 um 14:56 schrieb Alexandre Ficagna: >> > Hi >> > >> > as Lilypond now have double G clefs with the \clef GG I'm wondering why >> > there's no \clef FF or even more like \clef GGG and \clef FFF for 15a >> > and 15b >> >> Hi Alexandre, >> >> I’ve never seen that, when are such clefs used? >> >> Cheers, >> Malte >> >> > Still, I tried this: >> > doubleF = { >> >\override Staff.Clef.stencil = #ly:text-interface::print >> >\override Staff.Clef.text = \markup { \combine \musicglyph #"clefs.F" >> > \translate #'(2 . 0) \musicglyph #"clefs.F" } >> > } >> > >> > But the ":" in the first F clef keep it away from an elegant solution. >> > >> > Any help? >> >> You could lay a white rectangle over the dots: >> >> % >> \version "2.19.83" >> >> doubleF = { >>\omit Staff.ClefModifier >>\override Staff.Clef.layer = -1 >>\override Staff.Clef.stencil = #ly:text-interface::print >>\override Staff.Clef.text = \markup { >> \combine \combine >> \musicglyph #"clefs.F" >> \translate #'(2.2 . 0) \with-color #white \beam #0.5 #0 #1.5 >> \translate #'(1.7 . 0) \musicglyph #"clefs.F" >>} >> } >> >> doubleG = { >>\omit Staff.ClefModifier >>\override Staff.Clef.stencil = #ly:text-interface::print >>\override Staff.Clef.text = \markup { >> \combine \musicglyph #"clefs.G" >> \translate #'(1.5 . 0) \musicglyph #"clefs.G" >>} >> } >> >> \relative { >>\clef GG >>g1 >>\clef "treble_8" >>\doubleG >>g >>\clef "bass_8" >>\doubleF >>f, >> } >> % >> >> ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re:Double clefs (or even triple) (Malte Meyn)
Beautiful. Thanks! -- Forwarded message -- > From: Malte Meyn > To: lilypond-user@gnu.org > Cc: > Bcc: > Date: Sat, 19 Oct 2019 15:23:48 +0200 > Subject: Re: Double clefs (or even triple) > > > Am 19.10.19 um 14:56 schrieb Alexandre Ficagna: > > Hi > > > > as Lilypond now have double G clefs with the \clef GG I'm wondering why > > there's no \clef FF or even more like \clef GGG and \clef FFF for 15a > > and 15b > > Hi Alexandre, > > I’ve never seen that, when are such clefs used? > > Cheers, > Malte > > > Still, I tried this: > > doubleF = { > >\override Staff.Clef.stencil = #ly:text-interface::print > >\override Staff.Clef.text = \markup { \combine \musicglyph #"clefs.F" > > \translate #'(2 . 0) \musicglyph #"clefs.F" } > > } > > > > But the ":" in the first F clef keep it away from an elegant solution. > > > > Any help? > > You could lay a white rectangle over the dots: > > % > \version "2.19.83" > > doubleF = { >\omit Staff.ClefModifier >\override Staff.Clef.layer = -1 >\override Staff.Clef.stencil = #ly:text-interface::print >\override Staff.Clef.text = \markup { > \combine \combine > \musicglyph #"clefs.F" > \translate #'(2.2 . 0) \with-color #white \beam #0.5 #0 #1.5 > \translate #'(1.7 . 0) \musicglyph #"clefs.F" >} > } > > doubleG = { >\omit Staff.ClefModifier >\override Staff.Clef.stencil = #ly:text-interface::print >\override Staff.Clef.text = \markup { > \combine \musicglyph #"clefs.G" > \translate #'(1.5 . 0) \musicglyph #"clefs.G" >} > } > > \relative { >\clef GG >g1 >\clef "treble_8" >\doubleG >g >\clef "bass_8" >\doubleF >f, > } > % > > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Double clefs (or even triple)
Hi as Lilypond now have double G clefs with the \clef GG I'm wondering why there's no \clef FF or even more like \clef GGG and \clef FFF for 15a and 15b I say this old solution form here: http://lilypond.1069038.n5.nabble.com/Double-treble-and-alternative-percussion-clefs-td19406.html#a19408 Which doesn't affect octavation (as do the \clef GG). Still, I tried this: doubleF = { \override Staff.Clef.stencil = #ly:text-interface::print \override Staff.Clef.text = \markup { \combine \musicglyph #"clefs.F" \translate #'(2 . 0) \musicglyph #"clefs.F" } } But the ":" in the first F clef keep it away from an elegant solution. Any help? Alexandre http://soundcloud.com/alexandre-ficagna ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Double treble and (alternative) percussion clefs
Hi Caio, did you manage to find a Double Bass Clef? Lilypond now has a \clef GG, but still missing a \clef FF -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Generate pdf from scheme function
Thanks for everything, guys. I just tested what David said on 2.17 and it worked for the case I described here. Problem is, when I try to add a \header block inside it I start getting errors again. Considering how many problems I've faced so far regarding this, I feel I'm trying to push the scheme-functions in a direction they're not intended to go, is that correct? So far I managed to achieve the overall results I want \include-ing a couple files (one above the information I want to supply setting default values for some global variables, the melody and other variables set in the main file, then another included file below it all containing the structure I wanted my macro to generate. It's not the best result but it's a good trade-off so far. Am I missing another, better, way to do it programmatically? Or are scheme-functions actually intended to do what I'm failing to do and I'm just using them wrong? On Mon, Mar 18, 2013 at 5:07 AM, David Kastrup d...@gnu.org wrote: Alexandre Araujo Moreira alexandr...@gmail.com writes: Alexandre Araujo Moreira alexandr...@gmail.com writes: \version 2.16.2 simpleMusic = #(define-scheme-function (parser location melody) (ly:music?) #{ \score { $melody \layout {} } #}) \simpleMusic { c1 } Is there anyway I can write something similar to simpleMusic (in usage), where it'll automatically generate the pdf given the notes? \version 2.16.2 simpleMusic = #(define-scheme-function (parser location melody) (ly:music?) #{ \score { $melody \layout {} } #}) \score { \simpleMusic { c1 } } Probably more verbose than you care for, but at least you can get midi and layout blocks in which is more than you can do using a music function. David, I tried what you said above (and some variations, as having a score around another score seemed odd) It is not a score around another score in LilyPond-think, but rather a score syntactically introduced with \score and then being constructed inside by referring to a score variable. Things work similarly with \book and \bookpart variables. and I only managed to get syntax errors. This is probably my fault: I don't have 2.16 installed but did not change the version header to reflect this in my posting. The above code works fine in current 2.17. I did not remember that the changes were not already in 2.16. My original idea was based on believing a scheme-function in Lilypond was more-or-less like a macro in Scheme. Now I think I was wrong about that. No, you are quite correct, particularly regarding the more-or-less part. Working on the more part is ongoing work, however. Is there any facility in Lilypond that would allow me to write something like \myMacro arg1 arg2 and have lilypond behave as if I had wrote the expansion of myMacro over arguments arg1 and arg2? If there is such a thing I can work out a way in which it could behave the way I want. Especially if I have anything like guile's syntax-case at my disposal. The problem is not as much defining such functions but rather to get them accepted everywhere where you would expect. This is a gradual process. I had some attempts to turn this into an all-or-nothing feature where you could use Scheme functions wherever a variable was possible. It turns out that this is quite tricky: variables in the syntax generally know their type, and Scheme functions know their type only after being called which requires their argument list to be parsed (and evaluated) first. The parser generally uses one token of lookahead to make its decisions, and whenever the syntax depends on the type of a variable, the lookahead required for finding the end of a Scheme function's argument list call interferes with the not-yet made decision about the expression's type. It is the goal to eventually get rid of all these fine distinctions and limitations, and 2.17 is a solid step forward from 2.16 in that regard. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- Bad programming is easy. Idiots can learn it in 21 days, even if they are dummies. - As seen in 'How to Design Programs' ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Generate pdf from scheme function
Hello, everyone. I've been playing with lilypond to write simple, one-instrument, scores for learning for a few weeks now, and figured I could automate some of the tedious layout configuration I apply to all my scores with a simple scheme function. Unfortunately things aren't going very well. Let me describe my problem. I wrote a scheme function with (define-scheme-function), with the following code: \version 2.16.2 simpleMusic = #(define-scheme-function (parser location melody) (ly:music?) #{ \score { $melody \layout {} } #}) \simpleMusic { c1 } Is there anyway I can write something similar to simpleMusic (in usage), where it'll automatically generate the pdf given the notes? Later I plan to add other outputs (controlled by cmdline parameters), so having this kind of usage would be very helpful. My idea is to extend the parameters later (add title, composer, or anything else that is interesting to me) and apply a few transformations to the melody parameter (for example, unfold repeats while generating midi). The problem is, I thought what I wrote above would be enough to have it generate the outputs declared inside the function (in this case, the \layout), but it seems it doesn't work that way. Thanks, Alexandre Araujo Moreira. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Generate pdf from scheme function
On Sun, Mar 17, 2013 at 10:01 PM, David Kastrup d...@gnu.org wrote: Alexandre Araujo Moreira alexandr...@gmail.com writes: \version 2.16.2 simpleMusic = #(define-scheme-function (parser location melody) (ly:music?) #{ \score { $melody \layout {} } #}) \simpleMusic { c1 } Is there anyway I can write something similar to simpleMusic (in usage), where it'll automatically generate the pdf given the notes? \version 2.16.2 simpleMusic = #(define-scheme-function (parser location melody) (ly:music?) #{ \score { $melody \layout {} } #}) \score { \simpleMusic { c1 } } Probably more verbose than you care for, but at least you can get midi and layout blocks in which is more than you can do using a music function. David, I tried what you said above (and some variations, as having a score around another score seemed odd) and I only managed to get syntax errors. My original idea was based on believing a scheme-function in Lilypond was more-or-less like a macro in Scheme. Now I think I was wrong about that. Is there any facility in Lilypond that would allow me to write something like \myMacro arg1 arg2 and have lilypond behave as if I had wrote the expansion of myMacro over arguments arg1 and arg2? If there is such a thing I can work out a way in which it could behave the way I want. Especially if I have anything like guile's syntax-case at my disposal. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
glissandi don't connect directly to the stems when note heads are transparent
In early versions of lilypond it was possible to create glissandi which conected directly to the stem of the transparent headed note. In 2.16 version, an annoying problem is: this space remains empty, as if the note head was there. Does someone know how to do that? I tried to specify negative values on bound-details but it didn't work. Best ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
glissandi don't connect directly to the stems when note heads are transparent
In early versions of lilypond it was possible to create glissandi which conected directly to the stem of the transparent headed note. In 2.16 version, an annoying problem is: this space remains empty, as if the note head was there. Does someone know how to do that? I tried to specify negative values on bound-details but it didn't work. Best -- www.myspace.com/alexandreficagna ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
glissandi don't connect directly to the stems when note heads are transparent
In early versions of lilypond it was possible to create glissandi which conected directly to the stem of the transparent headed note. In 2.16 version, an annoying problem is: this space remains empty, as if the note head was there. Does someone know how to do that? I tried to specify negative values on bound-details but it didn't work. Best Alexandre -- http://soundcloud.com/alexandre-ficagna www.myspace.com/alexandreficagna - Endereço: Avenida Juscelino Kubitschek 3117 apto 603 Bairro: Vila Ipiranga Londrina/PR CEP: 86010-540 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Changing note head style within a chord
I've read that with \tweak command this is not possible. I really need two differente notehead styles inside the same chord (in different notes), does someone know how to do it? Cheers Alexandre -- www.myspace.com/alexandreficagna ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Bar lines appearing even with \stopStaff and \RemoveEmptyStaves
Hy, does someone know why, even with \stopStaff and \RemoveEmptyStaves, the barlines on the upper staff stand still? Below the code: up= { \stopStaff s2*8 \startStaff % \set Staff.instrumentName = m.e. s8 d8- s d- } center=\relative c { \time 2/4 \clef bass ees8.\mf f,16 a'4^\open^+ aes,8 f8 ~ f4 a'16 ees8. ~ ees8 aes, ~ aes8 f8 ~ f16 ees'16 aes,8 a'4 ~ a16 f,8. ees'4 ~ ees8 a16 f, ~ \break f8. aes16 ~ aes ees'8. a4 ~ a8 aes,8 ~ aes ees'8 ~ ees8. f,16 ~ f a'16 ees8 ~ ees16 f,8. ~ f16 a'8. ~ a8 ees16 aes,16 ~ aes4 ~ aes16 f8. \break } \score { \new RhythmicStaff = up \with { \remove Time_signature_engraver \remove Bar_number_engraver } \up \new Staff = center \center \layout { \context { \Staff \RemoveEmptyStaves \override VerticalAxisGroup #'remove-first = ##t } } } -- www.myspace.com/alexandreficagna ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problems with \inversion
You're right, it worked better with relative for melody. Still, it seems that changing from-pitch alters the note of transposition, while to-pitch changes absolutely nothing. Best Alexandre 2012/6/13 Trevor Daniels t.dani...@treda.co.uk: ALEXANDRE FICAGNA wrote Wednesday, June 13, 2012 2:57 PM I still didn't picture exactly how \inverse works in its from-pitch to-pitch variables, but I tried an example and what I got is the correct inversion of pitches, but each one was an octave above. Here's the code: \version 2.14.2 #(set-global-staff-size 15) \paper { #(define dump-extents #t) ragged-right = ##t line-width = 17\cm } melody= { a8 gis ees d g4 } \score { \new PianoStaff \new Staff \relative c' { %\override Stem #'transparent = ##t %uncomment to hide Stems %\override Beam #'transparent = ##t %uncomment to hide Beams \melody \retrograde \melody } \new Staff \relative c { \clef treble %\override Stem #'transparent = ##t %uncomment to hide Stems %\override Beam #'transparent = ##t %uncomment to hide Beams \inversion a' a \melody \retrograde \inversion a' a \melody } \layout { indent = #0 \context { \Staff \remove Bar_number_engraver \remove Time_signature_engraver } } } If you use \relative for melody, \inversion behaves more as you would expect. Either there is a bug which causes the incorrect behaviour you see when given absolute notes or the documentation needs to explain this better. Note though that \inversion will also transpose if from-pitch and to-pitch differ. Copied to bug list for further discussion. Trevor -- www.myspace.com/alexandreficagna ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to use diferente paper layouts in a \book
Nobody knows how to do it? 2011/5/25 Alexandre Ficagna alr...@ibest.com.br: Hy all, I'm trying do create a score with the individual parts after the global one, but the global part in landscape and the individual parts in portrait style. I'm using \book and \bookpart commands, doing this for the global part; \book { \paper { #(set-paper-size a4 'portrait) } ... and for the parts: \bookpart { \paper { #(set-paper-size a4 'portrait) } What should I do? Cheers, Alexandre -- www.myspace.com/alexandreficagna -- www.myspace.com/alexandreficagna ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Problems with \inversion
I still didn't picture exactly how \inverse works in its from-pitch to-pitch variables, but I tried an example and what I got is the correct inversion of pitches, but each one was an octave above. Here's the code: \version 2.14.2 #(set-global-staff-size 15) \paper { #(define dump-extents #t) ragged-right = ##t line-width = 17\cm } melody= { a8 gis ees d g4 } \score { \new PianoStaff \new Staff \relative c' { %\override Stem #'transparent = ##t %uncomment to hide Stems %\override Beam #'transparent = ##t %uncomment to hide Beams \melody \retrograde \melody } \new Staff \relative c { \clef treble %\override Stem #'transparent = ##t %uncomment to hide Stems %\override Beam #'transparent = ##t %uncomment to hide Beams \inversion a' a \melody \retrograde \inversion a' a \melody } \layout { indent = #0 \context { \Staff \remove Bar_number_engraver \remove Time_signature_engraver } } } -- www.myspace.com/alexandreficagna ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
How to use diferente paper layouts in a \book
Hy all, I'm trying do create a score with the individual parts after the global one, but the global part in landscape and the individual parts in portrait style. I'm using \book and \bookpart commands, doing this for the global part; \book { \paper { #(set-paper-size a4 'portrait) } ... and for the parts: \bookpart { \paper { #(set-paper-size a4 'portrait) } What should I do? Cheers, Alexandre -- www.myspace.com/alexandreficagna ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: symphonic, continuos movements, percussion, midi
Mats Bengtsson mats.bengtsson at ee.kth.se writes: Quoting alexandre reche e silva recheesilva at yahoo.com.br: I still need help because of a strange side effect: using /mark to titling adds a empty staff at the top of the others?!?! (This is really embarrassing. Imagine. An uninvited blank top staff...). If you include short but complete example .ly file that illustrates this problem, it will be much easier for us to tell what mistake you do. /Mats Peace and Health in Jesus Christ Well, the task of reduce a symphonic piece to a short but complete example was finally done. Nevertheless, the ensemble was reduced to flute and oboe only, and just the first section was quoted bellow (because I don't know yet how to attach a .ly file to this post). You will witness the strange effect of a ghost staff (probably a side effect from self-teaching ;) %{ It would be interesting to criticise any other aspect of the labour too -- just for newbies' didact purposes involving tabbing, spacing, line breaking, structural format,hierarchy... (The editor used is jedit.) I insist on this because we newbies have problems with possibilities of such openness allowed by lily language. From this point of view, orthography and semantic rules will help as well as syntax. Someone said limitations are highly creative. We are not interested in martial rules, but instead, in the art of writing,e.g., to put together, to compound: to compose. We hear that a program well structured (I mean, well wrote) demand less work. The software is growing fast and maybe there is no spot for that. But, it would be interesting also to think in a task front to show some blueprints to lily writing expanding the manual section (3.1 in version 2.4.5) 'Suggestions for writing LilyPond files'. As some editors use to respond to certain languages -- in terms of tabbing and highlighting -- we (non programmers programming because want to see music) could be encouraged to observe some points: * open braces (or whatever) and after that break line and give a tab (or three spaces to be more economic, visually speaking) just to make the block easier to see and to understand better the code; * make this recursively if one nests grub inside grub; (* remember that this is usable for long sentences) * global stuffs remains at the top of the file; * do not repeat information along the files; * give more spaces between groups of notes to differentiate them from notes inside the group; * ... What I am trying to depict (almost overloading my English) is that some conventions on this way help people to: - question less and precise more; - see better the whole picture; - help lily (and ourselves) to understand our files; - migrate from front-end environments; - help bug tracking (who knows? :) - ... In spite this is the adequate occasion or not, I want to thank you anyway by the opportunity to comment (and indent) this ideas, present daily in our thoughts while dealing with lilypond -- in some autodidact mode. Thanks to \Mats, Graham, Han-Wen and of course Pedro Kröger: the responsible for introduce me to the app. %} %The Flute file: %== \version 2.4.5 \include header.ly #(ly:set-point-and-click 'line-column ) fluteINotes = \relative c'' { \set Staff.instrument = #2 Flautas \set Staff.instr = #fl \set Staff.midiInstrument = #flute %1 I - This is my beloved Son, in whom I am well pleased. \tempo 4 = 116 b'4~\fp\( b8 b)-\!\mf r2 | \time 2/4 R2 | \time 5/4 b cis4~\fp\( b cis8 b cis)-\!\f r4 r2 | \time 4/4 R1 | %5 R1 | \time 2/4 R2 | \time 4/4 R1 | R1 | ais b8 r8 r8 fis' g- r2 | %10 r4 cis16 b d ais e'8~ ais e'2~ | ais e'2. r4 | r2 ais,16\mf cis e gis r4 | R1 | r2 r4 ais16 gis fis e- | %15 \time 2/4 R2 | \time 4/4 R1 | R1 | b'16 ais fis b, r4 r2 | cis'16 b gis cis, r4 r2 | %20 R1 | b cis16 ais b gis ais8~ gis ais2.~ | gis ais r4 | r4 cis d16- b cis-. ais b-. b cis( b' cis8-) b, cis-. ais' b( [gis ais)] | ais, b r8 r4 r2 | %25 R1 | d'16\f cis ais d,~ d2. | cis'16 b gis cis,~ cis2.~ | \time 2/4 cis2~ | \time 4/4 cis2\ r2\! | %30 d e16\mf e fis fis gis\fp fis gis\ \repeat unfold 12 fis gis | \repeat unfold 15 fis gis fis gis\ff\! | R1 | R1 | ais b16\mp \repeat unfold 7 ais b \repeat unfold 8 gis ais | %35 R1 | ais b16\p \repeat unfold 15 ais b | \repeat unfold 16 b cis | \repeat unfold 8 ais b \repeat unfold 4gis ais \repeat unfold 4fis gis| R1 | %40 ais, b16 ais b ais b8~ ais b ais b-. gis ais16 gis ais gis ais8-. fis gis r8 | \time 2/4 R2 | \time 4/4 R1 | R1 | cis' d16\ \repeat unfold 7cis d cis d\f\! cis d\\repeat unfold 2 cis d \repeat unfold 4 cis d | %45 \repeat unfold 15 cis d cis d\! | R1 | R1 | R1 | R1 | %50 R1 | R1 | R1 \bar
Re: 1 and 5 lines to percussion
alexandre reche e silva recheesilva at yahoo.com.br writes: Peace and Health in Jesus Christ \version 2.4.5 Is it possible to have a 1 line staff (as in RhythmicStaff) to type non pitched instruments and then when the percussionist will change to marimba, for example, the staff at this precise measure became 5 line with G clef and after change again - according the instrument he has to play? thanks in advance, a r s Peace and Health in Jesus Christ I was searching the list (with keywords: line percussion staff) and found not necessary help to the unanswered question once posted by us. But it seems that the command \override Staff.StaffSymbol #'line-count = #n (where n stands for the number of willed lines, of course) is used just once (on the top of a score) and does not seem to work (to be changeable) on the fly, like this: %20 b | \acciaccatura b8 b1 | R1 | \override Staff.StaffSymbol #'line-count = #5 \clef G b4 r8 b b4 b | b16- b b b \repeat unfold 12 b16 | %25 \override Staff.StaffSymbol #'line-count = #1 \clef percussion b4- r8 b b4 b | b1\f | b1 | \time 2/4 R2 | \time 4/4 R1 | Either the problem is quite simple (and so do not inspire further suggestions :) or it is a kind of forbidden action (at leat to my version), or even a bug... or somenthing... Any help will be really appreciated, #'a r s ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
1 and 5 lines to percussion
Peace and Health in Jesus Christ \version 2.4.5 Is it possible to have a 1 line staff (as in RhythmicStaff) to type non pitched instruments and then when the percussionist will change to marimba, for example, the staff at this precise measure became 5 line with G clef and after change again - according the instrument he has to play? thanks in advance, a r s ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: symphonic, continuos movements, percussion, midi
Graham Percival gpermus at gmail.com writes: On 2-Feb-06, at 5:02 AM, alexandre reche e silva wrote: A) Nevertheless, marks alignment cannot be tuned and is centred “by nature”. How to force left align? This is explained in section 8.1.3 Text marks in the manual for lilypond 2.7. I'm not certain that it will work for you in 2.4.5, though. But give it a try: \override Score.RehearsalMark #'self-alignment-X = #left \mark Allegro Instead of #left, #-1 worked just fine in align marks! B) ...The last notes of first section tied with first notes of the second section dont tie, indeed. What to do? You could fake this with invisible notes and slurs. Excuse my newbieness, more tips will be really appreciated : ) C) The metronome mark collide with high notes in the first staff. How [to] lift it up? See section 4.3 Fixing overlapping notation in the manual for 2.6 or 2.7. It worked with 2.4.5 after some blind frobnication I still need help because of a strange side effect: iusing /mark to titling adds a empty staff at the top of the others?!?! (This is really embarrassing. Imagine. An uninvited blank top staff...). thanks in advance, a r s ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
force continuous movements
Peace Health in Jesus Christ Hi all. I am searching for a way to force continuous movements, e.g., without line breaks between them. I have a 3 movements work (i mean 3 long sections separated with double bar lines only) and it must be played continuously to the end. If I use the stuff documented in 7.5.7 Multiple movements (for 2.4.5 version) I got the unneeded line breaks. I also thought to edit the rehearsal marks, and instead of A, B, H... I would have the names of the movements (or long sections, whatever)... but is beyond my lily skills. thanks, ^a r s ___ Promoção Yahoo! Acesso Grátis: a cada hora navegada você acumula cupons e concorre a mais de 500 prêmios! Participe! http://yahoo.fbiz.com.br/ ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
En: Re: midi don't ties...
--- Mats Bengtsson [EMAIL PROTECTED] escreveu: Data: Thu, 22 Sep 2005 10:36:15 +0200 De: Mats Bengtsson [EMAIL PROTECTED] Para: Alexandre Reche e Silva [EMAIL PROTECTED] Assunto: Re: midi don't ties... Please always keep the discussion on the mailing list, for the benefit of yourself since you get access to the collected expertise on the list and for the benefit of others who experience similar problems. Feel free to quote my answer below if you wish. Alexandre Reche e Silva wrote: Peace Health in Jesus Christ Thank you very much. I'm using 2.4.5. Should I up date? I ask because I'm about a orchestral work and I fear until its end one or two versions could be released. What's your opinion? If you use Windows and don't have any need for non-western european characters in lyrics or titles, then you may want to stick to your version for the moment. Otherwise it's certainly a good idea to update. convert-ly will take care of almost all incompatibilities in your input files and the newer versions have several fixed bugs and new features. Why not take a look at the NEWS link in the documentation of version 2.6? I'm studing the coriolan example. I've downloaded from Mutopia, Haendel's Hallelujah (attached). It is an old version not recognized by convert-ly. How to proceed? It seems that the author of the files forgot to add a \version statement in each file. However, just figure out which LilyPond version the files were produces for (see the More Information link in Mutopia) and call convert-ly with: convert-ly -e --from=2.2.2 *.ly (this will also automatically add a \version statement at the top of each file). I've installed jedit to see how it works with lily... In the case of orchestral engraving I've seen cases in wich they separate the instrument notes in different files and merge them in a combined-score.ly file (how the guys know about that if this is not in the documentation? how to learn about that?) That's described in the tutorial in 2.19 An orchestral part. /Mats shalon, a r s PS: I was using ( ) instead of ~ to tie notes. That's was the problem!! --- Mats Bengtsson [EMAIL PROTECTED] escreveu: Alexandre Reche e Silva wrote: Peace Health in Jesus Christ I've noticed that the ties between same notes do not generate the equivalent sound in the midi file, e.g., two quarters notes tied sounds as two quarters indeed (and not as one half note). Why? Which LilyPond version? I tried a simple example in both version 2.6.3 and 2.7.10 and couldn't repeat the problem. If you have this problem in version 2.6.x, could you please send an example .ly file to the bug-lilypond mailing list that illustrates the problem? Shalon, a r s PS: I'm an old newbie in Lily and would like to know whether is a kind of template to orchestral music (woods, brasses, percussions, strings)? There's one example in the Tutorial. You may also want to take a look at the example called coriolan-margin.ly in the Tips and Tricks document. PS2: Is there a common practice in numbering code lines or even typeseting lily language? (Tabbing lines for example: 1 tab or three spaces or what?). Because since the program was launched it should have produced some standard use (like a good practice). I don't have nothing against democracy but some conventions would be pretty good; just in case one wishes read more easily another people's code. I don't think there is any formalized convention, but if you look at the examples in the manual, you will notice that they follow more or less the same conventions. I guess that some of the editors that have a LilyPond mode (jedit, emacs, vim, ...) may have some builtin support for tabbing and so on, which also provides a de-facto standard. /Mats ___ Novo Yahoo! Messenger com voz: ligações, Yahoo! Avatars, novos emoticons e muito mais. Instale agora! www.yahoo.com.br/messenger/ -- = 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 = ___ Novo Yahoo! Messenger com voz: ligações, Yahoo! Avatars, novos emoticons e muito mais. Instale agora! www.yahoo.com.br/messenger/ ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org
midi don't ties...
Peace Health in Jesus Christ I've noticed that the ties between same notes do not generate the equivalent sound in the midi file, e.g., two quarters notes tied sounds as two quarters indeed (and not as one half note). Why? Shalon, a r s PS: I'm an old newbie in Lily and would like to know whether is a kind of template to orchestral music (woods, brasses, percussions, strings)? PS2: Is there a common practice in numbering code lines or even typeseting lily language? (Tabbing lines for example: 1 tab or three spaces or what?). Because since the program was launched it should have produced some standard use (like a good practice). I don't have nothing against democracy but some conventions would be pretty good; just in case one wishes read more easily another people's code. Thank you. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/ ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Folk songs scores / tabs
Le jeudi 30 juin 2005 à 00:34 +0200, VSD a écrit : if an example from the documentation doesn't work, then report a bug to bug-lilypond It does work but it doesn't print tablatures at all: http://lilypond.org/doc/v2.6/input/test/out-www/lily-1606542672.ly is called tablature-hammer.ly but produces regular notes with Lily 6.0. The example that was working is last stated in Lilypond v2.0 (!) : http://www.lilypond.org/doc/v2.0/input/test/out-www/lily-2064019733.png I guess hammer-tab support was dropped, but I don't know if it was intentional (why would it still be in the doc?) Regards, -- Alexandre Aractingi [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Folk songs scores / tabs
Thanks. And sorry to be such a dull reading the doc, but I have yet another question: is it possible to enter tabs directly with numbers (instead of actual notes)? Thanks again for the kind help, Alex Le jeudi 30 juin 2005 à 13:44 +0200, Mats Bengtsson a écrit : Forwarded to bug-lilypond /Mats Alexandre Aractingi wrote: Le jeudi 30 juin 2005 à 00:34 +0200, VSD a écrit : if an example from the documentation doesn't work, then report a bug to bug-lilypond It does work but it doesn't print tablatures at all: http://lilypond.org/doc/v2.6/input/test/out-www/lily-1606542672.ly is called tablature-hammer.ly but produces regular notes with Lily 6.0. The example that was working is last stated in Lilypond v2.0 (!) : http://www.lilypond.org/doc/v2.0/input/test/out-www/lily-2064019733.png I guess hammer-tab support was dropped, but I don't know if it was intentional (why would it still be in the doc?) Regards, ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- Alexandre Aractingi [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Folk songs scores / tabs
Le mercredi 29 juin 2005 à 16:08 +0200, VSD a écrit : I think lilypond has not many tab specific features. only the ones stated in the examples and the manual (tablature section) and a very few faked features such as hammers using slurs (see tips and tricks section) and (probably) arpeggio and glissando commands. Thanks for your answer... I actually tried the tips given in the tips and tricks section, but they don't work in 2.6 (slurs)... As for arpeggio and glissando, do you know where I can find how to do them (even the faked ones)? Thanks a lot, -- Alexandre Aractingi [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Folk songs scores / tabs
Hi all, Where can I find examples of scores of folk / pop songs (I just want guitar chords written above the first verse and above the chorus, then the other verses as simple text, and occasionally a guitar tab to print out the intro). I use jedit's Lilypond wizard and Lilypond 2.5.2 under Mandrake Linux 10.1. Thanks for any hint! -- Alexandre Aractingi [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LilyPond on Debian
Hello, Pedro Kroeger has build and maintained 2.2 and 2.4 branch for Debian unstable... add these lines to your /etc/apt/sources.list : # lilypond deb http://www.pedrokroeger.net/lilypond/ ./ deb-src http://www.pedrokroeger.net/lilypond/ ./ Branch 2.4 (actually lily 2.4.2) is named lilypond-snapshot, that way, you can install both 2.2 branch (called lilypond) and 2.4.2 on you debian box... I don't know if somebody has managed to build debian packages for 2.5 branch... Guess no :-( Regards, Alex. On Tue, 2005-01-18 at 09:15 +0100, Karol Langner wrote: Hi all, I'm using the testing version of Debian. The official deb repositories have version 2.2 of LilYPond. Does anyone know of any reliable repositories with a newer version? Cheers! -- http://alexandreBeneteau.net ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
repeat and lyrics behaviour
Hello all, I'm a 4 hours newby. Great application (but I must say that the syntax could have been much more user friendly - personal opinion, no flaming). Ok, I'm trying my frist score... I have schematically something like: repeat_volta_twice(do re mi fa sol) la si do And I would like a lyric like do re mi fa sol dodo rere mimi fafa solso la si do note: do re mi fa sol:| la si do lyrics: do re mi fa sol:| la si do dodo rere mimi fafa solsol I just don't know if this is possible... if yes, how can I do such a thing? I can't find that in documentation. Best regards. -- Alexandre Leclerc ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help with \lyricsto and polyphony
Le Samedi 11 Décembre 2004 03:15, Joshua Kwan a écrit : Hello fellow Lilypond users, I'm encountering a problem giving lyrics to polyphonic voices. The soprano line for a song I'm scoring contains: { d4 bf c2 d4 bf c } \\ { bf4 f f2 bf4 f f } r4 { f' bf, c f, f' } \\ { d f, bf d, d' } When I add lyrics, using \context Lyrics { \lyricsto soprano \new Lyrics \sopranolyrics } First you should name the notes after a variable = \context Voice = voicename \relative c' { notes here } After that.. the \lyricsto use voicename as a position mapper :) The lyrics stop where the polyphony starts. I have been told that this is because each polyphonic voice represents a different, anonymous voice, and therefore is not processed by \lyricsto at all. How can I tell Lilypond that (especially because each voice has the exact same rhythm) the polyphonic voices should be treated as one when processing lyrics? Would it make a lot of difference to use the chord notation d bf4 bf f2 d bf4 bf f c f with whatever ', octaviation required, (note that the octaviation considers only the first note of each chord), instead of: { d4 bf c2 d4 bf c } \\ { bf4 f f2 bf4 f f } Otherwise, what is the best way to name each subvoice? It doesn't make intuitive sense to have to name each one. Try giving it a \context Voice = name first.. then send your comments and results .. so that it helps others looking for similar solutions. The full .ly file is here: http://triplehelix.org/~joshk/servants-chorus.ly Thanks, You're welcome :) Alexandre Bourget ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help with \lyricsto and polyphony
Le Samedi 11 Décembre 2004 03:15, Joshua Kwan a écrit : Hello fellow Lilypond users, I'm encountering a problem giving lyrics to polyphonic voices. The soprano line for a song I'm scoring contains: { d4 bf c2 d4 bf c } \\ { bf4 f f2 bf4 f f } r4 { f' bf, c f, f' } \\ { d f, bf d, d' } When I add lyrics, using \context Lyrics { \lyricsto soprano \new Lyrics \sopranolyrics } First you should name the notes after a variable = \context Voice = voicename \relative c' { notes here } After that.. the \lyricsto use voicename as a position mapper :) The lyrics stop where the polyphony starts. I have been told that this is because each polyphonic voice represents a different, anonymous voice, and therefore is not processed by \lyricsto at all. How can I tell Lilypond that (especially because each voice has the exact same rhythm) the polyphonic voices should be treated as one when processing lyrics? Would it make a lot of difference to use the chord notation d bf4 bf f2 d bf4 bf f c f with whatever ', octaviation required, (note that the octaviation considers only the first note of each chord), instead of: { d4 bf c2 d4 bf c } \\ { bf4 f f2 bf4 f f } Otherwise, what is the best way to name each subvoice? It doesn't make intuitive sense to have to name each one. Try giving it a \context Voice = name first.. then send your comments and results .. so that it helps others looking for similar solutions. The full .ly file is here: http://triplehelix.org/~joshk/servants-chorus.ly Thanks, You're welcome :) Alexandre Bourget ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error in new articulation _
Thanks for your answer. Since combinaison of dot and line whith line closer to the notehead seems used, but less than the oposite, may I propose that the notation -_ -.-- should be reversed ? ( -_ for the most common case (the dot closer to the notehead), and -.-- for the line near the notehead). It will save keystrokes for the most common case, isn't it ? Alex. Graham Percival wrote: On 30-Oct-04, at 5:03 AM, Alexandre Beneteau wrote: I am wondering if the new articulation _ (which produce a dot and a _ over the notehead) does not print it wrongly. If you use -.-- then Lilypond will print the dot closer to the notehead. -_ is supposed to be used when you want the line closer to the notehead. I think I saw it in a Britten unaccompanied cello suite; I'll double-check if you want. ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 2.4 announcement
of course, feel free to propagate the announcement to any other relevant mailing list or website. I did on linuxfr.org, announce is waiting to be moderated. Cheers, Alex. ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Pedro Kroger's packages for Debian sid 2.3.24
I have the same problem. Since directory listing seems note possible on Pedro's web site, impossible to search for the packages... Alex. Paul Scott wrote: Has anyone been able to install Pedro Kroger's Debian sid packages 2.3.24? http://lilypond.org/web/download/ says that 2.3.26 is available from http://www.pedrokroeger.net/lilypond/ It previously said that 2.3.25 was available. apt-get update keeps telling me that 2.3.24 is the latest version from that site and Pedro has not answered my email asking about this. Thanks, Paul Scott ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Font problems in 2.3.24
Thanks for your reply, I have no problem with missfonts (anyway kpsewhich ecrm10.pfa returns /usr/share/texmf/fonts/type1/public/ec-fonts-mftraced/ecrm10.pfa) Xdvi runs fine with dvi generated by lily ; but gv displays strange symbols for graces notes and fermata on bar. Anyway, I dug a little more and I can get good postscript and pdf files starting with the dvi produced by lily using : dvips -f -Z flute.dvi flute.ps This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com) ' TeX output 2004.10.30:1258' - dvips: Checksum mismatch in font feta20 dvips: Design size mismatch in font feta26 dvips: Checksum mismatch in font feta26 dvips: Design size mismatch in font feta13 dvips: Checksum mismatch in font feta13 dvips: Design size mismatch in font feta14 dvips: Checksum mismatch in font feta14 texc.promusic-drawing-routines.psspecial.pro. [1] [2] [3] [4] As you can see, there are still problems (even after having deleted the font caches), but the output is correctly displayed by gv (?) I'm still using Pedro's packages of lilypond-2.3.24... Hoping this will help to track the problem, Thanks, Alex. Han-Wen Nienhuys wrote: [EMAIL PROTECTED] writes: Thanks for your reply. I've just had a closer look at a few things, and I found a log file named missfont.log in my project directory, which contains the line mktexpk --mfmode ljfour --bdpi 8000 --mag 1+0/8000 --dpi 8000 ecrm1000 Does this give any clues as to the problem? yes - I suspect that the font package is installed incorrectly. over here I have byrd:~/usr/src/lilypond$ kpsewhich ecrm10.pfa /usr/share/texmf/fonts/type1/public/ec-fonts-mftraced/ecrm10.pfa what does kpsewhich say? ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Error in new articulation _
Hello, I am wondering if the new articulation _ (which produce a dot and a _ over the notehead) does not print it wrongly. I explain myself : I think the dot should be near the notehead and the _ (don't find the english word !) should be after it, like this : _ . x | | But actually, lilypond prints it like this : . - x | | The more I am thinking about it, the more I am pretty sure that the dot should be near the notehead, and I can't find examples in printed music that follow the actual lilypond way of printing that kind of articulation. Anybody agree / disagree ? Should I post a bug report ? TIA, Alex. ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Font problems in 2.3.24
Hello, I have similars problem using like you lily 2.3.24 (Debian Sid) from Pedro's repository, having installed latest ec-fonts-mftraced and cleaned my var/cache/fonts. To complete your bug-report, I would notice that : At default staff size : - dvi produced by lily is correctly displayed in xdvi (but not by kdvi which does not find music-drawing-routines.ps, but I guess it's another history !) - ps produced by lily is correctly displayed by gv but grace notes and fermatas on bars are not correctly displayed ( like you for the firsts and L for fermata !) - pdf produced by lily has the same problems with gv and acroread. At other staff size : - dvi is correctly handled in xdvi - other formats have the mess you describe. Anybody has an idea about the source of the problem ? Is it a debian-package problem or lily's fault ? TIA, Alex. Cameron Horsburgh wrote: Hi folks, I've just downloaded Lilypond 2.3.24 (Debian Sid) from Pedro's repository. I had a few font problems, which I fixed by upgrading to the latest ec-fonts-mftraced, also from Pedro's site. Now, however, when I use a global staff size less than 20 points I get greater-than signs and other math symbols in the place of note heads, and a lot of other notation is similarly affected. Here's a fairly minimal case score that has the dud behaviour: % \version 2.3.22 % this should be 2.3.24 #(set-global-staff-size 18) % the problem happens for all numbers less than 20 \layout { papersize = a4 } \score { { \clef treble % No clef appears a4 b c' d' } } %% Am I doing something wrong, or is this a bug? (Less important: You may also notice that convert-ly-snapshot didn't change the version number correctly -- the original file this is based on was 2.2.6, and I'm pretty sure I'm using 2.3.24) Thanks for your help folks, Cameron ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Bug in lily 2.3.24 ?
Hello, Trying to put a fermata on a bar, following the manual, I use : \mark \markup { \musicglyph #scripts-ufermata } But it does not print a fermata but L : I use Pedro Kroeger lilypond-snaphot package on debian unstable. Is anybody has the same problem ? Alex. \score { \new Staff { c' c' c' c' \mark \markup { \musicglyph #scripts-ufermata } c' c' c' c' } } inline: test.png___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond won't float
Jack Mason wrote: I am running Linux, Fedora Core 2, Lilypond 2.3 What do you mean run convert-ly on test.ly When I run convert-ly I get: [EMAIL PROTECTED] jackmason]# convert-ly /usr/bin/convert-ly (GNU LilyPond) 2.3.19 When I try this, I get: [EMAIL PROTECTED] jackmason]# convert-ly test.ly /usr/bin/convert-ly (GNU LilyPond) 2.3.19 Processing `test.ly' ... /usr/bin/convert-ly: can't determine version for `test.ly' /usr/bin/convert-ly: skipping: `test.ly' Thanks for your help Try convert-ly --help !!! And RTFM... convert-ly needs to know for what version of lilypond your file has been write for in order to convert it. You can either put a \version x.x.x statement in your lilypond file or use the --from=version convert-ly's switch. By the way, \notes statements are not used anymore in 2.3.19. On Thu, 2004-09-30 at 14:35, Han-Wen Nienhuys wrote: [EMAIL PROTECTED] writes: On 29-Sep-04, at 9:25 PM, Jack Mason wrote: test.ly:2:20: error: unknown escaped string: `\notes': \score { \notes { c4-( c4-) } } You're trying to build a test file made for 2.2 using LilyPond 2.3. Please run the convert-ly script on test.ly. What OS are you using? Since the original poster has X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) I reckon it's Linux. ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: choral voice part splitting
A quick answer :-) Use this syntax : altoMusic = \notes { . bla bla bla bla bla { high split music expressions } \\ { lower split music } back to single voice etc... } Hope it will help you... Alex. Chris Caudle wrote: I am just learning Lilypond, and am having trouble understanding how to notate a style which is common in choral music. I am entering a composition for SATB voices, so I am creating a sopranoMusic, altoMusic, tenorMusic, and bassMusic section, and will use partcombine to place the two female parts in the treble staff, etc. My current problem is that occasionally one of the voice parts will split, e.g. the soprano part will split to independent soprano 1 and soprano 2 parts, but only for a few note, then back to a single soprano line. Since the parts split so infrequently, it does not seem the best approach to enter the notes as if it were an eight voice composition. When the split parts maintain the same rhythm, I am able to enter chord notation in a single voice (e.g. c e1 ) and that works OK, but when the rhythms are not identical, I do not understand how to enter the sub-parts within the same voice part. I tried to use chord notation so that the notes were stacked, but with different rhythms, e.g. c1 e2 d2 but that was flagged as a syntax error. So what would be the proper way to enter that example, where the sopranos split, with part of the singers for that voice part sustaining a whole note, while part of the voices sang on a half not rhythm? thanks for any help, Chris Caudle ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Font problem in Postscript output with lily 2.3.2.
Hello, Using pedro's packages on debian unstable, I experience fonts problem : running lily generates good .dvi file, but wrong postscript file (gv or ggv show score without noteheads)... I tried to delete the font cache, but the problem remains. More : using dvips -f -Z on the dvi file built a good postcript file (and also generate the fonts). Trying to compile again with lily (after this cache rebuild) don't solve this problem Has anybody experienced the same ? Have I missed something ? Or is it a lilypond problem, or debian, or package ??? TIA, Alex. ___ lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Wiki and links back home
I think having a Wiki is a nice idea, but I just have a couple of questions about it. First of all, do the documentation maintainer review or are notified of changes made to the Wiki ? And also, to the Wiki maintainer, is there going to be a link that points back to the official documentation on the lilypond.org website ? That would ease very much the update/review of the Wiki :) thanks Alexandre Bourget ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Two staves SATB score and centered Lyrics
Hi you LilyPond folks.. I'm trying to write lyrics for some Christmas songs.. but I'm sure there is a smarter way to do it than the way I did. I have four music blocks (\soprano, \alto, \tenor and \basse) and I have four lyric blocks (\texteUn, \texteDeux, \texteTrois and \texteQuatre) .. Now the four text blocks are there just because I have 4 verses and I want them in the middle of the two staves. Also.. I want them all to be attached to the soprano, because the soprano determines the melody of the song. NOw look at that ugly snippet in \score: \context ChoirStaff \notes \context Staff = staffUp { \addlyrics \addlyrics \addlyrics \addlyrics \soprano \context Lyrics = lyricQuatre \texteQuatre \context Lyrics = lyricTrois \texteTrois \context Lyrics = lyricDeux \texteDeux \context Lyrics = lyricUn \texteUn \\ \alto } \context Lyrics = lyricUn { } \context Lyrics = lyricDeux { } \context Lyrics = lyricTrois { } \context Lyrics = lyricQuatre { } \context Staff = staffDown { \tenor \\ \basse } That's the only way I could align all the four text blocks with the soprano while putting the lyrics in the middle of the two staves. There *must* be an alternative, isn't there ?! :) thanks for your help Alexandre Bourget ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: time-change on the end of a stave?
Hello, This does the job for the whole score : \paper { \translator { \StaffContext TimeSignature \set #'break-visibility = #end-of-line-invisible } } If you want to suppress this printing only once in the score you may write : \once \property Staff.TimeSignature \set #'break-visibility = end-of-line-invisible in your score block just before the time change... Tweaking lilypond seems a little bit complicated for the beginner, but a very good point of departure is now included in the doc :-) http://lilypond.org/doc/v2.1/Documentation/user/out-www/lilypond/Constructing-a-tweak.html#Constructing%20a%20tweak In the hope this will be usefull. Cheers, Alex. van Silfhout, Ruud wrote: Hi, In a piece of music I am typesetting I need to suppress the printing of a time change (e.g. to \time 3/4 in the example below) at the end of a staff. I only want to show it at the beginning of a staff. \score { \notes \relative c' { \time 4/4 c1 d c \break \time 3/4 d } \paper { } } TIA Ruud ___ Lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Page number
In the paperblock set pagenumber to 'no' : \paper { pagenumber=no } Alex. Oleg Eterevsky wrote: Hello! How can I suppress printing page numbers? Best wishes, Oleg Eterevsky. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
\forgetAccidentals and his friends, have no effect
I'm using lily v2.1.0 as compiled for mdk: lilypond-2.1.0-2thac...rpm I'm having a problem with \forgetAccidentals (or any of those \modernAccidentals, \pianoAccidentals, \piano and \modernCautionaries , etc.. They don't seem to affect anything. Note that I tried with and without the: \property Score.timing = ##f line. So, that omitted.. this score is really nothing weird! I'm posting an excerpt of the file for reference. I'm new to this list.. so if sending large scores through it isn't something the users want.. please tell me in a reply :) thanks! Alexandre Bourget the file: mainDroite = \notes \relative c''' { \forgetAccidentals \clef treble \key c \major % début r4 bes r e,, r #(set-octavation 1) b''' r r d #(set-octavation 0) b,, % accords mg début. r a b c, f \bar \break \clef bass e, g bes \clef treble ees''' r % ensemble deux derniers avant les accords qui montent f, aes, % accords bes, c des ees aes bes des ees ges bes bes ees ges aes c bes ees ges bes des c ges' aes bes des des ees' \bar \breakdes ees' ees bes' des f ees f' f bes des ges f ges' ges des' ees aes ges aes' % ici avec la tête % on alterne avec la tête et un accord. aes bes' r aes bes' r bes c' r bes c' r % grande final des' c,, des! % e, aes c % puis on quitte. } mainGauche = \notes \relative c { \forgetAccidentals \clef bass \key c \major % début aes4 r d r c' r gis,, a' c' f,, % accords mg début g e' g r f e' f e e' f fis gis ais fis' e r cis % ensemble deux derniers avant les accords qui montent ees' c' % accords aes,, aes' aes aes' aes aes' aes aes' aes aes' aes aes' des, des' des des' des des' des des' des des' des des' ges ges' r % clusters, avec la tête là. \apply #notes-to-clusters { c c' } %cluster r \apply #notes-to-clusters { c c' } %cluster r \apply #notes-to-clusters { c c' } %cluster r \apply #notes-to-clusters { c c' } %cluster r2 % on quitte } \score { \context PianoStaff \property Score.timing = ##f \mainDroite \\ \mainGauche \paper { \translator { \ScoreContext SpacingSpanner \override #'shortest-duration-space = #2.0 } papersize = letter } } ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: VIM resources
You can find the latest syntax file for vim (maintained by Heikki Junes) at this adress : http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lilypond.vim Alex. Arthur Moore wrote: hey is there a lilypond/vim howto? I've got the point and click thing setup, I'd like to have syntax highlighting and tab completion too. Art ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: great! now I have other questions ...
Just about your last question : You can't have markup on 'R', but you cant on 'r' If you use lilypond 1.7.x, you may use : \once \property Voice.MultiMeasureRestNumber \override #'text = #'(roman my markup) before the 'R' you want to mark... Alex. Stef Epardaud wrote: On Tue, Mar 04, 2003 at 01:23:10PM +0100, Mats Bengtsson wrote: Go to lilypond.org, klick on Search and enter line break and bar number, respectively and follow the top links. Thanks, I am stupid not to have used the search, I just went and looked in the reference manual and overlooked it. Now I have other questions, I get my time signature printed at the end of this first line, how can I force this one to be on the next line ? I also have a really funny thing with whole-measure rests: my score is in \time 17/8 and it starts with two empty measures. To get this I seem to need R8*17 R8*17 R8*17 three times, for some reason. Probably I did not understand the meaning of the R symbol. And last question, I do not seem to be able to put text on top of the resting measures with ^160bpm like R8*17^160bpm or so. I need to put it on the first note, which makes the tempo appear only at the third measure. Again I suspect I am doing it wrong. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
\raise in markup (lilypond 1.7.13)
Hello, I'm trying to raise text markup with lilypond 1.7.13. I believe I've followed the manual instructions... but can't achieve what I'd would like to. Please see the source and png output attached... Thanks, Alex. \include italiano.ly \header { tagline = } \score { \notes { do''4^\markup { test } do''4^\markup { \raise #2.0 test } do''4^\markup { \raise #2.0 { \italic {test} } } }} inline: test.png___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: I don't know how
First of all say what version of lilypond you use, what system etc. ! [EMAIL PROTECTED] wrote: when i type lilypond --help nothing happens what should i do ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Don't understand error...
Hello, I'm typesetting a flute part and I am very surprised by the following problem : Having R2*2 (in 2/4 time), I get the following error : [8][16][24][32][40][48][56][64][72][77] Preprocessing graphical objects... Calculating line breaks... programming error: Multi_measure_rest::get_rods (): I am not spanned! (Continuing; cross thumbs) If I substitute R2*2 by r2*2 everything is OK ! Anybody has an idea ? Thanks, Alex. P.S. : I use lilypond 1.7.13 and the file can be downloaded at: http://alexandre.beneteau.free.fr/lily/flutes.ly and includes file at http://alexandre.beneteau.free.fr/lily/global.ly problematic line is 124 ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Offset in line numbers when report errors (lilypond 1.7.13) ?
Hello, Considering this example with error a line number 6 : \header {tagline = } \score { \notes \relative c { \time 3/4 c4 c c \gasp % error c4 c c } } When compiling lilypond 1.7.13 report error by printing line 5 : ly2dvi test.ly ly2dvi (GNU LilyPond) 1.7.13 Running lilypond...GNU LilyPond 1.7.13 Now processing: `test.ly' Parsing... /home/alex/documents/partitions/CNSM/Orchestration/Laboratoires/2003/test.ly:5:12: error: parse error, unexpected SCM_IDENTIFIER: c4 c c ly2dvi: error: LilyPond failed on input file test (exit status 1) ly2dvi: warning: Running LilyPond failed. Rerun with --verbose for a trace. (6 of 13): 12: error: parse error, unexpected SCM_IDENTIFIER: Could someone explain how to fix it ? Thanks. Alex. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: 1.6.6-1 font problems
That's because the fonts have changed. You must clean the fonts (they are build when LaTeX need them and then cached ; you must clean the cache...) See /buildscripts/clean-fonts.sh in lilypond src directory... Alex. neuro wrote: Need help to my problem... I installed Lilypond 1.6.5-1 from rpm on RedHat Linux 8.0, and it works well. The other day, I found the Lilypond 1.6.6-1 rpm from http://www-ccrma.stanford.edu/planetccrma/software/soundapps.html#lilypond , so I rpm -Uvh, but it goes differently; the font is not right. The output looks like this: http://neuro.ohbi.net/~neuro/test/261_chord_progress_2.ps I tried to rpm -e lilypond, but it cannot be cleaned. Then, I download and installed lilypond-1.6.7.tar.gz , but the problem persists, so I make uninstalled the 1.6.7 . # which lilypond /usr/bin/lilypond # lilypond -ver GNU LilyPond 1.6.6 This is free software. It is covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Invoke as `lilypond --warranty' for more information. Copyright (c) 1996--2002 by Han-Wen Nienhuys [EMAIL PROTECTED] Jan Nieuwenhuizen [EMAIL PROTECTED] # rpm -q lilypond lilypond-1.6.6-1 # rpm -e lilypond install-info: warning: no entries found for `/usr/share/info/lilypond.info.gz';d chkfontpath: /usr/share/share/lilypond/1.6.6/fonts/type1 not found in list error: %preun(lilypond-1.6.6-1) scriptlet failed, exit status 1 but it cannot be removed, because the path, /usr/share/share/lilypond/1.6.6/fonts/type1 , is wrong; it repeated the share for, # ls /usr/share/share/lilypond/1.6.6/fonts/type1 ls: /usr/share/share/lilypond/1.6.6/fonts/type1: No such file or directory while, # ls /usr/share/lilypond/1.6.6/fonts/type1 cmbx14.pfafeta26.pfafeta-din17.pfa feta-nummer26.pfa cmbx17.pfafeta-braces0.pfa feta-din19.pfa feta-nummer4.pfa cmbxti12.pfa feta-braces1.pfa feta-din4.pfa feta-nummer5.pfa cmbxti14.pfa feta-braces2.pfa feta-din5.pfa feta-nummer6.pfa cmbxti7.pfa feta-braces3.pfa feta-din6.pfa feta-nummer7.pfa cmbxti8.pfa feta-braces4.pfa feta-din7.pfa feta-nummer8.pfa cmcsc12.pfa feta-braces5.pfa feta-din8.pfa fonts.scale cmcsc7.pfafeta-braces6.pfa feta-din9.pfa parmesan11.pfa cmtt17.pfafeta-braces7.pfa feta-nummer10.pfa parmesan13.pfa feta11.pfafeta-braces8.pfa feta-nummer11.pfa parmesan16.pfa feta13.pfafeta-din10.pfafeta-nummer12.pfa parmesan19.pfa feta16.pfafeta-din11.pfafeta-nummer13.pfa parmesan20.pfa feta19.pfafeta-din12.pfafeta-nummer16.pfa parmesan23.pfa feta20.pfafeta-din13.pfafeta-nummer20.pfa parmesan26.pfa feta23.pfafeta-din14.pfafeta-nummer23.pfa # cd /usr/share/info # ls lily* lilypond.info-1.gz lilypond-internals.info-20.gz lilypond.info-2.gz lilypond-internals.info-21.gz lilypond.info-3.gz lilypond-internals.info-22.gz lilypond.info-4.gz lilypond-internals.info-23.gz lilypond.info-5.gz lilypond-internals.info-24.gz lilypond.info-6.gz lilypond-internals.info-25.gz lilypond.info-7.gz lilypond-internals.info-26.gz lilypond.info-8.gz lilypond-internals.info-27.gz lilypond.info.gz lilypond-internals.info-28.gz lilypond-internals.info-10.gz lilypond-internals.info-29.gz lilypond-internals.info-11.gz lilypond-internals.info-2.gz lilypond-internals.info-12.gz lilypond-internals.info-30.gz lilypond-internals.info-13.gz lilypond-internals.info-3.gz lilypond-internals.info-14.gz lilypond-internals.info-4.gz lilypond-internals.info-15.gz lilypond-internals.info-5.gz lilypond-internals.info-16.gz lilypond-internals.info-6.gz lilypond-internals.info-17.gz lilypond-internals.info-7.gz lilypond-internals.info-18.gz lilypond-internals.info-8.gz lilypond-internals.info-19.gz lilypond-internals.info-9.gz lilypond-internals.info-1.gz lilypond-internals.info.gz So, what shall I do next to make lilypond working? How to uninstall 1.6.6-1 rpm (so that I can install 1.6.7), or re-install the 1.6.6-1 if it is a Working release ? Thank you very much ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Further dynamic questions
Daniel Ashton wrote: Two more: 1) Is there a command to typeset the dim. (for diminuendo) marking? In lilypond 1.7.12 (with the patch provided two days ago on this mailing-list), I am using \dim... I don't know for lily 1.6.5. (make a grep in ly directory ?) 2) Do I really need \endcresc ? Is there not some way to just say that the next note (or the current note, even) should have the word cresc. (or dim.) coincident with its stem? If I understand well your question, a -#'(italic cresc.) attached to a note name, would do the job... Alex. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PDF Manual fonts?
What system do you use ? What software do you use to read the PDF ? Jonathan Kelly wrote: Hi there, I downloaded the PDF version of the lilypond manual, but when I view it, it looks like I'm missing the music font; I get the staves but the note heads and other symbols just look like random characters. Any ideas? Jonathan. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Lilypond 1.7.12 : \cresc broken ???
Hello again :-) I am surprised to have this kind of error message (see at the bottom) as I am trying to use \cresc (not to mention \decresc which seems to not exists ??? Why ?) In previous versions, I believe it worked... It is a bug or my mistake ? \decresc is it planned to be implemented. I am sorry to ask help if this issue seems trivial to programmers. I try to learn scheme in my free type to be more accurate... But for now, I have to admit I'm very often lost when trying to dig in lylipond internals... Thanks again, Alex. P.S. : Example joined. :!make test.ps | tee ./erreurs.log ly2dvi test.ly ly2dvi (GNU LilyPond) 1.7.12 Running lilypond...GNU LilyPond 1.7.12 Now processing: `test.ly' Parsing... Interpreting music...[3] Preprocessing graphical objects... Calculating line breaks... paper output to `test.tex'... Type check for `crescendoText' failed; value `((font-shape . italic) cresc.)' must be of type `markup' Analyzing test.tex... Running latex... DVI output to `test.dvi'... dvips -f -Z test.dvi test.ps; This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2003.02.19:1631' - texc.promusic-drawing-routines.psspecial.pro. [1] (1 of 19): ly2dvi test.ly \header { tagline = } % for proper automatic cropping \score { \notes { \clef bass c8 \cresc c c c c c c \! c c \ c c c c c c \! c } } inline: test.png___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond 1.7.12 : \cresc broken ???
Thanks very much, works fine now :-) Alex. Jan Nieuwenhuizen wrote: Alexandre Beneteau [EMAIL PROTECTED] writes: You found a bug, try this patch. (Font selection doesn't work yet). Jan. --- spanners-init.ly.~1.13.~ 2002-11-18 01:09:27.0 +0100 +++ spanners-init.ly 2003-02-19 18:04:37.0 +0100 @@ -18,7 +18,7 @@ stopTextSpan = #(make-span-event 'TextSp cresc = \notes { #(ly:export (make-event-chord (list cr))) - \property Voice.crescendoText = #'((font-shape . italic) cresc.) + \property Voice.crescendoText = \markup { \italic cresc. } \property Voice.crescendoSpanner = #'dashed-line } @@ -33,7 +33,7 @@ endcresc = \notes { dim = \notes { #(ly:export (make-event-chord (list decr))) - \property Voice.decrescendoText = #dim. + \property Voice.decrescendoText = \markup { \italic dim. } \property Voice.decrescendoSpanner = #'dashed-line } ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
[OT] Terminology for Ternary Measures?
Sorry for this off-topic question. It has to do with Beldon Dominello's rhythmic oddity and ternary measures. My formal music theory is far behind and it's not something I use regularly It's not very important but I just want to check. I thought that, at least in French, beats in ternary measures are named after the longer note values instead of their subdivisions, e.g. the four dotted quarter notes in a 12 8 are the four beats and the twelve eighth notes are subdivisions. So, we would supposedly say quatre temps de noire pointée instead of douze temps de croches... Is this a language difference or am I just plain wrong? Again, sorry for the OT-ness of this question. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Pre-Built Type1 Fonts for 1.6.7?
wget -l 1 -nd -r -A pfa,map http://lilypond.org/development/mf/out/ These do work. Their names are consistent: GNU-LilyPond-name-number. BTW, what do the numbers mean? I assumed size but it doesn't make sense to have a size of 0. Thanks for pinpointing this problem. My pleasure. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PDFTeX Output?
The -fpdftex option to lilypond isn't very actively supported I saw that and I know the -p option for ly2dvi. But must of my documents are typeset through pdftex and I wanted to integrate lilypond in this. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Map File for 1.6.7 PFAs (was Re: Pre-Built Type1 Fonts for 1.6.7?)
I caught my problem. Mats' map for 1.5.43 PFAs clashed with the font names of the 1.6.7 version. Must have to do with the changes between pktrace and mftrace. In the 1.5.43 version, the fonts were all called TeX-namenumber. In the 1.6.7 version, they're either just name or namenumber (for the -nummer and -din fonts). You can tell by grepping for Title or Document on the PFAs. BTW, aren't the numbers related to sizes? If so, wouldn't it be possible to only have one font per family, right? Anyway thanks for all your help. lilypond.map Description: Binary data ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond.vim
Here is it : http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lilypond.vim Bye :-) Alex. Aaron Mehl wrote: Hi I see in the lilypond installation file reference to lilypond.vim but try as I might I can't find the file anywhere. Can someone give me a url to download it from?? Thanks Aaron ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Have to dig into Lilypond's
Hello, Since I need to customize FiguredBass (and -- dreaming is not expensive ! -- even add some functionnalities), I must understand Lily better than now... Is anybody among Lilypond gurus in this list will advice me some particular documentations to read ? (I've dig in the online manuals, but don't really know where to begin : grobs, property, scheme, Engravers, etc. are confused in my mind). Thanks in advance :-) Alex. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Have to dig into Lilypond's
Sorry to reply to myself, but I've have to admit my mistake : I had managed to not find that page before :-( : http://lilypond.org/development/Documentation/user/out-www/lilypond/Advanced-Topics.html#Advanced%20Topics Please excuse the noise on this mailing-list... Alex. Alexandre Beneteau wrote: Hello, Since I need to customize FiguredBass (and -- dreaming is not expensive ! -- even add some functionnalities), I must understand Lily better than now... Is anybody among Lilypond gurus in this list will advice me some particular documentations to read ? (I've dig in the online manuals, but don't really know where to begin : grobs, property, scheme, Engravers, etc. are confused in my mind). Thanks in advance :-) Alex. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Can't compile lily 1.7.6
Hello, I've a problem trying to compile lily 1.7.6 : make[2]: Leaving directory `/usr/src/lilypond-1.7.6/stepmake/stepmake' make[1]: Leaving directory `/usr/src/lilypond-1.7.6/stepmake' make[1]: Entering directory `/usr/src/lilypond-1.7.6/Documentation' make PACKAGE=LILYPOND package=lilypond -C user all make PACKAGE=LILYPOND package=lilypond -C bibliography all make PACKAGE=LILYPOND package=lilypond -C pictures all make PACKAGE=LILYPOND package=lilypond -C topdocs all make PACKAGE=LILYPOND package=lilypond -C misc all make PACKAGE=LILYPOND package=lilypond -C windows all true make[2]: Entering directory `/usr/src/lilypond-1.7.6/Documentation/user' chmod a+w out/lilypond.nexi chmod: getting attributes of `out/lilypond.nexi': No such file or directory make[2]: [out/lilypond.nexi] Error 1 (ignored) /usr/local/bin/python ../../scripts/lilypond-book.py -I /usr/src/lilypond-1.7.6/Documentation/user -I ./out -I../../input -I ../../input/tricks/ -I ../../input/regression/ -I ../../input/test/ -I ../../input/tutorial/ -I /usr/src/lilypond-1.7.6/mf/out/ -I /usr/src/lilypond-1.7.6/mf/out/ --dependencies --outdir=./out --format=texi --no-lily --extra-options '-e (ly:set-option (quote internal-type-checking) #t)' lilypond.tely Traceback (most recent call last): File ../../scripts/lilypond-book.py, line 67, in ? import lilylib as ly ImportError: No module named lilylib make[2]: *** [out/lilypond.nexi] Error 1 make[2]: Leaving directory `/usr/src/lilypond-1.7.6/Documentation/user' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/lilypond-1.7.6/Documentation' make: *** [all] Error 2 Can't find any lilylib\* in the source tree... Using python 2.2.1 ang gcc 3.2 Anybody has an idea ? Thanx in advance, Alex. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Can't get the thing to compile...
... actually I can't get past the ./configure stage... I am using a Mandrake 9.0 Linux distribution, and I have tetex, python and libpython-devel installed (from Mandrake packages). I downloaded Lilypond 1.6.6, but ./configure says : ERROR: Please install required programs: python.h (python-devel, python-dev or libpython-dev package) Now if I try to do the same with 1.7.4, everything is ok regarding Python, but it says I need guile-config 1.6, which I only have in version 1.4. So what do you think, do I really have to install guile 1.6 to get the thing compiled, or does somebody know a quick workaround to make 1.6.6 compile properly? Thanks a lot! ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Can't get the thing to compile...
Le mar 29/10/2002 à 15:54, Simon G. P. Bailey a écrit : is your python.h in the default include path? guile 1.6 is needed for lily 1.7, iirc. greetings, simon. Thanks for your answer! My python.h is in /usr/include/python2.2/Python.h, and I even created a symlink with /usr/include/python.h (with _and_ without capital p), but it never finds it... the configure script of 1.7 does find it though... ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: compiling gcc-3.2
Hello, I had the same problems a few weeks ago and posted a workaround to this mailing-list. Here is the copy of the original mail : - Hello, Using gcc 3.2 and flex 1.5.19 (ftp://ftp.uncg.edu/people/wlestes/), and thanks to advices from Joerg Anders (thanks a lot), I manage to compile lilypond 1.6.2 by adding : using namespace std; at the top of lily/lexer.ll I report this in the hope that it will be useful for other users... (I did not need to use others fixs in complement, configure ; make all works fine.) Many thanks to people who answered my messages in lilypond-users mailing-list and help me to resolve that problem :-)... I can now use the last version of lilypond thanks to these helps :-) Alex. PS : little patch attached. - Hoping it will help :-) (let me know) Alex. Heikki Johannes Junes wrote: After updating to Mandrake 9.0, I have now $ gcc --version gcc (GCC) 3.2 (Mandrake Linux 9.0 3.2-1mdk) $ guile --version Guile 1.4 $ flex --version flex version 2.5.4 I started to compile CVS-stable-lilypond from scratch. I tried to run some commands: ./autogen.sh ./lexer-gcc-3.1.sh rm -f config.cache CPPFLAGS=-I/home/lilypond/lily/out ./configure ./lexer-gcc-3.1.sh make Finally, there appeared the following trace: hyphen-spanner.cc:120:3: warning: multi-line string literals are deprecated rm -f ./out/includable-lexer.dep; DEPENDENCIES_OUTPUT=./out/includable-lexer.dep ./out/includable-lexer.o g++ -c -DHAVE_CONFIG_H -DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower/include -I../flower/./out -I../flower/include -O2 -finline-functions -g -I/home/lilypond/lily/out -I/usr/include -O2 -finline-functions -g -I/home/lilypond/lily/out -I/usr/include -Wall -W -Wmissing-prototypes -Wconversion -o out/includable-lexer.o includable-lexer.cc cc1plus: warning: changing search order for system directory /usr/include cc1plus: warning: as it has already been specified as a non-system directory In file included from include/includable-lexer.hh:13, from includable-lexer.cc:13: out/FlexLexer.h:64: no class template named `std' in `std' out/FlexLexer.h:64: `s' was not declared in this scope out/FlexLexer.h:64: parse error before `)' token out/FlexLexer.h:66: no class template named `std' in `std' out/FlexLexer.h:66: `s' was not declared in this scope out/FlexLexer.h:66: virtual outside class declaration out/FlexLexer.h:66: variable or field `yyrestart' declared void out/FlexLexer.h:71: no class template named `std' in `std' out/FlexLexer.h:71: `new_in' was not declared in this scope out/FlexLexer.h:71: no class template named `std' in `std' out/FlexLexer.h:71: `new_out' was not declared in this scope out/FlexLexer.h:72: initializer list being treated as compound expression out/FlexLexer.h:72: syntax error before `{' token out/FlexLexer.h: In member function `const char* FlexLexer::YYText()': out/FlexLexer.h:58: `yytext' undeclared (first use this function) out/FlexLexer.h:58: (Each undeclared identifier is reported only once for each function it appears in.) out/FlexLexer.h: In member function `int FlexLexer::YYLeng()': out/FlexLexer.h:59: `yyleng' undeclared (first use this function) out/FlexLexer.h: At global scope: out/FlexLexer.h:79: warning: `virtual' is not at beginning of declaration out/FlexLexer.h:79: no class template named `std' in `std' out/FlexLexer.h:79: `new_in' was not declared in this scope out/FlexLexer.h:80: no class template named `std' in `std' out/FlexLexer.h:80: `new_out' was not declared in this scope out/FlexLexer.h:80: two or more data types in declaration of `switch_streams' out/FlexLexer.h:80: virtual outside class declaration out/FlexLexer.h:80: cannot declare variable `switch_streams' to be of type `FlexLexer' out/FlexLexer.h:80: because the following virtual functions are abstract: out/FlexLexer.h:68: virtual int FlexLexer::yylex() out/FlexLexer.h:65: virtual void FlexLexer::yy_delete_buffer(yy_buffer_state*) out/FlexLexer.h:64: virtual yy_buffer_state* FlexLexer::yy_create_buffer(...) out/FlexLexer.h:62: virtual void FlexLexer::yy_switch_to_buffer(yy_buffer_state*) out/FlexLexer.h:80: assignment (not initialization) in declaration out/FlexLexer.h:82: non-member function `int lineno()' cannot have `const' method qualifier out/FlexLexer.h: In function `int lineno()': out/FlexLexer.h:82: `yylineno' undeclared (first use this function) out/FlexLexer.h: At global scope: out/FlexLexer.h:84: non-member function `int debug()' cannot have `const' method qualifier out/FlexLexer.h: In function `int debug()': out/FlexLexer.h:84: `yy_flex_debug' undeclared (first use this function) out/FlexLexer.h: At global scope: out/FlexLexer.h:87: parse error before `protected' out/FlexLexer.h:89: `int yyleng' used prior to declaration out/FlexLexer.h:90: `int yylineno' used prior to declaration
Re: compiling gcc-3.2
Han-Wen Nienhuys wrote: [EMAIL PROTECTED] writes: Using gcc 3.2 and flex 1.5.19 (ftp://ftp.uncg.edu/people/wlestes/), and thanks to advices from Joerg Anders (thanks a lot), I manage to compile lilypond 1.6.2 by adding : using namespace std; at the top of lily/lexer.ll It did not cause difference for me. As gcc-3.2 is becoming more widely spread there should be a patch on this. One should be able to compile the source after downloading it from CVS. I've said this more than once: this is a problem with either Mandrake's flex or their GCC configuration. It worked nicely the last time I tried it on RedHat 7.3 with gcc-3.1.1 In my experience (and I don't use Mandrake, but a home-made system ;-) ), the fix runs correctly with gcc-3.1.1 but does not with gcc 3.2. As I wrote, I have to use flex 1.5.19 and the little dirty trick mentionned at the top of the message (and *no* other fix, just configure, make all.) Alex. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: ps output looks like junk
Colin Cotter wrote: Hi, I have a problem with my dvips output. My xdvi file looks fine, but I get dvips: Checksum mismatch in font feta16 dvips: Checksum mismatch in font feta11 dvips: Checksum mismatch in font feta-nummer8 dvips: Checksum mismatch in font feta-nummer6 when I try to dvips and the result is a bizarre load of junk with wierd note heads. Hope you can help, Colin I think you have upgraded your lilypond and forget to delete the old fonts cached... ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
*Really* big orchestral score with lilypond ?
Hello, I am currently working on a orchestration with involve a really *big* number of musicians (4 solists, choral, and 12 percussionnists, each playing several instruments) As you can expect, even with paper11.ly everybody does not fit on a single page ! So my questions are : - Is there a way to have a paper size 11 ? - Or is it possible to ask lilypond to write an a3 page and use psutils to resize it to a4 ? Thanks in advance, Alex. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Compiling lilypond 1.6.2 with gcc 3.2 and flex 1.5.19 'howto'
Hello, Using gcc 3.2 and flex 1.5.19 (ftp://ftp.uncg.edu/people/wlestes/), and thanks to advices from Joerg Anders (thanks a lot), I manage to compile lilypond 1.6.2 by adding : using namespace std; at the top of lily/lexer.ll I report this in the hope that it will be useful for other users... (I did not need to use others fixs in complement, configure ; make all works fine.) Many thanks to people who answered my messages in lilypond-users mailing-list and help me to resolve that problem :-)... I can now use the last version of lilypond thanks to these helps :-) Alex. PS : little patch attached. --- lily/lexer.ll Tue Sep 10 17:46:10 2002 +++ lily/lexer.ll.old Tue Sep 10 17:46:28 2002 -22,7 +22,6 */ -using namespace std; /* to avoid errors with gcc-3.2 (and flex 1.5.19) (dirty trick ?) */ #include stdio.h #include ctype.h #include errno.h
Can't achieve to compile lilypond 1.6.2 with gcc-3.2 and flex 2.5.4a
Hello, I know it's pretty bleeding-edge, but I have recently upgraded my system to gcc-3.2 and encounter problems when trying to compile lilypond 1.6.2 (as expected after the reading of INSTALL.txt)... So, I've followed the instructions given for gcc-3.1... : I attache the log file... Has anybody an idea (other than downgrading to gcc 2.95 ) ??? Thanks in advance, Alex. Script started on Mon Sep 9 18:02:31 2002 1001:root:/usr/src/lilypond-1.6.2# CONF=gcc-3.1 ./lexer-gcc-3.1.sh Copying and fixing /usr/local/include/FlexLexer.h... done Remove config.cache before rerunning ./configure Reconfigure, refix, and make doing something like: rm -f config.cache CPPFLAGS=-I/usr/src/lilypond-1.6.2/lily/out-gcc-3.1 ./configure --enable-config=gcc-3.1 CONF=gcc-3.1 ./lexer-gcc-3.1.sh make conf=gcc-3.1 1002:root:/usr/src/lilypond-1.6.2# rm -f config.cache 1003:root:/usr/src/lilypond-1.6.2# CPPFLAGS=-I/usr/src/lilypond-1.6.2/lily/out-gcc-3.1 ./conf# CPPFLAGS=-I/usr/src/lilypond-1.6.2/lily/out-gcc-3.1 ./configure --enable-config=gcc-3.1 creating cache ./config.cache checking Package... LILYPOND checking builddir... /usr/src/lilypond-1.6.2 checking for stepmake... ./stepmake (${prefix}/share/stepmake not found) checking host system type... i686-pc-linux-gnu checking for gmake... no checking for make... make checking for find... find checking for tar... tar checking for bash... /bin/sh checking for python... python checking for python... /usr/local/bin/python checking for gcc... /usr/local/gcc/bin/gcc checking whether the C compiler (/usr/local/gcc/bin/gcc -O6 -march=athlon-tbird -pipe ) works... yes checking whether the C compiler (/usr/local/gcc/bin/gcc -O6 -march=athlon-tbird -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether /usr/local/gcc/bin/gcc accepts -g... yes checking for IEEE-conformance compiler flags... none checking /usr/local/gcc/bin/gcc version... 3.2 checking for c++... /usr/local/gcc/bin/g++ checking whether the C++ compiler (/usr/local/gcc/bin/g++ -O6 -march=athlon-tbird -pipe ) works... yes checking whether the C++ compiler (/usr/local/gcc/bin/g++ -O6 -march=athlon-tbird -pipe ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether /usr/local/gcc/bin/g++ accepts -g... yes checking /usr/local/gcc/bin/g++ version... 3.2 checking whether explicit instantiation is needed... no checking for ar... ar checking for ranlib... ranlib checking for bison... bison -y checking for bison... bison checking bison version... 1.28 checking for flex... flex checking how to run the C++ preprocessor... /usr/local/gcc/bin/g++ -E checking for FlexLexer.h... yes checking language... English checking for gettext in -lintl... yes checking for gettext... yes checking for msgfmt... msgfmt checking for mf... mf checking for inimf... inimf checking for working metafont mode... ljfour checking for kpsewhich... kpsewhich checking for tfm path... /usr/local/teTeX/share/texmf/fonts/tfm/public/cm /usr/local/teTeX/share/texmf/fonts/tfm/ams/symbols checking for guile-config... guile-config checking guile-config version... 1.4 checking guile compile flags... -I/usr/local/include checking guile link flags... -L/usr/local/lib -lguile -lm checking for kpathsea/kpathsea.h... yes checking for kpse_find_file in -lkpathsea... yes checking for kpse_find_file... yes checking whether to use kpathsea... yes checking for makeinfo... makeinfo checking whether makeinfo can split html by node... yes checking for python2.2/Python.h... yes checking for python2.1/Python.h... no checking for python2.0/Python.h... no checking for python2/Python.h... no checking for python/Python.h... yes checking for python1.5/Python.h... no checking for Python.h... no checking for assert.h... yes checking for sys/stat.h... yes checking for sstream... yes checking whether stat file-mode macros are broken... no checking for 8-bit clean memcmp... no checking for vprintf... yes checking for memmem... yes checking for snprintf... yes checking for vsnprintf... yes checking for gettext... (cached) yes checking for isinf... yes checking for guile... guile checking for guile... /usr/local/bin/guile checking for perl... perl checking for perl... /usr/bin/perl checking for pktrace... pktrace checking pktrace version... 1.0.4 checking for makeinfo... (cached) makeinfo checking makeinfo version... 4.2 updating cache ./config.cache creating ./config.status creating config-gcc-3.1.make creating config-gcc-3.1.h configuring in stepmake running /bin/sh ./configure --enable-config=gcc-3.1 --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking Package... Stepmake package! checking builddir... /usr/src/lilypond-1.6.2/stepmake checking host system type... i686-pc-linux-gnu checking for gmake... (cached) make checking for find... (cached) find checking for tar... (cached) tar checking for bash... (cached) /bin/sh checking for python... (cached)
Re: Lilypond 1.5.60 and --prefix option
Hello, I've had the same problem and solve it by doing : rm -rf /usr/local/share/stepmake (or such a path, depending of your installation) configure again and roll :-) Bye, Alex. Maurizio Tomasi wrote: I am trying to compile Lilypond 1.5.60. If I run - % ./configure (lots of stuff...) % make all (other stuff...) - all goes well, but if I use the command-line switch `--prefix=/usr' with `configure', I get: - % ./configure --prefix=/usr (lots of stuff, the same as above...) % make all make/stepmake.make:71: /usr/share/stepmake/stepmake/no-builtin-rules.make: No such file or directory make/stepmake.make:82: /usr/share/stepmake/stepmake/generic-vars.make: No such file or directory make/stepmake.make:82: /usr/share/stepmake/stepmake/toplevel-vars.make: No such file or directory make/stepmake.make:82: /usr/share/stepmake/stepmake/po-vars.make: No such file or directory make/stepmake.make:82: /usr/share/stepmake/stepmake/install-vars.make: No such file or directory make/substitute.make:4: /usr/share/stepmake/stepmake/substitute-vars.make: No such file or directory make/substitute.make:5: /usr/share/stepmake/stepmake/substitute-rules.make: No such file or directory make/stepmake.make:89: /usr/share/stepmake/stepmake/generic-rules.make: No such file or directory ... - and so on. By tracing file `config.log' I do not see any error message. So what's wrong with my configuration? I have Guile 1.4.1. Maurizio ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user