Erratic Scores... Lilypond 2.11.16 / 2.11.17 Windows
Hi Everyone, I don't know if anyone else has similar problems but 2.11.16 and 2.11.17 with the automatic staff stretching I'm getting strange results... most of my scores end up compiling with... warning: Can't fit systems on page -- ignoring between-system-padding my between-system-padding is set a small 1... The full log is as follows: Changing working directory to: `D:/LilypondScores/BuxtehudeCantatas' Processing `D:/LilypondScores/BuxtehudeCantatas/JesuMeine.ly' Parsing... Interpreting music... Interpreting music... [8][16][24][32][40][48][56][64][72][80][88][96][104][112][120][128][136][144][152][160][168][176][184][192][200][208][216][224][232][240][248][256][257] Preprocessing graphical objects... MIDI output to `JesuMeine.midi'... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... Drawing systems... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... Drawing systems... warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding warning: Can't fit systems on page -- ignoring between-system-padding Layout output to `JesuMeine.ps'... Converting to `JesuMeine.pdf'... --- Should Lilypond repeat: Preprocessing graphical objects... MIDI output to `JesuMeine.midi'... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... Drawing systems... As the above log seems to indicate? The resulting score is a mess. Staff systems run into each other, the bottom staff disappears off the page. If I use \RemoveEmptyStaffContext lyrics float at the top of the next staff, while setting system-count there is no stretch. I haven't seen any other reports on this so far so not sure if it's a bug or an unfinished feature(s). Any help appreciated. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Controlling vertical spacing exactly - mini HOWTO
Hi Trevor and all, I've been watching your thread on controlling vertical space as I'm very interested in this area. Joe Neeman gave me the following advice early in January of putting the strict control into the layout blook as follows: \layout { \context { \Score \override NonMusicalPaperColumn #'line-break-system-details = #'((alignment-offsets . (0 -15 -30 ))) } } he went on to say: If you want to change it mid-piece, you can use \override instead of \overrideProperty, but I think you have to do the \override one timestep before you want it to take effect. I've been using the layout block method of controlling vertial spacing in the Handel opera I'm typesetting. This is an easier way than inputting after every line break which can be frustrating if the page layout changes or the score is large and takes a long time to compile with each change. You can also change spacing for those systems that require a little more or less space. For the most part I haven't needed to change vertical spacing mid-score except in one instance and that was only for 2 systems instead the 4. I hope that this can help others as well. Trent P.S. The one thing I can't figure out is what the numbers refer to. Are they staff spaces as in what you would using in overriding minimum-Y-extent? I seem to be using larger numbers than what I would use when setting minimum-Y-extent.. - Original Message - From: Trevor Bača [EMAIL PROTECTED] To: Graham Percival [EMAIL PROTECTED]; Maximilian Albert [EMAIL PROTECTED] Cc: lilypond-user lilypond-user@gnu.org; lilypond-devel lilypond-devel@gnu.org Sent: Wednesday, January 31, 2007 11:30 AM Subject: Re: Controlling vertical spacing exactly - mini HOWTO On 1/18/07, Graham Percival [EMAIL PROTECTED] wrote: Trevor Bača wrote: The following might be of interest to folks using proportional notation. If there's any general interest (of if Graham wants it to be so) then I'll retype the following as an addition to 11.3.4 Controlling spacing of individual systems. Definitely. I don't think you need to make many changes; I'd get rid of the capital-letter sections at the end, though. Or integrate that material into the rest of stuff. In the future, it's safest if you cc'd potential doc stuff to the -devel list, since I don't read -user in any great detail these days. Hi Graham Max (and everyone), I've been reading through chapter 11 on vertical spacing and getting some vertical spacing examples ready for the manual. And on reflection I think I've now figured out why it's been tricky for me to get a good conceptual handle on vertical spacing. So I'd like to bounce two ideas off of you guys and see if the way that I'm thinking about the problem makes sense. 1. First, it seems that there are two *different* models for controlling vertical spacing, which we might term permissive and strict, respectively. The first model corresponds roughly to chapers 11.3.1 and 11.3.3, and concerns overrides to VerticalAxisGroup and settings in the paper block like \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3) \paper { between-system-space = 1.5\cm between-system-padding = #1 ragged-bottom=##f ragged-last-bottom=##f } My analysis of this type of vertical spacing control is that what we're really doing here is mostly setting *padding* in different guises. We're not really saying this staff should be so far away from this other staff; and then this system should be so far away from this other system further down the page. Instead we're saying I want at least this much padding between these staves or between these systems; beyond those padding specifications, just let Lily figure out what to do. So we might term this padding-based way of thinking about vertical spacing something like permissive. And an interesting characteristic of this way of tweaking vertical spacing is that -- I think -- you can *not* cause staves or systems to *overlap*. And this relates to the primary disadvantage of using VerticalAxisGroup overrides (and paper and margin adjustments) to control vertical spacing: it can sometimes seem frustratingly difficult to draw staves or systems close enough together.[1] [1] Feel free to contradict me here; Is it possible to cause staff- or system-overlaps using the commands given in 11.1 and 11.3? And maybe I was alone in my experience of feeling frustrated trying to game VerticalAxisGroup to move staves closer together. The second model for controlling vertical spacing centers around NonMusicalPaperColumn line-break-system-details, is very lightly touched on in 11.4, and concerns commands like: \overrideProperty #Score.NonMusicalPaperColumn #'line-break-system-details #'((alignment-offsets . (0 -5 -20))) \overrideProperty #Score.NonMusicalPaperColumn #'line-break-system-details #'((Y-offset . 20) (alignment-offsets . (0 -15))) \overrideProperty #Score.NonMusicalPaperColumn
Staff.VerticalAxisGroup #'Y-extent no longer working in Windows Lilypond 2.11.9??
Hi Everyone, I've been working with Lilypond 2.11.0 for a while and recently tried 2.11.9. When running the new version the following statements are ignored \override Staff.VerticalAxisGroup #'Y-extent = #'(0 . 10). I've been playing around with getting more even output from Lilypond same number of systems per page and the same space between staves. I've even managed in a Concerto Grosso score to have a seperate different space between the concertino groups and ripieno groups all the way through the piece. But as stated earlier Staff.VerticalAxisGroup #'Y-extent no longer works. I've included an example below. Regards, Trent Johnston \version 2.11.0 #(set-global-staff-size 16) \header { } \include english.ly staffViolin = \new Staff { \time 4/4 \set Staff.midiInstrument=violin \key c \major \clef treble \relative c'' { %bar 1 c4 d8. c32 d e8 f g4~ %bar 2 g8 e16 c a'8 f16 d d4 r \break %bar 3 g4 c8 g16( e) a4. g8 }} staffCello = \new Staff = cont { \set Staff.midiInstrument=cello \key c \major \clef bass \relative c { \override Staff.VerticalAxisGroup #'Y-extent = #'(0 . 20) %bar 1 c4 g c c8 d %bar 2 e4 f g g8 f %bar 3 e2 f4 f8 g }} bc = \figuremode { %bar 1 s1 %bar 2 64 s2. %bar 3 62 s2 } \score { \new StaffGroup \staffViolin \staffCello \context Staff = cont \bc \layout { } } \paper { } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Figured bass switches direction!
Hi Gilles, Just put a space (s) between the figures. ie. 68 s 6 5/4 _- | 6 _-4 6 5/8 s 5 | It only needs to be done when like figures occur in different positions. i.e. 6 6 5 The first 6 is in second position when compare with the following 6 in first position followed by 5. Putting the space (s) between the figures cancels the alignments. Trent - Original Message - From: Gilles Sadowski [EMAIL PROTECTED] To: lilypond-user@gnu.org Sent: Sunday, December 10, 2006 4:16 AM Subject: Figured bass switches direction! | Hello. | | In the following code, the figure direction switches: In the second bar | the flat is printed above the 6, and the 6 5 is printed 5 6! | | %--- | \version 2.8.7 | | | \relative c' { |\time 3/4 |\clef F |\key c \major | |a4 e f | |f4 c d | | } | | \new FiguredBass { |\figuremode { | 64 6 5/ _- | | 6 _-4 6 5/ 5 | |} | } | | %--- | | I guess that LilyPond is aligning identical numbers but this is rather | confusing. Is there a way so that the numbers are always printed in input | order? | | Thanks. | Gilles | | | ___ | lilypond-user mailing list | lilypond-user@gnu.org | http://lists.gnu.org/mailman/listinfo/lilypond-user | ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Windows Lilypond 2.11.1
Hi Everyone, The latest Lilypond 2.11.1 on my work laptop and home computer is extremely slow.. to the point of going in what seems to be an infinite loop. I've monitored the process with task manager and noticed that Lilypond (gauging from the memory usage of this version and the previous version 2.11.0-1) that lilypond seems to continuly runs itself over and over again. The memory useage peaks at 240, 000K for a score then declines very slowly back down to around 6,000K only to start up again moving back up to 240,000K. I noticed that lilypond did this 10 times before I stopped the process (I also noticed that CPU percentage never got above 20). I uninstalled 2.11.1 and reinstalled 2.11.0-1 and ran the file again .. no problems Lilypond ran the memory usage peaked around 260,000K this time (all while CPU percentage was at about 49 for most of the time) and memory useage decline until the application terminated after producing the PDF output at about 3 minutes to the well over 15 minutes on 2.11.1 before I stopped it. Has anyone else had similar problems? Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \afterGrace - afterGraceFraction [Lilypond 2.10.0 Windows]
Thanks Mats, Bertalan. I'll give it a try. Trent - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Trent J [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Thursday, November 16, 2006 6:30 PM Subject: Re: \afterGrace - afterGraceFraction [Lilypond 2.10.0 Windows] | Actually, afterGraceFraction is defined as an ordinary LilyPond identifier, | in ly/music-functions-init.ly. So, one option for you if you want to | change the | setting globally for the full score is to add | afterGraceFraction = #(cons 7 8) | at the top level of the file (just as you can define mymelody={c d e f} ). | | If you want to change the setting in the middle of a piece, one option | is to | use Scheme syntax to change the value of the variable: | #(define afterGraceFraction (cons 7 8)) | | (if you do this setting directly after a \afterGrace, then it seems to | affect also | this preceding \afterGrace). | |/Mats | | Trent J wrote: | Hello, | | I'm not sure whether I'm doing this right but the manual states to | change the fraction of an afterGrace note(s): | | The fraction 3/4 can be changed by setting afterGraceFraction, ie. | | afterGraceFraction = #(cons 7 8). By setting does it mean \set | afterGraceFraction = #(cons 7 8). | | I've tried this and keep running into the following message from | Lilypond: | | warning: can't find property type-check for `afterGraceFraction' | (translation-type?). perhaps a typing error? | warning: doing assignment anyway | | | Any help appreciated. | | Trent | | _ | Advertisement: House hunt online now! | http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Erealestate%2Ecom%2Eau%2Fcgi%2Dbin%2Frsearch%3Fa%3Dbhp%26t%3Dres%26cu%3DMSN_t=758874163_r=HM_EndText_Nov06_m=EXT | | | | | ___ | lilypond-user mailing list | lilypond-user@gnu.org | http://lists.gnu.org/mailman/listinfo/lilypond-user | | -- | = | Mats Bengtsson | Signal Processing | Signals, Sensors and Systems | Royal Institute of Technology | SE-100 44 STOCKHOLM | Sweden | Phone: (+46) 8 790 8463 |Fax: (+46) 8 790 7260 | Email: [EMAIL PROTECTED] | WWW: http://www.s3.kth.se/~mabe | = | | ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Figured Bass question: Why is 5 4 upside down?
Hi Graham, I don't think these are bugs as such. It's got to do aligning the extender line. If you place a spacer (s8 etc) between the figures the figures are printed the right way. as in the example below taken from Issue 103: if you reduce the length of the figure to 8 and put a 's' between (ie. a 8 space) the figures print correctly. is sent a reply to the Lilypond user list a while ago with a solution to this problem. http://lists.gnu.org/archive/html/lilypond-user/2006-07/msg00052.html Trent \score{ \new FiguredBass \figuremode{ _- 8 s %% this seem to break some figures 7 _- s _- 7 s 6+ 4 3 s } \new Staff{ \clef bass a, b, c d } } \score{ \new FiguredBass \figuremode{ % this still ignores the order 7 _- 8 s _- 7 s 6+ 4 3 s } \new Staff{ \clef bass a, b, c d } } \score{ \new FiguredBass \figuremode{ % this still ignores the order 4 58 s 4 5 s 7 5 s 5 4 s } \new Staff{ \clef bass a, b, c d } - Original Message - From: Graham Percival [EMAIL PROTECTED] To: Laura Conrad [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Thursday, October 05, 2006 11:18 AM Subject: Re: Figured Bass question: Why is 5 4 upside down? Laura Conrad wrote: This question refers to version 2.8.3 running on Ubuntu Linux 6.06. I think it was posted during one of our mailing list vacations, and may have never made it out to the list. I think it's the same issue as http://code.google.com/p/lilypond/issues/detail?id=103 - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Incipit
Hello Everyone, After a couple of days of trial and error I've come up with an alternative way of placing incipits in a score. Rather than have every system in your score have an incipit as in the Transcription of mensural music example. The attached code (also below) lets the user create an incipt on a staff by staff basis. ie. you might only want an incipit staff on a soprano line of a score indicating that it was originally notated using the soprano clef. This is done by putting a score as a markup in the instrumentName line. This incipit also allows the user to keep the brackets at the beginning of the main score as well as throughout the piece. I've tried to put this into the LilyPond Snippet Repository but I get an error saying that it can't find the init.ly file. If anyone has further tips or questions please feel free to email me back. Regards Trent = \version 2.9.17 #(set-global-staff-size 14) \header { } \include english.ly staffViolin = \new Staff { \time 4/4 \set Staff.instrumentName = \markup { \line { \score { \new Staff { \time 4/4 \set Staff.instrumentName = \markup { \fontsize #1 Violino I. \hspace #1 } \key c \major \clef soprano \relative c' { \set Staff.fontSize = #-1 \override Staff.StaffSymbol #'staff-space = #(magstep -1) c4 s4 \bar }} \layout { raggedright = ##t line-width = 4\cm \context { \Staff \remove Time_signature_engraver } }}} \hspace #1 } \set Staff.midiInstrument=violin \key c \major \clef treble \relative c' { c4 c c c c4 c c c \bar |. } } staffViolinII = \new Staff { \time 4/4 \set Staff.instrumentName = \markup { \line { \score { \new Staff { \time 4/4 \set Staff.instrumentName = \markup { \fontsize #1 Violino II. \hspace 1 } \key c \major \clef soprano \relative c' { \set Staff.fontSize = #-1 \override Staff.StaffSymbol #'staff-space = #(magstep -1) c4 s4 \bar }} \layout { raggedright = ##t line-width = 4\cm \context { \Staff \remove Time_signature_engraver } }}} \hspace #1 } \set Staff.midiInstrument=violin \key c \major \clef treble \relative c' { c4 c c c c4 c c c \bar |. } } \score { \new StaffGroup \staffViolin \staffViolinII \midi { } \layout { indent = 4\cm } } \paper { } % Created on Fri Sep 15 21:40:19 EST 2006 \version 2.9.17 #(set-global-staff-size 14) \header { } normalRests = { \revert Rest #'direction \revert MultiMeasureRest #'staff-position } \include english.ly staffViolin = \new Staff { \time 4/4 \set Staff.instrumentName = \markup { \line { \score { \new Staff { \time 4/4 \set Staff.instrumentName = \markup { \fontsize #1 Violino I. \hspace #1 } \key c \major \clef soprano \relative c' { \set Staff.fontSize = #-1 \override Staff.StaffSymbol #'staff-space = #(magstep -1) c4 s4 \bar }} \layout { raggedright = ##t line-width = 4\cm \context { \Staff \remove Time_signature_engraver } }}} \hspace #1 } \set Staff.midiInstrument=violin \key c \major \clef treble \relative c' { c4 c c c c4 c c c \bar |. } } staffViolinII = \new Staff { \time 4/4 \set Staff.instrumentName = \markup { \line { \score { \new Staff { \time 4/4 \set Staff.instrumentName = \markup { \fontsize #1 Violino II. \hspace #1 } \key c \major \clef soprano \relative c' { \set Staff.fontSize = #-1 \override Staff.StaffSymbol #'staff-space = #(magstep -1) c4 s4 \bar }} \layout { raggedright = ##t line-width = 4\cm \context { \Staff \remove Time_signature_engraver } }}} \hspace #1 } \set Staff.midiInstrument=violin \key c \major \clef treble \relative c' { c4 c c c c4 c c c \bar |. } } \score { \new StaffGroup \staffViolin \staffViolinII \midi { } \layout { indent = 4\cm } } \paper { } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Moving Dot on Dotted Note - Lilypond 2.9.17 Windows.
Hi Everyone, I've come across problem in moving the dot on a dotted note. I'm trying to move the dot to the right so as a note in voice 2 doesn't clash with the dot. Is there a way to do this? I've looked in the manual and I think this is the property I should be changing: DotColumn X-offset (number): ly:dot-column::side-position although I don't know the correct syntax. I've tried \once \override Voice.DotColumn #'X-offset = #100 but this doesn't work. Any help appreciated. Thanks Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Moving Dot on Dotted Note - Lilypond 2.9.17 Windows.
Thanks!!! Trent - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Thursday, September 14, 2006 10:18 PM Subject: Re: Moving Dot on Dotted Note - Lilypond 2.9.17 Windows. | How about | \once \override Dots #'extra-offset = #'(1 . 0) | | /Mats | | Trent Johnston wrote: | Hi Everyone, | | I've come across problem in moving the dot on a dotted note. I'm trying to | move the dot to the right so as a note in voice 2 doesn't clash with the | dot. | | Is there a way to do this? | | I've looked in the manual and I think this is the property I should be | changing: | | DotColumn | X-offset (number): | ly:dot-column::side-position | | | although I don't know the correct syntax. | | I've tried \once \override Voice.DotColumn #'X-offset = #100 but this | doesn't work. | | Any help appreciated. | | Thanks | | Trent | | | | ___ | lilypond-user mailing list | lilypond-user@gnu.org | http://lists.gnu.org/mailman/listinfo/lilypond-user | | | -- | = | Mats Bengtsson | Signal Processing | Signals, Sensors and Systems | Royal Institute of Technology | SE-100 44 STOCKHOLM | Sweden | Phone: (+46) 8 790 8463 |Fax: (+46) 8 790 7260 | Email: [EMAIL PROTECTED] | WWW: http://www.s3.kth.se/~mabe | = | | ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Moving Dot on Dotted Note - Lilypond 2.9.17 Windows.
Thanks!!1 hehe forgot to click onto the next link. Trent - Original Message - From: Markus Schneider [EMAIL PROTECTED] To: lilypond-user@gnu.org Sent: Thursday, September 14, 2006 10:23 PM Subject: Re: Moving Dot on Dotted Note - Lilypond 2.9.17 Windows. | Hi Trent, | | DotColumn resides in the Staff context. | | You can find this from the DotColumn layout object in the program reference | (lilypond-internals), click on the engraver link (here: | Dot_column_engraver). There you can read: | Dot_column_engraver is part of contexts: ... Staff ... | | HTH | Markus | | | | | | ___ | lilypond-user mailing list | lilypond-user@gnu.org | http://lists.gnu.org/mailman/listinfo/lilypond-user | ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: hyphens and spacing lyrics
- Original Message - From: Daniel Boronka To: lilypond-user@gnu.org Sent: Friday, September 15, 2006 12:55 PM Subject: hyphens and spacing lyrics I don't like hyphens disappearing in the lyrics. How can I force them to stay in the lyrics. Also the lyrics are too close, they almost run into one another like one long word. I'm sure there must be a spacing command. Daniel Boronka ___lilypond-user mailing listlilypond-user@gnu.orghttp://listsgnu.org/mailman/listinfo/lilypond-user Hi Daniel, I use this from the opening page 7.3 Vocal music: not only does it keep the lyrics between the bars but also tends to space the music so all hyphens are showing. \layout { \context { \Lyrics \consists "Bar_engraver" \consists "Separating_line_group_engraver" \override BarLine #'transparent = ##t } }Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: forcing even eighth notes in a single bar
- Original Message - From: Kieren MacMillan [EMAIL PROTECTED] To: lilypond Mailinglist lilypond-user@gnu.org Sent: Wednesday, August 23, 2006 6:24 AM Subject: forcing even eighth notes in a single bar [ v. 2.9.15 ] Hello, all -- I've got a bar of vocal (choral) text which ends up looking a bit uneven: Is there any easy way to force Lilypond to use exact eighth notes for just this measure? From what I've seen in the docs, I'm worried that most proportional spacing commands are score-wide... For what it's worth, I'm happy to manually tweak the lyric syllables to fit to the note alignment... Thanks, Kieren. Hi Kieren, I've had similar issues in some baroque scores especially with florid melisma's. I'm not familiar with the proportional notation commands, but I' ve found that putting into the bass part hidden repeated 16th or 32nd notes in the bar (depending on the size of the gap you want between the 8th notes) this tends to even out the bar. This might be easier than manually tweaking the individual syllables. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to typeset this?
- Original Message - From: Jay Anderson [EMAIL PROTECTED] To: lilypond-user@gnu.org Sent: Sunday, July 09, 2006 2:50 PM Subject: How to typeset this? | I'm trying to typeset the attached measure (from brahms horn trio | piano part, let me know if it works) in lilypond. Here's the best I | got so far: | | \times 2/3 {r8 {bes''4~} \\ {bes8 f bes, aes~}} bes4 \\ f bes, aes | | The problem I have is that the eighth notes aren't beamed, I can't get | the triplet bracket to show (it's not in the original, but I'd like to | put it on at least once) and it's not exactly the same as the | original. Any help would be greatly appreciated. I'm used to | monophonic music or simple polyphonic music. I've never tried a piano | part before. Thanks for any help! | | -Horndude77 | Hi Horndude77, Is the following what you are after?? \version 2.9.10 \header { } staffPiano = \new PianoStaff { \set PianoStaff.midiInstrument = #acoustic grand \set PianoStaff.instrument = #Piano \time 2/4 \context Staff = RH { % Right hand \clef treble \key bes \major \relative c { \tupletUp { \times 2/3 { \revert Rest #'direction \revert MultiMeasureRest #'staff-position r8 bes''8 \tieNeutral f bes, aes~} } \\ { \once \override TupletNumber #'transparent = ##t \times 2/3 {s8 \tieUp bes4~} }{ f bes, aes4 } \\ { \stemUp bes4 } } } \context Staff = LH { % Left hand \clef bass \key bes \major \relative c { } } } \score { \staffPiano \midi { } \layout { ragged-right = ##t } } \paper { } == Trent P.S. I've also added this as an attachment % Created on Sun Jul 09 16:04:20 EST 2006 \version 2.9.10 \header { } staffPiano = \new PianoStaff { \set PianoStaff.midiInstrument = #acoustic grand \set PianoStaff.instrument = #Piano \time 2/4 \context Staff = RH { % Right hand \clef treble \key bes \major \relative c { \tupletUp { \times 2/3 { \revert Rest #'direction \revert MultiMeasureRest #'staff-position r8 bes''8 \tieNeutral f bes, aes~} } \\ { \once \override TupletNumber #'transparent = ##t \times 2/3 {s8 \tieUp bes4~} }{ f bes, aes4 } \\ { \stemUp bes4 } } } \context Staff = LH { % Left hand \clef bass \key bes \major \relative c { } } } \score { \staffPiano \midi { } \layout { ragged-right = ##t } } \paper { } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: figured bass : flat over figure
- Original Message - From: Paul Scott [EMAIL PROTECTED] To: Jean-marc LEGRAND [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Tuesday, July 04, 2006 2:06 AM Subject: Re: figured bass : flat over figure Jean-marc LEGRAND wrote: hi list ! using XP lily 2.8.3 I've discovered a odd thing in figured bass, but it surely has a scientific explanation ! In this example : \version 2.8.3 theorbefigures = \new FiguredBass \figuremode { \override FiguredBass.BassFigure #'font-size = # -2 _-2 7 _- } theorbe = \new Voice { \clef bass \relative c { d4 g, a2 }} \score { \new StaffGroup \theorbefigures \new Staff \set Staff.midiInstrument = cello \theorbe \layout { } \midi { \tempo 4=80} } the 7 _- gives me a 7 UNDER the flat sign. When I change the figured bass to : 62 7 _- the 7 _- gives me a 7 ABOVE the flat sign, and that's what I want. Does anyone know how to get the flat under the figure, even if there's another flat before ? It looks like (even in 2.9.10) that figured bass is broken. In addition to preceeding 7 _- with 6 you can also get 7 _- to work by putting it at the beginning of a line. I tried a number of different figures. Things seem to break when certain figures precede them. I will file a bug report for 2.9.10 and mention the possibility of it being in 2.8.x Paul Scott Hi Paul and Jean-marc, The figured bass is working as should be in 2.9.10 and early versions with slightly less features. The figured bass figures are aligned so if you have a 6 4 then a 4 3 the fours get aligned together so the 4 3 becomes 3 4. To get around this put a spacer between the figures. For example if they are 6 48 4 3 to get rid of the alignment use instead 6 416 s 4 38. This is not a bug but a feature for extender lines. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Python scripts on WindowsXP, was: abc2ly on Windows XP
- Original Message - From: Dewdman42 [EMAIL PROTECTED] To: lilypond-user@gnu.org Sent: Saturday, July 01, 2006 2:42 AM Subject: Re: Python scripts on WindowsXP, was: abc2ly on Windows XP Trent, When I first installed 2.9.9 I had this problem a lot too. I found that if I ran the script as follows from the windows command line: python C:\my_full_path\musicxml2ly.py [options] That it worked fine. The trick was using the full path name of the python script. Don't ask me why. I'm sure this must be an environment issue and I'm willing to bet that setting something in the ENV will fix this issue, perhaps an addition to PATH or some python related env variable. I honestly don't know. But using the full path of the py script seemed to solve that issue. I also had to run it from the lilypond dir...I didn?t try anywhere else yet. I really think that trying all the different versions of lilypond is not the answer for you. It?s a windows env thing. Unfortunately, it seems the windows version of Lilypond is really just a minimal port..the software seems to work, but some installation issues and env issues such as this are, I believe, fixable under windows, but will require some sleuthing. It would definitely be nice if the windows lilyond installer took care of it already. -steve -- View this message in context: http://www.nabble.com/abc2ly-on-Windows-XP-tf1867180.html#a5123439 Sent from the Gnu - Lilypond - User forum at Nabble.com. Hi Scott, Thanks for your hint. I think there are still problems with the scripts themselves 2.9.10 python scripts don't work well in both Windows and Linux versions. I'll send a bug report. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Python scripts on WindowsXP, was: abc2ly on Windows XP
- Original Message - From: Thomas Scharkowski [EMAIL PROTECTED] To: Mats Bengtsson [EMAIL PROTECTED] Cc: Laura Conrad [EMAIL PROTECTED]; lilypond-user@gnu.org Sent: Friday, June 30, 2006 8:27 PM Subject: Re: Python scripts on WindowsXP, was: abc2ly on Windows XP | With version 2.8.5-1, midi2ly works fine. | ... | /Mats | | Not here: | | 'import site' failed; use -v for traceback | Traceback (most recent call last): | File C:\Programme\LilyPond\usr\bin\midi2ly.py, line 24, in ? | import os | SystemError: NULL result without error in PyObject_Call | Process python exited with code 1 | | Thomas | For me: None of the scripts have run properly on Windows XP for ages that I've given up. Pity as I would like to use musicxml converter with Photoscore and maybe convert some of my Sibelius scores. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Python scripts on WindowsXP, was: abc2ly on Windows XP
- Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: Thomas Scharkowski [EMAIL PROTECTED]; Laura Conrad [EMAIL PROTECTED]; lilypond-user@gnu.org Sent: Friday, June 30, 2006 9:32 PM Subject: Re: Python scripts on WindowsXP, was: abc2ly on Windows XP | | | Trent Johnston wrote: | | For me: | | None of the scripts have run properly on Windows XP for ages that I've given | up. | | | | Come on, this kind of answer is just destructive since it might lead | people to the | wrong conclusion without even trying themselves. Try again! In my | experience, | the problems were much more serious in 2.8.0 than in 2.8.5. | |/Mats | On 2.9.10 running both musicxml2ly and convert-ly I get the following error messages: D:\musicxml2ly 06Sonatapg1 'import site' failed; use -v for traceback Traceback (most recent call last): File D:\LilyPond\usr\bin\musicxml2ly.py, line 3, in ? import optparse SystemError: NULL result without error in PyObject_Call D:\convert-ly completescore.ly 'import site' failed; use -v for traceback Traceback (most recent call last): File D:\LilyPond\usr\bin\convert-ly.py, line 13, in ? import os SystemError: NULL result without error in PyObject_Call At this moment I'm downloading 2.8.5 to see if I can get it to work. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Python scripts on WindowsXP, was: abc2ly on Windows XP
- Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: Thomas Scharkowski [EMAIL PROTECTED]; Laura Conrad [EMAIL PROTECTED]; lilypond-user@gnu.org Sent: Friday, June 30, 2006 9:32 PM Subject: Re: Python scripts on WindowsXP, was: abc2ly on Windows XP | | | Trent Johnston wrote: | | For me: | | None of the scripts have run properly on Windows XP for ages that I've given | up. | | | | Come on, this kind of answer is just destructive since it might lead | people to the | wrong conclusion without even trying themselves. Try again! In my | experience, | the problems were much more serious in 2.8.0 than in 2.8.5. | |/Mats | Whoops didn't reply to all.. here it is again On 2.9.10 running both musicxml2ly and convert-ly I get the following error messages: D:\musicxml2ly 06Sonatapg1 'import site' failed; use -v for traceback Traceback (most recent call last): File D:\LilyPond\usr\bin\musicxml2ly.py, line 3, in ? import optparse SystemError: NULL result without error in PyObject_Call D:\convert-ly completescore.ly 'import site' failed; use -v for traceback Traceback (most recent call last): File D:\LilyPond\usr\bin\convert-ly.py, line 13, in ? import os SystemError: NULL result without error in PyObject_Call At this moment I'm downloading 2.8.5 to see if I can get it to work. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problem with Last Syllable of a Lyrics
- Original Message - From: Alexander Brock [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Sent: Monday, June 26, 2006 4:59 PM Subject: Re: Problem with Last Syllable of a Lyrics | Hello, | | It looks like both last syllables only have a single hyphen instead of the | usual double hyphen --. | | Hö - he! should be Hö -- he! | | Kö - nig!should be Kö -- nig! | | I tried that but it leads to warnings: | | # -*-compilation-*- | Processing `Hosanna, Hosanna, Hosanna in der Hoehe.ly' | Parsing... | Interpreting music... [8] | Hosanna, Hosanna, Hosanna in der Hoehe.ly:47:49: warning: unterminated | hyphen; removing | of -- fen -- bar. Ho -- san -- na in der Hö | -- he! | | Hosanna, Hosanna, Hosanna in der Hoehe.ly:54:33: warning: unterminated | hyphen; removing | _ _ _ _ Eh -- re sei dem Kö | -- nig! | [15] | Preprocessing graphical objects... | Calculating line breaks... [3][6][9][12] | Calculating page breaks... | Layout output to `Hosanna, Hosanna, Hosanna in der Hoehe.ps'... | Converting to `Hosanna, Hosanna, Hosanna in der Hoehe.pdf'... | | Alexander | Hi Alexander, This usually means there are not enough notes to fit all the lyrics so lilypond is leaving out the last syllable. Go back and check that each syllable is appearing under the correct note. Since your using \addlyrics and using underscores _ to indicate melisma check these carefully. Using the Lyrics context ( chapter 7.3.4 in the user manual ) is a lot easier than manual counting the note skips. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problem with Last Syllable of a Lyrics
- Original Message - From: Alexander Brock [EMAIL PROTECTED] To: lilypond-user@gnu.org Sent: Monday, June 26, 2006 8:50 AM Subject: Problem with Last Syllable of a Lyrics Hello, When I write \lyrics { } Lilypond forgets the last syllable of it. The log doesn't contain errors: # -*-compilation-*- Processing `Hosanna, Hosanna, Hosanna in der Hoehe.ly' Parsing... Interpreting music... [8][15] Preprocessing graphical objects... Calculating line breaks... [3][6][9][12] Calculating page breaks... Layout output to `Hosanna, Hosanna, Hosanna in der Hoehe.ps'... Converting to `Hosanna, Hosanna, Hosanna in der Hoehe.pdf'... And here is the Sourcecode: \header { title=Hosanna, Hosanna, Hosanna in der Höhe } { \chords { r8 g1 d e2:m c d1 d d2 d g1 c2 d g1 c2 d g4 d/fis e2:m c d g1 } \new Voice \with { \consists Completion_heads_engraver } { \relative { \key g \major \partial 8 g'8 \repeat volta 2 { g4.( d8) d4 r8 g a4.( d8) d4 r8 a b8 a g fis g4\( b8( b)\) \break } \alternative { { a2. r8 g } { a2 r } } r4 c8 c c b a b~ b4. r8 r2 \break r4 c8 c c( b) a b~ b4. r8 r2 r4 c8 c c b a b \break b4 a g r8 b8 c8 b a g a4.~( g8) g2. r4 \bar |. } \addlyrics { Ho -- san -- na, Ho -- san -- na, Ho -- san -- na in der Hö - he. Ho -- he Du bist Kö -- nig und Herr, Du re -- gierst mit Macht, Dei -- ne Herr -- lich -- keit ist of -- fen -- bar. Ho -- san -- na in der Hö - he! } \addlyrics { _ Eh -- re, _ Eh -- re, _ Eh -- re sei dem Kö -- nig al -- lein. -- lein. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Eh -- re sei dem Kö - nig! } } } \version 2.8.5 Alexander Hi Alexander, It looks like both last syllables only have a single hyphen instead of the usual double hyphen --. Hö - he! should be Hö -- he! Kö - nig!should be Kö -- nig! Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: rest positioning failure - please help
Hi Martin, Mats gave me this help awhile ago which still works. normalRests = { \revert Rest #'direction \revert MultiMeasureRest #'staff-position } place this at the start of a file and use \normalRests before the rest you want to change. Trent - Original Message - From: Martin Bergande [EMAIL PROTECTED] To: lilypond-user@gnu.org Sent: Friday, June 02, 2006 5:21 AM Subject: rest positioning failure - please help | I would like to repeat my question how to position a normal rest in single staff polyphony since I didn't get any answer. I would be very grateful if anybody could help me. It is a while ago since I described the problem as follows: | | Dear all, | | why does b4/rest in the following file.ly position the rest - exactly like r4 - to f'', while a4/rest and c4/rest would work as expected? Is there a special command apart from tweaking to enforce the b' position? | | martin | | % start file.ly | | \version 2.7.40 | | \score { | | \context PianoStaff | | \new Staff { \override Score.BarNumber #'break-visibility = | #all-invisible | | % Sopran | | { \key f \major \relative c' | { \partial 4*1 f a g a bes c2 a4\fermata | d c bes a g a2 \fermata | b4\rest c d e f e d2 c4\fermata | a bes a g g f2.\fermata \bar |. } } \\ | | % Alt | | { \relative c' { } } | | } | | \new Staff { | | % Tenor | | { \clef F \key f \major \relative c | { } } \\ | | % Bass | | { \relative c | { \hideNotes | | c4 c c c c c c c | c4 c c c c c c c | c4 c c c c c c c | c4 c c c c c c c \unHideNotes } } | | } | | | | \layout { | | indent = 00 | ragged-right = ##t | ragged-last = ##t | | \context { } | } | | \midi { | | \tempo 4 = 92 | } | | } | | % end file.ly | | p.s. bug-lilypond@gnu.org rejected my message. | -- | | | Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! | Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer | | | | ___ | lilypond-user mailing list | lilypond-user@gnu.org | http://lists.gnu.org/mailman/listinfo/lilypond-user | ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
remove Trill from TrillSpanner.
Hi, I'm trying to remove the starting trill symbol from the TrillSpanner so I end up with just a wavey line. I've followed the TrillSpanner description but \override TrillSpanner #'edge-text = #'( . ) Doesn't work. Am I doing something wrong? Thanks in advance. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: remove Trill from TrillSpanner.
Doh!!! Should have tried it on it's own first. I've have it the trillspan in a polyphony voice 1 and 2. I'd put the override before the { } \\ {} etc. \override Staff.TrillSpanner etc now works. Thanks for the heads up. Trent - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Thursday, June 01, 2006 3:28 PM Subject: Re: remove Trill from TrillSpanner. | The following example works excellently here: | | \version 2.8.0 | \relative c'{ | \override TrillSpanner #'edge-text = #'( . ) | c \startTrillSpan d e f \stopTrillSpan | } | | |/Mats | | Quoting Trent Johnston [EMAIL PROTECTED]: | | Hi, | | I'm trying to remove the starting trill symbol from the TrillSpanner so I | end up with just a wavey line. | | I've followed the TrillSpanner description but | | \override TrillSpanner #'edge-text = #'( . ) | | Doesn't work. | | Am I doing something wrong? | | Thanks in advance. | | Trent | | | ___ | lilypond-user mailing list | lilypond-user@gnu.org | http://lists.gnu.org/mailman/listinfo/lilypond-user | | | | | ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: More Figured Bass Improvements... (potential sponsorship)
- Original Message - From: Han-Wen Nienhuys [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Saturday, May 27, 2006 3:30 AM Subject: Re: More Figured Bass Improvements... (potential sponsorship) | Trent Johnston schreef: | Hi Han-Wen and Lilyponders, | | I am looking at the potential to sponsor more changes to the figured bass | system. While the figured bass system is comphrehensive and looks good it's | placement within a score that needs adjusting. There is often a wide a gap | between the staff and the figures when using the current system (the case | whether the figures are placed below or above the staff). I guess this is | the mixture of both the minimum-Y-extent of the bass staff and the figured | bass line. | | What I'm looking at sponsoring is changing the figured bass system so that | the figures are closer to the notes. That instead of placing the figures in | one line aligned above the highest note or lowest note that the figures will | change height according to the notes in the score. i.e. figures are placed | closer to the bass part and their heights change on a note by note basis. I | know Nicholas Sceaux has an alternative figured-bass scheme that positions a | figure in relation to the note that it is associated with. While this is a | good alternative it doesn't have the extender lines of the new system. | | Could the two system be possibly put together? | | Or maybe way where the figures are placed close to the top line or bottom | line depending on which way there user wants and the user can define padding | for the individual or groups of figures that need to changed? | | Ideally the second option would be good as this would give the user more | control over the system. | | Hello, | | I think I know a good solution to this: I can make another engraver, | which positions a consecutive range of figured bass numbers (created by | the current engraver) above or below a staff. By putting it in the | Staff context, the vertical alignment can react to individual notes. | | The syntax for this would be similar to | | |theFigures = \figuremode { } |\new Staff \with { | \consists Figured_bass_side_engraver |} | \new Voice \with { | \consists Figured_bass_engraver | } | \theBassMelody | \theFigures | | | | where theFigures and theBassMelody contain the figures and the bass line | respectively. | | I can do this for 130 EUR. | | Also I was looking at making the numbers 10 / 11 / 12 as one symbol. This | would make the numbers as in: | | 10 | 5 | 3 | | centred in the group rather than left aligned. | | I can add a property which specifies the alignment of individual | figures, I can do this for 20 EUR. For completeness, I need to know how | you want those numbers aligned when there are alterations. | | (Or, if you're clever with markups and Scheme, you can have a try | yourself, see format-bass-figure in translation-functions.scm) | | -- | | Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen | | LilyPond Software Design | -- Code for Music Notation | http://www.lilypond-design.com | Hi Han-Wen, That sounds great. I would love to sponsor both features: the figured bass as well as the alignment of individual figures. I'm assuming that the figures 10 / 11 / 12 etc would be centered instead of left alined like the other figures. Could we also put a blank figure in... this would be good to help with using extenders etc. I've included two diagrams one 01Figures shows a possibility if there is no blank figure. The figure is just above the line because the bass note is within the staff but when the continuation lines end there is a f above the line which could possibily mean that the lines would run through the f. 02Figure shows the ideal is that the figures are raised because the continuation line ends on the f. so a coding of __ 5 6 __ 5 6 'double underscore' as a blank figure or possibly __ __ 5 6 __ __ 5 6 so raise the figures higher. Or could this be done automatically? Anyway I leave it up to you as to what is easier and more effective. Thanks, Trent 02Figures.PNG Description: PNG image 01Figures.PNG Description: PNG image ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
More Figured Bass Improvements... (potential sponsorship)
Hi Han-Wen and Lilyponders, I am looking at the potential to sponsor more changes to the figured bass system. While the figured bass system is comphrehensive and looks good it's placement within a score that needs adjusting. There is often a wide a gap between the staff and the figures when using the current system (the case whether the figures are placed below or above the staff). I guess this is the mixture of both the minimum-Y-extent of the bass staff and the figured bass line. What I'm looking at sponsoring is changing the figured bass system so that the figures are closer to the notes. That instead of placing the figures in one line aligned above the highest note or lowest note that the figures will change height according to the notes in the score. i.e. figures are placed closer to the bass part and their heights change on a note by note basis. I know Nicholas Sceaux has an alternative figured-bass scheme that positions a figure in relation to the note that it is associated with. While this is a good alternative it doesn't have the extender lines of the new system. Could the two system be possibly put together? Or maybe way where the figures are placed close to the top line or bottom line depending on which way there user wants and the user can define padding for the individual or groups of figures that need to changed? Ideally the second option would be good as this would give the user more control over the system. I've included an example image.. taken from the Neue Ausgabe sämtlicher Werke: Bärenreiter illustrating this. Also I was looking at making the numbers 10 / 11 / 12 as one symbol. This would make the numbers as in: 10 5 3 centred in the group rather than left aligned. Thanks Trent Johnston BWV74M2.PNG Description: PNG image ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Beam Positions
Thanks!! - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED]; bug-lilypond@gnu.org Cc: lilypond-user@gnu.org Sent: Monday, May 15, 2006 7:44 PM Subject: Re: Beam Positions | This clearly looks like a bug, so I forward it to bug-lilypond. | |/Mats | | Quoting Trent Johnston [EMAIL PROTECTED]: | | Hello again, | | I'm having trouble with changing the lengths of beams. When I use: | | \once \override Beam #'positions = #'(1 . 1.5) | | in the below example I get a strange beamed group. The 32nd beamed notes | stick out. No matter how I adjust the numbers the 32nd notes stick out. I've | added a picture showing the output. | | Any help appreciated. | | Trent | | | === | \score { | | \relative c'' { | \time 6/8 | \key g \major | \appoggiatura c8 b4 r8 d,4\f \once \override Beam #'positions = #'(1 . | 1.5) d16[( e32 f)] | } | | \layout { | ragged-right = ##t } | } | | = | | | | | | | ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using Scheme
Thanks Nicolas that's great!! Thanks for all your help lately it's greatly appreciated. And thanks to all that have come to my assistance with this question. Could this example along with the explanation from Nicholas be added to the manual? I think it would further the understanding of scheme especially when using pairs of numbers as there are other overrides that require to pairs. e.g. extra-offset. Thanks again, Trent - Original Message - From: Nicolas Sceaux [EMAIL PROTECTED] To: Mats Bengtsson [EMAIL PROTECTED] Cc: Trent Johnston [EMAIL PROTECTED]; Paul Scott [EMAIL PROTECTED]; lilypond-user@gnu.org Sent: Saturday, May 13, 2006 4:37 AM Subject: Re: Using Scheme | | Mats Bengtsson [EMAIL PROTECTED] writes: | | Trent Johnston wrote: | | Sorry I should have been a bit more specific before... | | I tried using | | manBeam = #(define-music-function (parser location beg end) (number? | number?) | #{ \once \override Beam #'positions = #'($beg . $end) #} ) | | | Nicolas recently answered a closely related question. | One solution should be to replace | #'($beg . $end) | by | (cons $beg $end) | | To Trent: | You need to understand that a scheme form preceded by a quote (that's | called a quoted form) is not evaluated. Thus, something like | '(var1 . var2) evaluates to that, (var1 . var2), eg a cons cell | containing two symbols, var1 and var2. But what you want is a cons cell | with two numbers, the value of the variables var1 and var2. So you | should not quote the form, so that the variables should be evalutated. | Instead, you make the cons cell using the function `cons': | (cons var1 var2) == (3 . 6) | supposing that var1 and var2 respectively evaluate to 3 and 6. | | manBeam = | #(define-music-function (parser location beg end) | (number? number?) | #{ \once \override Beam #'positions = #(cons $beg $end) #}) | | \manBeam #3 #6 | | or: | | manBeam = | #(define-music-function (parser location beg-end) | (cons?) | #{ \once \override Beam #'positions = #$beg-end #}) | | \manBeam #'(3 . 6) | \manBeam #(cons 3 6) | | nicolas | ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Beam Positions
Hello again, I'm having trouble with changing the lengths of beams. When I use: \once \override Beam #'positions = #'(1 . 1.5) in the below example I get a strange beamed group. The 32nd beamed notes stick out. No matter how I adjust the numbers the 32nd notes stick out. I've added a picture showing the output. Any help appreciated. Trent === \score { \relative c'' { \time 6/8 \key g \major \appoggiatura c8 b4 r8 d,4\f \once \override Beam #'positions = #'(1 . 1.5) d16[( e32 f)] } \layout { ragged-right = ##t } } = beamlength.PNG Description: PNG image ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Using Scheme
Hello, I was wondering if someone could help me in using scheme to make a short cut. I'm trying to simplify: \once \override Beam #'positions = #'( number . number ) using a shortcut say \manBeam and specify the numbers beginning and ending beam height. I want to use this to alter the height of beams that have accidentals in them or lengthen some shorter beams. In 5.4 Advanced tweaks with scheme gives some information about using only the one variable as in the padText example. Any help appreciated. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using Scheme
Thanks for your help Paul, but I was actually looking at Beam settings a way to simplify \once \override Beam #'positions = #'( number . number ) I used the padText as an example but couldn't get it to work with the above example... Trent - Original Message - From: Paul Scott [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED]; lilypond-user@gnu.org Sent: Friday, May 12, 2006 5:32 PM Subject: Re: Using Scheme | Paul Scott wrote: | Trent Johnston wrote: | Hello, | | I was wondering if someone could help me in using scheme to make a | short cut. | | I'm trying to simplify: | | \once \override Beam #'positions = #'( number . number ) | | using a shortcut say \manBeam and specify the numbers beginning and | ending beam height. I want to use this to alter the height of beams | that have accidentals in them or lengthen some shorter beams. | | In 5.4 Advanced tweaks with scheme gives some information about using | only the one variable as in the padText example. | I'm not sure what corresponds to that in the 2.8.2 manual | The online manual I was browsing just changed and now looks line the one | you were referring to and I see that section. | | but padText may exist because of help I got from Nicolas Sceaux. Here | is my code for textPad. You might be able to create what you want | from this: | | #(use-modules (ice-9 optargs)) | #(define* (textPad padding #:optional once?) | (ly:export ; this is necessary for using the expression |; directly inside a block |(if once? | #{ \once \override TextScript #'padding = #$padding #} | #{ \override TextScript #'padding = #$padding #}))) | This suggests I should be able to simplify my (Nicolas') code as per the | manual. | | To possibly help with your question 'padding' in the first line | | padText = #(define-music-function (parser location padding) (number?) | | indicates a numerical variable as reinforced by the '(number?)' | You can add more variables (say var2) by adding it/them after the position of 'padding' | and changing (number?) to (number? number? ... ) | | var2 would be referred to in the code as $var2 | | HTH | | I don't time to do any more for a day or two. | | Paul | | ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using Scheme
Sorry I should have been a bit more specific before... I tried using manBeam = #(define-music-function (parser location beg end) (number? number?) #{ \once \override Beam #'positions = #'($beg . $end) #} ) but whenever I try to use it \manBeam #6 #6 --- I get or any other possible combinations ERROR: Wrong type (expecting real number): lilyvartmpb From what I can piece together from the documentation and the user-list I think there is something more I need to do.. but can't figure that out. Trent - Original Message - From: Paul Scott [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Friday, May 12, 2006 7:23 PM Subject: Re: Using Scheme | Trent Johnston wrote: | Thanks for your help Paul, but I was actually looking at Beam settings | | a way to simplify \once \override Beam #'positions = #'( number . number ) | | I understood that. | I used the padText as an example but couldn't get it to work with the above | example... | | I didn't have a quick application like yours to test since haven't used | beam settings but I was just trying to help you understand how variables | work so you could create your 'posBeam' (or whatever you want to call | it) definition from the padText example. | | A quick attempt (completely untested) would be | | posBeam = #(define-music-function (parser location num1 num2) (number? number?) | #{ |\once \override Beam #'position = #'( $num1 . $num2 ) | #}) | | Without testing I don't know whether you would apply it as: | | \posBeam #3 #2 | or | \posBeam ( #3 . #2 ) | or something different. | | Paul | | ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using Scheme
thanx for all your help.. - Original Message - From: Paul Scott [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Friday, May 12, 2006 7:44 PM Subject: Re: Using Scheme | Trent Johnston wrote: | Sorry I should have been a bit more specific before... | | I tried using | | manBeam = #(define-music-function (parser location beg end) (number? | number?) | #{ \once \override Beam #'positions = #'($beg . $end) #} ) | | but whenever I try to use it | | \manBeam #6 #6 --- I get or any other possible combinations | | ERROR: Wrong type (expecting real number): lilyvartmpb | | From what I can piece together from the documentation and the user-list I | think there is something more I need to do.. but can't figure that out. | | Ok. Hopefully Nicolas or someone will help. Otherwise I may look | further next week. | | Paul | | ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Example of two-pass vertical spacing tweaking
Hi Nicolas and Lilypond-Users, Thanks for the example of two-pass vertical spacing tweak. I've started to put together Handel's Agrippina and thought that this would improve the layout of the score. I've managed to use the example as is and this works although it does crash lilypond not before the PDF file is written so everything is fine there. But when I try to adapt this for a larger series of scores if fails with a 'Stack Overflow Error'. I've tested this on Lilypond 2.9.2 under both Windows and Linux. I assume that the #(define tweak-key A) needs to have it's on individual variable for each score so I've been going through the alphabet using the letter A in the first score B for second and so forth. Each with its corresponding \includeScoreTweak A etc This works fine and when I run the first time using: lilypond -d write-tweaks file.ly This works producing the page-layout file but when I run it a second time with just: lilypond file.ly This is when I get the Stack Overflow Error. Under Windows I can use this correctly for 4 scores but more than that I get the error message. Using Lilypond under Linux I can use it correctly for 6 scores again before the error occurs. Is there something I can do to stop the error from happening? Regards, Trent Johnston ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Example of two-pass vertical spacing tweaking
Hi Nicolas, Thanks for your help. I've downloaded your Lully files and it looks like I've bitten off more than I can chew. Your files are very integrated so it's hard to try and find which bits belong were and which bits I need for my files. Can I send you some of my files so you can see where I am at and hopefully provide me with some clues as to put what where? Thanks Trent - Original Message - From: Nicolas Sceaux [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Wednesday, April 26, 2006 7:05 AM Subject: Re: Example of two-pass vertical spacing tweaking Trent Johnston [EMAIL PROTECTED] writes: Hi Nicolas and Lilypond-Users, Thanks for the example of two-pass vertical spacing tweak. I've started to put together Handel's Agrippina and thought that this would improve the layout of the score. Agrippina, cool! Since the time I've made the post you're refereing to, I've made some further experiments with two-pass tweaking. You can take a look at: http://nicolas.sceaux.free.fr/lully/ where you will find a lully.tar.gz tarball containing the lily source code of a couple of pieces by Lully. The code is not very well documented, but in common/functions.ily you should find the tweaking functions, how tweaks are included, etc. You can look at the results (the PDFs in the same directory): they are still perfectible, but nice. Beware, I use a custom page breaking scheme (a naïve one, but which looks much better with the kind of book I'm typesetting, with lots of text). So the functions generating the page layout files are also customized, and the tweaking music function is adapted to those customized page layout files. I've managed to use the example as is and this works although it does crash lilypond not before the PDF file is written so everything is fine there. I get the crash too, but I didn't find out why. But when I try to adapt this for a larger series of scores if fails with a 'Stack Overflow Error'. I've tested this on Lilypond 2.9.2 under both Windows and Linux. With the Lully code, I compile books containing ~50 scores, without stack overflow. There was a problem in the code I posted here obviously. If you can't get through the Lully code and adapt it to your needs, please ask here so that I should help you. Using the same scheme for Giulio Cesare is also on my TODO list (I first started to manually tweak each system height and padding... hm how much time I've lost, scary). nicolas ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Dynamics and Figured Bass
Hello, Just a quick question. I'm currently entering a score with a bass figure line and sometimes on the line there are dynamics. Is there a way to make the dymanic line transparent to the figured bass line so that the figured bass isn't placed underneath the dynamic marks. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Putting Lyrics between barlines / Lyrics and \appogiatura
Hi Graham, I had been looking for a way to make lyrics fit between bar lines. This was mainly because some lyrics under short notes (i.e. 16th, 32nd etc) would hang out in space (even worse if there were extender lines) at the right side a score. But this is useful for people who want to use barlines through a instrument and vocal staff without the barlines obscuring the lyrics. I had originally the \context { \Lyrics \consists Bar_engraver } \context { \Lyrics \consists Separating_line_group_engraver } in the Layout section as advised previously by Han-Wen but this output produced tiny fragments of barlines underneath the lyrics. Thies had provided me with several solutions and thanks to him the problem was solved. So now using \context { \Lyrics \consists Bar_engraver } \context { \Lyrics \consists Separating_line_group_engraver } \context { \Lyrics \override BarLine #'transparent = ##t } in the layout section, makes the lyrics fall within the bar with no barline fragments either. I know that the \override Score.PaperColumn #'keep-inside-line = ##t is in the lyrics section of the manual and this is supposed to achieve the same, but the above code seems to work better at keeping lyrics within a barline.. Again thanks to Han-Wen and Thies for their advice. Trent - Original Message - From: Graham Percival [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: Thies Albrecht [EMAIL PROTECTED]; lilypond-user@gnu.org Sent: Saturday, February 18, 2006 12:30 PM Subject: Re: Putting Lyrics between barlines / Lyrics and \appogiatura Sure! I haven't really followed this thread, though. Could you tell me what section to include it in (somewhere in vocal music in instrument-specific notaiton, I'd imagine) and exactly what text and/or lilypond example should be added? - Graham On 17-Feb-06, at 1:38 AM, Trent Johnston wrote: Thanks Thies, That worked perfectly. May this should be added to the documentation?? Trent - Original Message - From: Thies Albrecht [EMAIL PROTECTED] To: lilypond-user@gnu.org Sent: Monday, February 13, 2006 9:32 PM Subject: Re: Putting Lyrics between barlines / Lyrics and \appogiatura Hi Trent! My main reason for getting the lyrics between the barlines was that they often hung outside the bar on the right hand side of the page. Okay, now I see the problem. What I didn't notice for my former proposed solution is that the output somehow becomes a complete mess. So forget about what I've written before. To get rid of the barline relicts just use \context Lyrics = lmelodySop \lyricmode { \override BarLine #'transparent = ##t \lyricsto melodySop \verse } Kind reards, Thies Albrecht ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Putting Lyrics between barlines / Lyrics and \appogiatura
Thanks Thies, That worked perfectly. May this should be added to the documentation?? Trent - Original Message - From: Thies Albrecht [EMAIL PROTECTED] To: lilypond-user@gnu.org Sent: Monday, February 13, 2006 9:32 PM Subject: Re: Putting Lyrics between barlines / Lyrics and \appogiatura Hi Trent! My main reason for getting the lyrics between the barlines was that they often hung outside the bar on the right hand side of the page. Okay, now I see the problem. What I didn't notice for my former proposed solution is that the output somehow becomes a complete mess. So forget about what I've written before. To get rid of the barline relicts just use \context Lyrics = lmelodySop \lyricmode { \override BarLine #'transparent = ##t \lyricsto melodySop \verse } Kind reards, Thies Albrecht ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Putting Lyrics between barlines / Lyrics and \appogiatura
Thanks Thies... I tried your hint but the lyrics still cross the bar line. My main concern is that lyrics hang over the bar along the right hand side of the score. Especially if the note is a semi-quaver the lyric will tend to hang in space. If there is a extender line this makes the situation worse as the lyric and the extender-line hangs in white space. the \override Score.PaperColumn #'keep-inside-line = ##t command doesn't work to well either. There is a small reduction in the overhang but it is still present. I think there needs to be more space given to last note if there is an associated lyric. Now for that \appogiatura problem... and why lyrics alignment to the appogiatura note and not the main note. Trent - Original Message - From: Thies Albrecht [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED]; lilypond lilypond-user@gnu.org Sent: Friday, February 10, 2006 4:28 AM Subject: Re: Putting Lyrics between barlines / Lyrics and \appogiatura Hi Trent! But what I have found is that tiny fragments of bar-lines appear under the lyrics. How can I get rid of these? Using \context Lyrics = lmelodySop \lyricmode { \lyricsto melodySop \override BarLine #'bar-size = #0 \verse } in the score section works. I don't know whether this is supposed to be a bug or not. But I also wouldn't have expected any bar lines in lyric context when adding a Bar_engraver. On the other side: I wouldn't mind lyrics crossing bar lines (and hence not add any Bar_engraver) as long as there are no visible bar lines (like when using a StaffGroup). Kind regards, Thies Albrecht ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Putting Lyrics between barlines / Lyrics and \appogiatura
Hello Everyone, I posted this message a while ago and got no response so I'll try again in hope that someone might know what is going on. In the posted example I've put both \context { \Lyrics \consists "Bar_engraver" }\context { \Lyrics \consists "Separating_line_group_engraver" } In the layout block. This works fine and the lyrics fit easily between each bar. But what I have found is that tiny fragments of bar-lines appear under the lyrics. How can I get rid of these? Is there an option in the layout block where I could hide the barlines in the lyrics or is this a bug?? Also I noticed that lyrics get placed under the \appogiature notes rather than the main notes. Putting in skips do not work since lyrics do not appear on the main note associated with the appogiatura so they get skipped to the next main note. Again any help appreciated. Trent % Created on Tue Oct 18 15:06:11 EST 2005 \version 2.7.27 \header { } #(set-global-staff-size 14) %\paper { \include paper.ly } \include english.ly verse= \lyricmode { L'oc -- chio ne -- ro vi -- va -- ce di Fil -- li a te dà pe -- na; di Li -- co -- ri ti pia -- ce il lab -- bro lu -- sin -- ghie -- ro; di Li -- dia il bion -- do cri -- ne al tuo co -- re è ca -- te -- na; in me ti pia -- ce il bri -- o: e con va -- rio de -- si -- o, or per Li -- dia, or per Fil -- li, or per Li -- co -- ri, ed or per me, van -- tan -- do nel tuo se -- no, nu -- drir co -- stan -- ti ar -- do -- ri con vo -- lu -- bi -- le ge -- nio ed in -- con -- stan -- te, sei di tut -- te, o Fi -- le -- no, in -- fi -- do tra -- di -- tor, non fi -- do a -- man -- te. } staffSoprano = \new Staff { \time 4/4 % \set Staff.instrument=Soprano. \set Staff.midiInstrument=choir aahs \key bf \major \clef treble \relative c'' { \context Voice = melodySop { \dynamicUp \autoBeamOff %bar 1 r4 bf8 bf g4 g8 f %bar 2 g8 g r g b b b c %bar 3 c8 c r c16 d ef8 bf r4 %bar 4 r8 bf bf c df df df c %bar 5 af8 af r c a a bf c %bar 6 ef,8 ef r ef16 g ef4 ef8 d %bar 7 d8 d r4 r r8 d' %bar 8 a4 r4 r8 a bf c %bar 9 bf8 bf r4 r a8 g %bar 10 ef'4 ef8 ef cs cs r d16 e %bar 11 g,8 g r a16 e f8 f r4 %bar 12 r8 f bf f g g r16 g c g %bar 13 a4 r8 f c' c c d %bar 14 ef8 ef r ef ef ef ef d %bar 15 b8 b r4 r8 d16 c b8 a16 g %bar 16 c8 c r16 g a bf a8 a r c16 c %bar 17 f4 c8 ef8 d d r d %bar 18 f8 d c d bf4 r %bar 19 g'4 cs,8. d16 d8 a r4 } \bar || } } staffCello = \new Staff { % \set Staff.instrument=Cello \set Staff.midiInstrument=cello \key bf \major \clef bass \relative c { %bar 1 ef1 %bar 2 ef2 d %bar 3 c2 g2~ %bar 4 g2 g %bar 5 c2~c %bar 6 c1 %bar 7 s2 bf %bar 8 fs1 %bar 9 g1 %bar 10 g2 a %bar 11 cs2 d %bar 12 d2 ef4 e %bar 13 f1~ %bar 14 f1 %bar 15 f1 %bar 16 e2 f %bar 17 a,2 bf %bar 18 bf2 g %bar 19 g2 a4 d, \bar || } } basfigs = \figuremode { \context FiguredBass { \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0) \set figuredBassPlusDirection = #1 %bar 1-2 s1*2 %bar 3 s2 6 %bar 4 s1 %bar 5 6-2 6!2 %bar 6 62 s %bar 7-9 s1*3 %bar 10 6 4 22 _+ }} \score { \staffSoprano \context Lyrics = lmelodySop \lyricmode { \lyricsto melodySop \verse } { \staffCello } \basfigs \midi { } \layout { indent = 2.5\cm \context { \Lyrics \consists Bar_engraver } \context { \Lyrics \consists Separating_line_group_engraver } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Grace Note Stem Length
Hello All, I'm not sure if this is a bug or but I'll try here first. The length of the beamed grace notes in this bar appear to be very elongated is this how they are supposed to appear? Is there a way to shorten the stem length of the beamed grace notes? I've tried \override Beam #'beamed-stem-shorten = '(1.0 0.5 0.25) as in the manual but the details for this function are unclear. I can't work out what the list of numbers relate to. The description in the manual (see below) doesn't give enough information. Do you only put a number for each flag. ie. 2 numbers for two flags in this case. == beamed-stem-shorten (list):'(1.0 0.5 0.25) How much to shorten beamed stems, when their direction is forced. It is a list, since the value is different depending on the number flags/beams. == BTW I've noticed that Under the "TupletBracket" description #'bracket-visibility(to turn on and off the appearance of the bracket)and #'staff-padding = ##f to allow the tuplet numbers to enter the staff seem to be missing. Any help with my other questions appreciated. Regards, Trent Grace note example =% Created on Sun Jan 29 15:05:34 EST 2006\version "2.7.29" #(set-global-staff-size 14) \header {} \include "english.ly" staffViolin = \new Staff {\time 4/4\set Staff.instrument="Violin"\set Staff.midiInstrument="violin"\key d \major\clef treble\relative c'' {\override TupletBracket #'bracket-visibility = ##f\override TupletBracket #'staff-padding = ##f\tupletUp \times 2/3 { cs32[( d e } e16)] \times 2/3 { d32[( e fs } fs16)] cs8[ \grace { a16[ b]} b8] cs16[ fs8 e16~] e16 d8 cs32 b \bar "|."} } \score { \staffViolin\midi {} \layout {}} \paper {raggedright = ##t} ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Putting Lyrics between barlines
I've had another look at this and noticed that the artificats are actually bits of barlines below the lyric line. I'm not sure whether this is a bug or I've done something wrong. Again any help appreciated. Trent I've attached a proper example showing this problem. The .ps/.pdf file produce there shows dots and other artifacts mixed with the lyrics. I've tried both Windows and Linux versions of 2.7.27 both outputs display this problem. Any help appreciated. Trent Good Afternnon again, I'm currently playing around with lyrics trying to get them stay within the barline. I am doing this because sometimes a word or syllable will end up hanging outside the right hand side of a score (still under a note but because the length of the syllable it can sometimes just hang in space.). But anyway the problem is now that I tried to force the syllables within the barI get a lot of artificats (dots short black lines etc.). I've provided the score/layout part of my score. Am I doing anything wrong?? or is it a bug? This is the case with both the current 2.7.27 windows and linux versions. Regards, Trent = \score {\new StaffGroup \staffViolin\staffViolinII\new ChoirStaff \staffAlto \context Lyrics = "lmelodyAlt" \with { \consists "Bar_engraver" } \lyricmode { \lyricsto "melodyAlt" \altolyr }\staffTenor\context Lyrics = "lmelodyTen" \with { \consists "Bar_engraver" } \lyricmode { \lyricsto "melodyTen" \tenolyr }\staffBass\context Lyrics = "lmelodyBas" \with { \consists "Bar_engraver" } \lyricmode { \lyricsto "melodyBas" \basslyr }\new StaffGroup \staffCello \midi {} \layout {\context { \Score \override InstrumentName #'space-alist = #'((left-edge . (extra-space . 2.3))) }\context {\RemoveEmptyStaffContext} \context { \Lyrics \consists "Separating_line_group_engraver" }indent = 2.0\cm}} ___lilypond-user mailing listlilypond-user@gnu.orghttp://lists.gnu.org/mailman/listinfo/lilypond-user % Created on Tue Oct 18 15:06:11 EST 2005 \version 2.7.27 \header { } #(set-global-staff-size 14) %\paper { \include paper.ly } \include english.ly verse= \lyricmode { L'oc -- chio ne -- ro vi -- va -- ce di Fil -- li a te dà pe -- na; di Li -- co -- ri ti pia -- ce il lab -- bro lu -- sin -- ghie -- ro; di Li -- dia il bion -- do cri -- ne al tuo co -- re è ca -- te -- na; in me ti pia -- ce il bri -- o: e con va -- rio de -- si -- o, or per Li -- dia, or per Fil -- li, or per Li -- co -- ri, ed or per me, van -- tan -- do nel tuo se -- no, nu -- drir co -- stan -- ti ar -- do -- ri con vo -- lu -- bi -- le ge -- nio ed in -- con -- stan -- te, sei di tut -- te, o Fi -- le -- no, in -- fi -- do tra -- di -- tor, non fi -- do a -- man -- te. } staffSoprano = \new Staff { \time 4/4 % \set Staff.instrument=Soprano. \set Staff.midiInstrument=choir aahs \key bf \major \clef treble \relative c'' { \context Voice = melodySop { \dynamicUp \autoBeamOff %bar 1 r4 bf8 bf g4 g8 f %bar 2 g8 g r g b b b c %bar 3 c8 c r c16 d ef8 bf r4 %bar 4 r8 bf bf c df df df c %bar 5 af8 af r c a a bf c %bar 6 ef,8 ef r ef16 g ef4 ef8 d %bar 7 d8 d r4 r r8 d' %bar 8 a4 r4 r8 a bf c %bar 9 bf8 bf r4 r a8 g %bar 10 ef'4 ef8 ef cs cs r d16 e %bar 11 g,8 g r a16 e f8 f r4 %bar 12 r8 f bf f g g r16 g c g %bar 13 a4 r8 f c' c c d %bar 14 ef8 ef r ef ef ef ef d %bar 15 b8 b r4 r8 d16 c b8 a16 g %bar 16 c8 c r16 g a bf a8 a r c16 c %bar 17 f4 c8 ef8 d d r d %bar 18 f8 d c d bf4 r %bar 19 g'4 cs,8. d16 d8 a r4 } \bar || } } staffCello = \new Staff { % \set Staff.instrument=Cello \set Staff.midiInstrument=cello \key bf \major \clef bass \relative c { %bar 1 ef1 %bar 2 ef2 d %bar 3 c2 g2~ %bar 4 g2 g %bar 5 c2~c %bar 6 c1 %bar 7 s2 bf %bar 8 fs1 %bar 9 g1 %bar 10 g2 a %bar 11 cs2 d %bar 12 d2 ef4 e %bar 13 f1~ %bar 14 f1 %bar 15 f1 %bar 16 e2 f %bar 17 a,2 bf %bar 18 bf2 g %bar 19 g2 a4 d, \bar || } } basfigs = \figuremode { \context FiguredBass { \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0) \set figuredBassPlusDirection = #1 %bar 1-2 s1*2 %bar 3 s2 6 %bar 4 s1 %bar 5 6-2 6!2 %bar 6 62 s %bar 7-9 s1*3 %bar 10 6 4 22 _+ }} \score { \staffSoprano \context Lyrics = lmelodySop \lyricmode { \lyricsto melodySop \verse } { \staffCello } \basfigs \midi { } \layout { indent = 2.5\cm \context { \Lyrics \consists Bar_engraver } \context { \Lyrics \consists Separating_line_group_engraver } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-user Digest, Vol 38, Issue 17
Hello, I've also found that using Word or Open Office Word is good for entering lyrics. I enter the lyrics in whole words in to the word processor which allows easy entry of accented characters and also gives the better typographical apostrophes and quotes automatically. This can all be spelled checked (in different languages as well if you have the dictionaries installed.) I then paste it back into the editor I'm using Kate - Linx/ Jedit Windows. One thing I have found with Jeditis that if you have other Java programs running / or websites using Java then Jedit can perform sometimes strangely. Personally I think that the editor you use is subjective -- what you feel comfortable with. Providing users withseries of ready to run templates (a whole series of them can be generated quite easily with Jedit -- which is the main reason I use that editor) out of the box, so to speak, would be of more assistance allowing users to enter music right away without wrestling with the manual. Trent - Original Message - From: alanvw To: lilypond-user@gnu.org Cc: [EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 12:54 PM Subject: RE: lilypond-user Digest, Vol 38, Issue 17 Hi! If you're using Windoze, you might want to use Wordpad, instead of Notepad as your editor. I've found on my windoze machine that this is the easiest editor to use -- I think it's part of their distro. I tried installing jEdit, but only got as far as installing java, and haven't been able to install jEdit itself. Meantime, I'm having no problems with Wordpad -- I've put it on the desktop to make it easier -- just slide my .ly file (it has no trouble using the .ly extension) into the icon to open, then slide it into the lilypond icon for compiling. Blessings, Fr. Gordon Gilbert Hi Gordon, you might like to try Notepad++ as your editor as it has more features to assist the process of entering code etc. You can download it from the GNU site. regards Alan. PS I would like to hear from others who use Notepad++ and a comment from Han. --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.371 / Virus Database: 267.14.19/231 - Release Date: 16/01/2006 ___lilypond-user mailing listlilypond-user@gnu.orghttp://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyric Bugs??
I've attached a proper example showing this problem. The .ps/.pdf file produce there shows dots and other artifacts mixed with the lyrics. I've tried both Windows and Linux versions of 2.7.27 both outputs display this problem. Any help appreciated. Trent Good Afternnon again, I'm currently playing around with lyrics trying to get them stay within the barline. I am doing this because sometimes a word or syllable will end up hanging outside the right hand side of a score (still under a note but because the length of the syllable it can sometimes just hang in space.). But anyway the problem is now that I tried to force the syllables within the barI get a lot of artificats (dots short black lines etc.). I've provided the score/layout part of my score. Am I doing anything wrong?? or is it a bug? This is the case with both the current 2.7.27 windows and linux versions. Regards, Trent = \score {\new StaffGroup \staffViolin\staffViolinII\new ChoirStaff \staffAlto \context Lyrics = "lmelodyAlt" \with { \consists "Bar_engraver" } \lyricmode { \lyricsto "melodyAlt" \altolyr }\staffTenor\context Lyrics = "lmelodyTen" \with { \consists "Bar_engraver" } \lyricmode { \lyricsto "melodyTen" \tenolyr }\staffBass\context Lyrics = "lmelodyBas" \with { \consists "Bar_engraver" } \lyricmode { \lyricsto "melodyBas" \basslyr }\new StaffGroup \staffCello \midi {} \layout {\context { \Score \override InstrumentName #'space-alist = #'((left-edge . (extra-space . 2.3))) }\context {\RemoveEmptyStaffContext} \context { \Lyrics \consists "Separating_line_group_engraver" }indent = 2.0\cm}} ___lilypond-user mailing listlilypond-user@gnu.orghttp://lists.gnu.org/mailman/listinfo/lilypond-user % Created on Tue Oct 18 15:06:11 EST 2005 \version 2.7.27 \header { } #(set-global-staff-size 14) %\paper { \include paper.ly } \include english.ly verse= \lyricmode { L'oc -- chio ne -- ro vi -- va -- ce di Fil -- li a te dà pe -- na; di Li -- co -- ri ti pia -- ce il lab -- bro lu -- sin -- ghie -- ro; di Li -- dia il bion -- do cri -- ne al tuo co -- re è ca -- te -- na; in me ti pia -- ce il bri -- o: e con va -- rio de -- si -- o, or per Li -- dia, or per Fil -- li, or per Li -- co -- ri, ed or per me, van -- tan -- do nel tuo se -- no, nu -- drir co -- stan -- ti ar -- do -- ri con vo -- lu -- bi -- le ge -- nio ed in -- con -- stan -- te, sei di tut -- te, o Fi -- le -- no, in -- fi -- do tra -- di -- tor, non fi -- do a -- man -- te. } staffSoprano = \new Staff { \time 4/4 % \set Staff.instrument=Soprano. \set Staff.midiInstrument=choir aahs \key bf \major \clef treble \relative c'' { \context Voice = melodySop { \dynamicUp \autoBeamOff %bar 1 r4 bf8 bf g4 g8 f %bar 2 g8 g r g b b b c %bar 3 c8 c r c16 d ef8 bf r4 %bar 4 r8 bf bf c df df df c %bar 5 af8 af r c a a bf c %bar 6 ef,8 ef r ef16 g ef4 ef8 d %bar 7 d8 d r4 r r8 d' %bar 8 a4 r4 r8 a bf c %bar 9 bf8 bf r4 r a8 g %bar 10 ef'4 ef8 ef cs cs r d16 e %bar 11 g,8 g r a16 e f8 f r4 %bar 12 r8 f bf f g g r16 g c g %bar 13 a4 r8 f c' c c d %bar 14 ef8 ef r ef ef ef ef d %bar 15 b8 b r4 r8 d16 c b8 a16 g %bar 16 c8 c r16 g a bf a8 a r c16 c %bar 17 f4 c8 ef8 d d r d %bar 18 f8 d c d bf4 r %bar 19 g'4 cs,8. d16 d8 a r4 } \bar || } } staffCello = \new Staff { % \set Staff.instrument=Cello \set Staff.midiInstrument=cello \key bf \major \clef bass \relative c { %bar 1 ef1 %bar 2 ef2 d %bar 3 c2 g2~ %bar 4 g2 g %bar 5 c2~c %bar 6 c1 %bar 7 s2 bf %bar 8 fs1 %bar 9 g1 %bar 10 g2 a %bar 11 cs2 d %bar 12 d2 ef4 e %bar 13 f1~ %bar 14 f1 %bar 15 f1 %bar 16 e2 f %bar 17 a,2 bf %bar 18 bf2 g %bar 19 g2 a4 d, \bar || } } basfigs = \figuremode { \context FiguredBass { \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0) \set figuredBassPlusDirection = #1 %bar 1-2 s1*2 %bar 3 s2 6 %bar 4 s1 %bar 5 6-2 6!2 %bar 6 62 s %bar 7-9 s1*3 %bar 10 6 4 22 _+ }} \score { \staffSoprano \context Lyrics = lmelodySop \lyricmode { \lyricsto melodySop \verse } { \staffCello } \basfigs \midi { } \layout { indent = 2.5\cm \context { \Lyrics \consists Bar_engraver } \context { \Lyrics \consists Separating_line_group_engraver } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Lyric Bugs??
Good Afternnon again, I'm currently playing around with lyrics trying to get them stay within the barline. I am doing this because sometimes a word or syllable will end up hanging outside the right hand side of a score (still under a note but because the length of the syllable it can sometimes just hang in space.). But anyway the problem is now that I tried to force the syllables within the barI get a lot of artificats (dots short black lines etc.). I've provided the score/layout part of my score. Am I doing anything wrong?? or is it a bug? This is the case with both the current 2.7.27 windows and linux versions. Regards, Trent = \score {\new StaffGroup \staffViolin\staffViolinII\new ChoirStaff \staffAlto \context Lyrics = "lmelodyAlt" \with { \consists "Bar_engraver" } \lyricmode { \lyricsto "melodyAlt" \altolyr }\staffTenor\context Lyrics = "lmelodyTen" \with { \consists "Bar_engraver" } \lyricmode { \lyricsto "melodyTen" \tenolyr }\staffBass\context Lyrics = "lmelodyBas" \with { \consists "Bar_engraver" } \lyricmode { \lyricsto "melodyBas" \basslyr }\new StaffGroup \staffCello \midi {} \layout {\context { \Score \override InstrumentName #'space-alist = #'((left-edge . (extra-space . 2.3))) }\context {\RemoveEmptyStaffContext} \context { \Lyrics \consists "Separating_line_group_engraver" }indent = 2.0\cm}} ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Layout // Multidocument
Good Afternoon All, I just have a couple ofquestions regarding layout. I know that Lilypond does it best to layout a score. This is well and fine when a score contains enough staff so one staff group fits on each page e.g. a large orchestral score there's no problem the score is laid out over the number of pages to be filled. The problems occur when the number of staff's allowstaff groupsto be laid out on the same page.E.g. a piano piece has only 2 staff treble/bass so that the staves wrap to a new line not a new page until that page is "filled". When mixed with multiple scores each with differing amounts of staves pergroup (ie.2staves to 4 staves back to 3 etc.)then the output produced by lilypond is interesting. I knowthat the original engraving method was to layout all the staves and barlinesbefore any music was entered. This gave the shapeof the score and the best way that a piece could begin at the top of one page and end at the bottom of the last page with everything being spaced out evenly. I assume that the lilypond layout is a mixture of how much music can fit on a line, how many bars there are in total in a piece and then the music is laid out evenly so that each stave line the bars and evenly spread out..so for examplethere does notend up being 11 bars for the first line 5 for the second and 2 for the last line the bars would be spread out as evenly as possible over these 3 lines. After playing around with the new layout routines I found then to be very time consuming to match upthe line breaksandthenstart playing a guessing game with the'tweaks' etc. Would it be possibletell lilypond to spread the total bars and number of lines specified by the user and then evenly spread those lines and staves over the page. I've used PMX / MTX which allows the user to tell the program to spread the music over a number of systems on a number of pages. What I am suggesting is that the user when looking at their layout might suggest that an extra line would better fill out their score. ie. If a score of 2 pages the user notices that there are five lines or music on the first page and 4 on the second they can then ask lilypond to layout out the music over 10 lines / 5 for each page so that the score appears even. Regards, Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Score Layout / Page Breaks etc...
Hello everyone, I'm trying to pull all the various parts of a score and place them into one score. I've been experimenting with many different ways of putting a file together. The one thing I can't seem to do is make a page break. I've followed (I think -- well it looks right) the manual on combining several pieces to make a large one but the "breakbefore = ##t" command is always ignored. If I compile the example in the manual "10.1.13 Creating titles" and add the \header { breakbefore = ##t} to the second pieceit works. Can anyone help am I overlooking anything? Currently running Windows XP / 2.7.26 Thanks in advance. Trent == #(ly:set-option 'point-and-click #f) \include "english.ly" #(set-global-staff-size 16) \paper { bottommargin = 2\cmleftmargin = 2\cmraggedbottom = ##fraggedlastbottom = ##flinewidth = 7\in } \include "01Movt.ly"\include "02Movt.ly"\include "03Movt.ly"%\include "04Movt.ly" \book {\header {title = "Sonata IV"composer = "Thomas Arne"} \score {\new StaffGroup \ViolinIa\ViolinIIa\basfiga \Bassoa\midi {}\header { opus = "Op. 3 No. 2" }\layout {\context { \Score \override InstrumentName #'space-alist = #'((left-edge . (extra-space . 6)))} }} \score {\new StaffGroup \ViolinIb\ViolinIIb\basfigb \Bassob \midi {} \layout { }} \score {\new StaffGroup \ViolinIc\ViolinIIc\basfigc \Bassoc \header { breakbefore = ##t }\midi {}\layout { }} } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Score Layout / Page Breaks etc...
Thanks Graham. I'm looking at the 2.7 documentation online and under 10.1.11 Page breaking the reference to adding piece is not there.. Regards, Trent - Original Message - From: Graham Percival [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Sunday, January 08, 2006 12:46 PM Subject: Re: Score Layout / Page Breaks etc... On 7-Jan-06, at 4:13 AM, Trent Johnston wrote: I'm trying to pull all the various parts of a score and place them into one score. I've been experimenting with many different ways of putting a file together. The one thing I can't seem to do is make a page break. I've followed (I think -- well it looks right) the manual on combining several pieces to make a large one but the breakbefore = ##t command is always ignored. If I compile the example in the manual 10.1.13 Creating titles and add the \header { breakbefore = ##t} to the second piece it works. breakbefore requires a piece field, ie \header{ breakbefore = ##t piece = } I thought that I'd added that to the manual under bugs... if it isn't there, or if it's in the wrong place, could you let me know? Thanks, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: User Experience Engineering
As a regular user of Sibelius and Lilypond I can safely say that Lilypond tends to come out on top. Sibelius while a very beautiful and attractive program GUI wise, it is let down by this very fact! (same as Finale). Sibelius cannot make adjustments on the fly as each note or lyric is inputted. Sibelius is also unable adjust the distance between a lyric and the lowest note or the distance between a dynamic mark and the stave below. All this needs to be done by hand a very tiresome experience when adjusting lengthy scores. The ability to simply type in a code and have the program make all the decisions regarding layout is a great time saver!! Sure there is a steep learning curve to really use the program but that's the same for Sibelius and if you want to be really sadistic there's Finale. When you consider that you pay at least $400-600 for these programs then Lilypond wins out on usability and getting the job done hands down. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Fonts - 2.7.26 / Windows and Fedora
Hi All, I've recently installed 2.7.26 in both Windows and Fedora formats. Both versions seem to use the Feta font for lyrics and titles so I end up with music symbols rather than words. Anyone else have similar problems? It seems the the problem affects both versions. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
\new StaffGroup ---- difficulties...
Hi Again, Am I right in assuming now that when I use the \new StaffGroup that this will only work when there are multiple staves within it. So in the example below I get the bracket around the two violin staves. But the \new StaffGroup just around the the bass instrument partthe command seems to be ignored. This used to work in earlier versions of the 2.7 branch but doesn't seem to work any more. Is there a new command? I can't seem so find it in the manual if there is. \score {\new StaffGroup \ViolinIg\ViolinIIg \Sopranog\context Lyrics = "lmelodySop" \lyricmode { \lyricsto "melodySop" \verseg } \new StaffGroup \Bassig \basfig }} Thanks again for your help Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fonts - 2.7.26 / Windows and Fedora
No problem... Just hadn't seen anyone mention it.. Thanks Trent - Original Message - From: Han-Wen Nienhuys [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Wednesday, January 04, 2006 1:38 AM Subject: Re: Fonts - 2.7.26 / Windows and Fedora Trent Johnston wrote: Hi All, I've recently installed 2.7.26 in both Windows and Fedora formats. Both versions seem to use the Feta font for lyrics and titles so I end up with music symbols rather than words. Anyone else have similar problems? It seems the the problem affects both versions. Yes - this is a problem. We're very busy fixing up the binary releases, please be patient for another few days. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \new StaffGroup ---- difficulties...
That did the trick... Thanks.. Trent - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Wednesday, January 04, 2006 1:38 AM Subject: Re: \new StaffGroup difficulties... I considered the previous behaviour a bug and corrected it, see http://lists.gnu.org/archive/html/bug-lilypond/2005-09/msg00103.html If you want the bracket also for a single stave, just do \layout { ... \context{ \StaffGroup \override SystemStartBracket #'collapse-height = #1 } } /Mats Trent Johnston wrote: Hi Again, Am I right in assuming now that when I use the \new StaffGroup that this will only work when there are multiple staves within it. So in the example below I get the bracket around the two violin staves. But the \new StaffGroup just around the the bass instrument part the command seems to be ignored. This used to work in earlier versions of the 2.7 branch but doesn't seem to work any more. Is there a new command? I can't seem so find it in the manual if there is. \score { \new StaffGroup \ViolinIg \ViolinIIg \Sopranog \context Lyrics = lmelodySop \lyricmode { \lyricsto melodySop \verseg } \new StaffGroup \Bassig \basfig }} Thanks again for your help Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hiding Tuplet Numbers / Lyrics and Barlines and the Use of Opus in the header.
Thanks... I gave it a try... it kinda works.. but works better when I make the lyrics a little smaller. Trent - Original Message - From: Han-Wen Nienhuys [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Wednesday, December 28, 2005 2:01 AM Subject: Re: Hiding Tuplet Numbers / Lyrics and Barlines and the Use of Opus in the header. Trent Johnston wrote: Thanx for the hints. I've successfully hidden the tuplet numbers. The lyrics and barline question is proving troublesome... where do I put the \consists Separating_line_group_engraver \layout { \context { \Lyrics \consists ... } } -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hiding Tuplet Numbers / Lyrics and Barlines and the Use of Opus in the header.
Thanx for the hints. I've successfully hidden the tuplet numbers. The lyrics and barline question is proving troublesome... where do I put the \consists Separating_line_group_engraver in the example below? (taken from the regression tests.) I've put it everywhere with no changes. I also assume once it's working that this needs to be added to all lyric voices in a piece. Any help appreciated. Regards, Trent % % ly snippet: % \renameinput lyrics-bar.ly \version 2.7.13 \header{ texidoc= Adding a @code{Bar_engraver} to the Lyrics context makes sure that lyrics do not collide with barlines. } \layout { raggedright = ##t } \context Staff = foo \with { % \remove Bar_engraver } { b1 \bar |: b1 \bar :| } \context Lyrics \with { \consists Bar_engraver \override BarLine #'bar-size = #4 } \lyricmode { looong1 syllable } \lyrics { no Bar_Engraver_Bar_Engraver_Bar_Engraver } \context Staff = bar \with { % \remove Bar_engraver } { b1 b1 } % % end ly snippet % - Original Message - From: Han-Wen Nienhuys [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Monday, December 26, 2005 11:04 PM Subject: Re: Hiding Tuplet Numbers / Lyrics and Barlines and the Use of Opus in the header. Trent Johnston wrote: My first question is how do you hide a tuplet number ... the old command \override TupletBracket #'number-visibility = ##fdoes not seem to work any more. Nor does \override TupletNumber #'number-visibility = ##f . try TupletNumber #'transparent = ##t My second question is the lyrics-bar.ly in the regression tests doesn't appear to work any more. I want to make the lyrics stay within the bar. Especially at the end of a stave where sometimes a lyric can hang past the barline. you have to do \consists Separating_line_group_engraver for the Lyrics context too. My third question is when using Opus in a header. When I use this command it seems to be repeated at the beginning of each new section when a piece made up of smaller pieces is joined together. Yes, that's default behavior. Perhaps we ought to change it, but for now, the easiest is to tune scoreTitleMarkup in the \paper block see ly/titling-init.ly for inspiration. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Hiding Tuplet Numbers / Lyrics and Barlines and the Use of Opus in the header.
Good Morning, Firstly I would like to thank Han-Wen for his work on putting slurs around tuplet numbers. I also have several questions: My first question is how do you hide a tuplet number ... the old command \override TupletBracket #'number-visibility = ##fdoes not seem to work any more. Nor does \override TupletNumber #'number-visibility = ##f . My second question is the lyrics-bar.ly in the regression tests doesn't appear to work any more. I want to make the lyrics stay within the bar. Especially at the end of a stave where sometimes a lyric can hang past the barline. My third question is when using Opus in a header. When I use this command it seems to be repeated at the beginning of each new section when a piece made up of smaller pieces is joined together. Currently I'm using 2.7.25 - Fedora RPM. Any help appreciated. Regards, Trent Johnston ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Slurs around tuplets / tuplets inside staff - Could this be a sponsored feature??
Good evening all, I suppose this email is directed at Han-Wen since I am looking a possibly sponsoring a new feature. I was wondering whether slurs could be made to encase tuplet numbers. i.e. the slur would go over the number and not through thenumber as it does now... Could the tuplet number be allowed within the staff.The tuplet number would be putjust above the noteheads or beam wherever they are in the staff. Also with the 'staccatissimo' symbol can this be made to act like the staccato mark and be placed just above the notehead or beam wherever it is the staff. Thanks in advance. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
FiguredBass Bug??
Hello again, I am having trouble with figured bass extender lines for some reason in bar 3 the second 5 will not produce an extender line. Is this a bug or am I doing something wrong... it works in the second bar but for some strange reason it stops work in the third bar. BTW: Windows XP / Lilypond 2.7.18 and have include an excerpt from the file... I've also tryed in using the Linux version 2.7.22 and it doesn't work either. Any help appreciated. Trent \version "2.7.18" \header {title = "Sonata III"composer = "Thomas Arne"%opus = "Op. 3 No. 1"} \include "english.ly" #(set-global-staff-size 16) \paper { bottommargin = 2\cmleftmargin = 2\cm%raggedbottom = ##f%raggedlastbottom = ##flinewidth = 7\in%annotatespacing = ##t} staffViolin = \new Staff {\time 3/2\set Staff.instrument= \markup { \center-align { "Violino" \line { "Primo." }}}\set Staff.midiInstrument="violin"\key ef \major\clef treble\relative c'' {%bar 1af2 af'1~%bar 2af2 g4 f g ef%bar 3f2 f, f'~%bar 4f4 g ef d c\trill( bf)%bar 5c4\p( bf) af( g) f\trill( ef)%bar 6d1 bf'2~\pp%bar 7bf2 a1\trill\fermata%bar 8bf1. \bar "|."} }staffViolinII = \new Staff {\set Staff.instrument= \markup { \center-align { "Violino" \line { "Secondo." }}}\set Staff.midiInstrument="violin"\key ef \major\clef treble\relative c'' {%bar 1c2. c4 f( ef)%bar 2d2 ef1~%bar 3ef4 f \grace ef8 d4( c) bf\trill( af)%bar 4g1.%bar 5ef2\p c1%bar 6bf1 ef2~\pp%bar 7ef2 ef1\trill%bar 8d1. } }staffCello = \new Staff {\set Staff.instrument= \markup { \center-align { "Basso." }}\set Staff.midiInstrument="cello"\key ef \major\clef bass\relative c {%\dynamicUp%bar 1g'4 af f ef d c%bar 2bf1.~%bar 3bf1.%bar 4ef1.%bar 5af,1.~\p%bar 6af1 g2%bar 7c1.\fermata%bar 8bf1.} } basfig = \figuremode{\context FiguredBass \override VerticalAxisGroup #'minimum-Y-extent = #'(100 . 0){\override BassFigureAlignment #'stacking-dir = #UP%bar 12 42 54 4 6 5 6%bar 272 \set useBassFigureExtenders = ##t 4 61%bar 35 62 5 32 s2 \set useBassFigureExtenders = ##f%bar 492 8 s%bar 552 6 s%bar 62 41 62%bar 772 6! s%bar 8s1.}} \score {\new StaffGroup \staffViolin\staffViolinII\basfig \staffCello\midi {} \layout {\context { \Score \override InstrumentName #'space-alist = #'((left-edge . (extra-space . 6)))}}} % Created on Mon Oct 17 08:33:58 EST 2005 \version 2.7.18 \header { title = Sonata III composer = Thomas Arne %opus = Op. 3 No. 1 } \include english.ly #(set-global-staff-size 16) \paper { bottommargin = 2\cm leftmargin = 2\cm %raggedbottom = ##f %raggedlastbottom = ##f linewidth = 7\in %annotatespacing = ##t } staffViolin = \new Staff { \time 3/2 \set Staff.instrument= \markup { \center-align { Violino \line { Primo. }}} \set Staff.midiInstrument=violin \key ef \major \clef treble \relative c'' { %bar 1 af2 af'1~ %bar 2 af2 g4 f g ef %bar 3 f2 f, f'~ %bar 4 f4 g ef d c\trill( bf) %bar 5 c4\p( bf) af( g) f\trill( ef) %bar 6 d1 bf'2~\pp %bar 7 bf2 a1\trill\fermata %bar 8 bf1. \bar |. } } staffViolinII = \new Staff { \set Staff.instrument= \markup { \center-align { Violino \line { Secondo. }}} \set Staff.midiInstrument=violin \key ef \major \clef treble \relative c'' { %bar 1 c2. c4 f( ef) %bar 2 d2 ef1~ %bar 3 ef4 f \grace ef8 d4( c) bf\trill( af) %bar 4 g1. %bar 5 ef2\p c1 %bar 6 bf1 ef2~\pp %bar 7 ef2 ef1\trill %bar 8 d1. } } staffCello = \new Staff { \set Staff.instrument= \markup { \center-align { Basso. }} \set Staff.midiInstrument=cello \key ef \major \clef bass \relative c { %\dynamicUp %bar 1 g'4 af f ef d c %bar 2 bf1.~ %bar 3 bf1. %bar 4 ef1. %bar 5 af,1.~\p %bar 6 af1 g2 %bar 7 c1.\fermata %bar 8 bf1. } } basfig = \figuremode { \context FiguredBass \override VerticalAxisGroup #'minimum-Y-extent = #'(100 . 0) { \override BassFigureAlignment #'stacking-dir = #UP %bar 1 2 42 54 4 6 5 6 %bar 2 72 \set useBassFigureExtenders = ##t 4 61 %bar 3 5 62 5 32 s2 \set useBassFigureExtenders = ##f %bar 4 92 8 s %bar 5 52 6 s %bar 6 2 41 62 %bar 7 72 6! s %bar 8 s1. }} \score { \new StaffGroup \staffViolin \staffViolinII \basfig \staffCello \midi { } \layout { %indent = 4.0\cm \context { \Score \override InstrumentName #'space-alist = #'((left-edge . (extra-space . 6)))} %\context { \Staff minimumVerticalExtent = #'(-5 . 5)} } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: FiguredBass Bug??
Thanks!! - Original Message - From: Han-Wen Nienhuys [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Sunday, December 18, 2005 10:20 AM Subject: Re: FiguredBass Bug?? Trent Johnston wrote: Hello again, I am having trouble with figured bass extender lines for some reason in bar 3 the second 5 will not produce an extender line. Is this a bug or am I doing something wrong... it works in the second bar but for some strange reason it stops work in the third bar. The grace note confuses Lily. I've commited a fix in CVS. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurs around tuplets / tuplets inside staff - Could this be a sponsored feature??
Sounds good to me...!! Thanks Trent - Original Message - From: Han-Wen Nienhuys [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Sunday, December 18, 2005 10:31 AM Subject: Re: Slurs around tuplets / tuplets inside staff - Could this be a sponsored feature?? Trent Johnston wrote: Good evening all, I suppose this email is directed at Han-Wen since I am looking a possibly sponsoring a new feature. I was wondering whether slurs could be made to encase tuplet numbers. i.e. the slur would go over the number and not through the number as it does now... Could the tuplet number be allowed within the staff. The tuplet number would be put just above the noteheads or beam wherever they are in the staff. Hi Trent, I can these features for EUR 90. Also with the 'staccatissimo' symbol can this be made to act like the staccato mark and be placed just above the notehead or beam wherever it is the staff. try this \relative { \stemUp b'-\tweak #'quantize-position ##t -| } A recent 2.7 is needed for this. If your version is too old, you can probably get away with \once \override Script #'quantize-position = ##t -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Ossia staves getting them to work....
Hi Everyone... I am typesetting a Violin Sonata by Locatelli and I want to provide a written out stave above the violin showing how the sometimes abbreviated part should be played. I'm trying to use the \stopStaff and \startStaff commands used in the 'Tips and Tricks' section but unfortunately this doesn't seem to work as I get a whole new staff above the violin either with staff lines or no staff lines but with a clef. I've attached a snippet of the code so you can see where I might have gone wrong. Any help appreciated.. Regards, Trent Johnston % Created on Fri Oct 21 12:49:26 EST 2005 \version 2.7.12 #(set-global-staff-size 16) #(set-default-paper-size a4) triplet = \markup { \italic \tiny 3 } sextup = \markup { \italic \tiny 6 } \header { title = Sonata I composer = Pietro Locatelli opus = Op 8 footer = Sonata I } \paper { bottommargin = 3\cm leftmargin = 2\cm raggedbottom = ##f raggedlastbottom = ##f linewidth = 6.8\in } \include english.ly staffViolin = \new Staff { \time 4/4 \set Staff.midiInstrument=violin \key f \major \clef treble \relative c'' { \override TupletBracket #'bracket-visibility = ##f \override TupletBracket #'number-visibility = ##f \override TextScript #'avoid-slur = #'inside %bar 1 c4.^\markup { \large \bold Largo. } f8 e f r16 f,( c' f) %bar 2 d8 c bf4 a r8 a'16( f) %bar 3 g8 c, r f16( d) e8 a, r d16( bf) %bar 4 c8 f, bf16( g') bf,( a) a8( g) r16 c,( g' bf) %bar 5 bf16( g) a8 r16 d,( a' c) c( a) bf8 r16 g( d' f~) %bar 6 f32 e[ g16.] f32[ a16.] g32[ bf16.] a32[ c16] \grace { d16[ c]} b8 g c c, %bar 7 a'16( f) g( e) f4\trill e r8 c %bar 8 d4. c'16( e,) f8 c f4~ %bar 9 f8 e16( d) c8[ e] d[ g,] g'4 %bar 10 g8 f16( e) f8 d ef2~ %bar 11 e8 d16( c) d8 c c4( c16 a') bf,( a) %bar 12 bf2~ bf8 a a16[( bf32 a) e'16 g,] %bar 13 fs8 d g c bf4 a %bar 14 { gs8 e a a' a4( g } \\ {s2. bf,4 } %bar 15 { g'8 f) c8_([ d32 c bf a64 g]) \grace f8 e16 d'_( c e,) f_( c') a_( f) } \\ { a4 s2. } %bar 16 d32( e16 f32) c( c'64 a f32 e64 d) \grace c8 bf8\trill[( bf32 a bf c)] bf8( a) r16 f( c' ef) %bar 17 \once \override TextScript #'avoid-slur = #'outside e16^\markup{ \teeny \flat }( c) d8 r16 g,( d' f) f16( d) e!8 r16 c( g' bf) %bar 18 bf16( a c, a') a( g c, g') g( f bf, f') f(e a, ef') %bar 19 \once \override TextScript #'avoid-slur = #'outside e16^\markup{ \teeny \flat }( d f, d') d( c f, c') b4 a~ %bar 20 a8 bf16( g) \grace a8 g8.\trill f16 e4 c'8 d %bar 21 a4 g f2^\fermata \bar || \break }} Alt = \new Staff \with { \remove Time_signature_engraver fontSize = #-2 \override StaffSymbol #'staff-space = #(magstep -2) firstClef = ##f } \relative c'{ \stopStaff \skip 1*2 \startStaff c32 c'( b c) a-. c( b c) g-. c( b c) f,-. c'( b c) \stopStaff s2 \skip 1*10 \startStaff c32 c'( b c) a-. c( b c) g-. c( b c) f,-. c'( b c) \stopStaff } staffCello = \new Staff { \set Staff.midiInstrument=cello \key f \major \clef bass \relative c { \override TupletBracket #'bracket-visibility = ##f \override TupletBracket #'number-visibility = ##f \override TextScript #'avoid-slur = #'inside %bar 1 f8 g a bf~ bf a16 g a8 f %bar 2 bf8 a g c, f, f'16 g a8 f~ %bar 3 f8 e16 d e8 d8. s16 c bf c8 bf %bar 4 bf8 a g f c4 e' %bar 5 f4 fs4 g bf, %bar 6 c8 d e f~ f e16 d e8 c %bar 7 f8 e d g, c4 c'~ %bar 8 c8 bf16( a) bf4. a16( g) a8 f %bar 9 g8 c, c'4. bf16( a) bf8 g %bar 10 a8 d, d'4. c16( bf) c8 a %bar 11 bf2~ bf8 a16( g) a8 fs %bar 12 g8 f ef d cs cs cs cs %bar 13 c4 b8 ef d4 d'~ %bar 14 d8 c16( b) c8 d e d e e, %bar 15 f8 g a bf~ bf a16 g a8 f %bar 16 bf8 a g c, f4 a, %bar 17 bf4 b c e %bar 18 f4 e d c %bar 19 b a g f %bar 20 bf bf'2 a8 bf %bar 21 c,2 f,^\fermata } } fb = \figuremode { \context FiguredBass { \override FiguredBass.NewBassFigure #'font-size = #-2 \set minimumVerticalExtent = #'(-2.5 . 1.0) %= bar 1 s2 4 28 68 s4 %= bar 2 s4 78 78 s2 %= bar 3 5 24. 58 5 24 s8 58 %= bar 4 5 24 64 6 48 5 38 68 58 %= bar 5 98 88 68 58 98 88 68 58 %= bar 6 916 816 916 816 916 816 916 816 4! 28 68 s4 %= bar 7 s4 716 s 7 _!8 s2 %= bar 8 4 24 38 6 48 5 28 s8 64 %= bar 9 74 34 2 54 64 %= bar 10 74 34 4 2-4 _- 64 %= bar 11 44 34 2 4-4 6+4 %= bar 12 94 54 78 68 s8 6 58 %= bar 13 4+ 24 68 616 s 6 44 3- 54 %= bar 14 6! 4+ 22 6 44 5- 34 %= bar 15 98 78 68 68 4 28 68 s4 %= bar 16 s4 78 78 s4 68 5-8 %= bar 17 98 88 68 58 98 88 68 58 %= bar 18 98 88 64 64 64 %= bar 19 54 64 64 s4 %= bar 20 74 64 2 44
Re: Adding parenthesis around slurs or hairpins or whatever else
Was only meaning old fashioned from a editoral mark point of view... and that Lilypond can render similar now. Parenthesis were easier around slurs and ties for the engraver than to try and keep dashes or dots evenly spaced throughout the slur or tie. As I said previously most editoral (meaning not by the composer) are an extra layer, an editors point of view about how the work should be played. Simply to copy editoral marks from a existing edition because they are there isn't sound scholarship and not best representing the composer as sometimes the added marks are historically incorrect. Baerenreiter has gone back and changed some of it's early 1960's and before editions as these editoral marks are covered in the scores. Since research into performance practice etc.. these marks have been judged doubtful and don't fit within the style of the period. If your a composer you can do whatever you like on your score... but as an editor caution is needed so as to not break copyright since it is a derived work and/or the marks are not historically appropriate. Regards, Trent - Original Message - From: Werner LEMBERG [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; lilypond-user@gnu.org Sent: Thursday, October 06, 2005 3:26 PM Subject: Re: Adding parenthesis around slurs or hairpins or whatever else The method of putting parenthesis around slurs and ties.. is old fashioned... Mhmm, even I as a composer sometimes use parenthesized slurs/dynamic marks/notes, etc. Being `old fashioned' is by no way a reason to not support it. Werner ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Adding parenthesis around slurs or hairpins or whatever else
Hi Gianluca, The method of putting parenthesis around slurs and ties.. is old fashioned... The most acceptable way is to either used a dotted slur or tie or dashed slur or tie.. Lilypond can do these already... \tieDotted \tieDashed and don't forget to use \tieSolid to go back to normal ties. again it's the same with slurs \slurDashed, \slurDotted, \slurSolid to go back to normal slurs... As for the other examples.. be careful when using editoral marks as this is where copyright comes into play. These are the marks that make it a derived work and an editor could hold copyright for that particular version of a piece. Also with editoral marks make sure that they are in style with the period... editors in the late 19th early - 20th century were in a habit of placing performance marks everywhere in both Baroque and Classical scores. These performance marks are usually out of style with current research into baroque and classical and early romantic period, performance practice. Unless you have a good reason for adding the editoral marks I would leave them out .. i.e. make an Urtext version. Regards, Trent - Original Message - From: Gianluca D. [EMAIL PROTECTED] To: lilypond-user@gnu.org Sent: Thursday, October 06, 2005 12:02 AM Subject: Adding parenthesis around slurs or hairpins or whatever else Hi everybody! I'm trying to copy with Lilypond a nice sheet of music showing many editorial parenthesis around slurs, ties and hairpins. In the attachments, you can see two examples of what I'm talking about. Is there anyone who knows a general way to reproduce these expressions, hopefully without dismantling Lilypond bit by bit? :P I've already tried searching the archive and the regression-tests and tips-and-tricks, but with no results, except for that dirty trick to make dynamics surrounded by parenthesis ( which is a very very very dirty trick because such dynamics are actually markups and so they will never align properly with normal dynamics, but with changing all the default dynamic padding properties etc etc... ) Thank you to everyone. Gianluca D'Orazio ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \compressMusic \grace note woes...
Yes it's me again... Still find this tricky... Looks like the grace note problem with beginning a score with a tuplet is also a problem with using \compressMusic I've put in the blank grace notes in the other parts but it doesn't seem to help.. Any help or hints appreciated yet again. Trent... % Created on Thu Sep 29 10:03:17 EST 2005 \version 2.7.10 \header { } #(set-global-staff-size 16) \include english.ly \paper { bottommargin = 3\cm linewidth = 7.12 \in } FluteIb = \new Staff { \time 4/4 \set Staff.timeSignatureFraction = #'(12 . 8) \set Staff.midiInstrument=flute \key bf \major \clef treble \relative c'' \compressMusic #'(2 . 3) { %bar 1 \grace d8 c8.( b16) c8 g'4 ef8 \grace d8 c8.( b16) c8 r r af %bar 2 g4 af'8 g4 f8 ef( d) c r8 r4 %bar 3 R1*12/8 %bar 4 r4. r4. r4 r8 r8 r8 g' %bar 5 \grace { g16([ a] } bf4) c,8 c8. d16 e8 \grace g8 f( e) f r r af \bar |. }} FluteIIb = \new Staff { \time 4/4 \set Staff.timeSignatureFraction = #'(12 . 8) \set Staff.midiInstrument=flute \key bf \major \clef treble \relative c'' \compressMusic #'(2 . 3) { %bar 1-2 \grace s8 R1*12/8*2 %bar 3 \grace d8 c8.( b16) c8 g'4 ef8 \grace d c8.( b16) c8 r r af %bar 4 g4 af'8 g4 f8 ef( d) c r8 r4 %bar 5 e4. g c, r4 r8 \bar |. } } Contb = \new Staff { \time 4/4 \set Staff.midiInstrument=cello \key bf \major \clef bass \relative c' { %bar 1 \grace s8 c4 bf af8 g af c, %bar 2 b8 a b g c d ef d %bar 3 c4 bf af8 g af c %bar 4 b8 a b g c d ef c %bar 5 c'4 bf af8 g af f \bar |. }} %%MOVEMENT II Largo - Andante \score { \new StaffGroup \FluteIb \FluteIIb \Contb \layout {} } - Original Message - From: Trent Johnston [EMAIL PROTECTED] To: Mats Bengtsson [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Tuesday, October 04, 2005 10:24 AM Subject: \compressMusic Thanks Mats... I re-read the section about this and found that the only reference to \times was The latter is done with \compressMusic, which is similar to \times, but does not create a tuplet bracket. To me this doesn't describe very accurately that you use \compressMusic the same way as \times but more that it's function output is similar to \times but no bracket or tuplet number is created. I think the phrase 'similar to' is the problem and may it should be changed to: The latter is done with \compressMusic, which is entered similar to \times, but does not create a tuplet bracket. Even your reply to me makes more sense of the use of the function \compressMusic works the same way as \times, i.e. that it only applies to the music expression after the first argument. In other words, you have to enclose all the music into curly braces. Thanks again, Trent - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Monday, October 03, 2005 10:42 PM Subject: Re: Beginning a piece with tuplets with a grace note or appoggiatura If you read the manual a bit more carefully, you will notice that \compressMusic works the same way as \times, i.e. that it only applies to the music expression after the first argument. In other words, you have to enclose all the music into curly braces. The simplest solution in your example, is to reuse the already existing curly braces that you have for \relative c': staffFlute = \new Staff { \time 4/4 \set Staff.timeSignatureFraction = #'(12 . 8) \set Staff.instrument=Flute \set Staff.midiInstrument=flute \key bf \major \clef treble \relative c'' \compressMusic #'(2 . 3) { %bar 1 \grace d8 c8.( b16) c8 g'4 ef8 \grace d8 c8.( b16) c8 r r af %bar 2 g4 af'8 g4 f8 ef( d) c r8 r4 %bar 3 R1. %bar 4 r4. r4. r4 r8 r8 r8 g' %bar 5 \grace { g16([ a] } bf4) c,8 c8. d16 e8 \grace g8 f( e) f r r af %bar 6 g4 e8 c4 bf'8 af( g) f r4 r8 %bar 7 d4. f4. bf, r4 r8 \bar |. } } (Note also that the full bar rest should read R1. or R1*12/8 since you are in 12/8.) /Mats Trent Johnston wrote: Thanks Mats.. I had a look but following the example this doesn't seem to produce anything except the 12/8 time signature. In fact changing the compress music doesn't seem to have any effect at all. The example from the manual seems to work.. so I can't see what's wrong in the example below... Windows XP Lilypond 2.7.10 % Created on Thu Sep 29 15:45:05 EST 2005 \version 2.7 \header { } \include english.ly staffFlute = \new Staff { \time 4/4 \set Staff.timeSignatureFraction = #'(12 . 8) \compressMusic #'(2 . 3) \set Staff.instrument=Flute \set Staff.midiInstrument=flute \key bf \major \clef treble \relative c'' { %bar 1 \grace d8 c8.( b16) c8 g'4 ef8 \grace d8 c8.( b16
Re: \compressMusic \grace note woes...
Thank you once again Mats... Does this ever come up enough to be documented somwhere?? Trent - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Tuesday, October 04, 2005 9:31 PM Subject: Re: \compressMusic \grace note woes... The grace notes in all the parts need to have the same duration, which means that the one in the beginning of Contb should read \grace s8*2/3 to compensate for the difference in time scales. /Mats Trent Johnston wrote: Yes it's me again... Still find this tricky... Looks like the grace note problem with beginning a score with a tuplet is also a problem with using \compressMusic I've put in the blank grace notes in the other parts but it doesn't seem to help.. Any help or hints appreciated yet again. Trent... % Created on Thu Sep 29 10:03:17 EST 2005 \version 2.7.10 \header { } #(set-global-staff-size 16) \include english.ly \paper { bottommargin = 3\cm linewidth = 7.12 \in } FluteIb = \new Staff { \time 4/4 \set Staff.timeSignatureFraction = #'(12 . 8) \set Staff.midiInstrument=flute \key bf \major \clef treble \relative c'' \compressMusic #'(2 . 3) { %bar 1 \grace d8 c8.( b16) c8 g'4 ef8 \grace d8 c8.( b16) c8 r r af %bar 2 g4 af'8 g4 f8 ef( d) c r8 r4 %bar 3 R1*12/8 %bar 4 r4. r4. r4 r8 r8 r8 g' %bar 5 \grace { g16([ a] } bf4) c,8 c8. d16 e8 \grace g8 f( e) f r r af \bar |. }} FluteIIb = \new Staff { \time 4/4 \set Staff.timeSignatureFraction = #'(12 . 8) \set Staff.midiInstrument=flute \key bf \major \clef treble \relative c'' \compressMusic #'(2 . 3) { %bar 1-2 \grace s8 R1*12/8*2 %bar 3 \grace d8 c8.( b16) c8 g'4 ef8 \grace d c8.( b16) c8 r r af %bar 4 g4 af'8 g4 f8 ef( d) c r8 r4 %bar 5 e4. g c, r4 r8 \bar |. } } Contb = \new Staff { \time 4/4 \set Staff.midiInstrument=cello \key bf \major \clef bass \relative c' { %bar 1 \grace s8 c4 bf af8 g af c, %bar 2 b8 a b g c d ef d %bar 3 c4 bf af8 g af c %bar 4 b8 a b g c d ef c %bar 5 c'4 bf af8 g af f \bar |. }} %%MOVEMENT II Largo - Andante \score { \new StaffGroup \FluteIb \FluteIIb \Contb \layout {} } - Original Message - From: Trent Johnston [EMAIL PROTECTED] To: Mats Bengtsson [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Tuesday, October 04, 2005 10:24 AM Subject: \compressMusic Thanks Mats... I re-read the section about this and found that the only reference to \times was The latter is done with \compressMusic, which is similar to \times, but does not create a tuplet bracket. To me this doesn't describe very accurately that you use \compressMusic the same way as \times but more that it's function output is similar to \times but no bracket or tuplet number is created. I think the phrase 'similar to' is the problem and may it should be changed to: The latter is done with \compressMusic, which is entered similar to \times, but does not create a tuplet bracket. Even your reply to me makes more sense of the use of the function \compressMusic works the same way as \times, i.e. that it only applies to the music expression after the first argument. In other words, you have to enclose all the music into curly braces. Thanks again, Trent - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Monday, October 03, 2005 10:42 PM Subject: Re: Beginning a piece with tuplets with a grace note or appoggiatura If you read the manual a bit more carefully, you will notice that \compressMusic works the same way as \times, i.e. that it only applies to the music expression after the first argument. In other words, you have to enclose all the music into curly braces. The simplest solution in your example, is to reuse the already existing curly braces that you have for \relative c': staffFlute = \new Staff { \time 4/4 \set Staff.timeSignatureFraction = #'(12 . 8) \set Staff.instrument=Flute \set Staff.midiInstrument=flute \key bf \major \clef treble \relative c'' \compressMusic #'(2 . 3) { %bar 1 \grace d8 c8.( b16) c8 g'4 ef8 \grace d8 c8.( b16) c8 r r af %bar 2 g4 af'8 g4 f8 ef( d) c r8 r4 %bar 3 R1. %bar 4 r4. r4. r4 r8 r8 r8 g' %bar 5 \grace { g16([ a] } bf4) c,8 c8. d16 e8 \grace g8 f( e) f r r af %bar 6 g4 e8 c4 bf'8 af( g) f r4 r8 %bar 7 d4. f4. bf, r4 r8 \bar |. } } (Note also that the full bar rest should read R1. or R1*12/8 since you are in 12/8.) /Mats Trent Johnston wrote: Thanks Mats.. I had a look but following the example this doesn't seem to produce anything except
\compressMusic
Thanks Mats... I re-read the section about this and found that the only reference to \times was The latter is done with \compressMusic, which is similar to \times, but does not create a tuplet bracket. To me this doesn't describe very accurately that you use \compressMusic the same way as \times but more that it's function output is similar to \times but no bracket or tuplet number is created. I think the phrase 'similar to' is the problem and may it should be changed to: The latter is done with \compressMusic, which is entered similar to \times, but does not create a tuplet bracket. Even your reply to me makes more sense of the use of the function \compressMusic works the same way as \times, i.e. that it only applies to the music expression after the first argument. In other words, you have to enclose all the music into curly braces. Thanks again, Trent - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Monday, October 03, 2005 10:42 PM Subject: Re: Beginning a piece with tuplets with a grace note or appoggiatura If you read the manual a bit more carefully, you will notice that \compressMusic works the same way as \times, i.e. that it only applies to the music expression after the first argument. In other words, you have to enclose all the music into curly braces. The simplest solution in your example, is to reuse the already existing curly braces that you have for \relative c': staffFlute = \new Staff { \time 4/4 \set Staff.timeSignatureFraction = #'(12 . 8) \set Staff.instrument=Flute \set Staff.midiInstrument=flute \key bf \major \clef treble \relative c'' \compressMusic #'(2 . 3) { %bar 1 \grace d8 c8.( b16) c8 g'4 ef8 \grace d8 c8.( b16) c8 r r af %bar 2 g4 af'8 g4 f8 ef( d) c r8 r4 %bar 3 R1. %bar 4 r4. r4. r4 r8 r8 r8 g' %bar 5 \grace { g16([ a] } bf4) c,8 c8. d16 e8 \grace g8 f( e) f r r af %bar 6 g4 e8 c4 bf'8 af( g) f r4 r8 %bar 7 d4. f4. bf, r4 r8 \bar |. } } (Note also that the full bar rest should read R1. or R1*12/8 since you are in 12/8.) /Mats Trent Johnston wrote: Thanks Mats.. I had a look but following the example this doesn't seem to produce anything except the 12/8 time signature. In fact changing the compress music doesn't seem to have any effect at all. The example from the manual seems to work.. so I can't see what's wrong in the example below... Windows XP Lilypond 2.7.10 % Created on Thu Sep 29 15:45:05 EST 2005 \version 2.7 \header { } \include english.ly staffFlute = \new Staff { \time 4/4 \set Staff.timeSignatureFraction = #'(12 . 8) \compressMusic #'(2 . 3) \set Staff.instrument=Flute \set Staff.midiInstrument=flute \key bf \major \clef treble \relative c'' { %bar 1 \grace d8 c8.( b16) c8 g'4 ef8 \grace d8 c8.( b16) c8 r r af %bar 2 g4 af'8 g4 f8 ef( d) c r8 r4 %bar 3 R1 %bar 4 r4. r4. r4 r8 r8 r8 g' %bar 5 \grace { g16([ a] } bf4) c,8 c8. d16 e8 \grace g8 f( e) f r r af %bar 6 g4 e8 c4 bf'8 af( g) f r4 r8 %bar 7 d4. f4. bf, r4 r8 \bar |. } } \score { \staffFlute \midi { } \layout { } } \paper { } - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Friday, September 30, 2005 12:26 AM Subject: Re: Beginning a piece with tuplets with a grace note or appoggiatura In addition to Erik's answer, you may want to take a look at section 8.4.1 Polymetric notation in the manual. /Mats Trent Johnston wrote: Hello again, I'm currently typesetting a trio sonata by Locatelli... In one movement the the two flutes are in 12/8 time while the Continuo part is in Common time. This is ok I thought I can set the flute parts in tuplets and fake 12/8 time-signature at the beginning... since essentially this is what the composer is doing setting the time signature as 12/8 so the players wouldn't be overwhelmed with triplets everywhere. But there is a problem with beginning the first note of the system with either a grace note or appoggiatura. I get the first bar with the grace or appogiatura but then there seems to be a restart of the systems and the resest of the music continues. I get the same problem if change the notes to triplet groups as well i.e. \times 2/3 { } etc. Platform: Windows XP Lilypond Version: 2.7.10 Is this a bug? or Is there something I need to do? Regards, Trent The code is here... == % Created on Thu Sep 29 18:19:46 EST 2005 \version 2.7 tsMarkup = \markup { \override #'(baseline-skip . 0) \number {\center-align { 12 8 } } } \header { } \include english.ly staffFlute = \new Staff { \time 4/4 \set Staff.instrument=Flute \set
Tuplets and Script Positions
Hi All, I sent this email last week and got no response so I guess it got caught up in the general flow of emails. Specifically I'm looking for solutions to the two problems below if lilypond can't do them now I'd be looking a sponsoring these improvements to lilypond. Thanks Trent == Just a few questions. I know that \override TextScript #'avoid-slur = #'insidewill make a slur go around text and \override Script #'avoid-slur = #'insidewill make a slur go around scripts is there a way that a slur can go around a tuplet number using the same override?? Also could there be an override to allow the tuplet digit to be displayed within the staff. Sometimes the digit when placed above staff looks strange especially when the notes are around the middle to bottom of the staff (see triplet.png getting the slur around the tuplet digit was faked by stopping the tuplet digit from being printed and using a markup to create the 3 and using the TextScript override as above.) I know that they can be changed invidually but this would take forever and a day to individually adjust all the tuplets. If these cannot be done in Lilypond at the moment could this be programmed into Lilypond? Also using staccatissimo -| this script is always placed above or below the stave but this should be like the regular staccato and go just above the note whether it be within the stave or not. Could this be fixed as it looks weird ( see staccatissimo.png example please note that it's the position of the staccatissimo's that always the slur to be wrapped with the slur ). Regards, Trent Johnston staccatissimo.png Description: PNG image Triplet.png Description: PNG image ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Point and Click Hints
Hi all me yet again, Can any one enlighten me on how point and click is supposed to work. I'm trying to get jEdit up and running with point and click.. but all that I get is a redirection to an old installation of jEdit (well it actually involves the old version of Java). My question is how does the 'invoke editor' get the address for the editor... ?? I've been all through my registery settings changing all settings that pointed to starting jEdit with the old version Java and removed any dead entries involving the previous Java installation... My problem is that when using point and click it is still pulling up the previous startup method for jEdit.. which involved problems with spaces in files names namely c:\program files\ I've set LYEDITOR to jEdit but beyond that I don't seem to know how this gets the address of the program to start jEdit. Or is it possible to put the address of the editor straight into lilypond-invoke-editor.scm and how would this be done? Or am I barking up the wrong tree. Thanks in advance.. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Beginning a piece with tuplets with a grace note or appoggiatura
Hello again, I'm currently typesetting a trio sonata by Locatelli... In one movement the the two flutes are in 12/8 time while the Continuo part is in Common time. This is ok I thought I can set the flute parts intuplets and fake12/8 time-signature at the beginning... since essentially this is what the composer is doing setting the time signature as 12/8 so the players wouldn'tbe overwhelmed with triplets everywhere. But there is a problem with beginning the first note of the system with either a grace note or appoggiatura. I get the first bar with the grace or appogiatura but then there seems to be a restart of the systems and the resest of the music continues. I get the same problem if change the notes to triplet groups as well i.e. \times 2/3 { } etc. Platform: Windows XP Lilypond Version: 2.7.10 Is this a bug? or Is there something I need to do? Regards, Trent The code is here... == % Created on Thu Sep 29 18:19:46 EST 2005\version "2.7"tsMarkup = \markup { \override #'(baseline-skip . 0) \number {\center-align { "12" "8" } } }\header {} \include "english.ly" staffFlute = \new Staff {\time 4/4\set Staff.instrument="Flute"\set Staff.midiInstrument="flute"\key bf \major\clef treble\relative c'' { %bar 1\appoggiatura d8 \times 8/12 { c8.( b16) c8 g'4 ef8 \appoggiatura d c8.( b16) c8 r8 r af }%bar 2\times 8/12 { g4 af'8 g4 f8 ef( d) c r8 r4 }%bar 3R1 \bar "|."} }staffFluteII = \new Staff {\time 4/4\set Staff.instrument="Flute"\set Staff.midiInstrument="flute"\key bf \major\clef treble\relative c'' {bar 1-2R1*2%bar 3\times 8/12 { \appoggiatura d8 c8.( b16) c8 g'4 ef8 \appoggiatura d c8.( b16) c8 r8 r af } \bar "|."} }staffCello = \new Staff {\time 4/4\set Staff.instrument="Cello"\set Staff.midiInstrument="cello"\key bf \major\clef bass\relative c' {%bar 1c4 bf af8 g af c,%bar 2b8 a b g c d ef d%bar 3c4 bf af8 g af c\bar "|."} } \score {\staffFlute\staffFluteII\staffCello\midi {} \layout {}} \paper {} ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Tuplets and Script Positions
Hi All, Just a few questions. I know that \override TextScript #'avoid-slur = #'insidewill make a slur go around text and \override Script #'avoid-slur = #'insidewill make a slur go around scripts is there a way that a slur can go around a tuplet number using the same override?? Also could there be an override to allow the tuplet digit to be displayed within the staff. Sometimes the digit when placed above staff looks strange especially when the notes are around the middle to bottom of the staff (see triplet.png getting the slur around the tuplet digit was faked by stopping the tuplet digit from being printed and using a markup to create the 3 and using the TextScript override as above.) I know that they can be changed invidually but this would take forever and a day to individually adjust all the tuplets. If these cannot be done in Lilypond at the moment could this be programmed into Lilypond? Also using staccatissimo -| this script is always placed above or below the stave but this should be like the regular staccato and go just above the note whether it be within the stave or not. Could this be fixed as it looks weird ( see staccatissimo.png example please note that it's the position of the staccatissimo's that always the slur to be wrapped with the slur ). Regards, Trent Johnston staccatissimo.png Description: PNG image Triplet.png Description: PNG image ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Beginning a piece with tuplets with a grace note or appoggiatura
Thanks Mats.. I had a look but following the example this doesn't seem to produce anything except the 12/8 time signature. In fact changing the compress music doesn't seem to have any effect at all. The example from the manual seems to work.. so I can't see what's wrong in the example below... Windows XP Lilypond 2.7.10 % Created on Thu Sep 29 15:45:05 EST 2005 \version 2.7 \header { } \include english.ly staffFlute = \new Staff { \time 4/4 \set Staff.timeSignatureFraction = #'(12 . 8) \compressMusic #'(2 . 3) \set Staff.instrument=Flute \set Staff.midiInstrument=flute \key bf \major \clef treble \relative c'' { %bar 1 \grace d8 c8.( b16) c8 g'4 ef8 \grace d8 c8.( b16) c8 r r af %bar 2 g4 af'8 g4 f8 ef( d) c r8 r4 %bar 3 R1 %bar 4 r4. r4. r4 r8 r8 r8 g' %bar 5 \grace { g16([ a] } bf4) c,8 c8. d16 e8 \grace g8 f( e) f r r af %bar 6 g4 e8 c4 bf'8 af( g) f r4 r8 %bar 7 d4. f4. bf, r4 r8 \bar |. } } \score { \staffFlute \midi { } \layout { } } \paper { } - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Friday, September 30, 2005 12:26 AM Subject: Re: Beginning a piece with tuplets with a grace note or appoggiatura In addition to Erik's answer, you may want to take a look at section 8.4.1 Polymetric notation in the manual. /Mats Trent Johnston wrote: Hello again, I'm currently typesetting a trio sonata by Locatelli... In one movement the the two flutes are in 12/8 time while the Continuo part is in Common time. This is ok I thought I can set the flute parts in tuplets and fake 12/8 time-signature at the beginning... since essentially this is what the composer is doing setting the time signature as 12/8 so the players wouldn't be overwhelmed with triplets everywhere. But there is a problem with beginning the first note of the system with either a grace note or appoggiatura. I get the first bar with the grace or appogiatura but then there seems to be a restart of the systems and the resest of the music continues. I get the same problem if change the notes to triplet groups as well i.e. \times 2/3 { } etc. Platform: Windows XP Lilypond Version: 2.7.10 Is this a bug? or Is there something I need to do? Regards, Trent The code is here... == % Created on Thu Sep 29 18:19:46 EST 2005 \version 2.7 tsMarkup = \markup { \override #'(baseline-skip . 0) \number {\center-align { 12 8 } } } \header { } \include english.ly staffFlute = \new Staff { \time 4/4 \set Staff.instrument=Flute \set Staff.midiInstrument=flute \key bf \major \clef treble \relative c'' { %bar 1 \appoggiatura d8 \times 8/12 { c8.( b16) c8 g'4 ef8 \appoggiatura d c8.( b16) c8 r8 r af } %bar 2 \times 8/12 { g4 af'8 g4 f8 ef( d) c r8 r4 } %bar 3 R1 \bar |. } } staffFluteII = \new Staff { \time 4/4 \set Staff.instrument=Flute \set Staff.midiInstrument=flute \key bf \major \clef treble \relative c'' { bar 1-2 R1*2 %bar 3 \times 8/12 { \appoggiatura d8 c8.( b16) c8 g'4 ef8 \appoggiatura d c8.( b16) c8 r8 r af } \bar |. } } staffCello = \new Staff { \time 4/4 \set Staff.instrument=Cello \set Staff.midiInstrument=cello \key bf \major \clef bass \relative c' { %bar 1 c4 bf af8 g af c, %bar 2 b8 a b g c d ef d %bar 3 c4 bf af8 g af c \bar |. } } \score { \staffFlute \staffFluteII \staffCello \midi { } \layout { } } \paper { } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Viewing Postscript Files in Windows..
Hi All, A quick update on viewing postscript files in windows... especially gsview... Thanks to the response by Peter Mongensen I was able to view the postscript file he created... this was created with Linux.Debian Sarge+DeMuDiLilypond 2.4.5tetex-bin 2.0.2-30gs 8.01-5 This means that there is some problem with how the postscript file is created under the windows version of Lilypond... since postscript files produced by a Linux version of Lilypond can be viewed with gsview under windows... Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates
Thanks for that Peter... It's been on the list for a while... the windows native version produces a postscript file that can't be viewed for some reason... The postscript files produced with the linux version of Lilypond can be viewed... Obviously it's bug with Lilypond and not with the windows version.. thanks... Hmm... I haven't done anything to make it work. I normally only use PS, since it takess too long (IMHO) to run Lilypond when also producing PDF. Yes .. PDF is very cumbersome ... so that's why I'm trying to use the postscript files but they don't seem to work in the windows version... Thanks again.. Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: templates
Hi Peter, The postscript file you have with your ly file on the website.. was that produced with a linux or windows native or windows cgwin version of lilypond?? This is quite off topic to what you originally sent the email for... but windows users have had trouble opening postscript files under gsview but for some reason the postscript file you had on your website seemed to work.. any help with the lilypond platform would be of great help... Thanks.. Trent - Original Message - From: Peter Mogensen [EMAIL PROTECTED] To: lilypond-user@gnu.org Sent: Tuesday, September 20, 2005 8:37 PM Subject: Re: templates Peter Mogensen wrote: Thanks... I was wondering. Since there's many ways to do things in Lilypond, there's also many ways to do them wrong. Are there some kind of review process when I add to the repository? Anyway... He're an example (I think there's no copyright problems with this one): http://bigendian.dk/lily/ Please tell me if you think it's good enough to upload. As I said, it's not perfect. When I look at the source, I can think of the following problem/hacks: * Ties are not continued into second endings * There's no support for flams, ruffs and rolls in Lilypond (slip=flam) * I had to make ghost gracenotes in the other instruments because of flams in the snare voice * It's difficult to get rehearsalmarks to not collide with volta and other text like Fine and metronome indications. * I was lucky with this piece that tremolo strokes were not needed on any beamed notes (to simulate ruffs and rolls). Beames would have caused them to align to the beam, producing wrong results. * When you create a \book, you can change the piece text for each piece, but you can't change the instrument. So I used piece * The final partial meassure has a r4, which doesn't show. The reason is that I had to use R4 to get the staff hidden when empty. (look the last measure of the drumStaff) * When using a one-line staff, rehearsalmarks think they can move closer to the remaining line... and then they collide with the bars :( * Bar numbers collide with StaffGroup braces. * I had to do a wierd hack to the last full measure of the snare and explicitly write the beam. Else Lilypond would place to stroked 8ths instead... Don't know why. ... oh.. .and don't mind the MIDI-info. It's probably broken. Peter ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: PDF Viewing / Updating a score
Thanks Mats, For testing this also.. thought I was going a bit mad... I use Musixtex as well (although working hard to migrate over to lilypond) and I have no trouble with using gsview to look at the postscript files produced. As I've said before there doesn't seem to be any other postcript viewer for windows. I see your point Mats if ghostscript is used to create the postscript file and gsview uses the very same ghostscript to display files I don't no the reason for these errors. I thought of posting a message to the creators of gsview with a sample .ps file maybe they could diagnose why their software is unable to display these ps files. Strange, too I can use ps2pdf in version 8.00 of the Ghostscript already installed on my system which works perfectly so the ps file isn't corrupt in any way. So I suppose the fault seems to rest with gsview. Should I contact the creators of gsview? Has anyone else had success in viewing a ps file? Trent - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Trent J [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; lilypond-user@gnu.org; lilypond devel lilypond-devel@gnu.org Sent: Wednesday, September 14, 2005 6:09 PM Subject: Re: PDF Viewing / Updating a score In Linux, you can view the Postscript file if you use a recent version of Ghostscript (note that GSView in Windows and gv and ghostview in Linux just are interface programs that internally use ghostscript to actually show the postscript). So, I tried to upgrade ghostscript (and the corresponding GSView) in Windows, but it didn't help. I tried both AFPL version 8.51 and GPL version 8.15 but both give error messages (included below). Finally, I tried to let GSView use the ghostscript included in the LilyPond package, but still got similar error messages. I don't realize why one and the same ghostscript version works well in Linux but fails in Windows for the LilyPond generated PS files. Can anyone provide a hint? The error message when using AFPL version 8.51 was: GSview 4.7 2005-03-26 Unknown in Comments section at line 7: %%DocumentSuppliedResources: font CenturySchL-Bold Unknown in Comments section at line 8: %%DocumentSuppliedResources: font CenturySchL-Roma Unknown in Comments section at line 9: %%DocumentSuppliedResources: font PFAEmmentaler-20 Unknown in Prolog section at line 14: %%Title: CenturySchL-Bold Unknown in Prolog section at line 15: %%CreationDate: Fri Nov 22 10:58:25 2002 Unknown in Prolog section at line 16: %%Creator: frob Unknown in Prolog section at line 17: %%DocumentSuppliedResources: font CenturySchL-Bold Unknown in Prolog section at line 27: %%EndComments Unknown in Prolog section at line 3699: %%Title: CenturySchL-Roma Unknown in Prolog section at line 3700: %%CreationDate: Fri Nov 22 10:58:15 2002 Unknown in Prolog section at line 3701: %%Creator: frob Unknown in Prolog section at line 3702: %%DocumentSuppliedResources: font CenturySchL-Roma Unknown in Prolog section at line 3712: %%EndComments Unknown in Prolog section at line 7319: %%DocumentSuppliedResources: font PFAEmmentaler-20 Unknown in Prolog section at line 7320: %%Title: PFAEmmentaler-20 Unknown in Prolog section at line 7321: %%Version: @TOPLEVEL_VERSION@ Unknown in Prolog section at line 7322: %%CreationDate: Thu Aug 4 21:39:14 2005 Unknown in Prolog section at line 7323: %%Creator: Jan Nieuwenhuizen,,, Unknown in Prolog section at line 7332: %%EndComments DSC Information At line 7347: /Notice (This font is distributed under the GNU General Public License. As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause th Lines in DSC documents must be shorter than 255 characters. AFPL Ghostscript 8.51 (2005-04-18) Copyright (C) 2005 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Displaying DSC file C:/Documents and Settings/mabe/Desktop/a.ps Displaying page 1 %GSVIEW_PDF_MARK: /ANN /Subtype /Link /Action -dict- /Border Error: /typecheck in --length-- Operand stack: --nostringval-- Rect --nostringval-- --nostringval-- 0.0 0.0 0.0 4.98132 0 0 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- 1 --nostringval-- %repeat_continue --nostringval-- Dictionary stack: --dict:1129/1686(ro)(G)-- --dict:0/20(G)-- --dict:125/200(L)-- Current
\Overrides tweaks - changes etc...
Hello all again, I've been using lilypond on and off for a couple of years now. Usually I get turned off when trying to tweak a score to make the output better. I've read the manual dozens of times for each version.. but always get tripped up with the \overrides \contexts etc... I'm a musician not a computer programmer so navigating and working how to put things together at times overloads my brain and I tend to stopusing Lilypond for a while. Has anyone figured all the backend stuff?? and could pass on some hints.. or could there be more detailed examples in the manual... I've cannibalised a lot of scores from Mutopia but can only use the collective wisdom for current lilypond version For instance currently I want a brace around the 3 staves in my current score... I've used the StaffGroup in the score section which gave me the brace no problems ... but now I'm trying to have each staff with its own bar line (ie. not one single barline running from the top of the score to the bottom)at the same timekeeping the brace. Can anyone help... and try if possible to talk me around the logic how to get to the workaround?? I think that the output to lilypond is great but unfortunately the 'languageprogramming' the user has to can be very confusing at times. Helping to clear this up would get a lot more people on board with using the program. If people wanted to send me there \overrides tweaks etc .. with an explanation I wouldn't mind creating a list or document with them. This would providean easy reference and allow people to be able to piece together their own changes to suit needs as they occur. Regards, Trent BTW... Yes Han-Wen I've been saving my pennies so hopefully soon I can sponsor the improvements to the Figured Bass System. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fw: PDF Viewing / Updating a score
Thanks Henry.. Obvisously that gsview has some problems... Has anyone else gotten gsview to work with the lilypond .ps output? Or does any one else use another postscript viewer in windows?? Trent - Original Message - From: Henrik Frisk [EMAIL PROTECTED] To: Trent Johnston [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Tuesday, September 13, 2005 6:31 PM Subject: Re: Fw: PDF Viewing / Updating a score Trent Johnston [EMAIL PROTECTED] wrote: Hello everyone, Firstly the required out the way: Platform: Windows XP Lilypond Version: 2.7.8 I have been using the new version(s) of Lilypond for a while and I find the us of PDF file a little annoying especially when fine tuning a score. You have to remember to close out of the current document before you run lilypond as the current scheme is to delete the old pdf and make the new one. So if you fail to close the score your viewing in the PDF viewer before you compile you receive an error message which means going through the sequence again remembering this time to close the document in the pdf viewer. While this is only a minor quible it becomes more noticeable when editing a large score i.e. across many pages. To make a simple adjustment say the padding of slur or dynamic this becomes frustrating as you need to close down the pdf file, make the adjustment and then manually load newly generated pdf back into the pdf viewer and then try and find the page and staff to where you made the adjustment. This can be very annoying and slow down the work rate especially when you are making guesses to padding / layout / making lyric corrections etc. I know in the older versions of lilypond a dvi viewer could be used as a fast an easy way to make changes. Since the newer versions only produce a ps file and .pdf file this it out of the question. I tried using 'gsview' with the .ps file but gsview complains that there too many errors and won't display the music. I use gsview all the time especially when entering music with PMX/Musixtex and can have the .ps loaded all the time and when I update the score it refreshes the screen with the changes made while retaining the same view of the same page I was working on. This makes fine tuning scores much simplier and time efficient. You can still generate dvi output by using the tex backend. I believe the command is lilypond --backend=tex --dvi but check the manual. Is there a way to use the .ps file with gsview I know I won't be able to use point and click but since I usually number all the bars in a score I don't see this as problem and if things get a little tricky I can always go back to the pdf score to find the offending line. I don't use point and click as it is but simply use the pointer to give me the line number to go back to file to find. I don't use Windows so I can't tell why you're having problems with the ps output, but I use gv 3.6.1 which works fine with both the ps and pdf output of LilyPond. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Fw: PDF Viewing / Updating a score
Hello everyone, Firstly the required out the way: Platform: Windows XP Lilypond Version: 2.7.8 I have been using the new version(s) of Lilypond for a while and I find the us of PDF file a little annoying especially when fine tuning a score. You have to remember to close out of the current document before you run lilypond as the current scheme is to delete the old pdf and make the new one. So if you fail to close the score yourviewing inthe PDF viewer before you compile you receive an error message which meansgoing through the sequence again remembering this time to close the document in the pdf viewer. While this is only a minor quible it becomes more noticeable when editing a large score i.e. across many pages. To make a simple adjustment say the padding of slur or dynamic this becomes frustrating as you need toclose down the pdffile, makethe adjustment and then manuallyload newly generated pdfback into the pdf viewer and then try and find the page and staff to where you made the adjustment. This can be very annoying and slow down the work rate especially when you are making guesses to padding /layout / making lyric correctionsetc. I know in the older versions of lilypond a dvi viewer could be used as a fast an easy way to make changes. Since the newer versions only producea .ps file and .pdf file this it out of the question. I tried using'gsview' with the .ps file but gsview complains that theretoo many errors and won't display the music. I usegsview all the time especially when entering music with PMX/Musixtex and can have the .ps loaded all the time and when I update the score it refreshes the screen with the changes made whileretaining the same view of the same page I was working on. This makes fine tuning scores much simplier and time efficient. Is there a way to use the .ps file with gsview I know I won't be able to use point and click but since I usually number all the bars in a score I don't see this as problem and if things get a little tricky I can always go back to the pdf score to find the offending line. I don't use point and click as it is but simply use the pointer to give me the line number to go back to file to find. Any hints /help appreciated. Regards, Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
TimeSignature Markups / Tuplet formatting...
Hi All, I finally figured how to use markup's to overwrite an exisiting time signature.. I realised I asked this question a while ago and found the code again. \time 8/4\override Staff.TimeSignature #'print-function = #Text_item::print\override Staff.TimeSignature #'text = \markup {\number \column "4" "4" } I've used this code but have found that there is gap between the vertical stacks so that the bottom number starts printing in the f space ( in a treble stave ). Is there a way to adjust the second number so that it prints directly under the first like a normal time signature? BTW: Using XP / Using Lilypond 2.7.7 Also while I have your attention... in most baroque scores when a triplet symbol placed on the notehead side of the triplet/tuplet groupwith a slur placed over the topencasing the the tuplet symbol. I've tried to do this in Lilypond but the slur always cuts through the tuplet symbol. Is there an easy way to adjust the slur higher at both ends so that the tuplet symbol is not cut through? (Please see attached graphic for details ) Thanks in advance for any help Trent triplet.png Description: PNG image ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user