Markup Causes Beaming Problem
Hello, I think Lilypond is being a weirdo. The second beam looks messed up to me (winxp sp3), but when I remove the _x markup, the \p, or the slur in the treble clef, it clears up. Is this bug #430? Also, what's the best way to make that slur in the bass clef look nice? It seems to be colliding with the accent mark and with the bottom of one of the natural signs. Any insight would be appreciated. -Jonathan Code Below: \version 2.12.2 rhStaff = { \change Staff = RH } lhStaff = { \change Staff = LH } sb = { \once \set subdivideBeams = ##t \once \set beatLength = #(ly:make-moment 1 8) } \relative c''' { \time 3/4 \new Staff = RH { r32 \sb cis[(\p d, ais' gis c,_x a ees] \stemDown b'[ fis cis \lhStaff \clef bass \stemUp e, bes a' \rhStaff \stemDown c'' d-.) r \lhStaff \stemUp cis,, dis]-( \stemNeutral c,! d!8..)\sustainOn \rhStaff fis'' ees' f! d' fis32-. | } \new Staff = LH { s2. } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Contemporary music documentation
Mark Polesky wrote Saturday, September 05, 2009 1:22 AM my Windows hard drive tragically fried last week, and I won't be able to do any LilyPond work until next Wednesday at the earliest, and that's when my work starts up again, so I may be delayed quite a bit. That's a bummer - I was wondering what might have happened to you. It's a real pain! A few years ago I installed a second hard drive and started up format to initialise it, expecting to be asked for details about which drive to format. No; it went straight ahead with the format - on the C drive! Most things were backed up or could be reinstalled, but I lost a lot of photographs. And putting everything back takes a lng time. Trevor ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Contemporary music documentation
Carl Sorensen wrote Friday, September 04, 2009 11:57 PM On 9/4/09 10:27 AM, Trevor Daniels t.dani...@treda.co.uk wrote: Carl Sorensen wrote c_soren...@byu.edu Friday, September 04, 2009 3:06 PM Also, as you plan sections, remember that anything using \set or \override belongs in a snippet, not in the main text body. This certainly is a rule for NR 1, but is not absolutely essential for NR 2. But in general you're right - self-contained snippets are usually the best way of demonstrating \set and \override commands. When appropriately tagged and referenced they appear in the manual exactly as they would if placed there, and can be easily modified by anyone. CG 3.1 says A few other policies (such as not permitting the use of tweaks in the main portion of NR 1 + 2) may also seem counterintuitive Later on, in CG 3.5 (under Tips, not 3.4 Policy, which is potentially confusing; perhaps the Tweaks subsubsection should be moved to Documentation policy), it says In general, any \set or \override commands should go in the 'selected snippets' section. In general, yes. Without exception, no. If tweaks are necessary to produce the base functionality of any LilyPond feature (e.g. Turkish music), we should add appropriate commands to do the tweaks. Then tweaks are reserved for a method of modifying the base functionality, and can be appropriately placed in Selected Snippets. No. It's much easier to write documentation than it is to add commands. I would not want to delay useful additions to the documentation or to put off a keen documentation writer simply because new commands have to be written first. Especially for something like Turkish, which is particularly tricky and totally undocumented. Documenting it carefully will almost certainly throw up bugs and inconsistencies. These will need developer effort to fix before we can think of adding extensions and new commands. That said, anything that can be done with a simple encapsulation of overrides in a variable, much like the changes introduced during GDP, should be done, of course. Trevor ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
I cannot integrate music and text
I have a lilypond file which is a 4 part vocal score, 20 bars long. It runs with no visible error and prints correctly. I have tried: 1. Using OOolilypond 0.4. I inserted my file into the template direct to lilypond, it produces lots of syntax errors. I found a minimal example: \key c \major aes the aes is an unexpected string 2. Using thepdf import extension from openoffice.org. This comes with no instructions saying how you should use it. I did file open on my music.pdf file and set the document class to pdf . The file was read and something appeared which was clearly my score, but all of the noteheads and most of the lyrics were missing. The surviving lyrics were about 1 letter per word, and in a horrible looking font. I think this may be because openoffice cannot find the required fonts, but I dont know what fonts are needed or where to install them. On my system (Ubuntu unix 8.04) there are at least 20 directories containing font files. 3. Using lilypond-book. I took the example from Sec 4.1 of the online lilypond manual and replaced screech-boink.ly with my music.ly . Again the result was recognisable but the bars were in the wrong order and some bars were missing altogether. Thanks for any help, Mark ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: I cannot integrate music and text
2009/9/5 mark damerell markdamer...@googlemail.com: I have a lilypond file which is a 4 part vocal score, 20 bars long. It runs with no visible error and prints correctly. I have tried: 1. Using OOolilypond 0.4. I inserted my file into the template direct to lilypond, it produces lots of syntax errors. I found a minimal example: \key c \major aes the aes is an unexpected string I can reproduce it with the deutsch template. If you edit the 'direct to lilypond' template, you'll see it has \include deutsch.ly in it. Also, try using as as a workaround for aes -- Francisco Vila. Badajoz (Spain) www.paconet.org www.csmbadajoz.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Contemporary music documentation
On 9/4/09 10:37 AM, Joseph Wakeling joseph.wakel...@webdrake.net wrote: Trevor Daniels wrote: In order to have a meaningful manual, this may require the addition of some new LilyPond commands, which is *not* a problem. And is to be recommended if it results in an easier user interface. I do have some concrete ideas here, which I'll lay out in an email sometime soon. I know what I _want_, and have a rough idea of how best to achieve them, but will need some advice/assistance with the actual implementation. I'll be happy to provide any help I can. Carl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
PATH and definitions.ly problem
Hi - I feel kind of foolish, but . . . . I haven't had much time to do much Lilypond work on my new-ish Ubuntu setup. I'd like some advice on where to put a generic definitions.ly file that I want to include in most of my pieces. I'm afraid that if I put the definitions.ly in my Lilypond program directory, it will be eliminated or overwritten when I upgrade. Any advice? If I put it in in a directory above my working directory (I have more than one working directory), how and where do I specify the path in Lilypond? Thanks for your help, Ralph -- Ralph Palmer Montague City, MA USA palmer.r.vio...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Disconnected and oddly placed stems
Here are the first few measures of a guitar part in a tune I'm working on: (Each line represents a measure) \version 2.12.2 \header { title = Percussion Song composer = Dan Florio } Guitar = \relative c' { e1 g d' g e, g d' fis ees, g des' fis ees,2 g des' f ees, g des' e } \score { \new Staff = Guitar { \Guitar } \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 275 4) } } \layout { } } I've attached the pdf of that specific part. Notice how the stems in the fourth measure are disconnected and opposite. Anyone know why this is happening, and how I can fix it? LatinPercussion2.pdf Description: Adobe PDF document ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: PATH and definitions.ly problem
2009/9/5 Ralph Palmer palmer.r.vio...@gmail.com: Hi - I feel kind of foolish, but . . . . I haven't had much time to do much Lilypond work on my new-ish Ubuntu setup. I'd like some advice on where to put a generic definitions.ly file that I want to include in most of my pieces. I'm afraid that if I put the definitions.ly in my Lilypond program directory, it will be eliminated or overwritten when I upgrade. Any advice? If I put it in in a directory above my working directory (I have more than one working directory), how and where do I specify the path in Lilypond? You could use symlinks. Actual files are on a single place but you can make 'ghosts' of them with the ln command, which has the same syntax as cp: ln -s definitions.ly working/ where working/ is your working directory. I have never used it for lilypond but it works for biblatex .bib database files. -- Francisco Vila. Badajoz (Spain) www.paconet.org www.csmbadajoz.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Disconnected and oddly placed stems
Am Samstag, 5. September 2009 schrieb Dan Florio: I've attached the pdf of that specific part. Notice how the stems in the fourth measure are disconnected and opposite. Anyone know why this is happening, and how I can fix it? Well, I don't know why, but how to avoid it: you can use multiple voices. One of them gets \voiceOne, so the stems go up no matter what pitch, the other gets \voiceTwo, thus making the stems go down. -- Gruß | Greetings | Qapla' Beamy, Scot me up! signature.asc Description: This is a digitally signed message part. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: PATH and definitions.ly problem
On 05.09.2009, at 17:06, Ralph Palmer wrote: Hi - I feel kind of foolish, but . . . . I haven't had much time to do much Lilypond work on my new-ish Ubuntu setup. I'd like some advice on where to put a generic definitions.ly file that I want to include in most of my pieces. I'm afraid that if I put the definitions.ly in my Lilypond program directory, it will be eliminated or overwritten when I upgrade. Any advice? If I put it in in a directory above my working directory (I have more than one working directory), how and where do I specify the path in Lilypond? Thanks for your help, Ralph I have a 'lily' command that I've set up in bash that calls lilypond with an included directory for that sort of thing, so even when I upgrade, lilypond still finds my included files. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Disconnected and oddly placed stems
Hi Dan, Notice how the stems in the fourth measure are disconnected and opposite. Anyone know why this is happening, and how I can fix it? You are not correctly coding single-staff polyphony — I suggest you (re?)read the appropriate documentation sections, starting with http://lilypond.org/doc/v2.13/Documentation/user/lilypond-learning/ Combining-notes-into-chords#Combining-notes-into-chords Hint: ... is not used for chords. Hope this helps! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Disconnected and oddly placed stems
On 9/5/09 9:37 AM, Dan Florio dflo...@yahoo.com wrote: Here are the first few measures of a guitar part in a tune I'm working on: (Each line represents a measure) \version 2.12.2 \header { title = Percussion Song composer = Dan Florio } Guitar = \relative c' { e1 g d' g e, g d' fis ees, g des' fis ees,2 g des' f ees, g des' e } I doubt this is what you want to do. You are putting notes in parallel contexts (different voices) rather than in chords. It's much more likely that you want Guitar = \relative c' { e1 g d' g e g d' fis ees g des' fis ees g des' f 2 ees g des' e } HTH, Carl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Disconnected and oddly placed stems
On 05.09.2009, at 20:15, Carl Sorensen wrote: On 9/5/09 9:37 AM, Dan Florio dflo...@yahoo.com wrote: Here are the first few measures of a guitar part in a tune I'm working on: (Each line represents a measure) \version 2.12.2 \header { title = Percussion Song composer = Dan Florio } Guitar = \relative c' { e1 g d' g e, g d' fis ees, g des' fis ees,2 g des' f ees, g des' e } I doubt this is what you want to do. You are putting notes in parallel contexts (different voices) rather than in chords. It's much more likely that you want Guitar = \relative c' { e1 g d' g e g d' fis ees g des' fis ees g des' f 2 ees g des' e } HTH, Carl Although, as previously noted, durations inside a chord will fail, so the first chord would have to be e g d' g1 James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Articulate midi script
Grammostola Rosea wrote: Hi, I was wondering if the acticulate midi script is already in Lilypond? http://www.nicta.com.au/people/chubbp/articulate I put articulate.ly in my lilypondfiles folder and the script in /usr/local/bin But I got this message: d...@debian:~/lilypondfiles$ lilywrap lilywraptest.ly /usr/local/lilypond/usr/bin/lilypond: unrecognized option: `--midi' \r Anyone please? \r ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
custum dynamic marks: how to left align instead of center below a note?
Hi, In the following example, I define a new dynamic mark p ausdrucksvoll. I would like the p to be centered below the note and ausdrucksvoll written to the right. This works fine with \markup command but \markup command is not printed on the same line as dynamics, in particular with hairpins. I have tested translation to the right but the symmetry is applied to the left with white space... Is there a way to say the the next dynamic event should be left aligned instead of centered? Frédéric \version 2.12.2 pausdrucksvollA = #(make-dynamic-script (markup (#:dynamic p) (#:normal-text #:italic ausdrucksvoll) ) ) pausdrucksvollB = #(make-dynamic-script (markup #:hspace 0 #:translate (cons +15 0) (#:dynamic p) (#:normal-text #:italic ausdrucksvoll) ) ) { \time 4/4 c'4\ c'\pausdrucksvollA\ c' c' c' c' c' c'\! R1 c'4\ c'\pausdrucksvollB\ c' c' c' c' c' c'\! R1 } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: custum dynamic marks: how to left align instead of center below a note?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Samstag, 5. September 2009 21:12:03 schrieb Frédéric Bron: In the following example, I define a new dynamic mark p ausdrucksvoll. I would like the p to be centered below the note and ausdrucksvoll written to the right. [...] Is there a way to say the the next dynamic event should be left aligned instead of centered? It's not so straightforward and there is no 100% perfect solution. However, several good approaches can be found on the LSR (http://lsr.dsi.unimi.it/ ). Simply search for dynamics and the first snippet will be your man. In particular, that's the link: http://lsr.dsi.unimi.it/LSR/Item?id=393 That's a summary of all the solutions that came up in a long thread a while ago. None of them is perfect, but the .ly file (if you click on the graphic) contains a list of their advantages and drawbacks... Cheers, Reinhold - -- - -- Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFKor/oTqjEwhXvPN0RAteZAKC0ziCmeuoTQG/1+k5XJfdG66rfhwCgpdck g0clqbQ02dCdRWAyWhUjO1U= =Afyr -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: custum dynamic marks: how to left align instead of center below a note?
On Sat, Sep 05, 2009 at 09:12:03PM +0200, Frédéric Bron wrote: Is there a way to say the the next dynamic event should be left aligned instead of centered? http://lists.gnu.org/archive/html/lilypond-user/2008-09/msg00811.html I really should have added that to LSR by now. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: partial chord ties in second alternative
Hi Robin Marc, thanks for your solutions! The problem is that they don't work in a tabVoice context. (In my mail I didn't mention that I also wanted to use tablature.) So I guess the best bet is to use single staff polyphony: upper = \relative c { \voiceOne \repeat volta 2 { e~ g~b~ e1 | } \alternative { { e g b e } { e g b e\repeatTie } } } lower = \relative c { \voiceTwo \repeat volta 2 { e, b'1 | } \alternative { {c'} {c } } } Robin, your commands \frtDOWNtw and \frtUPtw come quite close to what I was looking for. Maybe this could be an idea for an enhancement request: use of \repeatTie within chords to be able to typeset semi-ties for selected notes. Thanks again, patrick Original-Nachricht Datum: Fri, 4 Sep 2009 23:02:16 +0200 Von: Robin Bannister r...@dataway.ch An: Patrick Schmidt p.l.schm...@gmx.de, lilypond-user lilypond-user@gnu.org Betreff: Re: partial chord ties in second alternative Patrick Schmidt wrote: is there a way to achieve repeated ties of selected notes of a chord ... ? This is rather like Nick Payne's LaisserVibrer question in http://lists.gnu.org/archive/html/lilypond-user/2009-04/msg00313.html because both are what Lilypond calls semi-ties. Maybe you are content with \override RepeatTieColumn #'tie-configuration = #(list (cons -4 -1) (cons -2 -1) (cons 0 -1) (cons 4.4 1) ) which is fiddly and doesn't transpose. Or how about ugly (+ transposable) instead of fiddly: \hideNotes \set tieWaitForNote = ##t \grace { e g b e4 ~ s4 } \unHideNotes c e g b e1 My choice would be to mirror my feta-laisserVibrer code (as attached). It is easy to apply, but it may be inconvenient to keep around. Cheers, Robin -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: PATH and definitions.ly problem
I just put my similar file at the top of the directory structure that contains all my ly files and include it in files one or more levels down in the structure by specifying the relative path. E.g. for a file three levels down: \include ../../../definitions.ly Nick From: lilypond-user-bounces+nick.payne=internode.on@gnu.org [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On Behalf Of Ralph Palmer Sent: Sunday, 6 September 2009 1:07 AM To: lilypond-user Mailinglist Subject: PATH and definitions.ly problem Hi - I feel kind of foolish, but . . . . I haven't had much time to do much Lilypond work on my new-ish Ubuntu setup. I'd like some advice on where to put a generic definitions.ly file that I want to include in most of my pieces. I'm afraid that if I put the definitions.ly in my Lilypond program directory, it will be eliminated or overwritten when I upgrade. Any advice? If I put it in in a directory above my working directory (I have more than one working directory), how and where do I specify the path in Lilypond? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: PATH and definitions.ly problem
2009/9/5 Nick Payne nick.pa...@internode.on.net: \include ../../../definitions.ly A slight problem is: this makes your file less relocatable and dependant on the depth of the directory tree which it is in. -- Francisco Vila. Badajoz (Spain) www.paconet.org www.csmbadajoz.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: custum dynamic marks: how to left align instead of center below a note?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Samstag, 5. September 2009 22:46:15 schrieb Graham Percival: On Sat, Sep 05, 2009 at 09:12:03PM +0200, Frédéric Bron wrote: Is there a way to say the the next dynamic event should be left aligned instead of centered? http://lists.gnu.org/archive/html/lilypond-user/2008-09/msg00811.html I really should have added that to LSR by now. Yeah. Notice however, that this one has the drawback that it reserves the same amount on the left as on the right of the dynamic sign. So, a lot of space on the left of the f/p/mf will be wasted (and other stuff shifted downwards). Cheers, Reinhold - -- - -- Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFKot3fTqjEwhXvPN0RAl3hAKDUK4Dx6ezOpc7mLeWaHR/jGAYzZACgtVBE vWEkRSN/kn5XrBtUgKViX6Y= =bu8/ -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Articulate midi script
Grammostola == Grammostola Rosea rosea.grammost...@gmail.com writes: Grammostola Grammostola Rosea wrote: Hi, I was wondering if the acticulate midi script is already in Lilypond? Not yet. http://www.nicta.com.au/people/chubbp/articulate I put articulate.ly in my lilypondfiles folder and the script in /usr/local/bin But I got this message: d...@debian:~/lilypondfiles$ lilywrap lilywraptest.ly /usr/local/lilypond/usr/bin/lilypond: unrecognized option: `--midi' Looks like the code in lilywrap.sh that tries to work out what arguments to give Lilypond to generate just midi is broken. I'll try to fix it today or tomorrow, and get a new version up. Peter C -- Dr Peter Chubb www.nicta.com.aupeter DOT chubb AT nicta.com.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Articulate midi script
On Sun, Sep 6, 2009 at 12:02 AM, Peter Chubblily.u...@chubb.wattle.id.au wrote: Not yet. This won't go forgotten as long as I have anything to do with LilyPond :-) (I could open a tracker page if that may help) Looks like the code in lilywrap.sh that tries to work out what arguments to give Lilypond to generate just midi is broken. I'll try to fix it today or tomorrow, and get a new version up. Could we imagine a more LilyPond-ish way to wrap your functions without having to use an external awk script? For what it's worth, I have now created a low-traffic mailing list specially dedicated to midi-related discussions: http://lists.lilynet.net/midi I have taken the liberty to add your address and Rosea's in case you'd want to use this list. Regards, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
tieWaitForNote across staves
Hello, Is there a way to get the attached notation in Lilypond? I tried fooling around with tieWaitForNote but it seems the ties set in the rh keeping on waiting, and waiting, and waiting... Any help is appreciated. Thanks, Jonathan attachment: cross-staff-ties.PNG___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user