Re: ways of using Lilypond?
Hello, On 19/12/2010 01:27, Ludo Beckers wrote: > I guess I asked this question because I'm not sure whether or not I > should first learn Lilypond syntax and then see if I want/need to use > tools besides it. My own experience of LilyPond was quite, no make that VERY frustrating to start with. The syntax seemed awkward, I am not a programmer so all the 'funny commands' with the seemingly excessive brackets, braces and parentheses were very alien to me. I could see LilyPond's potential and what it could do and had managed to produce a very simple score using just Windows wordpad (which I still use) and on my Mac, the editor that comes with Lilypond (LilyPad) which again I still use to this day. I don't use Linux as my LilyPond engraver. I tried to use the other tools like Jedit and Frescobaldi and a few others that the manuals mentioned but I found myself struggling with those tools more than I was getting LilyPond to work. It was very frustrating at first. I must have given up on LilyPond about 3 or 4 times over a couple of years before I decided to 'pull up a chair and have a proper go' without worrying about the editor. I kept it simple and used the most basic text editor that I could that came with the OS I was using and set myself tasks on copying music that I had lying about - admittedly single system Trumpet/Clarinet or Sax scores. All with a basic editor. The user forums were helpful and the documentation while patchy in some parts usually had what I needed in it if I would only take a few minutes to read it. Since then I have gone back to the 'GUI' tools but frankly find the ease and speed of these simple text editors better. I do sometimes wish that the editors I use had better hi-lighting (i.e. showing me where I have missed a closing '}' for instance and yes I know there are many editors out there that do that :) but I like the discipline that using a basic editor instils. However that all said, having an understanding of the fundamental LilyPond syntax and layout really is worth taking some time to understand, it doesn't take that long and means that I don't have to worry about which platform I use LilyPond on just because the 'tools' I use on one OS don't exist on another. I can pick up any editor and go which is nice when I visit friends who want me to help them 'make those fancy scores' with that weird 'Duck pond program' I use, whether they have Windows or a Mac. James ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Docs: automatic accidentals
Keith On 18/12/2010 23:56, Keith OHara wrote: > Would you consider editing what is below into a doc patch, James? > (I intend to offset my karma deficit with a doc patch for the new > Dynamics context.) > ~ Keith Sure, I'll take a look and make a patch soon. I currently have a Doc patch being reviewed at the moment and once that is finalized, approved and pushed, I'll make one for any that seem appropriate here. James ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ways of using Lilypond?
If you haven't already, I would suggest reading the learning manual through, so you have a basic understanding of how lilypond works. You may want to try and get one of the integrated environments (frescobaldi, denemo, jEdit +lilypondtool). You should, at that point, have enough knowledge to be able to enter things, understand what the integrated editing environment is doing, and make changes should the program not succeed. But, even if you just use a basic text editor, you'll get to a place where you really understand what it is you want to do, how to find things in your files, and how to enter things effectively. I am a mac user who got caught by bug 504 completely oblivious to the fact that there are much better (easier) ways of entering text for compilation by lilypond. Until that point, I was using the built-in lilypond editor (which is like a stripped down version of TextEdit) that has update and compilation built in. As a result of that bug, I: a) learned how to use lilypond on the command line b) learned how to build and install a program from source code on mac osx (nano 2.0, 'cause nano 1 is pretty useless) c) learned enough regex to create simple syntax hilighting rules d) learned about the program Skim (which, at the time, was the easiest way to keep a pdf open and have it automatically refresh when the file was changed) e) learned a whole lot about my computer that I never knew before Along the way, I tried emacs and vim and TextMate and TeXShop (because they were mentioned in the documentation) but they were far too much for my simple needs, or too difficult to manage. On Dec 19, 2010, at 2:27 AM, Ludo Beckers wrote: > I guess I asked this question because I'm not sure whether or not I should > first learn Lilypond syntax and then see if I want/need to use tools besides > it. > > I asked about the combination vim-Lilypond sometime ago, but that would be 2 > steep learning curves to tackle at once; a bit too much. > > btw Jethro, I see we're fellow countrymen :-) (Antwerpen here) > > Ludo > > On Sun, Dec 19, 2010 at 12:09 AM, Jethro Van Thuyne > wrote: > Ludo Beckers: > > > Just wondering, has there ever been a poll about how many Lilypond users > > work with a certain specific tool. > > Is the majority in this group using denemo, frescobaldi, lilypondtool or > > other tools? > > Vim, with custom mappings (or without), has been the most practical > tool for me so far. > > Jethro. > > ___ > 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: ps to pdf conversion fails
Hello, On 18/12/2010 15:40, Paul Thompson wrote: > If you use Ghostview, you can have a .pdf open continually, update it, > and thereby increase the speed of evaluation of fixes. Ghostview is a > much better .pdf viewer during development. For those on Mac OSX, the inbuilt PDF viewer 'Preview' also allows for this too, again for very fast evaluation of incremental fixes. James ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
moving Tie_engraver to Score
Hello everybody, for some practical reasons I have to split my score into different voices in different variables, In order to tie two notes across these voices, I learned from this forum how to move the Tie_engraver from the voice context to the Staff context which works fine. My problem is that I have two voices, \voiceOne and \voiceTwo and have them printed in different colors which works fine inside one voice/variable. But as it comes to tie notes across these variables, the ties in \voiceOne and \voiceTwo are considered as one tie, and it is not possible to color them separately, or to have \voiceOne tied and \voiceTwo not, for example. I've also tried \laissezvibrer and \repeatTie, but these constructs behave and look very different. Now I'm stuck and can't find a solution. Anyone any idea? Thanks in advance Juergen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ways of using Lilypond?
I use Frescobaldi. Lilypondtool when I used Windows. Thomas Original-Nachricht Just wondering, has there ever been a poll about how many Lilypond users work with a certain specific tool. Is the majority in this group using denemo, frescobaldi, lilypondtool or other tools? ___ 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: ways of using Lilypond?
hi, 2010/12/19 Ludo Beckers : > I guess I asked this question because I'm not sure whether or not I should > first learn Lilypond syntax and then see if I want/need to use tools besides > it. I recommend doing so. I'm not a very skilled user yet, but it appears certain to me that you'll better understand how LilyPond works if you learn it's syntax. It should be also easier to find solutions if you encounter some problems. cheers, Janek ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ways of using Lilypond?
I usually work with Frescobaldi; sometimes, Lilypond Tool. Luca Il 18/12/2010 23:19, Ludo Beckers ha scritto: Just wondering, has there ever been a poll about how many Lilypond users work with a certain specific tool. Is the majority in this group using denemo, frescobaldi, lilypondtool or other tools? ___ 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: ways of using Lilypond?
On 19 December 2010 10:32, Luca Rossetto Casel wrote: > > I usually work with Frescobaldi; sometimes, Lilypond Tool. Frescobaldi is a great tool! Its "score wizard" (Ctrl+Maj+N) is very useful for beginners, IMHO. Under Windows I use jEdit+LilyPondTool, really nice too. Sometimes I simply use gedit (GNU/Linux) or notepad (windows), when I do small modifications. Cheers, Xavier PS : Arlon/Louvain-la-Neuve here! -- Xavier Scheuer ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ways of using Lilypond?
Yes, Frescobaldi is a great tool! Also for advanced users! It made me change my main working system from Mac to Ubuntu. On my netbook, I sometimes use vim. My wishlist this christmas would be ;-) Frescobaldi or something comparable on Mac Git-Integration in Frescobaldi - well, using the console is not that much pain! (one might tweak Smultron/Fraise to fulfill all that) Jan-Peter. Am 19.12.2010 um 11:34 schrieb Xavier Scheuer: On 19 December 2010 10:32, Luca Rossetto Casel wrote: I usually work with Frescobaldi; sometimes, Lilypond Tool. Frescobaldi is a great tool! Its "score wizard" (Ctrl+Maj+N) is very useful for beginners, IMHO. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re:ways of using Lilypond?
I also use lilypondtool with jedit. Hajo --- ... indessen wandelt harmlos droben das Gestirn ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ways of using Lilypond?
On 2010-12-19 10:30, Jan Warchoł wrote: 2010/12/19 Ludo Beckers: I guess I asked this question because I'm not sure whether or not I should first learn Lilypond syntax and then see if I want/need to use tools besides it. I recommend doing so. I'm not a very skilled user yet, but it appears certain to me that you'll better understand how LilyPond works if you learn it's syntax. +1. On the other hand, I do not recommend using NotePad for this. I don't think you really need syntax highlighting, but parentheses matching and automatic indentation is incredibly helpful. Most editors should be able to handle the { } constructs; << >> typically requires a LilyPond mode or some manual configuration, but is less important IMHO. Personally, I use Emacs with lilypond-mode and a few .ly templates I wrote by hand, but I happen to run Frescobaldi every now and then for its Lyric hyphenator feature. For larger scores, I typically also write a Makefile, and I use Okular as preview. Cheers, Alexander ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
printing A4 pages on A3 paper
Hi, in a print shop I was told that they couldn't directly print my A4 .pdf to A3 paper - using Adobe Reader - because in the pdf "pages are linked two by two" (I guess they meant to say "twoside"). So they had to first print on A4 sheets and then use them to print on A3 paper. Frankly speaking, I'm quite sure they are wrong and the problem is not my pdf settings. I compiled the book using the "Publish" button of Frescobaldi (lilypond -dno-point-and-click) and \paper does not contain anything that changes default paper settings. Anyway, I missed an argument to reply to them :) Can you give me a piece of advice? I just want to be sure that my pdf is ok and understand why the shop failed to print directly to A3. Thanks, Federico ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ways of using Lilypond?
Frescobaldi was the first one I looked at, but asking questions on their Dutch forum (the developer is Dutch, so it seemed the most logical place) was in vain; no replies at all. After that I looked at Denemo, and their forum is very much alive. To get aquanited with Lilypond syntax I'll start using Gvim as a stepping stone to vim, I think. PS Arlon and Antwerp must look the same today; everything covered in snow ;-) On Sun, Dec 19, 2010 at 11:34 AM, Xavier Scheuer wrote: > On 19 December 2010 10:32, Luca Rossetto Casel > wrote: > > > > I usually work with Frescobaldi; sometimes, Lilypond Tool. > > Frescobaldi is a great tool! > Its "score wizard" (Ctrl+Maj+N) is very useful for beginners, IMHO. > > Under Windows I use jEdit+LilyPondTool, really nice too. > Sometimes I simply use gedit (GNU/Linux) or notepad (windows), when > I do small modifications. > > Cheers, > Xavier > > PS : Arlon/Louvain-la-Neuve here! > > -- > Xavier Scheuer > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to define functions that generate music functions?
On Wed, Dec 15, 2010 at 11:35:32AM -0700, Carl Sorensen wrote: > On 12/15/10 9:29 AM, "Juha Erkkila" wrote: > > Is it possible to define functions that generate music functions > > in Lilypond? I'm looking something to this effect: > > > > - > > \version "2.12.3" > > > > musicA = #(define-music-function (parser location music) > > (ly:music?) > >#{ c4 d e f $music #}) > > > > \musicA { g4 a b a } > > > > % makeMusicFn = #(define-music-function (parser location prepend-music) > > % (ly:music?) > > % (define-music-function (parser location append-music) > > %(ly:music?) > > % #{ $prepend-music $append-music #})) > > % > > % musicB = \makeMusicFn { c4 d e f } > > % > > % \musicB { g4 a b a } > > - > > > > Here expressions "\musicA { g4 a b a }" and "\musicB { g4 a b a }" > > should evaluate to same music expression, that is > > { c4 d e f g4 a b a }. The expressions that are commented out are > > attempts to achieve what I'm looking for. The above syntax is, > > however, wrong, as define-music-function must return a music > > expression, not a function. > > Music functions must return music expressions, but scheme functions can > return functions. > > Are you after this specific behavior, or some other behavior, of which this > is a simplified example? The above was just a simplified example, the actual case I try to do is more complex. Anyway, this solution is enough for me: - \version "2.12.3" musicA = #(define-music-function (parser location music) (ly:music?) #{ c4 d e f $music #}) \musicA { g4 a b a } #(define (musicFn prepend-music) (ly:make-music-function (list ly:music?) (lambda (parser location append-music) #{ $prepend-music $append-music #}))) musicB = #(musicFn #{ c4 d e f #}) \musicB { g4 a b a } - Thanks for the tips. It's good to see scheme and lilypond play together so nicely! Juha ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ways of using Lilypond?
An important but unasked question is for what do you need notation? If it is "just" transcribing from paper the task is not that critical. You need to get "in" information you already know. But if you compose or arrange and you are not a conservative person who was taught to repeat the sentence "real composers use pen and paper" over and over again you want to have more control over your music. I think that lilypond is not suited for composing in its syntax. Its an engraver with the purpose to create notation sheets. How the information was generated does not matter. So you need an additional tool to write and modify your notes in a more musical way. And thats Denemo. Nils Am Sun, 19 Dec 2010 12:53:57 +0100 schrieb Alexander Kobel : > On 2010-12-19 10:30, Jan Warchoł wrote: > > 2010/12/19 Ludo Beckers: > >> I guess I asked this question because I'm not sure whether or not > >> I should first learn Lilypond syntax and then see if I want/need > >> to use tools besides it. > > > > I recommend doing so. I'm not a very skilled user yet, but it > > appears certain to me that you'll better understand how LilyPond > > works if you learn it's syntax. > > +1. On the other hand, I do not recommend using NotePad for this. I > don't think you really need syntax highlighting, but parentheses > matching and automatic indentation is incredibly helpful. > Most editors should be able to handle the { } constructs; << >> > typically requires a LilyPond mode or some manual configuration, but > is less important IMHO. > > Personally, I use Emacs with lilypond-mode and a few .ly templates I > wrote by hand, but I happen to run Frescobaldi every now and then for > its Lyric hyphenator feature. For larger scores, I typically also > write a Makefile, and I use Okular as preview. > > > Cheers, > Alexander > > ___ > 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: printing A4 pages on A3 paper
On 2010-12-19 13:03, Federico Bruni wrote: Hi, in a print shop I was told that they couldn't directly print my A4 .pdf to A3 paper - using Adobe Reader - because in the pdf "pages are linked two by two" (I guess they meant to say "twoside"). [...] I just want to be sure that my pdf is ok and understand why the shop failed to print directly to A3. Be sure, but probably that doesn't buy you anything. When I take files to the local copy shop, I usually have to different flavours. Which one to choose depends on the guy behind the counter. One file (for the older guy) is plain A4 pdf, without any fancy things. Just as Lily spits them out. The senior clicks on "print to brochure", and I get A3 double-page, already stapled if I choose so - the printer does everything by itself. Perfect approach, since each self-respecting printer company for these high 4- or low 5-digits range priced machines has this option in the driver. His son (who actually is the shop owner) insists to claim that this method doesn't work, so I open the (USB stick) hat and present a pdfnup-ped 2 on 1, A3 landscape file. He clicks on "print, fold and staple" or something, and I get what I want. Usually after two or three corrections, that is - since he can't remember the correct page rotations in landscape, someone choosed "scale to A4" just before, he chose the wrong paper tray. But he doesn't want the misprint to be paid, so it doesn't really matter to me. IMHO, it doesn't make any sense to manually prepare the 2-on-1 version when the printer driver offers just this option [*]. It's more work, and if the printer company added some tweaks for the very machine if necessary, you'll lose them. (Although I don't think this is an issue; the only feature I can imagine here is a binding offset.) And even if it's not in the driver, the later Adobe Reader versions have this "brochure print" option. [*] Unless you do really fancy layouts, beyond what LilyPond offers. Say, cross-margin pictures or something. But you'll probably choose a serious print agency then, and they'll give you support on the right file format, and be able to handle conversions gracefully. Cheers, Alexander ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ways of using Lilypond?
That makes sense to me. In my case it's only 10% of arranging and composing. I read somewhere btw that there's an OpenOffice-tool as well; I'll have to check that one out for sure. On Sun, Dec 19, 2010 at 1:16 PM, Nils Gey wrote: > An important but unasked question is for what do you need notation? > > If it is "just" transcribing from paper the task is not that critical. > You need to get "in" information you already know. But if you compose > or arrange and you are not a conservative person who was taught to > repeat the sentence "real composers use pen and paper" over and over > again you want to have more control over your music. > > I think that lilypond is not suited for composing in its syntax. Its an > engraver with the purpose to create notation sheets. How the > information was generated does not matter. > > So you need an additional tool to write and modify your notes in a > more musical way. And thats Denemo. > > Nils > > > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: printing A4 pages on A3 paper
I was dealing with a very similar situation recently. I wanted to find out how to make an A5 sized booklet and print it myself on A4 paper. There is a very small program (probably just a GS wrapper) called 'pdfbook' which allows you to rearrange the pages in a PDF. With the right options I was able to re-order the pages and assign two A5's to one A4 page. This left me with an almost usable file. With a second pass on this output with 'pdftk' I re-shuffled the pages so that I could print the first half of the book, then take those pages and put then through the printer again and print the other pages. This was then ready for folding/stapling. It should be quite easy the prepare your PDF in this fashion prior to taking it to the print shop. Hope this helps, David - Original Message - From: "Federico Bruni" To: lilypond-user@gnu.org Sent: Sunday, December 19, 2010 7:03:06 AM GMT -05:00 US/Canada Eastern Subject: printing A4 pages on A3 paper Hi, in a print shop I was told that they couldn't directly print my A4 .pdf to A3 paper - using Adobe Reader - because in the pdf "pages are linked two by two" (I guess they meant to say "twoside"). So they had to first print on A4 sheets and then use them to print on A3 paper. Frankly speaking, I'm quite sure they are wrong and the problem is not my pdf settings. I compiled the book using the "Publish" button of Frescobaldi (lilypond -dno-point-and-click) and \paper does not contain anything that changes default paper settings. Anyway, I missed an argument to reply to them :) Can you give me a piece of advice? I just want to be sure that my pdf is ok and understand why the shop failed to print directly to A3. Thanks, Federico ___ 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: ways of using Lilypond?
Ludo Beckers: > I guess I asked this question because I'm not sure whether or not I > should first learn Lilypond syntax and then see if I want/need to use > tools besides it. > > I asked about the combination vim-Lilypond sometime ago, but that would > be 2 steep learning curves to tackle at once; a bit too much. > > btw Jethro, I see we're fellow countrymen :-) (Antwerpen here) > > Ludo Also Antwerpen :) I guess it would be most logical to first start learning Lilypond, using a 'regular' text editor (nano, gedit, notepad...). Starting with a simple template and adding the additional elements you need bit by bit, you'll probably get to know the syntax quite quickly. The documentation is a real blessing. The extra tools are still *extra*, they don't matter when it comes to output. Jethro. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to write a scheme function to override glissando properties
Am 16.12.2010 17:04, schrieb Patrick Schmidt: [...] Hi Marc, thanks for your solution but I'm still trying to find out what's wrong with the scheme function I posted. I discussed the need for this function with Carl and he gave me some advice: http://www.mail-archive.com/lilypond-devel@gnu.org/msg32745.html. It might be impossible to find a general set of values for staves and tab staves. If I don't succeed I learned something about writing scheme functions, at least. Maybe you can spot the mistake in the function? Hm, I don't know what's wrong - I tried something like slide = #(define-music-function (parser location len thick beg end) (number? number? ly:music? ly:music?) #{ \once \override Glissando #'minimum-length = $len \once \override Glissando #'thickness = $thick \once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods $beg \glissando $end #}) myMusic = \relative c' { \slide #10 #5 a4 b4\3 } \score { << \new Staff { \new Voice { \clef "treble_8" \myMusic } } \new TabStaff { \new TabVoice { \myMusic } } >> } and that doesn't work either. I don't understand why ... Sorry for being not very helpful. Marc ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ways of using Lilypond?
On Sun, Dec 19, 2010 at 6:29 AM, Jan-Peter Voigt wrote: > Yes, Frescobaldi is a great tool! Also for advanced users! > It made me change my main working system from Mac to Ubuntu. > On my netbook, I sometimes use vim. > > My wishlist this christmas would be ;-) > Frescobaldi or something comparable on Mac +1 (Even though I have VMWare Fusion and Ubuntu) Also, ly2musicxml, even though it's difficult to do (and perhaps impossible to do completely). I sometimes collaborate with a wonderful composer/arranger who uses Finale. She can send MusicXML to me that I can convert to LilyPond, but it doesn't work in the other direction. > > > ___ > 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 write a scheme function to override glissando properties
Am 19.12.2010 um 20:13 schrieb Marc Hohl: Am 16.12.2010 17:04, schrieb Patrick Schmidt: [...] Hi Marc, thanks for your solution but I'm still trying to find out what's wrong with the scheme function I posted. I discussed the need for this function with Carl and he gave me some advice: http:// www.mail-archive.com/lilypond-devel@gnu.org/msg32745.html. It might be impossible to find a general set of values for staves and tab staves. If I don't succeed I learned something about writing scheme functions, at least. Maybe you can spot the mistake in the function? Hm, I don't know what's wrong - I tried something like slide = #(define-music-function (parser location len thick beg end) (number? number? ly:music? ly:music?) #{ \once \override Glissando #'minimum-length = $len \once \override Glissando #'thickness = $thick \once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods $beg \glissando $end #}) myMusic = \relative c' { \slide #10 #5 a4 b4\3 } \score { << \new Staff { \new Voice { \clef "treble_8" \myMusic } } \new TabStaff { \new TabVoice { \myMusic } } >> } and that doesn't work either. I don't understand why ... Needless to say, that I don't understand it either... Apparently it's not even possible to override the length of a glissando in one context without changing the look of the other context. Look at this: \version "2.13.44" slides = { a2\glissando b2\3 } \score { << \new Staff { \clef "treble_8" \slides } \new TabStaff { \slides } >> \layout { \context { \Voice \override Glissando #'minimum-length = #10 \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods \override Glissando #'thickness = #3 } \context { \TabVoice \override Glissando #'minimum-length = #1 \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods \override Glissando #'thickness = #10 } } } The values for minimum-length in different contexts influence each other. The highest value wins. This is reasonable but unfortunately the glissandi staves and tab staves don't have the same length in print even when they were given the same value for minimum-length... Sorry for being not very helpful. No, no, I appreciate your input very much. Thanks, patrick Marc ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to write a scheme function to override glissando properties
I 2010/12/19 Marc Hohl : > Am 16.12.2010 17:04, schrieb Patrick Schmidt: >> >> [...] >> Hi Marc, >> >> thanks for your solution but I'm still trying to find out what's wrong >> with the scheme function I posted. I discussed the need for this function >> with Carl and he gave me some advice: >> http://www.mail-archive.com/lilypond-devel@gnu.org/msg32745.html. >> >> It might be impossible to find a general set of values for staves and tab >> staves. If I don't succeed I learned something about writing scheme >> functions, at least. Maybe you can spot the mistake in the function? > > Hm, I don't know what's wrong - I tried something like > > slide = > #(define-music-function (parser location len thick beg end) (number? number? > ly:music? ly:music?) > #{ > \once \override Glissando #'minimum-length = $len > \once \override Glissando #'thickness = $thick > \once \override Glissando #'springs-and-rods = > #ly:spanner::set-spacing-rods > $beg \glissando $end > #}) > > > myMusic = \relative c' { > \slide #10 #5 a4 b4\3 > } > > \score { > << > \new Staff { > \new Voice { > \clef "treble_8" > \myMusic > } > } > \new TabStaff { > \new TabVoice { > \myMusic > } > } >>> > } > > and that doesn't work either. I don't understand why ... > I think what happens is that the start note, passed to your function, is already wrapped up in an object. \glissando is meant for use with a single note, rather than with a music object. You can use scheme to add the `start glissando' property to the object though: \version "2.13.40" slide = #(define-music-function (parser location length startnote) (number? ly:music?) #{ \once\override Voice.Glissando #'minimum-length = $length \once\override Voice.Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods #(begin (set! (ly:music-property $startnote 'elements) (cons (make-music (quote GlissandoEvent)) (ly:music-property $startnote 'elements) )) (ly:export $startnote)) #}) { \slide #7 a'' e'' } this page contains a similar example http://lilypond.org/doc/v2.13/Documentation/extending/adding-articulation-to-notes-_0028example_0029 Jakob ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: printing A4 pages on A3 paper
On 19/12/10 23:03, Federico Bruni wrote: Hi, in a print shop I was told that they couldn't directly print my A4 .pdf to A3 paper - using Adobe Reader - because in the pdf "pages are linked two by two" (I guess they meant to say "twoside"). So they had to first print on A4 sheets and then use them to print on A3 paper. Frankly speaking, I'm quite sure they are wrong and the problem is not my pdf settings. I compiled the book using the "Publish" button of Frescobaldi (lilypond -dno-point-and-click) and \paper does not contain anything that changes default paper settings. Anyway, I missed an argument to reply to them :) Can you give me a piece of advice? I just want to be sure that my pdf is ok and understand why the shop failed to print directly to A3. Adobe Reader has a booklet printing option. I use it frequently to print A4 to A3 and then fold to make an A4 booklet. Nick ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
PDF output to Illustrator--non-LY fonts not appearing
I'm importing Illustrator into Lilypond I used past mailing list suggestions to convert the feta-alphabet fonts to ttf and drop them into the Library/Fonts folder. However, I have Lilypond write my text in a different font (Garamond) and use yet another font as "sans" for alternative accidentals. Neither of these fonts show up when I open the PDF in Illustrator--both just show up as x-ed out boxes. Any ideas? Anyone able to get markup to show up in Illustrator? I should say that Century Schoolbook shows up perfectly when I convert to PDF—the problem is with non-native Lilypond fonts. Thanks in advance. Andrew ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to write a scheme function to override glissando properties
Am 19.12.2010 um 21:26 schrieb jakob lund: I 2010/12/19 Marc Hohl : Am 16.12.2010 17:04, schrieb Patrick Schmidt: [...] Hi Marc, thanks for your solution but I'm still trying to find out what's wrong with the scheme function I posted. I discussed the need for this function with Carl and he gave me some advice: http://www.mail-archive.com/lilypond-devel@gnu.org/msg32745.html. It might be impossible to find a general set of values for staves and tab staves. If I don't succeed I learned something about writing scheme functions, at least. Maybe you can spot the mistake in the function? Hm, I don't know what's wrong - I tried something like slide = #(define-music-function (parser location len thick beg end) (number? number? ly:music? ly:music?) #{ \once \override Glissando #'minimum-length = $len \once \override Glissando #'thickness = $thick \once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods $beg \glissando $end #}) myMusic = \relative c' { \slide #10 #5 a4 b4\3 } \score { << \new Staff { \new Voice { \clef "treble_8" \myMusic } } \new TabStaff { \new TabVoice { \myMusic } } } and that doesn't work either. I don't understand why ... I think what happens is that the start note, passed to your function, is already wrapped up in an object. \glissando is meant for use with a single note, rather than with a music object. You can use scheme to add the `start glissando' property to the object though: \version "2.13.40" slide = #(define-music-function (parser location length startnote) (number? ly:music?) #{ \once\override Voice.Glissando #'minimum-length = $length \once\override Voice.Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods #(begin (set! (ly:music-property $startnote 'elements) (cons (make-music (quote GlissandoEvent)) (ly:music-property $startnote 'elements) )) (ly:export $startnote)) #}) { \slide #7 a'' e'' } this page contains a similar example http://lilypond.org/doc/v2.13/Documentation/extending/adding- articulation-to-notes-_0028example_0029 Jakob Hi Jakob, thank you, too for your solution. I did have a look at the section on adding articulation to notes in Extending but I think I have a different problem. I actually wanted to write a function that calls \glissando and overrides its properties more or less for the whole score. I'd even prefer to tweak the command \glissando in order to get the same output in a Staff and a TabStaff. But I probably didn't look in the right place. I just found the definition of \glissando in property-init.ly: glissando = #(make-music 'GlissandoEvent) But I didn't manage to override its properties. Maybe you know how to do it? Thanks, patrick ___ 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: printing A4 pages on A3 paper
Hello. On 19/12/2010 12:03, Federico Bruni wrote: > in a print shop I was told that they couldn't directly print my A4 .pdf > to A3 paper - using Adobe Reader - because in the pdf "pages are linked > two by two" (I guess they meant to say "twoside"). > > So they had to first print on A4 sheets and then use them to print on A3 > paper. I think you are referring to pagination. Default A4 PDF files are Page 1 2 Page 3 4 For example. Here Page 1 is always the cover what you need in your PDF output is Page 4 1 Page 2 3 Like wise On an 8 page PDF Page 8 1 Page 2 7 Page 6 3 Page 4 5 This means you can 'print' your two pages on an A3 page so that when you print on the other side of the A3 page, the two A4 Pages are correct. Also for this you ALWAYS need multiples of 4 pages So for 6 Pages you need Page Blank 1 Page 2 Blank Page 6 3 Page 4 5 You can have 'fold outs' that can remove the blank pages but then you need 3 A4 Pages together and you have some options i.e Page 5 6 1 Page 2 3 4 or Page 6 1 2 Page 3 4 5 and so on If you are NOT just photocopying and using Litho Printers, then it gets more complicated because they will often want to print on larger sheets and so the pagination means that some pages are printed 'upside down' so that when they fold all the sheets together it works. If you are curious (and have 5 minutes and a couple of pieces of A4) then take you A4 sheet, fold it into A5 (fold it along the long edge) now take that A5 and fold it once more along the long edge until you get to an A6 size. Now have that a6 in front of you with the closed edge at the top and to the left hand side so that it looks like a little book. Now simply number the pages 1, 2, 3, 4 .. 8 as if you were trying to read it (leave the closed edge on the top), now fold it all out and you can see how 8 Pages are 'printed' so that you only need one sheet of paper. The printer will then 'trim' the top off so you have two smaller sheet and staple (stitch) the two sheets together so you have your booklet. If you want to see what 16 Pages looks like, repeat the above for another A4 sheet and before you start numbering, put the second folder A4 sheet inside the first and THEN number 1 - 16 and fold it all out. You can see how the numbering works, what pagination the printer needs and which pages are printed upside down. James PS I used to work for an Offset Lithographic printers for many, many years. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: printing A4 pages on A3 paper
Il giorno lun, 20/12/2010 alle 07.43 +1100, Nick Payne ha scritto: > > I just want to be sure that my pdf is ok and understand why the shop > > failed to print directly to A3. > Adobe Reader has a booklet printing option. I use it frequently to > print > A4 to A3 and then fold to make an A4 booklet. Yes, I know.. the problem is: it's quite likely - at least in my little experience - that people working in print shops don't know how to use Adobe Reader. So there are two possible solutions: * creating a pdfnup-ped 2 on 1, A3 landscape file * learning how to use Adobe Reader and teach them :) I'll choose the second. As my printer can't print A3, I'll practice with A5 pages in A4 booklet. So: lilypond -dno-point-and-click -dpaper-size=\"a5\" file.ly Now I'm testing the Page Scaling > Booklet Printing option, but I can't say if it's working because duplex is not working now. I guess it's a driver problem (I'm using hplip on linux). I'll try to solve it and test it again.. Cheers, Federico ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
source files of examples featured on the webpage
Hi, where can i get the source code of the music fetured here http://lilypond.org/examples.html ? cheers, Janek ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: source files of examples featured on the webpage
On Sun, Dec 19, 2010 at 11:57:28PM +0100, Janek Warchoł wrote: > > where can i get the source code of the music fetured here > http://lilypond.org/examples.html ? in git. Documentation/web/ly-examples/ No, they're not going to be click-through available. Before complaining, search the mailing list archives for the past two discussions on this topic, and if you think you have an argument that hasn't been raised before, go ahead and make it. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: source files of examples featured on the webpage
Il giorno dom, 19/12/2010 alle 23.57 +0100, Janek Warchoł ha scritto: > Hi, > > where can i get the source code of the music fetured here > http://lilypond.org/examples.html ? > here: http://git.savannah.gnu.org/cgit/lilypond.git/tree/Documentation/web/ly-examples ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to print less measures to each system
On 17 December 2010 22:48, -Eluze wrote: > it still does not work - see attached pdf for > > \version "2.13.43" > \paper { systems-per-page = #9 } > \repeat unfold 50 { > c d e f g a b c > } This has been broken since 2.13.31. Added here: http://code.google.com/p/lilypond/issues/detail?id=1460 Cheers, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: source files of examples featured on the webpage
Hi, 2010/12/20 Graham Percival : > On Sun, Dec 19, 2010 at 11:57:28PM +0100, Janek Warchoł wrote: >> where can i get the source code of the music fetured here >> http://lilypond.org/examples.html ? > > in git. Documentation/web/ly-examples/ 2010/12/20 Federico Bruni : > here: > http://git.savannah.gnu.org/cgit/lilypond.git/tree/Documentation/web/ly-examples Thank you both! 2010/12/20 Graham Percival : > No, they're not going to be click-through available. Before > complaining, search the mailing list archives (...) Don't worry, Graham - i'm fine with that :) Cheers, Janek ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
A quick way to change 50 lilypond files
I had a bunch of band charts I needed to update. I wanted to assign each chart a number and give them all a midi tempo. Then every now and then I learn something new that I want to add. I dusted off an old Perl script, changed a few lines and I was able to automate the process. It reads all the lilypond files in a folder, reads and changes the text inside and writes the updated file to a temporary folder called "changed". Open to the changed folder in a terminal, type "lilypond *" and lily will recompile everything. The key to the whole thing is the line=~s/xxx /yyy / lines. If you have ever used regex it will make sense. open(OUT, ">changed/$file");#output is to a folder called "Changed" one level deeper in tree foreach my $line(@text){ $line=~s:\\date:\\italic{ \"Sheet $cnt | Updated \" \\date } :; $line=~s:\\midi { }:$midistring:; print OUT $line; } This is the whole program. http://old.nabble.com/file/p30495491/lymod.pl lymod.pl -- View this message in context: http://old.nabble.com/A-quick-way-to-change-50-lilypond-files-tp30495491p30495491.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: ways of using Lilypond?
There's an OpenOffice tool. http://ooolilypond.sourceforge.net/ Regards, Mike Morales, lpmikemo...@aol.com On 12/19/2010 4:33 AM, Ludo Beckers wrote: That makes sense to me. In my case it's only 10% of arranging and composing. I read somewhere btw that there's an OpenOffice-tool as well; I'll have to check that one out for sure. On Sun, Dec 19, 2010 at 1:16 PM, Nils Gey mailto:den...@nilsgey.de>> wrote: An important but unasked question is for what do you need notation? If it is "just" transcribing from paper the task is not that critical. You need to get "in" information you already know. But if you compose or arrange and you are not a conservative person who was taught to repeat the sentence "real composers use pen and paper" over and over again you want to have more control over your music. I think that lilypond is not suited for composing in its syntax. Its an engraver with the purpose to create notation sheets. How the information was generated does not matter. So you need an additional tool to write and modify your notes in a more musical way. And thats Denemo. Nils ___ 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
music engraving resources in the internet
Hi, while i'm waiting for new Lilybuntu to be finished, i'd like to learn more about music engraving rules. I found lists of books on the subject in many places, but buying/lending these books would be difficult for me. Do you know any engraving resources in the internet? Until now i've found the following: http://www.girsberger.us/Library/LIBRARY_FILES_files/Music%20Notation%20guidelines.pdf - very basic http://mesastate.edu/~grader/ieeeme.pdf - actually some things are done wrongly in there, at least in my opinion The following ones have more details: http://mpa.org/music_notation/ http://icking-music-archive.org/lists/sottisier/sottieng.pdf http://www.coloradocollege.edu/dept/mu/mu2/musicpress/ but i suppose there's still much more to elaborate on. So, any links (or attachments) will be appreciated. Cheers, Janek ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: music engraving resources in the internet
2010/12/19 Janek Warchoł : > while i'm waiting for new Lilybuntu to be finished, i'd like to learn > more about music engraving rules. I found lists of books on the No need to wait. You can use it now. http://files.lilynet.net/ I recommend lilybuntu2.1.iso Jonathan -- Jonathan Kulp http://www.jonathankulp.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: music engraving resources in the internet
On Sun, Dec 19, 2010 at 07:45:38PM -0600, Jonathan Kulp wrote: > 2010/12/19 Janek Warchoł : > > while i'm waiting for new Lilybuntu to be finished, i'd like to learn > > more about music engraving rules. I found lists of books on the > > No need to wait. You can use it now. > > http://files.lilynet.net/ > > I recommend lilybuntu2.1.iso I don't, since that iso does not match the official instructions on lilypond.org/doc/2.13/, and don't even match the most-recent published instructions on lilypond/~graham/cg-iguana/ I'm over 15 hours for the Dec 13-19 week. Tommorrow I'll be down to 5 hours for the Dec 20-26 week, and I'll make a new set of instructions with feedback from the past few days. We're getting there. Relax. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: printing A4 pages on A3 paper
On 20/12/10 09:44, Federico Bruni wrote: Il giorno lun, 20/12/2010 alle 07.43 +1100, Nick Payne ha scritto: I just want to be sure that my pdf is ok and understand why the shop failed to print directly to A3. Adobe Reader has a booklet printing option. I use it frequently to print A4 to A3 and then fold to make an A4 booklet. Yes, I know.. the problem is: it's quite likely - at least in my little experience - that people working in print shops don't know how to use Adobe Reader. So there are two possible solutions: * creating a pdfnup-ped 2 on 1, A3 landscape file * learning how to use Adobe Reader and teach them :) I'll choose the second. As my printer can't print A3, I'll practice with A5 pages in A4 booklet. So: lilypond -dno-point-and-click -dpaper-size=\"a5\" file.ly Now I'm testing the Page Scaling> Booklet Printing option, but I can't say if it's working because duplex is not working now. I guess it's a driver problem (I'm using hplip on linux). I'll try to solve it and test it again On Windows there's a shareware program called BookletCreator that will rearrange the pages in a PDF for you to print as a booklet, and also optionally change the output page size (eg A4 input to A3 bookleted output). On Linux you can use psbook, psnup, and pstops for booklet printing. If you Google those terms you'll find numerous pages showing the commands and parameters needed. Nick ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: A quick way to change 50 lilypond files
Excerpts from hsweet's message of Mon Dec 20 02:05:06 +0100 2010: > I had a bunch of band charts I needed to update. Let me remind you that editors such as Vim or jedit have macro recording. Depending on the task this can be even faster if you use the editors search/ grep features and then the macro to jump to the next match and make the edit. Marc Weber ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ways of using Lilypond?
Ludo Beckers writes: > Just wondering, has there ever been a poll about how many Lilypond users > work with a certain specific tool. GNU/Emacs with LilyPond mode. Home grown library of templates that I was willing to share but LSR cannot handle a collection of files. I have a small script that runs LP in a loop and displays the output using Evince, with point&click that gets passed to Emacs. Sibelius scores are converted with Kirill A. Sidorov's sib2ly. PostScript postprocessing with home grown tools, to add headings and logos to the output. MIDI postprocessing with home grown tools to split parts into separate sound files to excercise with. Works for me... -- Johan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user