Re: is it possible to glue two staff's together? (hymn solution)
Op donderdag 4 oktober 2007, schreef Ted Walther: In hymn typesetting, the refrain is nicely centered between the bass and treble clefs. If it were possible to glue two staffs together, end to end, that would solve the problem. I could attach the refrain lyrics to the second staff, and put the verses of the hymn into the first staff. Maybe the new spacing techniques in 2.11 could allow for lyrics to be centered between staffs? e.g: have 5 Lyrics contexts: verse 1 verse 2 skips refrain verse 3 verse 4 and have verse 2 and 3 just close to each other because there is are only skips in the refrain lyrics. I didn't try. when there is an odd number of verses, the refrain lyrics could be added to the middle verse. with best regards, Wilbert Berendsen -- http://www.wilbertberendsen.nl/ You must be the change you wish to see in the world. -- Mahatma Gandi ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: C Cleft
2007/10/5, Tim Litwiller [EMAIL PROTECTED]: If I make a song with \clef c a flat on the top staff the notes are 1/2 line off from where they are expected to be. The notes in C clef are 1/2 line off from where they are expected to be in G clef, but they are exactly where they are expected to be in C clef. -- Francisco Vila. Badajoz (Spain) http://www.paconet.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP: new display for warnings
Quoting Graham Percival [EMAIL PROTECTED]: Mark Knoop wrote: Yes, it's a good idea. +1 to N.B. instead of Warning though. Everybody likes N.B., so I'm happy to change that... but does everybody understand the term? I'm thinking of somebody with a shaky understanding of English. Of course, having it in the box kind-of already says warning, so I'm relatively confident that we can change this without introducing confusion. How about Note: ? /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP: pitches rewrite
On 04.10.2007 (19:09), Graham Percival wrote: First-come, first-serve. Let us know if you claim a task, so that nobody else starts working on the same thing. Files in the normal places. I'll have a look at it. eyolf -- Luke blows up his first TIE fighter. Luke Skywalker: Got 'im! I got 'im! Han Solo: Great, kid! Don't get cocky! ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP: new display for warnings
Am Freitag, 5. Oktober 2007 schrieb Valentin Villenave: Isn't N.B. Italian (Nota Bene)? In a musical world where everybody uses Italian terms such as Allegro, Vivo etc., it's pretty convenient Actually, it's Latin... Italian musical terms are things that people are accustomed to, but I'm not so sure N.B. is that common with lots of people. Note: sound much more down-to-earth. Cheers, Reinhold -- -- Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung Jung-Wien, http://www.jung-wien.at/ ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: multiple tempi in a single piece
Kieran Coulter wrote on 05 October 2007 03:38 Thanks for the tip Trevor, I will try it out! So just to be totally sure, 1) you add the tempo map, killing time with s's, as its own voice? No, although that might work. I've attached the main file of the example I posted (ChoirPiano.ly), which contains the structure and is quite well commented, as this was a learning exercise for me, and all the files which are included. As it stands all these need to be placed in a folder called includes if you want to compile it. (Mats: any hints on improving this are welcome!) You'll see the Tempi.ly file contains a number of variables like TempiA below all gathered together in a variable Tempi. (This is simply for ease of editing - one tempi variable to a page of the score I was transcribing.) Then, as you can see, I simply include \Tempi in the soprano voice in parallel with the soprano music. 2) Do you still need to add the global default tempo in the MIDI block if you do this? Yes, I believe this is still necessary - it was in LP 2.8. tempoWholesPerMinute = #(ly:make-moment 72 4) Or rather simpler: \tempo 4=72 3) If so, and you also explicitly add a tempo in measure 1 of your tempo voice, and they are different, does it produce an error or does one override the other? I've not tried making them different, but I would guess the one in the measure would prevail. Thanks again! Kieran Trevor Quoting Trevor Daniels [EMAIL PROTECTED]: Hi Kieran The following shows how I change the Midi tempi - you can easily adapt this example to do what you want: TempiA= { \override Score.MetronomeMark #'padding = #3.0 %Page 1 System 1 Bar 1 \tempo 2=80 s1 | s | s | s | s | s | s | %Page 1 System 2 Bar 8 % the following tempo changes implement the fermata in bar 9 \override Score.MetronomeMark #'transparent = ##t % hide the marks s1 | \tempo 2=50 s | \tempo 2=80 s | s1 | s | s | s | s | s | %Page 1 System 3 Bar 17 % the following tempo changes implement the fermata in bar 18 s1 | \tempo 2=50 s | \tempo 2=80 s | s | s | s | s | s | } I simply insert this in parallel with the music. Trevor -Original Message- From: [EMAIL PROTECTED] [mailto:lilypond-user-bounces+t.daniels=treda.co.u [EMAIL PROTECTED] On Behalf Of Kieran Coulter Sent: 10 July 2007 01:51 To: lilypond-user@gnu.org Subject: multiple tempi in a single piece Hi everyone, I am sure there is a way to do this, but maybe someone here has already faced this challenge and can help show me how it can be done. My example is the Bach Sinfonia from Partita #2. It has a Grave, Andante, and Allegro, but the MIDI file plays all the sections at the same speed, 120bpm. I am looking for a way to modify the .ly file so that it generats a MIDI file that plays the Grave at say 40bpm, the Andante at 80bpm, and only the Allegro at 120bpm. I would greatly appreciate any help to discover how to do this! Thanks, Kieran Coulter ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user \version 2.8.6 % O Sacrum Convivium % Farrant % Choir and Piano Reduction Score \include mydefs.ly \include includes/Tempi.ly \include includes/Breaks-5.ly \include includes/Soprano.ly \include includes/Alto.ly \include includes/Tenor.ly \include includes/Bass.ly #(set-global-staff-size 18) % set overall size of score layout (for 4 pages) %#(set-global-staff-size 14.5) % set overall size of score layout (for 3 pages) globalStaff={ \key g \major \time 2/2 \lyricSize #2.0 % increase size of lyrics } \header { title = \markup { \fontsize #4 O Sacrum Convivium } subtitle = subsubtitle = composer = Music by Richard Farrant (c1530-1580) poet = Words by Thomas Aquinas (1225-1274) tagline = Music engraving by Trevor Daniels using LilyPond 2.8.6 - www.lilypond.org } \markup { \fill-line { \hspace #1.0 \column { \line { } \line { } \line { } \line { } \line { } \line {O sacrum convivium } \line {in quo Christus sumitur, } \line {recolitur memoria passionis ejus, } \line {mens impletur gratia, } \line {futurae gloriae nobis pignus datur. } \line {Amen.} \line { } \line { } \line { } \line { } } \hspace #2 \column { \line { } \line { } \line { } \line { } \line { } \line { \italic {O sacred feast} } \line { \italic {in which Christ is received,} } \line { \italic {the memory of His Passion is renewed,} } \line { \italic {the mind is filled with grace, } } \line { \italic {and a pledge of future glory is given to us. }} \line { \italic {Amen.}} \line { } \line { } \line { } \line { } } \hspace #1.0 } } \score { % start staves \new ChoirStaff % the actions defined at this level are in parallel \new
Re: GDP: new display for warnings
2007/10/5, Mats Bengtsson [EMAIL PROTECTED]: Quoting Graham Percival [EMAIL PROTECTED]: Everybody likes N.B., so I'm happy to change that... but does everybody understand the term? I'm thinking of somebody with a shaky understanding of English. How about Note: ? Isn't N.B. Italian (Nota Bene)? In a musical world where everybody uses Italian terms such as Allegro, Vivo etc., it's pretty convenient :) (I like Note. too, though) Regards, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Long flat / sharp trills and trills ending at barline
Dear All, I was searching for a method to add a flat / sharp sign to a long trill. I found a a couple of tips [1, 2] that helped me along but there was a small drawback, though. The custom TextSpanner / TrillSpanner aligns the wavy line at the bottom of the trill sign (see 2nd bar) or at the bottom of the flat / sharp sign (3rd bar). I tried to change the #'bound-details #'left #'Y parameter of the TextSpanner but I was only able to make the wavy line to ascend or descend. :-) I wonder if there are any other parameters, which would help adjusting the position of the wavy line. Another thing... It also seems quite difficult to make a long trill to stop at the bar line (not stopping at a note). It is possible but it requires some tweaking (using another voice with hidden notes). I tried to stop the spanner at a silent pause but the wavy line disappeared completely and the trill sign was thrown to the left margin. I found a property for the custom TextSpanner: #'to-barline = ##t but it doesn't seen to do the trick. Some sort of padding was proposed in [3] although tried to address a slightly different problem. I must admit that I'm not sure if any of the phenomenon I described are bugs. I was just experimenting with the trill thingie and came up with some problems. It also is possible that some of the trill markings are not valid or recommended but I have seen then used in some examples. Best Regards, Risto [1] http://www.nabble.com/Sharp-and-flat-trills-tf2148083.html#a5931684 [2] http://www.mail-archive.com/lilypond-user@gnu.org/msg07544.html [3] http://www.nabble.com/Barcheck-and-TrillSpan-t4383866.html#a12497316 http://www.nabble.com/file/p13060032/trb.png Snippet in PNG format. % Snippet start % \version 2.11.34 trstyle = { \override TextSpanner #'style = #'trill \override TextSpanner #'edge-height = #'(0 . 1) } trflatstartI = { \trstyle \override TextSpanner #'bound-details #'left #'text = \markup{\musicglyph #scripts.trill \raise #1.0 \smaller \flat} } trflatstartII = { \trstyle \override TextSpanner #'bound-details #'left #'text = \markup{ \column{\tiny\smaller\smaller\smaller{\flat} {\musicglyph #scripts.trill}}} } one = \relative c' { f2.. \startTrillSpan f8 \stopTrillSpan | \trflatstartI f2..^\startTextSpan f8 \stopTextSpan | \trflatstartII f2..^\startTextSpan f8 \stopTextSpan | f1 | f1\startTrillSpan {s2... s16 \stopTrillSpan} } two = \relative c' { s1 | s | s | \hideNotes f2... \startTrillSpan f16 \stopTrillSpan \unHideNotes | s1 } \new Staff { \one \two } % Snippet end % -- View this message in context: http://www.nabble.com/Long-flat---sharp-trills-and-trills-ending-at-barline-tf4575448.html#a13060032 Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
OO and MIDI support
On 5 Oct 2007, at 01:20, Graham Percival wrote: Midi support in lilypond is quite limited, and this is not likely to change in the near future. Might it possible to handle this by OO (object orientation)? The idea is that if objects can be defined (in pseudocode) turn := default: ... midi: ... short: ... quintuplet: ... ; And one then is able to write code like d8^\turn[staff-short,midi-quintuplet] if one in this position wants the turn to not be the defaults, but then the staff to be written in the short form, and MIDI be written as a quintuplets. The principle is quite general. So it might be useful for handing a number of problems. The enhanced MIDI support would emerge as a byproduct of this OO support. Hans Åberg ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Long flat / sharp trills and trills ending at barline
On 10/5/07, Risto Vääräniemi [EMAIL PROTECTED] wrote: Dear All, I was searching for a method to add a flat / sharp sign to a long trill. I found a a couple of tips [1, 2] that helped me along but there was a small drawback, though. The custom TextSpanner / TrillSpanner aligns the wavy line at the bottom of the trill sign (see 2nd bar) or at the bottom of the flat / sharp sign (3rd bar). I tried to change the #'bound-details #'left #'Y parameter of the TextSpanner but I was only able to make the wavy line to ascend or descend. :-) I wonder if there are any other parameters, which would help adjusting the position of the wavy line. Another thing... It also seems quite difficult to make a long trill to stop at the bar line (not stopping at a note). It is possible but it requires some tweaking (using another voice with hidden notes). I tried to stop the spanner at a silent pause but the wavy line disappeared completely and the trill sign was thrown to the left margin. I found a property for the custom TextSpanner: #'to-barline = ##t but it doesn't seen to do the trick. Some sort of padding was proposed in [3] although tried to address a slightly different problem. I must admit that I'm not sure if any of the phenomenon I described are bugs. I was just experimenting with the trill thingie and came up with some problems. It also is possible that some of the trill markings are not valid or recommended but I have seen then used in some examples. Best Regards, Risto [1] http://www.nabble.com/Sharp-and-flat-trills-tf2148083.html#a5931684 [2] http://www.mail-archive.com/lilypond-user@gnu.org/msg07544.html [3] http://www.nabble.com/Barcheck-and-TrillSpan-t4383866.html#a12497316 http://www.nabble.com/file/p13060032/trb.png Snippet in PNG format. % Snippet start % \version 2.11.34 trstyle = { \override TextSpanner #'style = #'trill \override TextSpanner #'edge-height = #'(0 . 1) } trflatstartI = { \trstyle \override TextSpanner #'bound-details #'left #'text = \markup{\musicglyph #scripts.trill \raise #1.0 \smaller \flat} } trflatstartII = { \trstyle \override TextSpanner #'bound-details #'left #'text = \markup{ \column{\tiny\smaller\smaller\smaller{\flat} {\musicglyph #scripts.trill}}} } one = \relative c' { f2.. \startTrillSpan f8 \stopTrillSpan | \trflatstartI f2..^\startTextSpan f8 \stopTextSpan | \trflatstartII f2..^\startTextSpan f8 \stopTextSpan | f1 | f1\startTrillSpan {s2... s16 \stopTrillSpan} } two = \relative c' { s1 | s | s | \hideNotes f2... \startTrillSpan f16 \stopTrillSpan \unHideNotes | s1 } \new Staff { \one \two } % Snippet end % Hi Risto, (One of) the settings you seek is ... \override TextSpanner #'bound-details #'left #'stencil-align-dir-y = #CENTER ... which you can, for example, include in your definition of trflatstartI. Like this: New snippet % \version 2.11.34 trstyle = { \override TextSpanner #'style = #'trill \override TextSpanner #'edge-height = #'(0 . 1) } trflatstartI = { \trstyle \override TextSpanner #'bound-details #'left #'stencil-align-dir-y = #CENTER \override TextSpanner #'bound-details #'left #'text = \markup{\musicglyph #scripts.trill \raise #1.0 \smaller \flat} } trflatstartII = { \trstyle \override TextSpanner #'bound-details #'left #'text = \markup{ \column{\tiny\smaller\smaller\smaller{\flat} {\musicglyph #scripts.trill}}} } one = \relative c' { f2.. \startTrillSpan f8 \stopTrillSpan | \trflatstartI f2..^\startTextSpan f8 \stopTextSpan | } \new Staff { \one } % END % Other goodies like this can be found under 8.1.2 Trill and line spanners in the 2.11 version of the manual. As far as #'to-barline = ##t ... I think that that *was*, in fact, supposed to work in precisely this case, so that may be a bug; but I'll have to run a few more testfiles first. And, as a sidenote, the layered voices technique you're using is pretty common tool for many of us on the list; even though it looks like a pain when you first stumble upon it, the technique works surprisingly well. Two notes, though: skips like s4 do behave differently that (invisible) notes and rests for spacing purposes, as you're discovering; that's perfectly normal (but I think there may be a PaperColumn override to make skips behave the same way in the spacing problem; again I need to check). Also, you can get rid of the clashing note columns (which are quite common when you use hidden voices) with the incantation ... \override NoteColumn #'ignore-collision = ##t ... which you can either set globally for an entire voice or score (or call selectively). I haven't adjusted the y alignment on trflatstartII; if you figure it out could you post back to the list?
Re: GDP: new display for warnings
On 4 Oct 2007, at 02:07, Graham Percival wrote: [Please note that non-members are not allowed to post on LilyPond- Devel, so cc-ing it will not result in replies.] What do you think of the new warnings in the manual? In the Learning Manual, see 2.1.1 Compiling a file 2.3.1 Music expressions explained As always, look at the new docs on http://opihi.cs.uvic.ca/~gperciva/ I find them quite useful in another project I maintain; should we use them throughout the LilyPond docs? I think you might more words, depending on the contents. A thesaurus gives synonyms of essential: indispensable, necessary, requisite, vital, important; fundamental, constitutional, characteristic, inherent, basic, intrinsic; absolute, cardinal, principal, leading, main, capital; substantial, material ... And one can look at other words, note, to get more inputs. Looking at http://opihi.cs.uvic.ca/~gperciva/lilypond/Documentation/user/ lilypond-learning/Compiling-a-file.html#Compiling-a-file it says: Warning: Every piece of LilyPond input needs to have { curly braces } placed around the input. The braces should also be surrounded by a space unless they are at the beginning or end of a line to avoid ambiguities. These may be omitted in some examples in this manual, but don't forget them in your own music! In addition, LilyPond input is case sensitive. {c d e } is valid input; { C D E } will produce an error message. In a compiler, a warning is an intermediate between an error, i.e., something causing the compile to fail, and info(rmation). For example, a construct that may cause compilation error in a later version, or something that may cause the running code to fail, even though the construct is legal. Now, the first part is really a requirement: Every part of LilyPond input must have curly braces placed around the input - or else the compile fails. So it is not merely a warning - it is a requirement. Also, I changed piece to part, following Church's book on lambda calculus, which has a technical definition of a part of a lambda expression. It seems me, you have a similar syntactically closed part in mind here. The part These may be omitted in some examples in this manual Is it the braces or spaces that may be omitted? - Though English implies it referes to the braces, it is somewhat unclear. And if they are omitted in the manual, is it because there is an error in the manual or what? Just some inputs. :-) Hans Åberg ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP: pitches rewrite
Eyolf Østrem wrote: On 04.10.2007 (19:09), Graham Percival wrote: First-come, first-serve. Let us know if you claim a task, so that nobody else starts working on the same thing. Files in the normal places. I'll have a look at it. Great! The whole thing, or just certain items on the list? We can split the tasks up, and I'd rather have Pitches done sooner rather than later. More people working on the chapter at once will get it finished faster, as long as everybody just works on the specific tasks they signed up for. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP: pitches rewrite
On 05.10.2007 (11:35), Graham Percival wrote: Eyolf Østrem wrote: I'll have a look at it. Great! The whole thing, or just certain items on the list? We can split the tasks up, and I'd rather have Pitches done sooner rather than later. More people working on the chapter at once will get it finished faster, as long as everybody just works on the specific tasks they signed up for. From your former list, I've done the formatting part, and made a suggestion for the f/fis warning thing. If someone else wants to work on any of the rewrite parts, that's fine with me. I'll be doing some more on it later this evening, but I'm not sure exactly when I'll have a file ready to send. Asap, though. e -- For a moment, nothing happened. Then, after a second or so, nothing continued to happen. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP: pitches rewrite
Eyolf Østrem wrote: On 05.10.2007 (11:35), Graham Percival wrote: From your former list, I've done the formatting part, and made a suggestion for the f/fis warning thing. If someone else wants to work on any of the rewrite parts, that's fine with me. I'll be doing some more on it later this evening, but I'm not sure exactly when I'll have a file ready to send. Asap, though. OK. Trevor Daniels: start the rewrite for clef and octave check. Eyolf: do whatever you want, but don't touch those two portions of the file. Whoever finishes their jobs first will then be assigned the transposition portions. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Lilypond Slow on Vista (2)
Dear list, I recently posted a notion of my problem, that lilypond is very slow on Vista. Lilypond seems to build the font cache everytime it starts. Why is this and how could one build a permanent font cache under Vista, that could be referred to by lilypond on every start? Yours sincerely David Gippner ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Improved Lilypond syntax highlighting (KDE)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Freitag, 5. Oktober 2007 schrieb Wilbert Berendsen: please find attached a massively improved Lilypond highlighting definition file for KDE's Katepart, based on Andrea Primiani's first version. Great! Thanks for you work. Improvements: - better recognition of being inside lyrics, drums, notes, chords and markup sections Whis has the huge improvement that now code folding (i.e. opening/closing whole sections) works just fine, which didn't work at all in the lilypond.xml provided with 3.5.x. This makes working on large lilypond files much easier now! This could be committed to KDE's katepart/syntax tree, but it's been a long time i did some commits, zo i don't exactly know how/where to do it. :) Check out the kdelibs module from subversion, replace lilypond.xml (in kate/syntax/data/lilypond.xml) and commit it with svn commit -m your commit message Of course, you should get the permission/comments from the kate developers (who you cc'ed anyway, so I suppose they can help you better than some random KDE hacker like me). They will also be able to help you with putting the new version on the KDE servers so that the new version can be downloaded/updated in Kate's configure dialog in older versions, too. Cc: to lilypond-user for anyone using Lilypond+KDE who might find it useful Thanks a lot! Cheers, Reinhold - -- - -- Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung Jung-Wien, http://www.jung-wien.at/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHBrTkTqjEwhXvPN0RAnMRAJ4hi77xeEKUb3k6KnNuUInxkiAcFACgvtNq 0PRlmWq/f30bx8gTBdzrCII= =qWoo -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Simple lilypond processing display of output files (log, pdf, png) under Windows
Click with your mouse or use a key shortcut to * *run* (compile) *Lilypond *files * *view *the *log * * *view *the *output *(pdf or png) * *convert** *to a newer *version* * *convert **midi *to *Lilypond * A small batch file that allows to do this is attached. This works with Notepad++ as well as with PSPad and generally should work with any editor that provides the possibility to invoke commands with parameters. I have been using this under Windows XP HomeEdition and maybe someone likes to use it, too. Any comments are welcome. Luc ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user