Re: Feature request: attach notation elements to barlines
On Jan 14, 2008 6:23 PM, Mats Bengtsson wrote: I didn't manage to make it work with TextSpanners, though. :-( Trevor filed a bug report for this in October. http://code.google.com/p/lilypond/issues/detail?id=493start=100 -Risto ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
left justifying text over multimeasure rests
In 2.11.37 it seems that trying to get left aligned text over multimeasure rests only works under some conditions. In the following example only the first case is left aligned. This is what I am observing in my real examples. \version 2.11.37 \new Staff { \set Score.skipBars = ##t s4*0^first R1*2 s4*0^second R1*2 } Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Feature request: attach notation elements to barlines
Hi all, On Mon, 2008-01-14 at 11:46 -0600, Trevor Bača wrote: Would anyone else ever find this sort of thing useful? Or am I uniquely obsessed with outlining the full durations of individual notes in this way? I would also find this useful. It would be great for a 'box notation' style of composing too, where for example you specify the dynamics, but leave the choice of notes to the performer. I also think it just makes for more elegant looking lilypond code to have \1 rather than s4\ s4 s4 s4\!. BTW, I look forward to the hearing the results of your tests on 'to-barline etc. I wasn't aware of these until now. Very useful! Jamie -- www.postlude.co.uk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: left justifying text over multimeasure rests
Paul Release 11 differs from release 10 in this respect. IIRC release 10 expanded a bar to accommodate text attached to a skip note in a multi-measure rest bar. The R11 NR now says at the end of 1.2.2, Writing rests: Text attached to a multi-measure rest will be centered above or below it. Long text attached in this way does not cause the measure to expand, and may collide with text in adjacent measures. Long text is better attached to a zero-length skip note preceding the rest, preceded by \fatText (turn off again with \emptyText), since this will cause the measure to expand to accommodate the length of the text. Text attached to a skip note in this way is left-aligned to the position where the note would be placed in the bar, and placed above the bar count numeral, but because the bar length is determined by the length of the text, the text will appear to be centered. If two (or more) texts are attached to skip notes in a bar the bar length is determined by the longer text, and the shorter text is then clearly left-aligned, as shown in the second bar above. If the shorter text of two marks is short enough to fit it will be placed alongside and to the left of the bar count numeral. Does this explain your problem? Trevor D -Original Message- From: [EMAIL PROTECTED] [mailto:lilypond-user-bounces+t.daniels=treda.co.u [EMAIL PROTECTED] Behalf Of Paul Scott Sent: 15 January 2008 09:08 To: lilypond-user@gnu.org Subject: left justifying text over multimeasure rests In 2.11.37 it seems that trying to get left aligned text over multimeasure rests only works under some conditions. In the following example only the first case is left aligned. This is what I am observing in my real examples. \version 2.11.37 \new Staff { \set Score.skipBars = ##t s4*0^first R1*2 s4*0^second R1*2 } Paul Scott ___ 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: left justifying text over multimeasure rests
If you replace the spacing note with an ordinary note, you see better what happens. If you then keep playing around with the example, you will notice that it's the *0 that's the culprit. If you use s4^... instead, the result looks much better. Of course, you don't get this artificially large horizontal spacing in any real world score and as soon as the spacing gets more tight, you won't notice the problem even with your original approach. I'm sure you know about the alternative to use text marks attached to the bar lines. /Mats Paul Scott wrote: In 2.11.37 it seems that trying to get left aligned text over multimeasure rests only works under some conditions. In the following example only the first case is left aligned. This is what I am observing in my real examples. \version 2.11.37 \new Staff { \set Score.skipBars = ##t s4*0^first R1*2 s4*0^second R1*2 } Paul Scott ___ 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
Copyright symbol
Hi! I tried putting a copyright symbol in one of my pieces, and it wouldn't put it there. The only thing I was able to use was the parentheses with a 'c'. Any time I tried to use '(c)', it wouldn't show it, and the compile was full of errors. Any ideas (not too geeky ones, that is ...)? Windoze XP Pro, jEdit 4.3 pre9, 2.11.32. When I compiled, it returned the following: (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed programming error: FT_Get_Glyph_Name () error: invalid argument continuing, cross fingers programming error: Glyph has no name, but font supports glyph naming. Skipping glyph U+, file c:/Program Files/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf continuing, cross fingers programming error: FT_Get_Glyph_Name () error: invalid argument continuing, cross fingers programming error: Glyph has no name, but font supports glyph naming. Skipping glyph U+, file c:/Program Files/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf continuing, cross fingers programming error: FT_Get_Glyph_Name () error: invalid argument continuing, cross fingers programming error: Glyph has no name, but font supports glyph naming. Skipping glyph U+, file c:/Program Files/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf continuing, cross fingers programming error: FT_Get_Glyph_Name () error: invalid argument continuing, cross fingers programming error: Glyph has no name, but font supports glyph naming. Skipping glyph U+, file c:/Program Files/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf continuing, cross fingers programming error:
Re: Copyright symbol
Make sure that you save your .ly file using UTF-8 encoding. /Mats Father Gordon Gilbert wrote: Hi! I tried putting a copyright symbol in one of my pieces, and it wouldn't put it there. The only thing I was able to use was the parentheses with a 'c'. Any time I tried to use '©', it wouldn't show it, and the compile was full of errors. Any ideas (not too geeky ones, that is ...)? Windoze XP Pro, jEdit 4.3 pre9, 2.11.32. When I compiled, it returned the following: (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe :3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed (lilypond.exe:3728): Pango-CRITICAL **: pango_coverage_get: assertion `index = 0' failed programming error: FT_Get_Glyph_Name () error: invalid argument continuing, cross fingers programming error: Glyph has no name, but font supports glyph naming. Skipping glyph U+, file c:/Program Files/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf continuing, cross fingers programming error: FT_Get_Glyph_Name () error: invalid argument continuing, cross fingers programming error: Glyph has no name, but font supports glyph naming. Skipping glyph U+, file c:/Program Files/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf continuing, cross fingers programming error: FT_Get_Glyph_Name () error: invalid argument continuing, cross fingers programming error: Glyph has no name, but font supports glyph naming. Skipping glyph U+, file c:/Program Files/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL- Roma.otf continuing, cross fingers programming error: FT_Get_Glyph_Name () error: invalid argument continuing, cross fingers programming error: Glyph has no name, but font supports glyph naming. Skipping glyph
Re: Copyright symbol
2008/1/15, Mats Bengtsson [EMAIL PROTECTED]: Make sure that you save your .ly file using UTF-8 encoding. There has been a major bug concerning fonts on Windows; you might want to try with the last development version instead (2.11.37) Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP: NR 1.1 Pitches
Rune Zedeler wrote: Citat Mats Bengtsson [EMAIL PROTECTED]: - In Accidentals, I wouldn't refer to Nordic and Germanic languages, since both Swedish, Danish, Norwegian and German use -iss and -ess (admittedly the same concept, but a different spelling). This is not correct. In Danish we do not use -ss at all. That would be a spelling mistake. We only use the -is and -es endings (except for es and as, ofcourse). I am pretty convinced that the same is true for German. Sorry about the confusion. Using Google, I found some Danish and German sites that spelled fiss dur, for example. I should know enough logic to realize that a few such examples do not prove that the correct spelling is not fis dur. Of course you are right that the correct spelling is -is and -es both in German and Danish. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi in windows
2008/1/15, Mats Bengtsson [EMAIL PROTECTED]: Exactly what is your question? Yes, midi2ly is available in the LilyPond installation on Windows just as well as on all other operating systems, I suspect he wants to use direct MIDI input (e.g. using a keyboard). I don't know about any Windows version of rumor or whatever. However, if you're looking for a free (as in freedom) program that can handle basic score editing and MIDI, you might want to try http://jazzplusplus.sourceforge.net/ Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi in windows
Exactly what is your question? Yes, midi2ly is available in the LilyPond installation on Windows just as well as on all other operating systems, even though there is some strange bug that appears on certain MIDI files, which seems to be Windows specific. However, if your question is if there are free sequencers that can be used to obtain MIDI files, then the answer is probably yes but I don't know anything about them. /Mats Stefan Thomas wrote: Dear Lilypond-users, is there a programm which can be used in windows for midi-input in Lilypond? If there is one, I would be very interested. Stefan ___ 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: Copyright symbol
Valentin Villenave wrote: 2008/1/15, Mats Bengtsson [EMAIL PROTECTED]: Make sure that you save your .ly file using UTF-8 encoding. There has been a major bug concerning fonts on Windows; you might want to try with the last development version instead (2.11.37) That shouldn't be an issue with version 2.11.32. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: a Lilypond-LaTeX font question
Having tried all of the options suggested, I've come to something, first, in TeXShop, using Lilypond-LaTeX mode, on a file saved in UTF8 encoding, this code parses and translates correctly, with the errors stated %!TEX TS-program = Lilypond-LaTeX %!TEX encoding = UTF8 \documentclass[a4paper, 12pt]{article} \usepackage[german]{babel} \begin{document} Obwohl Lilypond und LaTeX verstehen und unterst\utzen UTF-8 encodieren, es gibt bei der Benutzung von $\backslash$begin\{lilypond \} einige Probleme. Zum Beispiel, Hier can man W\orter mit Umlauten benutzen. \begin{lilypond} \version 2.11.37 \markup {Hier aber kommen umlautete Wörter leider nicht.} \end{lilypond} \end{document} This generates the same file %!TEX TS-program = Lilypond-LaTeX %!TEX encoding = UTF8 \documentclass[a4paper, 12pt]{article} \usepackage[utf8]{inputenc} \begin{document} Obwohl Lilypond und LaTeX verstehen und unterst\utzen UTF-8 encodieren, es gibt bei der Benutzung von $\backslash$begin\{lilypond \} einige Probleme. Zum Beispiel, Hier can man W\orter mit Umlauten benutzen. \begin{lilypond} \version 2.11.37 \markup {Hier aber kommen umlautete Wörter leider nicht.} \end{lilypond} \end{document} In fact, the only way I can get the umlauts in my lilypond files to show up in an included LaTeX file is to use LaTeX (not Lilypond- LaTeX) and to use the \lilypondfile{ly} option. Does anyone else have this same result? Is it just me? Am I missing something? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Music out of fragments attaching lyrics to them
One solution is to first setup all the contexts placed as you want them but filled with just a spacing note (to keep them alive long enough until the real contents appears) and then fill them with the actual music and lyrics. Such a solution is for example included as the first SATB template in the manual. In your example, just replace your current ChoirStaff with \new ChoirStaff % Setup the contexts: \new Staff = solo { s1 } \new Lyrics= sololyrics { s1 } \new Staff = upper { s1 } \new Lyrics= upperlyrics { s1 } \new Lyrics= lowerlyrics { s1 } \new Staff = lower { s1 } % Fill them with some content: \context Staff = solo { \time 2/4 \solo } \context Lyrics = sololyrics \lyricsto solo { Tral lal lal lah! } % accompaniment {\time 2/4 \dComb \aComb } \context Lyrics = upperlyrics \lyricsto sa { la -- lah lah la -- lah lah } \context Lyrics = lowerlyrics \lyricsto b { Tral tral tral tral } Another solution is simply to remove the \time 2/4 in % accompaniment {\time 2/4 \dComb \aComb } in your original code, since the reason that the alignAboveContext settings don't work is that the referenced context doesn't exist when the Lyrics context is created, it's not created until after the \time 2/4 command has been taken care of. (It's enough to have a single time signature statement for a full score, in contrast to key signatures which have to be specified for each and every Staff). /Mats Risto Vääräniemi wrote: Dear All, I'm trying to create a piece of music where accompaniment consists of one measure fragments and they are then combined into a sequence. That seems doable. However, I would have to add lyrics to these fragments and I'm sort of stuck. \addlyrics and \lyricsto seem to produce undesired results. Is this possible or do I have to write the text in one block and just attach it to the complete sequence? Even that poses some problems. If I attach the lyrics inside the ChoirStaff they are placed on top of the fragments. Below you can find a two measure example and two images – current output and the output I would like to get. -Risto % Start % \version 2.11.37 \paper {ragged-right = ##t} % upper staff of fragment one dUp = \relative c' \context Voice = sa { r8 f a16 f a r8 f a } % upper staff of fragment two aUp = \relative c' \context Voice = sa { r8 e g16 e g r8 e g } % lower staff of fragment one dLow = \relative c \context Voice = b { d8 r a r } % lower staff of fragment two aLow = \relative c \context Voice = b { a8 r c r } % fragment one dComb = \context Staff = upper {\dUp} % Text here? \context Staff = lower {\clef bass \dLow} % Text here? Preferably above the music. %fragment two aComb = \context Staff = upper {\aUp} % Text here? \context Staff = lower {\clef bass \aLow} % Text here? Preferably above the music. solo = \relative c' \context Voice = solo { d4 d a a } \new ChoirStaff \new Staff = solo { \time 2/4 \solo } \new Lyrics \lyricsto solo { Tral lal lal lah! } % accompaniment {\time 2/4 \dComb \aComb } \new Lyrics \with {alignBelowContext=upper} \lyricsto sa { la -- lah lah la -- lah lah } \new Lyrics \with {alignAboveContext=lower} \lyricsto b { Tral tral tral tral } %%% END %% ___ 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: Smarter cross-staff Beam 'positions?
Try Rune's suggestion from http://lists.gnu.org/archive/html/lilypond-user/2007-12/msg00147.html which solves the same problem without any need to manually specify the position. /Mats Trevor Bača wrote: Hi, Anyone have a smarter way to set Beam #'positions in the third beam grouping below? %%% BEGIN %%% \version 2.11.34 \new PianoStaff \new Staff = RH { \time 9/8 \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-10 . 20) \override Stem #'direction = #down \override Beam #'positions = #'(-7 . -7) c'8 [ c'8 \once \override Stem #'direction = #up \change Staff = LH c'8 ] \change Staff = RH c'8 [ \once \override Stem #'direction = #up \change Staff = LH c'8 \change Staff = RH c'8 ] \once \override Beam #'positions = #'(7.5 . 7.5) \change Staff = LH \once \override Stem #'direction = #up c'8 [ \change Staff = RH c'8 c'8 ] } \new Staff = LH { \clef bass s1 * 9/8 } %%% END %%% The output is what I want -- flat beams at the exact same vertical position for all three beam figures. BUT, what's bothering me is that setting Beam #'positions = #'(7.5 . 7.5) before the third figure is entirely by eye. The first note of the third figure changes to the LH staff and, for this reason, the Beam positions of the third figure are relative to the LH staff (rather than to the RH staff, as with the first two figures). What I really want is a way to set Beam positions for the third figure reltiave to the RH staff rather than the LH staff (meaning that I wouldn't have to set beam positions by eye at all). Is this possible? Anyone have a smarter way? -- Trevor Bača [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ 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: GDP: NR 1.1 Pitches
Am Dienstag, 15. Januar 2008 schrieb Mats Bengtsson: In Danish we do not use -ss at all. That would be a spelling mistake. We only use the -is and -es endings (except for es and as, ofcourse). I am pretty convinced that the same is true for German. Sorry about the confusion. Using Google, I found some Danish and German sites that spelled fiss dur, for example. I should know enough logic to realize that a few such examples do not prove that the correct spelling is not fis dur. Of course you are right that the correct spelling is -is and -es both in German and Danish. Exactly, the spelling in German is (remember: h - not b - is the note below c) -is for all sharps, -es for flats, except as and es, and b instead of hes -isis for all double sharps -eses for all double flats, BUT: asas (or ases), eses, and heses (instead of the bes, which you might expect) See: http://de.wikipedia.org/wiki/Anderssprachige_Tonbezeichnungen http://de.wikipedia.org/wiki/Doppel-b http://de.wikipedia.org/wiki/Doppelkreuz_(Musik) 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: Smarter cross-staff Beam 'positions?
2008/1/15, Mats Bengtsson [EMAIL PROTECTED]: Try Rune's suggestion from http://lists.gnu.org/archive/html/lilypond-user/2007-12/msg00147.html which solves the same problem without any need to manually specify the position. Neat! Added as http://lsr.dsi.unimi.it/LSR/Item?id=375 Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: a Lilypond-LaTeX font question
If I were you, I would try to narrow down what the real problem is, step by step. I can verify that your second example below works just fine, when I try to process it with lilypond-book in Linux. This is true also if I replace the \ commands in the LaTeX part of the document with the corresponding unicode characters üäö. I have never used TeXShop, but I guess you use the Lilypond-LaTeX engine from http://users.dimi.uniud.it/~nicola.vitacolonna/freesoftware.html. As far as I can see, it just runs lilypond-book and then latex, so nothing strange should happen there. However, I would recommend to use the pdflatex approach instead, i.e. to edit Lilypond-LaTeX.engine and replace the lines starting with if (( lilypond-book ... by (please note that I have not tested this, so it's likely to contain some typo): if ({ lilypond-book --output=$1:r-out --pdf $1 }) then cd $1:r-out if ({ pdflatex $1 }) then mv $1:r.pdf .. endif endif At least in some Windows versions, I seem to recall that the --psfonts approach didn't work so well, but --pdf + pdflatex didn't show the same problems. Can you see any log printouts from the calls to lilypond-book? If so, you could try to add the flag --verbose to the call to lilypond-book above. Otherwise, you could try to manually run the commands in a command prompt, to be able to see all the log printouts. /Mats James E. Bailey wrote: Having tried all of the options suggested, I've come to something, first, in TeXShop, using Lilypond-LaTeX mode, on a file saved in UTF8 encoding, this code parses and translates correctly, with the errors stated %!TEX TS-program = Lilypond-LaTeX %!TEX encoding = UTF8 \documentclass[a4paper, 12pt]{article} \usepackage[german]{babel} \begin{document} Obwohl Lilypond und LaTeX verstehen und unterst\utzen UTF-8 encodieren, es gibt bei der Benutzung von $\backslash$begin\{lilypond\} einige Probleme. Zum Beispiel, Hier can man W\orter mit Umlauten benutzen. \begin{lilypond} \version 2.11.37 \markup {Hier aber kommen umlautete Wörter leider nicht.} \end{lilypond} \end{document} This generates the same file %!TEX TS-program = Lilypond-LaTeX %!TEX encoding = UTF8 \documentclass[a4paper, 12pt]{article} \usepackage[utf8]{inputenc} \begin{document} Obwohl Lilypond und LaTeX verstehen und unterst\utzen UTF-8 encodieren, es gibt bei der Benutzung von $\backslash$begin\{lilypond\} einige Probleme. Zum Beispiel, Hier can man W\orter mit Umlauten benutzen. \begin{lilypond} \version 2.11.37 \markup {Hier aber kommen umlautete Wörter leider nicht.} \end{lilypond} \end{document} In fact, the only way I can get the umlauts in my lilypond files to show up in an included LaTeX file is to use LaTeX (not Lilypond-LaTeX) and to use the \lilypondfile{ly} option. Does anyone else have this same result? Is it just me? Am I missing something? ___ 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: midi in windows
Dear Mats, I don't mean a program wich can read midifiles and can convert it to lilypond. My idea is an tool for step-time-input. Luckily, after a longer search I found one. It is LilypondMidi, and can be downloaded at http://www.slunecnice.cz/sw/lilypond-midi/. But maybee there exist other tools like this? Mats Bengtsson schrieb am 15.01.2008: Exactly what is your question? Yes, midi2ly is available in the LilyPond installation on Windows just as well as on all other operating systems, even though there is some strange bug that appears on certain MIDI files, which seems to be Windows specific. However, if your question is if there are free sequencers that can be used to obtain MIDI files, then the answer is probably yes but I don't know anything about them. /Mats Stefan Thomas wrote: Dear Lilypond-users, is there a programm which can be used in windows for midi-input in Lilypond? If there is one, I would be very interested. Stefan ___ 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 = Stefan Thomas Siebengebirgsallee 9 50939 Koeln Tel.Fax:0049(0)221/412529 mail: [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: left justifying text over multimeasure rests
Trevor Daniels wrote: Paul Release 11 differs from release 10 in this respect. IIRC release 10 expanded a bar to accommodate text attached to a skip note in a multi-measure rest bar. The R11 NR now says at the end of 1.2.2, Writing rests: ... Long text is better attached to a zero-length skip note preceding the rest, preceded by \fatText (turn off again with \emptyText), since this will cause the measure to expand to accommodate the length of the text. This is still closer to the center than the left edge of the MMR. Unless there is a use for this I would remove it from the NR. Text attached to a skip note in this way is left-aligned to the position where the note would be placed in the bar, and placed above the bar count numeral, That seems self contradictory. but because the bar length is determined by the length of the text, the text will appear to be centered. If two (or more) texts are attached to skip notes in a bar the bar length is determined by the longer text, and the shorter text is then clearly left-aligned, as shown in the second bar above. If the shorter text of two marks is short enough to fit it will be placed alongside and to the left of the bar count numeral. 1. I'm not finding this in the online docs. 2. It is quite complicated. 3. Is it useful to anyone? Does this explain your problem? Maybe, if I could understand it. I clearly should check out Mats' suggestion as meeting my needs. Thanks, Paul ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi in windows
Can this program also generate Lilypondfiles? Valentin Villenave schrieb am 15.01.2008: --snip--- http://jazzplusplus.sourceforge.net/ --snip--- Stefan Thomas Siebengebirgsallee 9 50939 Koeln Tel.Fax:0049(0)221/412529 mail: [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: left justifying text over multimeasure rests
Mats Bengtsson wrote: If you replace the spacing note with an ordinary note, you see better what happens. If you then keep playing around with the example, you will notice that it's the *0 that's the culprit. If you use s4^... instead, the result looks much better. Thanks. It does look much better but I'm not sure if it's enough. I was using the method from before because it worked. Of course, you don't get this artificially large horizontal spacing in any real world score and as soon as the spacing gets more tight, you won't notice the problem even with your original approach. I disagree and that's why I posted. I'm sure you know about the alternative to use text marks attached to the bar lines. I have just tried this and I will probably adopt this as better than what I had been doing. Interestingly enough the font for \mark is larger than the default for ^ I will also have to write a Scheme macro for this since it's a lot to type for each tempo ,etc. mark. I will share this with LSR when I get something I like. Thanks very much! Paul ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi in windows
2008/1/15, Stefan Thomas [EMAIL PROTECTED]: Can this program also generate Lilypondfiles? No. As far as I know, the only graphical program that can generate Lily files on Windows is http://canorus.berlios.de/ It supports MIDI input and output too, but it is still a bit buggy. Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi in windows
Mats, The three words in Czech I know are not sufficient to read the page. Is there and English (or German) page about the program? /Helge - Original Message - From: Stefan Thomas [EMAIL PROTECTED] To: Mats Bengtsson [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Tuesday, January 15, 2008 7:52 PM Subject: Re: midi in windows Dear Mats, I don't mean a program wich can read midifiles and can convert it to lilypond. My idea is an tool for step-time-input. Luckily, after a longer search I found one. It is LilypondMidi, and can be downloaded at http://www.slunecnice.cz/sw/lilypond-midi/. But maybee there exist other tools like this? Mats Bengtsson schrieb am 15.01.2008: Exactly what is your question? Yes, midi2ly is available in the LilyPond installation on Windows just as well as on all other operating systems, even though there is some strange bug that appears on certain MIDI files, which seems to be Windows specific. However, if your question is if there are free sequencers that can be used to obtain MIDI files, then the answer is probably yes but I don't know anything about them. /Mats Stefan Thomas wrote: Dear Lilypond-users, is there a programm which can be used in windows for midi-input in Lilypond? If there is one, I would be very interested. Stefan ___ 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 = Stefan Thomas Siebengebirgsallee 9 50939 Koeln Tel.Fax:0049(0)221/412529 mail: [EMAIL PROTECTED] ___ 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
positioning of \revert
In 2.11.37 NR 6.1.5 mention is made of \revert not working. This should probably be expanded to explain what it takes for an \override to be established so that the corresponding \revert will work. If I knew the answer I would attempt to do this but I don't. In the following example the \revert cancels the \override before the \override happens: \override Score.RehearsalMark #'font-size = #1 \mark text \revert Score.RehearsalMark #'font-size Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi in windows
Sorry, as far as I know, there is only a czech version. With trial and error-method You can find the download-link. Helge Kruse schrieb am 15.01.2008: Mats, The three words in Czech I know are not sufficient to read the page. Is there and English (or German) page about the program? /Helge - Original Message - From: Stefan Thomas [EMAIL PROTECTED] To: Mats Bengtsson [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Tuesday, January 15, 2008 7:52 PM Subject: Re: midi in windows Dear Mats, I don't mean a program wich can read midifiles and can convert it to lilypond. My idea is an tool for step-time-input. Luckily, after a longer search I found one. It is LilypondMidi, and can be downloaded at http://www.slunecnice.cz/sw/lilypond-midi/. But maybee there exist other tools like this? Mats Bengtsson schrieb am 15.01.2008: Exactly what is your question? Yes, midi2ly is available in the LilyPond installation on Windows just as well as on all other operating systems, even though there is some strange bug that appears on certain MIDI files, which seems to be Windows specific. However, if your question is if there are free sequencers that can be used to obtain MIDI files, then the answer is probably yes but I don't know anything about them. /Mats Stefan Thomas wrote: Dear Lilypond-users, is there a programm which can be used in windows for midi-input in Lilypond? If there is one, I would be very interested. Stefan ___ 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 = Stefan Thomas Siebengebirgsallee 9 50939 Koeln Tel.Fax:0049(0)221/412529 mail: [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user Stefan Thomas Siebengebirgsallee 9 50939 Koeln Tel.Fax:0049(0)221/412529 mail: [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: positioning of \revert
Paul Scott wrote: In 2.11.37 NR 6.1.5 mention is made of \revert not working. This should probably be expanded to explain what it takes for an \override to be established so that the corresponding \revert will work. If I knew the answer I would attempt to do this but I don't. OTOH this would probably most often be done with \once \override . Paul ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Copyright symbol
Mats, I thought by virtue of the fact that I was using jEdit with LilyPondTool, it was already in UTF-8 encoding. I looked throught the jEdit menus, and couldn't find anything to find out which characters I had, or how to change it. How do I do that? Also, should I upgrade to the latest Lily? Or is 32 OK? Gordon+ On 15/01/2008, Mats Bengtsson [EMAIL PROTECTED] wrote: Valentin Villenave wrote: 2008/1/15, Mats Bengtsson [EMAIL PROTECTED]: Make sure that you save your .ly file using UTF-8 encoding. There has been a major bug concerning fonts on Windows; you might want to try with the last development version instead (2.11.37) That shouldn't be an issue with version 2.11.32. /Mats -- Fr. Gordon Gilbert Penetanguishene, ON ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Partcombine and Lyrics [not solved]
Op woensdag 19 september 2007, schreef Johan Vromans: \new Staff = smed \new Voice = med { \set Staff.printPartCombineTexts = ##f \partcombine \medMusic \lowMusic } \new Lyrics = med { s1 } \context Lyrics = med \lyricsto med \medWords However, now Lilypond complains cannot find Voice 'med'. How can I add lyrics to combined parts? I tried \context Lyrics = med \lyricsto one \medWords . Partcombine creates two voices, named one and two. http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Automatic-part-combining Creating a Voice is not necessary as well, I thought, but I tried getting this to work: \new Staff \partcombine {g' c''} {c' e'} \new Lyrics \lyricsto two { Hey -- Hoo! } But it didn't. Is it possible to use \partcombine with lyrics? I'm looking for a solution to this as well... Met vriendelijke groet, 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: Partcombine and Lyrics [not solved]
Op woensdag 16 januari 2008, schreef Wilbert Berendsen: I'm looking for a solution to this as well... Hmmm, just read http://osdir.com/ml/gnu.lilypond.devel/2004-07/msg00066.html Met vriendelijke groet, 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
\tiny font in define-markup-function applied to list
Can anyone tell me how to apply \tiny to a list of text pieces in define-markup-function or why the following: #(define-markup-command (mm layout props notetype beats) (string? string?) (interpret-markup layout props (markup #:tiny (list ( #:raise 0.4 (#:note notetype 1) = beats ) ) ))) gives: Preprocessing graphical objects./short.ly:9:34: In expression (#:note notetype 1): ../short.ly:9:34: Wrong type to apply: #:note ? I can get the code to work by applying #:tiny to each piece of the text individually. TIA, Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Feature request: attach notation elements to barlines
Hi Trevor, Can we take this a bit farther for a moment? I'd love to! =) Thoughts? Perhaps if we had spanner-bounds control, and -- more importantly -- could specify X-extent values in *DURATIONS* (instead of staff- lines), we could say \once \override Hairpin #'bounds = #'((3 . 8) (1 . 4)) to force the hairpin to start a distance of three-eighths after it should have started, and end one quarter note's distance before it should have ended? I would absolutely love a way to outline the full duration of an arbitrat note with a spanner / hairpin *with text elements in both the left and right edges* and then follow that *on the next note* with another text element ... or another such doubly-marked, full-duration spanner. If Hairpin were a real Spanner, wouldn't we have the ability to set bound-text on the left and right (like OttavaBracket, etc.)? Would anyone else ever find this sort of thing useful? Definitely. Best wishes, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
signed trills/trillspan to barline
Hi, There have been various posts regarding putting an accidental above a trill. Does anyone have an idea why this example doesn't work? I'm not even getting an error message. I can't find newer code online. Also, is there a way to extend the trillspan all the way to the barline? I found a post with this question, but no answer. Thanks, Ruth \version 2.11.28 global= { \key d \minor \time 6/8 } violinOne = \new Voice { \relative { a''2.~\startTrillSpan a2.~ a2.~ a2.\stopTrillSpan \override TrillSpanner #'edge-text = #(cons (markup #:line (#:halign -0.5 #:musicglyph scripts.trill #:teeny #:raise 0.5 #:flat)) ) g2.\startTrillSpan g4.\stopTrillSpan a d a4.\trill a4~( a16 b32 cis) d4. }} \score { \new Staff \global \violinOne } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
partcombine not fully displaying triplets
Dear All, I were asking a few days ago if there is something wrong with my code in the snippet below? The triplets are not displayed correctly. (See attached pdf) best ole inline: Bild 1.jpg % \new Staff { \set Staff.printPartCombineTexts = ##f \time 6/4 \clef G_8 \partcombine \relative c' { \override TupletBracket #'direction = #up r4 \times 2/3 { r8 a e'~4 } a e'2 \times 2/3 { r8 a e'4 } a~ e'~4 | } \relative c' { r1 r4 r8 es,,~ | } } \version 2.11.36 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user