Re: Strange message with autochange
Mats Bengtsson-4 wrote: Well, if you manage to describe how that should work. If you imagine yourself in the role of the autochanger, how would you react if somebody else did some extra staff changes every now and then. When should you start doing your ordinary job after such a change? What might make sense, in such a situation, is the possibility to temporarily turn off the autochange functionality in the middle of a score and then turn it on again some measures later. I wouldn't be surprised if that's already very easy to do, since most of the functionality is implemented in Scheme. /Mats Well, say if, for starters, the autochanger was given options to a) recognize rests as notes, and b) be given a wider threshold to change; for example, if on the upper staff, you could make it so that it didn't change until it had gone down to, say, an A or a B, and ditto for maybe D, or E, from the bottom staff. If they were overrides, then that would be quite useful, because then you could switch them on and off at will. Also, how about if the autochanger was able to take some user action in its stride, and if said user action violated one of its inbuilt rules, it accepted the user's decision and kept mum about potential errors for consecutive notes until the situation changed? For example, if the autochange function had moved two bars' worth of notes onto the wrong staff, then if I changed it, then the autochanger would automatically apply the manual change to the next note, and all consecutive notes thereafter which was affected, until a note crossed the boundary again? -- View this message in context: http://old.nabble.com/Strange-message-with-autochange-tp27710824p27753196.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frescobaldi
If I remember correctly, frescobaldi doesn't run on osx. although most of KDE4 has been ported, there are some packages that frescobaldi needs that just don't exist for it. On 02.03.2010, at 08:55, Mika Kuuskankare wrote: Hi, Is anybody using Frescobaldi on OS X by any chance? -Mika Dr. Mika Kuuskankare Composer, programmer and researcher Centre for Music Technology Sibelius Academy Henkilökohtainen postiosoite/Personal post address PL 342 - PO Box 342 FIN-00121 Helsinki, FINLAND Mobile: +358 (0)40 5415 233 (Finland) Skype: mkuuskan personal home page: www.siba.fi/~mkuuskan project home page: www.siba.fi/PWGL ___ 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: Werner Icking Music Archive
James Lowe wrote: Which lists would these be? http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music /Mats James Matthias Kilian wrote: On Sun, Feb 28, 2010 at 08:33:22AM -0600, M.E. wrote: Some news I thought to share here. The Werner Icking Music Archive has closed its doors (for good?). http://icking-music-archive.org/index.php Too much traffic. http://www.daimi.au.dk/~reccmo/usage/ I think there're some ongoing discussions on the relevant lists to move the archive somewhere else. Ciao, Kili ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: mats.bengts...@ee.kth.se WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frescobaldi
On Frescobaldi website: Currently, to install Frescobaldi you need a UNIX-like system such as GNU/Linux (a very good choice anyway! :-). But as soon as KDE's Python module (PyKDE4) becomes available on other platforms, Frescobaldi will be able to run on these platforms too. It seems that PyKDE4 has been already ported to win and mac: http://www.riverbankcomputing.co.uk/software/pyqt/download ... but maybe there are some other dependencies' problems? - Original Message - From: James Bailey Sent: 03/02/10 09:32 AM To: Mika Kuuskankare Subject: Re: Frescobaldi If I remember correctly, frescobaldi doesn't run on osx. although most of KDE4 has been ported, there are some packages that frescobaldi needs that just don't exist for it. On 02.03.2010, at 08:55, Mika Kuuskankare wrote: Hi, Is anybody using Frescobaldi on OS X by any chance? -Mika Dr. Mika Kuuskankare Composer, programmer and researcher Centre for Music Technology Sibelius Academy Henkilökohtainen postiosoite/Personal post address PL 342 - PO Box 342 FIN-00121 Helsinki, FINLAND Mobile: +358 (0)40 5415 233 (Finland) Skype: mkuuskan personal home page: www.siba.fi/~mkuuskan project home page: www.siba.fi/PWGL ___ 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
sign for downbeat
Dear community, does someone know, how to create the contuctor's sign for downbeat within lilypond? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics across multi-voice sections
Sorry for the long quoted text. On Mon, Mar 01, 2010 at 03:59:07PM +0100, Mats Bengtsson wrote: James Bailey wrote: This is basically what confuses people. No, it's not any different than what's explained elsewhere, it's just that it's not explained all together. All of the consituent pieces are explained, but nowhere is really explained that this is how to have a short section of polyphony when lyrics are present. I think we can leave the LSR examples if lyrics need to be placed above the staff (for a descant, or some such). \version 2.12.3 vocals = \relative { c4 d e f { \voiceOne g2 g }\new Voice { \voiceTwo f4( e) e( d) } \oneVoice c1 } textAll = \lyricmode { This is some text that goes here } \score { \new Staff \new Voice = vocals \vocals \new Lyrics \lyricsto vocals \textAll } The main point of confusion is that you cannot do what seems most intuitive, namely to use the \\ construct. You will never be able to make this point in the manual, unless you also include an example of what does not work. I was convinced that I had seen such an example somewhere in the documentation, but cannot find it right now. Here's a version of James' example that does not do what most users intuitively would expect. \version 2.12.3 vocals = \relative { c4 d e f { g2 g } \\ { f4( e) e( d) } c1 } textAll = \lyricmode { This is some text that goes here } \score { \new Staff \new Voice = vocals \vocals \new Lyrics \lyricsto vocals \textAll } Note also that this problem must be pointed out both when talking about the \\ construct and when talking about \lyricsto. Ok. Could somebody make up a patch that adds Mats' example, then James' example, into a **new** node in the LM, immediately after Voice and Vocals? Call it something like... err... well, come up with some witty name to do with voices not working, or lyrics not printed, or whatever. That way, if the \\ construct gets fixed, we can easily remove that portion. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Suppressing the o in fret diagrams
Is it possible to suppress the open string indicator in fret diagrams? Instead of \fret-diagram #4-2-2;3-1-1;2-o;1-o; I would like the equivalent of \fret-diagram #4-2-2;3-1-1;2- ;1- ; where the o does not appear on strings 2 and three. Thanks, Keith Luke ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Suppressing the o in fret diagrams
Original-Nachricht Is it possible to suppress the open string indicator in fret diagrams? Instead of \fret-diagram #4-2-2;3-1-1;2-o;1-o; I would like the equivalent of \fret-diagram #4-2-2;3-1-1;2- ;1- ; where the o does not appear on strings 2 and three. Thanks, Keith Luke Hi Keith, simply leave the open strings out: \fret-diagram #4-2-2;3-1-1; Thomas ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: sign for downbeat
At 09:48 on 02 Mar 2010, Stefan Thomas wrote: Dear community, does someone know, how to create the contuctor's sign for downbeat within lilypond? There are lots of unicode arrow which might be what you are after, e.g. \mark \markup ⬇ Or draw something in postscript. (Or surely \bar |?) -- Mark Knoop ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Suppressing the o in fret diagrams
Leaving the open strings out works for most fret diagrams, but when I generate an F chord for ukulele, #2-2;o;1-1;o; becomes #2-2;1-1; and the wrong fret diagram results. Is there a way to put a null spacer for the open strings? Thanks, Keith On Mon, Mar 1, 2010 at 11:28 PM, Thomas Scharkowski t.scharkow...@t-online.de wrote: Original-Nachricht Is it possible to suppress the open string indicator in fret diagrams? Instead of \fret-diagram #4-2-2;3-1-1;2-o;1-o; I would like the equivalent of \fret-diagram #4-2-2;3-1-1;2- ;1- ; where the o does not appear on strings 2 and three. Thanks, Keith Luke Hi Keith, simply leave the open strings out: \fret-diagram #4-2-2;3-1-1; Thomas ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
how to transpose midi one octave ?
Hi, I'm sure my question is answered somewhere in the docs, but I can't find it: I have a guitar score and the MIDI output should sound one octave lower than the written notes. I have found sections about transposing instruments, but not about an instrument that plays in the written key, but one octave down - like a guitar. How do I handle this in Lilypond ? ( And I don't want a treble clef with an 8 below or an 8va basso sign in my score either) -- Martin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to transpose midi one octave ?
Martin Tarenskeen m.tarensk...@zonnet.nl writes: I'm sure my question is answered somewhere in the docs, but I can't find it: I have a guitar score and the MIDI output should sound one octave lower than the written notes. I have found sections about transposing instruments, but not about an instrument that plays in the written key, but one octave down - like a guitar. That _is_ a transposing instrument. Just use the normal input conventions for them (the transposing command can use octave indicators). How do I handle this in Lilypond ? ( And I don't want a treble clef with an 8 below or an 8va basso sign in my score either) The 8 below is _standard_ for guitars as far as I am concerned, but using the instructions for transposing instruments should work fine. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to transpose midi one octave ?
\score { \new Staff { \transpose c' c { \guitarMusic} } \midi {} } should do the trick. On 02.03.2010, at 12:28, David Kastrup wrote: Martin Tarenskeen m.tarensk...@zonnet.nl writes: I'm sure my question is answered somewhere in the docs, but I can't find it: I have a guitar score and the MIDI output should sound one octave lower than the written notes. I have found sections about transposing instruments, but not about an instrument that plays in the written key, but one octave down - like a guitar. That _is_ a transposing instrument. Just use the normal input conventions for them (the transposing command can use octave indicators). How do I handle this in Lilypond ? ( And I don't want a treble clef with an 8 below or an 8va basso sign in my score either) The 8 below is _standard_ for guitars as far as I am concerned, but using the instructions for transposing instruments should work fine. -- David Kastrup ___ 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: how to transpose midi one octave ?
On Tue, 2 Mar 2010, David Kastrup wrote: Martin Tarenskeen m.tarensk...@zonnet.nl writes: I have a guitar score and the MIDI output should sound one octave lower than the written notes. I have found sections about transposing instruments, but not about an instrument that plays in the written key, but one octave down - like a guitar. That _is_ a transposing instrument. Just use the normal input conventions for them (the transposing command can use octave indicators). How do I handle this in Lilypond ? ( And I don't want a treble clef with an 8 below or an 8va basso sign in my score either) The 8 below is _standard_ for guitars as far as I am concerned, but using the instructions for transposing instruments should work fine. I have now changed my little guitar score from \relative c' { \myguitarmusicnotes } to \relative c { \clef treble_8 \myguitarmusicnotes } which does exactly what I want. No \transpose needed this way. But I still don't understand how to do this without the little 8 printed below the treble clef, but still giving midi output one octave down without having to shift the notes on the staff one octave down. -- Martin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to transpose midi one octave ?
David has already provided an excellent answer, namely to insert a \transposition c at the top of the music, see http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Displaying-pitches#Instrument-transpositions Then, there's no need for a separate \score block for the MIDI output. /Mats James Bailey wrote: \score { \new Staff { \transpose c' c { \guitarMusic} } \midi {} } should do the trick. On 02.03.2010, at 12:28, David Kastrup wrote: Martin Tarenskeen m.tarensk...@zonnet.nl writes: I'm sure my question is answered somewhere in the docs, but I can't find it: I have a guitar score and the MIDI output should sound one octave lower than the written notes. I have found sections about transposing instruments, but not about an instrument that plays in the written key, but one octave down - like a guitar. That _is_ a transposing instrument. Just use the normal input conventions for them (the transposing command can use octave indicators). How do I handle this in Lilypond ? ( And I don't want a treble clef with an 8 below or an 8va basso sign in my score either) The 8 below is _standard_ for guitars as far as I am concerned, but using the instructions for transposing instruments should work fine. -- David Kastrup ___ 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 -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: mats.bengts...@ee.kth.se WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to transpose midi one octave ?
On Tue, 2 Mar 2010, James Bailey wrote: \score { \new Staff { \transpose c' c { \guitarMusic} } \midi {} } should do the trick. Does this mean I have to use two \score sections. One for \midi and onBe {} for \layout {} like this? : \score { \new Staff { \transpose c' c { \guitarMusic} } \midi {} } \score { \new Staff { \guitarMusic } \layout {} } I was hopening for an easier way, but this isn't that difficult either. -- Martin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to transpose midi one octave ?
Mats Bengtsson wrote: David has already provided an excellent answer, namely to insert a \transposition c at the top of the music, see http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Displaying-pitches#Instrument-transpositions Then, there's no need for a separate \score block for the MIDI output. I just uploaded a patch in GIT, adding a related comment in http://lilypond.org/doc/v2.13/Documentation/notation/common-notation-for-fretted-strings#References-for-fretted-strings /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Lilypond-book and xelatex [was: Re: Lilypond-book not working after installing Python 3]
Graham Percival wrote: It would also be a great opportunity to include an option for alternative TeX-compilers, e.g. xelatex, not just pdflatex. Patches appreciated. Do you have a rough estimate of the challenges involved here? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond-book and xelatex [was: Re: Lilypond-book not working after installing Python 3]
On Tue, Mar 02, 2010 at 01:21:21PM +0100, Joseph Wakeling wrote: Graham Percival wrote: It would also be a great opportunity to include an option for alternative TeX-compilers, e.g. xelatex, not just pdflatex. Patches appreciated. Do you have a rough estimate of the challenges involved here? If you know python, or don't count time learning it towards the estaimte, then 5 hours for basic usability. Maybe 15 for using advanced xelatex stuff? Note that I don't know what the difference is between xelatex and pdflatex; I'm just going on the fact that they both act on text and graphics files, and lilypond-book produces text and graphics files. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frescobaldi
Op dinsdag 02 maart 2010 schreef Federico: It seems that PyKDE4 has been already ported to win and mac: http://www.riverbankcomputing.co.uk/software/pyqt/download Yes, that't PyQt4. PyKDE4 is a different beast! best regards, Wilbert Berendsen -- Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/ Nederlands LilyPond forum: http://www.lilypondforum.nl/ ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to transpose midi one octave ?
At 13:12 on 02 Mar 2010, Martin Tarenskeen wrote: On Tue, 2 Mar 2010, James Bailey wrote: \score { \new Staff { \transpose c' c { \guitarMusic} } \midi {} } should do the trick. Does this mean I have to use two \score sections. One for \midi and onBe {} for \layout {} like this? : \score { \new Staff { \transpose c' c { \guitarMusic} } \midi {} } \score { \new Staff { \guitarMusic } \layout {} } I was hopening for an easier way, but this isn't that difficult either. Alternatively you could override the clef stencil, e.g.: \override Staff.Clef #'stencil = #ly:text-interface::print \override Staff.Clef #'text = #(markup #:musicglyph clefs.G) (untested) -- Mark Knoop ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frescobaldi
Am 02.03.2010 09:42, schrieb Federico Bruni: On Frescobaldi website: Currently, to install Frescobaldi you need a UNIX-like system such as GNU/Linux (a very good choice anyway! :-). But as soon as KDE's Python module (PyKDE4) becomes available on other platforms, Frescobaldi will be able to run on these platforms too. It seems that PyKDE4 has been already ported to win and mac: http://www.riverbankcomputing.co.uk/software/pyqt/download This page shows PyQt4 not PyKDE4. I dont know, how big is the difference between the two packages. But I fear that won't be enough. I would give Frescobaldi a try on my Windows 7 system using http:/windows.kde.org, but the PyKDE4 should be the missing link. Helge ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to transpose midi one octave ?
How very nifty. Hopefully I remember this if ever I need midi output transposed. On 02.03.2010, at 13:05, Mats Bengtsson wrote: David has already provided an excellent answer, namely to insert a \transposition c at the top of the music, see http://lilypond.org/doc/v2.12/ Documentation/user/lilypond/Displaying-pitches#Instrument- transpositions Then, there's no need for a separate \score block for the MIDI output. /Mats James Bailey wrote: \score { \new Staff { \transpose c' c { \guitarMusic} } \midi {} } should do the trick. On 02.03.2010, at 12:28, David Kastrup wrote: Martin Tarenskeen m.tarensk...@zonnet.nl writes: I'm sure my question is answered somewhere in the docs, but I can't find it: I have a guitar score and the MIDI output should sound one octave lower than the written notes. I have found sections about transposing instruments, but not about an instrument that plays in the written key, but one octave down - like a guitar. That _is_ a transposing instrument. Just use the normal input conventions for them (the transposing command can use octave indicators). How do I handle this in Lilypond ? ( And I don't want a treble clef with an 8 below or an 8va basso sign in my score either) The 8 below is _standard_ for guitars as far as I am concerned, but using the instructions for transposing instruments should work fine. -- David Kastrup ___ 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 -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: mats.bengts...@ee.kth.se WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Suppressing the o in fret diagrams
On 3/2/10 1:59 AM, keith Luke kkll...@gmail.com wrote: Is it possible to suppress the open string indicator in fret diagrams? Instead of \fret-diagram #4-2-2;3-1-1;2-o;1-o; I would like the equivalent of \fret-diagram #4-2-2;3-1-1;2- ;1- ; where the o does not appear on strings 2 and three. If you look in the internals reference under the Fret-diagram-interface (which is shown as a link in the Notation Reference under Fret diagram markups), you will see there is a property 'open-string. Simply override it to instead of o, following the patterns in the snippet Customizing markup fret diagrams (found in the Notation Reference). \override TextScript #'(fret-diagram-details open-string) = # Note: I've given this much detail, not to embarrass you for not finding this information, but to hopefully teach you how you can find it on your own in the future and not have to wait for a response from the list. HTH, Carl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond-book and xelatex [was: Re: Lilypond-book not working after installing Python 3]
Graham Percival wrote: If you know python, or don't count time learning it towards the estaimte, then 5 hours for basic usability. Maybe 15 for using advanced xelatex stuff? Note that I don't know what the difference is between xelatex and pdflatex; I'm just going on the fact that they both act on text and graphics files, and lilypond-book produces text and graphics files. Well, based on my (brief, wholly inadequate...) experience, based purely on LaTeX and never before touching on Lilypond, a file that compiles with pdflatex should also compile with xelatex -- the converse of course is not true, because xelatex allows for utf-8 input and has nice features to let it work with OTF fonts. A couple of brief tests saw no problem with doing the following: lilypond-book --pdf myfile.lytex xelatex myfile.tex ... although problems do emerge if the --pdf option is left out. Not sure why. For a further test I added a line \usepackage{libertine} to the .lytex file, which calls the xelatex-only Linux Libertine OTF font package. I got a warning while running lilypond-book: -- LaTeX Font Warning: Font shape `OT1/fxl/m/n' undefined (Font) using `OT1/cmr/m/n' instead on input line 6. textwidth=345.0pt columnsep=10.0pt (./tmpdr5SNl.aux) LaTeX Font Warning: Some font shapes were not available, defaults substituted. -- ... but the output doesn't appear to be affected: the Linux Libertine font appeared without problem in the text of the document, and the Lilypond musical extracts used their normal default fonts. So my feeling is that xelatex is probably substantially fine to use as the .tex compiler, so long as lilypond-book is run with the --pdf option. There are probably tweaks that can be made, but much will work without them. Best wishes, -- Joe ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond-book and xelatex [was: Re: Lilypond-book not working after installing Python 3]
Joseph Wakeling wrote: Graham Percival wrote: If you know python, or don't count time learning it towards the estaimte, then 5 hours for basic usability. Maybe 15 for using advanced xelatex stuff? Note that I don't know what the difference is between xelatex and pdflatex; I'm just going on the fact that they both act on text and graphics files, and lilypond-book produces text and graphics files. Well, based on my (brief, wholly inadequate...) experience, based purely on LaTeX and never before touching on Lilypond, a file that compiles with pdflatex should also compile with xelatex -- the converse of course is not true, because xelatex allows for utf-8 input Which latex does as well if you use \usepackage[utf8]{inputenc} and has nice features to let it work with OTF fonts. A couple of brief tests saw no problem with doing the following: lilypond-book --pdf myfile.lytex xelatex myfile.tex ... So my feeling is that xelatex is probably substantially fine to use as the .tex compiler, so long as lilypond-book is run with the --pdf option. There are probably tweaks that can be made, but much will work without them. Basically, lilypond-book just replaces blocks of LilyPond code with a number of \includegraphics{...} commands, so as long as you use a latex variant that understands the \includegraphics command then it should work out of the box. However, I just simplified things a bit. What really happens, in addition to what I just said, is that lilypond-book extracts the head of the file (everything before \begin{document}) and copies it into a temporary file where the main part of the file has been replaced by a few \typeout commands that spit out information on the line width used in the document, when the temporary file is ran through latex. This is then used in lilypond-book to automatically set the line width of each lilypond score to match the line width used in the text parts of the document. By default, the temporary file is ran through latex, but you can change this using lilypond-book --latex-program=xelatex ... or whatever latex variant you want to use. In recent lilypond versions, it automatically uses pdflatex if you specify the --pdf flag. Without knowing anything specifically about xelatex, I don't really see what would have to be changed in lilypond-book itself to support xelatex. Please try using lilypond-book --latex-program=xelatex ... and see if there are any remaining problems. /Mats Best wishes, -- Joe ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: mats.bengts...@ee.kth.se WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
default beaming
Hi, When I write \times 2/3 { c8 c16 c8. } the second beam of the sixteenth note goes to the left which in my opinion is wrong. Am I missing something or do I have to overwrite the default settings? (if yes, how can I do that permanently for the whole score?) Thanks for an answer, ole %%% \version 2.13.7 \times 2/3 { c8 c16 c8. } \times 2/3 { c8 \set stemRightBeamCount = #2 \set stemLeftBeamCount = #1 c16 c8. } %%% attachment: Beaming.jpg___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [frogs] Re: Numeric note heads for singers
Guys, where are we with regard to this feature (see below)? It would be nice to have it somewhere, either as a snippet or... you name it ;) Cheers, Valentin On Sun, Jan 10, 2010 at 11:57 PM, pound...@lineone.net pound...@lineone.net wrote: #(define ez-numbers-engraver (list (cons 'acknowledgers (list (cons 'note-head-interface (lambda (engraver grob source-engraver) (let* ( (context (ly:translator-context engraver)) (tonic (ly:context-property context 'tonic)) (tonic-index (ly:pitch-notename tonic)) (grob-pitch (ly:event-property (event-cause grob) 'pitch)) (grob-index (ly:pitch-notename grob-pitch)) (delta (modulo (- grob-index tonic-index) 7)) (note-names (map (lambda (x) (list-string (list (integer-char (+ 1 delta (char-integer #\0)) '(0 1 2 3 4 5 6 (ly:grob-set-property! grob 'note-names (list-vector note- names) \layout { \context { \Voice \consists \ez-numbers-engraver } } \relative c' { \easyHeadsOn c d e f g a b c \key a \major a, b c d e f g a \key b \dorian b, c d e f g a b } On Mon, Jan 11, 2010 at 12:42 AM, Neil Puttock n.putt...@gmail.com wrote: This is rather nifty, but it would be much simpler just to create the vector directly: (make-vector (number-string (1+ delta))) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Strange page breaking issue in 2.13.10
On Mon, Jan 4, 2010 at 5:50 PM, Reinhold Kainhofer reinh...@kainhofer.com wrote: I have a score with a full-page title page and several scores. Now, everything fits on 3 pages, but the page breaks are not ideal and I can afford to use 4 pages anyway. Greetings Reinhold, I'm checking up on old bug reports and I'd like to know if this one has been addressed. When compiling your (attached) example file with 2.13.14, it seems to be fairly evenly spaced. Can you confirm? Regards, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Textual tempo markers in adjacent bars are stacked
On Thu, Jan 7, 2010 at 2:19 PM, Hendrik Fuß hendrik.f...@gmail.com wrote: Because the multi-measure rest bars are too short, the three tempo marks are stacked on top of each other. Greetings, I've added this bug (with much delay) to our bug tracker: http://code.google.com/p/lilypond/issues/detail?id=1024 Issue #2^10 (I mean 1024 :-) Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [frogs] Re: Numeric note heads for singers
On 2 March 2010 16:27, Valentin Villenave v.villen...@gmail.com wrote: where are we with regard to this feature (see below)? It would be nice to have it somewhere, either as a snippet or... you name it ;) It's all sorted. See the selected snippets for easy noteheads. Cheers, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to make more than one textspanner at once
On 1 March 2010 09:26, Stefan Thomas kontrapunktste...@googlemail.com wrote: Dear community, I try to get two textspanners at the same time. It works fine, but: I can't see the stringendo-Text! What could be the reason? There's a space in bound-details here: stringendo = { \textSpannerUp \override ConTextSpan.TextSpanner #'style = #'line \override ConTextSpan.TextSpanner #'(bound- details left text) = Stringendo } Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Ambitus
On 27 February 2010 15:03, David Kastrup d...@gnu.org wrote: But wouldn't scores in a book use separate engraver instantiations and have separate ambitus for that reason? Not until Nicolas's commit today. In any case, it doesn't seem appropriate to use a scheme engraver here, since there are no grobs created or context properties set. Uh, what's with the $defaultheader here? Oops, I missed a rather important line when pasting, which should make it clear: \header { subtitle = \markup \fromproperty #'header:ambitus } (ly:parser-define! parser 'pitches '()) (ly:parser-define! parser 'key-list '()) What does that do? Why per-parser? It's equivalent to doing pitches = #'() key-list = #'() or #(define pitches '()) #(define key-list '()) They're just global variables used to store information from the music so it can be passed to the ambitus markup. (let* ((global (ly:make-global-context $defaultlayout)) (listener (ly:make-listener process-event)) (global-disp (ly:context-events-below global))) (ly:connect-dispatchers (ly:make-dispatcher) global-disp) (add-stream-listener global listener 'note-event 'key-change-event 'Finish) (ly:interpret-music-expression music global) music)) What does this do? Route the music expression through a parser with a simple listener, then regurgitate it for the outer context? It just interprets the parsed music expression and listens for some interesting events (it's a lazy way of getting information out of the music). It would seem that this approach would not work when you want, say, an ambitus per Voice, and the input is not continuous, but repeatedly switches between contexts. Then you don't have the whole music available as one music expression. True, though it's only designed to work with songs having a single vocal line. Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
a \new Score question
I know that doing \new Score is generally not recommended, but in the process of helping someone I came across a couple of questions, and the only solution I could find required me to do \new Score. First, the goal here is have a score with four separate staves, but an ambitus that encompasses all of them; it's a canon. \version 2.12.3 erster = \relative c'' { \repeat volta 4 { c d e f g2 g c,1 } } zweiter = \relative c'' { \repeat volta 4 { c2 a h4 a g f g1 } } dritter = \relative g' { \repeat volta 4 { g4 f2 d4 d1 e } } vierter = \relative c' { \repeat volta 4 { c1 g2 h c1 } } \new Score \with { \consists Ambitus_engraver } { \new Staff \erster \new Staff \zweiter \new Staff \dritter \new Staff \vierter } This generates almost the desired effect. I have all four staves and an ambitus that encompasses all of them. Problems: • The ambitus shows up in the last system • I get errors in my compile: programming error: tried to get a translation for something that is no child of mine six times. • adding \layout {} or \midi {} to the \new Score results in a fatal error and no output is produced • compiling with 2.13.14, the ambitus shows up below the systems, i.e., not on a staff, but floating below. My questions: • Is it possible to force the Ambitus to show up in the first system? • Are the errors something to worry about? • Is it possible to have \layout {} or \midi {} with \new Score {}? • Since it's probably a bug that it worked in 2.12, should I be concerned with the 2.13 output? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to transpose midi one octave ?
On 2 March 2010 12:18, Mats Bengtsson mats.bengts...@ee.kth.se wrote: I just uploaded a patch in GIT, adding a related comment in http://lilypond.org/doc/v2.13/Documentation/notation/common-notation-for-fretted-strings#References-for-fretted-strings +Scores for these instruments should use the @code{treble_8} clef (and +...@code{\transposition c} to get correct MIDI output). Mats, shouldn't this be either \clef treble_8 or \transposition c, otherwise the MIDI will be an octave too low? Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: dynamic and midi velocity
any luck finding this script, I'd like to use it, too philippe hezaine wrote: Hi, Lilypond uses a separate volume channel, rather than velocity, to control MIDI dynamics. There's a perl script `ConvertToVeolcity.perl' that can convert the midi output and add velocity info to each note. That's a bug then. Musically \p means velocity change and not volume. Where do you find this perl script? I have no success in my search. Thanks. -- Phil. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- View this message in context: http://old.nabble.com/dynamic-and-midi-velocity-tp27633725p27759370.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [frogs] Re: Numeric note heads for singers
On Tue, Mar 2, 2010 at 10:11 PM, Neil Puttock n.putt...@gmail.com wrote: It's all sorted. See the selected snippets for easy noteheads. Oh, I see. Good to know people here are more reliable than me :) Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to transpose midi one octave ?
Martin Tarenskeen m.tarenskeen at zonnet.nl writes: Does this mean I have to use two \score sections. One for \midi and onBe {} for \layout {} like this? : \score { \new Staff { \transpose c' c { \guitarMusic} } \midi {} } \score { \new Staff { \guitarMusic } \layout {} } I was hopening for an easier way, but this isn't that difficult either. This is often a good idea since it enables you to adapt the midi in other ways... for instance: \score { \new Staff { \transpose c' c { \unfoldRepeats \guitarMusic} } \midi {} } \score { \new Staff { \guitarMusic } \layout {} } Roman ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to make more than one textspanner at once
Ok, thanks! Now I've understand, how it works! 2010/3/2 Neil Puttock n.putt...@gmail.com On 1 March 2010 09:26, Stefan Thomas kontrapunktste...@googlemail.com wrote: Dear community, I try to get two textspanners at the same time. It works fine, but: I can't see the stringendo-Text! What could be the reason? There's a space in bound-details here: stringendo = { \textSpannerUp \override ConTextSpan.TextSpanner #'style = #'line \override ConTextSpan.TextSpanner #'(bound- details left text) = Stringendo } Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Ambitus
Neil Puttock n.putt...@gmail.com writes: On 27 February 2010 15:03, David Kastrup d...@gnu.org wrote: But wouldn't scores in a book use separate engraver instantiations and have separate ambitus for that reason? Not until Nicolas's commit today. In any case, it doesn't seem appropriate to use a scheme engraver here, since there are no grobs created or context properties set. I have no taste for the sense of propriety that introduces arbitrary restrictions for the sake of arbitrary restrictions. Lilypond is not a religion. If a programming structure can be at the right place at the right point of time to do a reasonable job, there is no point whatsoever in censoring it. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user