Guide to set up Lilypond mode for Emacs on OS X
Dear Lilypond users: I have written a guide on how to set up the Lilypond mode for Emacs on OS X. For this, I have created two posts on my blog. If anyone needs this information, here are the links: Setting Up Lilypond Emacs on OS X for Visually Impaired Musicians - Part I http://www.antoniogervasoni.com/blog/setting-up-lilypond--emacs.html Setting Up Lilypond Emacs on OS X for Visually Impaired Musicians - Part II http://www.antoniogervasoni.com/blog/setting-up-lilypond-and.html I'd only like to add that this wouldn't have been possible without the help of Hwaen Ch'uqi and Jacques Menu. I hope other users might find this guide useful. Best regards, Antonio Gervasoni ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Emacs Lilypond-mode: view PDF
Hi Jacques! First, I tried following the installation instructions inside the tar.gz file that is provided for Mac at the xpdf website. The instructions I followed were these: 1. Copy the executables (xpdf, pdftotext, etc.) to to /usr/local/bin. 2. Copy the man pages (*.1 and *.5) to /usr/local/man/man1 and /usr/local/man/man5. 3. Copy the sample-xpdfrc file to /usr/local/etc/xpdfrc. You'll probably want to edit its contents (as distributed, everything is commented out) -- see xpdfrc(5) for details. As that didn't seem to work, I removed everything and then tried the pre-compiled binary (.dmg) that can also be found there. However, when I looked inside the folders, I found the executables had not been installed. Therefore, I removed all the files again so now everything is like it was before my first attempt. This morning I have re-read the installation instructions copied above and discovered something intriguing. The first point says Copy the executables (xpdf, pdftotext, etc.)... however, there is no xpdf executable inside the tar.gz file. A quick search on Google shows that other users have had the same problem (even when compiling xpdf themselves). Could that be the source of my problem? For the moment, I found a workaround. I opened the Lilypond-mode.el file and changed xpdf for open on line 346. This way, Preview is being called instead of xpdf. Any suggestions? Best, Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Emacs-Lilypond-mode-view-PDF-tp166776p166806.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Emacs Lilypond-mode: view PDF
Thank you very much Jacques! It never occurred to me to install it via Macports. I did it and now it works as expected. I still have to install the tools manually, right? One final question, do I have to go through all the trouble of installing Macports and Xcode on my student's Mac so that I can then build the xpdf executable there or can I simply copy the one in my machine and put it manually on his computer? Thanks again for all your help! Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Emacs-Lilypond-mode-view-PDF-tp166776p166816.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Emacs Lilypond-mode: view PDF
Hi all, I've just figured out how to get Emacs to work with Lilypond in OSX. Everything works fine except the command for viewing the pdf output (C-c C-s). When I run it I get this: xpdf /Users/Antonio/Desktop/Emacs/Test.pdf /bin/bash: xpdf: command not found Compilation exited abnormally with code 127 at Wed Sep 24 20:08:44 Xpdf is installed. My guess is that Emacs can't find the path to it but I don't know how to set it up. Anyone knows how to solve this? Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Emacs-Lilypond-mode-view-PDF-tp166776.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: HELP: Editor for Blind People
Hi Hwaen! Yes, I also found that thread but, although it starts about Emacs the discussion then moves to installing Frescobaldi. I've also read the instructions at the Lilypond website. It only says Emacs has a lilypond-mode and then gives a few instructions on how to install it if it's not already installed on my platform but to me they are absolutely incomprehensible. I'm not a programmer. Antonio P.S.: the Lilypond website was unreachable yesterday -- View this message in context: http://lilypond.1069038.n5.nabble.com/HELP-Editor-for-Blind-People-tp166632p166704.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: HELP: Editor for Blind People
Thank you so much Hwaen! That is precisely the information I needed. Now I can see why Emacs is indeed the best solution. Thank you for taking the time to write that description. I'm already reading the manual. Now I have to figure out how to set up Lilypond for Emacs on a Mac. Is there anyone on this forum who has done this successfully? I was able to find this http://www.geoffhorton.com/lilymacs.html but there's no info about when it was written or if it applies to a Mac. Any help would be much appreciated! Antonio P.S.: no need to feel bad for beating the dead horse. I'm really glad you did! LOL Thanks! -- View this message in context: http://lilypond.1069038.n5.nabble.com/HELP-Editor-for-Blind-People-tp166632p166673.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
HELP: Editor for Blind People
Hi all! I'm trying to help one of my students who is blind. He will be soon taking courses where he's going to be asked to produce arrangements in the form of printed scores. My problem is that I can't find the right editor for him. I need help to choose the most appropriate one. Here's what I need to sort out: 1. He will need to be able to navigate quickly between the documents, the log and the midi player 2. The log has to be readable (in Frescobaldi you can't place a cursor in the log and navigate through it as in a text document) 3. The editor must have the ability to jump directly to the line where an error is located, and from there to the next error, if there is more than one. I have tried with Frescobaldi and Elysium but none seems a good choice. Emacs and Vim are possible candidates but there's little information about them. Also, I would need soom help on how to install any of them (they seem pretty complicated to set up I would appreciate very much any help! Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/HELP-Editor-for-Blind-People-tp166632.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: HELP: Editor for Blind People
Well, first, 86 results in Google or any other browser doesn't mean 86 meaningful results. I would be surprised if real helpful information could be found in more than just the first 3 or 4 pages. On the other hand, I was referring to emacs and vim in relation to Lilypond. Of course there's a lot of information about them just as editors. In any case, I would be willing to accept that I have just been unable to find useful information about their usage with Lilypond (mea culpa) but, honestly, I was expecting a more positive feedback, something about the subject of my post, not a rebuke on my poor capabilities to make a search on the web. Thanks, anyway. -- View this message in context: http://lilypond.1069038.n5.nabble.com/HELP-Editor-for-Blind-People-tp166632p166637.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: HELP: Editor for Blind People
Hi Hwaen! Actually, it depends on what OS my student uses, and I'm sure it's not Linux. He had a Windows computer a few years ago but I believe he has switched to Mac. In any case, he already has a program that reads everything on the screen for him (Mac comes with one built-in). What I'm actually looking for is an editor that will let him to easily switch from the document to the log and to the midi player (because he needs the aural feedback). The reading of the information on the screen has already been solved. Thank you! Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/HELP-Editor-for-Blind-People-tp166632p166638.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: HELP: Editor for Blind People
Thank you Jaime!!! I'll look into that! :-) Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/HELP-Editor-for-Blind-People-tp166632p166640.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: HELP: Editor for Blind People
Well, I tried TexShop. I already had it installed so it was just a matter of downloading and installing the Lilypond engines created by Nicola Vitacolonna. It was very easy and the engines work perfectly. Unfortunately, I have the same trouble as with Frescobaldi: the log is unreadable. In other words, I can't place a cursor in the log and follow it as I would do with any other type of text. Also, TexShop was unable to take me to the errors and I couldn't find any way to assign shortcuts to things like selecting the engine. -- View this message in context: http://lilypond.1069038.n5.nabble.com/HELP-Editor-for-Blind-People-tp166632p166641.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: HELP: Editor for Blind People
What I would also encourage you to do is to send an email to Wilbert or add your suggestions to Frescobaldi's own tracker to maybe say why it isn't a good choice. Great idea! I will do that! I do use Frescobaldi and I agree, it's really nice! The problem with it is that the log cannot be read, i.e. you can't focus on the log as a separate window (or panel) and go line by line with a cursor. As a result, VoiceOver can't read the contents of the log. Clicking on the log (something impossible for him) makes VoiceOver say you are currently on unknown. Is there any particular reason that your student cannot 'keep it simple' and use a text editor or lilypad that comes with a mac (which is very simple but does the job)? Yes, I thought of that too. In fact, just the Lilypond app would be enough. No need for a separate text editor. However, I must say it IS cumbersome. I have tried this approach with him before. He has to go constantly from one window to another and then browse for the MIDI file every time he wants to play it. I was just hoping there would be some editor which could make things easier for him. Also, in order to check if there was any error he has to read the log completely after every compilation (sometimes files can be compiled even with errors). A feature to take him directly to the exact place where the error is located would be also very nice. Otherwise, he would have to look for it manually. (For some strange reason, Frescobaldi doesn't take you to the line where the error is located but to the following line instead... on a Mac, at least). Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/HELP-Editor-for-Blind-People-tp166632p166647.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Haipins ending with text: scheme help
Thank you so much, Thomas! I'll try it right away and will post the results. Yes, I'm aware of the broken links. I was unable to upload the images on my first attempt (on Nabble) so I modified my post and included links to files in my Dopbox instead. I couldn't find a way to do the same on Gmane. For anyone else that might follow this thread, the images are here https://dl.dropboxusercontent.com/u/4857747/a.png , here https://dl.dropboxusercontent.com/u/4857747/b.png and here https://dl.dropboxusercontent.com/u/4857747/c.png . Thanks again! Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055p165079.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Haipins ending with text: scheme help
Thomas, I tried your solution. It's definitely far better than mine. Works flawlessly with pd. but not so well with n., which now experiences the same vertical displacement. Here https://dl.dropboxusercontent.com/u/4857747/d.png is how it looks when the n. is placed as a dynamic text attached to a rest, and here https://dl.dropboxusercontent.com/u/4857747/e.png how it looks with the code you provided. Of course, the difference is minimal, it's not so disturbing as the other one, so I suppose I can live with that. LOL On the other hand, is there a way to increase a little bit the space before the bar line? I feel the text is too close to it. Also, could you recommend a good source to learn Scheme? Thank you very much for your help! Sincerely, Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055p165082.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Haipins ending with text: scheme help
Oops... I did ir again! The order of the images is inverted... so sorry! Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055p165083.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Haipins ending with text: scheme help
Hi Thomas, Sure! Here it is: %%% Definition of the two types of hairpin hairpinN = \hairpinWithRightText \markup \italic n. hairpinPD = \hairpinWithRightText \markup \italic pd. %%% Example { \new Staff \relative c''' { a1(\p\ gis2.)\mf\ r4\n a1(\p\ dis2.)\mf\ r4\n e2(\p\ dis4 e \break f2 g \hairpinN gis1\mp\) R1\! R1 } } Best, Antonio On Tue, Jul 29, 2014 at 2:28 PM, Thomas Morley-2 [via Lilypond] ml-node+s1069038n165085...@n5.nabble.com wrote: 2014-07-29 20:56 GMT+02:00 Antonio Gervasoni [hidden email] http://user/SendEmail.jtp?type=nodenode=165085i=0: Thomas, I tried your solution. It's definitely far better than mine. Works flawlessly with pd. but not so well with n., which now experiences the same vertical displacement. Here https://dl.dropboxusercontent.com/u/4857747/d.png is how it looks when the n. is placed as a dynamic text attached to a rest, and here https://dl.dropboxusercontent.com/u/4857747/e.png how it looks with the code you provided. Of course, the difference is minimal, it's not so disturbing as the other one, so I suppose I can live with that. LOL On the other hand, is there a way to increase a little bit the space before the bar line? I feel the text is too close to it. Also, could you recommend a good source to learn Scheme? Thank you very much for your help! Sincerely, Antonio Hi Antonio, could you provide tiny code-examples causing the difference? No need to reinclude my scheme-coding. Just how you use it. Cheers, Harm ___ lilypond-user mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=165085i=1 https://lists.gnu.org/mailman/listinfo/lilypond-user -- If you reply to this email, your message will be added to the discussion below: http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055p165085.html To unsubscribe from Haipins ending with text: scheme help, click here http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=165055code=YWdlcnZhc29uaUBnbWFpbC5jb218MTY1MDU1fDIwMjE3MTg3NzQ= . NAML http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- View this message in context: http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055p165086.html Sent from the User mailing list archive at Nabble.com.___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Haipins ending with text: scheme help
your example is not very helpful, because it does not show a dynamic text attached to a rest. And it does not compile, because of the unknown \n Aw! I forgot that! It's on the file called by \include. Both dynamics are defined on this way: n = #(make-dynamic-script #{ \markup \line { \normal-text \normalsize \italic n. } #}) pd = #(make-dynamic-script #{ \markup \line { \normal-text \normalsize \italic pd. } #}) After that, the \n will appear under a rest, on the second and fourth bars. I apologise for the mistake. Thank you so much. I'll try it now. Best, Antonio On Tue, Jul 29, 2014 at 3:58 PM, Thomas Morley-2 [via Lilypond] ml-node+s1069038n165091...@n5.nabble.com wrote: 2014-07-29 21:44 GMT+02:00 Antonio Gervasoni [hidden email] http://user/SendEmail.jtp?type=nodenode=165091i=0: Hi Thomas, Sure! Here it is: Hi Antonio, your example is not very helpful, because it does not show a dynamic text attached to a rest. And it does not compile, because of the unknown \n %%% Definition of the two types of hairpin hairpinN = \hairpinWithRightText \markup \italic n. hairpinPD = \hairpinWithRightText \markup \italic pd. %%% Example { \new Staff \relative c''' { a1(\p\ gis2.)\mf\ r4\n -- ?? a1(\p\ dis2.)\mf\ r4\n e2(\p\ dis4 e \break f2 g \hairpinN gis1\mp\) R1\! R1 } } Anyway, I added some code, so that the added _text_ is always vertically aligned to the _hairpin_ in the same manner (regarding its baseline). At least for most european languages. See attached. HTH, Harm ___ lilypond-user mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=165091i=1 https://lists.gnu.org/mailman/listinfo/lilypond-user *hairpin-with-text-right.ly http://hairpin-with-text-right.ly* (7K) Download Attachment http://lilypond.1069038.n5.nabble.com/attachment/165091/0/hairpin-with-text-right.ly -- If you reply to this email, your message will be added to the discussion below: http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055p165091.html To unsubscribe from Haipins ending with text: scheme help, click here http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=165055code=YWdlcnZhc29uaUBnbWFpbC5jb218MTY1MDU1fDIwMjE3MTg3NzQ= . NAML http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- View this message in context: http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055p165096.html Sent from the User mailing list archive at Nabble.com.___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Haipins ending with text: scheme help
Works perfectly! You are a genius! Thanks again! You should publish it on the snippet repository. It's far better than creating a second voice with spacers, as is suggested there (or somewhere else... I can't remember now) Best regards, Antonio On Tue, Jul 29, 2014 at 5:25 PM, Antonio Gervasoni agervas...@gmail.com wrote: your example is not very helpful, because it does not show a dynamic text attached to a rest. And it does not compile, because of the unknown \n Aw! I forgot that! It's on the file called by \include. Both dynamics are defined on this way: n = #(make-dynamic-script #{ \markup \line { \normal-text \normalsize \italic n. } #}) pd = #(make-dynamic-script #{ \markup \line { \normal-text \normalsize \italic pd. } #}) After that, the \n will appear under a rest, on the second and fourth bars. I apologise for the mistake. Thank you so much. I'll try it now. Best, Antonio On Tue, Jul 29, 2014 at 3:58 PM, Thomas Morley-2 [via Lilypond] ml-node+s1069038n165091...@n5.nabble.com wrote: 2014-07-29 21:44 GMT+02:00 Antonio Gervasoni [hidden email] http://user/SendEmail.jtp?type=nodenode=165091i=0: Hi Thomas, Sure! Here it is: Hi Antonio, your example is not very helpful, because it does not show a dynamic text attached to a rest. And it does not compile, because of the unknown \n %%% Definition of the two types of hairpin hairpinN = \hairpinWithRightText \markup \italic n. hairpinPD = \hairpinWithRightText \markup \italic pd. %%% Example { \new Staff \relative c''' { a1(\p\ gis2.)\mf\ r4\n -- ?? a1(\p\ dis2.)\mf\ r4\n e2(\p\ dis4 e \break f2 g \hairpinN gis1\mp\) R1\! R1 } } Anyway, I added some code, so that the added _text_ is always vertically aligned to the _hairpin_ in the same manner (regarding its baseline). At least for most european languages. See attached. HTH, Harm ___ lilypond-user mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=165091i=1 https://lists.gnu.org/mailman/listinfo/lilypond-user *hairpin-with-text-right.ly http://hairpin-with-text-right.ly* (7K) Download Attachment http://lilypond.1069038.n5.nabble.com/attachment/165091/0/hairpin-with-text-right.ly -- If you reply to this email, your message will be added to the discussion below: http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055p165091.html To unsubscribe from Haipins ending with text: scheme help, click here http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=165055code=YWdlcnZhc29uaUBnbWFpbC5jb218MTY1MDU1fDIwMjE3MTg3NzQ= . NAML http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- View this message in context: http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055p165097.html Sent from the User mailing list archive at Nabble.com.___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Haipins ending with text: scheme help
How about you put it in yourself? I just did. :-) I'm one of the LSR-editors and can promise a fast approval ;) Wow! Excellent! Best, Antonio On Tue, Jul 29, 2014 at 5:59 PM, Thomas Morley-2 [via Lilypond] ml-node+s1069038n165099...@n5.nabble.com wrote: 2014-07-30 0:39 GMT+02:00 Antonio Gervasoni [hidden email] http://user/SendEmail.jtp?type=nodenode=165099i=0: Works perfectly! You are a genius! Thanks again! You're welcome You should publish it on the snippet repository. How about you put it in youself? http://lsr.di.unimi.it/LSR/html/contributing.html I'm one of the LSR-editors and can promise a fast approval ;) Cheers, Harm ___ lilypond-user mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=165099i=1 https://lists.gnu.org/mailman/listinfo/lilypond-user -- If you reply to this email, your message will be added to the discussion below: http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055p165099.html To unsubscribe from Haipins ending with text: scheme help, click here http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=165055code=YWdlcnZhc29uaUBnbWFpbC5jb218MTY1MDU1fDIwMjE3MTg3NzQ= . NAML http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- View this message in context: http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055p165103.html Sent from the User mailing list archive at Nabble.com.___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Haipins ending with text: scheme help
Hi everyone, I'm working on a score where I need hairpins to end on a specific text. I do this because I don't really like the hairpins with a circle tip. I prefer to use n. for niente and pd. for perdendosi (the first one for strings, the second one for winds). Now, on some occasions the hairpin must end with the text placed just before the bar line, like this: http://lilypond.1069038.n5.nabble.com/file/n165055/Screen_Shot_2014-07-28_at_11.png As I find the typical solution of creating a second voice with spacers rather clumsy, I managed to come up with a better one by tweaking the snippet for placing text under a hairpin. However, I'm know nothing of scheme so my solution is far from perfect. The code is here: hairpinWithRightText = #(define-music-function (parser location text) (markup?) #{ \once \override Voice.Hairpin.after-line-breaking = #(lambda (grob) (let* ((stencil (ly:hairpin::print grob)) (new-stencil (ly:stencil-aligned-to (ly:stencil-combine-at-edge (ly:stencil-aligned-to stencil X RIGHT) Y CENTER (ly:stencil-aligned-to (grob-interpret-markup grob text) X CENTER)) X LEFT)) (staff-space (ly:output-def-lookup (ly:grob-layout grob) 'staff-space)) (staff-line-thickness (ly:output-def-lookup (ly:grob-layout grob) 'line-thickness)) (grob-name (lambda (x) (assq-ref (ly:grob-property x 'meta) 'name))) (par-x (ly:grob-parent grob X)) (dyn-text (eq? (grob-name par-x) 'DynamicText )) (dyn-text-stencil-x-length (if dyn-text (interval-length (ly:stencil-extent (ly:grob-property par-x 'stencil) X)) 0)) (x-shift (if dyn-text (- (+ staff-space dyn-text-stencil-x-length) (* 0.5 staff-line-thickness)) 0))) (ly:grob-set-property! grob 'Y-offset 0) (ly:grob-set-property! grob 'stencil (ly:stencil-translate-axis new-stencil x-shift X #}) hairpinN = { \override Hairpin #'bound-padding = #2.3 \once \hairpinWithRightText \markup { \italic n. } } hairpinPD = { \override Hairpin #'bound-padding = #3.2 \once \hairpinWithRightText \markup { \italic pd. } } If you check the original code for this snippet, you will see that I just changed the word dir for CENTER, on the 10th line of hairpinWithRightText. I have then defined the two hairpins and placed a lot of spaces before each text. Then, I have increased the padding of the hairpins so that they leave enough space for the text. The result is here: http://lilypond.1069038.n5.nabble.com/file/n165055/Screen_Shot_2014-07-28_at_11.png Not a bad result, but the pd. is not properly aligned (verticaly). See how the pd. is placed when attached to a rest: http://lilypond.1069038.n5.nabble.com/file/n165055/Screen_Shot_2014-07-28_at_11.png You can see the vertical alignment is not the same. It's a tiny difference but I would like it to be perfect. Also, my solution is not really very elegant, is it? Can anyone who knows scheme find a better way to do this? Something simple, effective and accurate? I would appreciate very much any help on this. Antonio P.S.: this could also be used to end hairpins with normal dynamic text, thus avoiding the tiresome solution of writing a second voice with spacers. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: CPU usage and barchecks
David wrote: No. Bar checks don't do any accounting of their own, they just check an existing counter for being on a bar boundary at a particular point of processing. I doubt that you would notice a significant difference if you had 100 bar checks every bar. Thanks! Good to know! James wrote: This is normal for any large and complex job of compiling from source code. The compiler is supposed to read the code and convert it to something else (another kind of code, or here, PDF) as fast as possible. Often that means maxing out at least one CPU core for as long as the job is running. Yes, I already knew this but still wanted to know if there was anything I could do to make it easy for Lilypond, so compiling wouldn't take more than what is necessary. I've decided to run Lilypond in my old PC which has Ubuntu installed. Funny thing is that although it is much older than the mac, with a less powerful CPU, it compiles the score faster! Of course, the load in the processor is the same but I can't notice it because there's no increase in the fan speed. It's inherent in the write-compile-edit-recompile workflow. This architecture gives lilypond some distinct advantages in the marketplace, but it does have the disadvantage that even a small change requires redoing all of the typesetting work from scratch. True! I wonder if a future version of Lilypond would be able to compile only the parts that change. Maybe with some kind of version control management incorporated into the software. Don't know why it wasn't included from the beginning but guess it's because it's not as easy as it sounds. LOL Regards, Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/CPU-usage-and-barchecks-tp141433p141502.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: CPU usage and barchecks
Paul wrote: Hi Antonio, You might find this interesting: http://lilypond.org/schikkers-list/ The basic idea is to have LilyPond render only a small bit of the music: the bit that changed. Excellent!!! Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/CPU-usage-and-barchecks-tp141433p141530.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
CPU usage and barchecks
Hi, I've been using Lilypond for over a year and I've always noticed it requires a lot of CPU resources to engrave a score. This is especially noticeable when working on big orchestral scores. I use a Macbook Pro and one single engraving of an orchestral score, speeds up the fan and the left-hand corner of the machine gets very hot. This doesn't happen when I process a single instrument part; although, if I make changes and process the part several times in quick succession, the machine gets equally hot. I wonder if having a barcheck for every measure has something to do with this. The score I'm working on has 25 staves and is 220 bars long. Also, of those 25 staves, 9 are used for two instruments so in the end it's just like having 34 staves. Then, 34*220 makes 7,480 barchecks. If I remove almost all the barchecks and leave just a few, would that make a difference on how much CPU is used? Or, if barchecks have nothing to do with CPU usage (or at least not much), is there any way to improve CPU usage? Is there any list of recommendations which users should follow in order to keep machine resources at the minimum? Regards, Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/CPU-usage-and-barchecks-tp141433.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guide to Writing Orchestral Scores with Lilypond?????
Joseph wrote: You're preaching to the converted here, I fear ... :-) Very true :-P Will you be publicly sharing your drafts? I'm sure people would be happy to give feedback and contributions on the way. Urs has almost convinced me about using Git so i't's very likely I will get a Github account and start collaborating directly with his project. According to him my source code would be public this way right from the beginning. But the tutorial itself (in its PDF representation) would be hidden as long as [I] wish. Regards, Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Guide-to-Writing-Orchestral-Scores-with-Lilypond-tp139065p139609.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guide to Writing Orchestral Scores with Lilypond?????
Ben wrote I wish I knew as much about the includes and whatnot that you do; I only use one file per one score at the moment. I can't seem to figure out how to open say, just one instrument part, of your score. It just renders a blank page. Surely I am missing some connection to another file. Hi Ben! The include command is very easy to understand. Just read the chapter in the manual or do a quick search and you'll get the grasp of it in no time. Some parts are split in two files: InstrumentNameMusic.ly and InstrumentName.Score.ly. The part is generated from the latter. The former contains only the music itself (notes, rests, slurs, etc.) A few parts are not divided this way and show only the name of the instrument, meaning that everything needed to generate the score is in there. I don't know which operating system you use. I'm on a Mac with Snow Leopard 10.6.8. I use Frescobaldi as a GUI. So it's just a blank page? Isn't there some error mesage? Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Guide-to-Writing-Orchestral-Scores-with-Lilypond-tp139065p139405.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guide to Writing Orchestral Scores with Lilypond?????
Hey guys! Sorry for not participating in the discussion about the copyrighted material in Urs tutorial. I'm finishing the music for a film and I have little time to read posts and make comments. ;-) I agree with Joseph's idea: Well, here's what _I_ would do in your shoes: license freely all the parts of the tutorial that are your copyright, and add a clear exception notice for musical examples that are still in copyright. However, I'm not a lawyer so I'm sure if this would work. All these problems with copyrights are always a real hassle. Copyrights are good, I mean, the idea itself is good. The problem is that the law has taken the matter to amazing extremes. Is there any sense in a legislation that allows someone to be accused of piracy and then sued for billions of dollars, while a doctor who amputates the wrong leg of a patient is liable for no more than 250,000? Does this make any sense? Are copyrights more valuable than someone's leg? Also, according to recent studies, almost a third of the american population have at least once downloaded a song illegally. This means that, according to the law, more than 300 million americans are effectively criminals. Again, copyrights are good (I'm an author so I am of course pro-copyrights), but the law has been twisted in a way it should have never been. I'd recommend everyone to read the book Free-Culture, by Lawrence Lessig, Professor of Law at Harvard Law School. It can be downloaded freely from here: http://www.free-culture.cc/ Another very good book (which I haven't finished yet) is: The Public Domain, Enclosing the Commons of the Mind, by James Boyle (also free!). If you are an author, then you should read these books! I have, and they have been a revelation to me! I'm not a US citizen. I don't even live in the US! But we now live in a global market, and what a country does - especially the United States - affects other countries as well, so I have a concern for what happens there, and I'm afraid it might begin to happen where I live too (though I don't really think it's possible due to the differences between our legal systems... but who knows!) I apologize for making an off-thread comment but, after reading so many posts about copyrights, I felt the need to say something that would be useful to generate some awareness about the problem that has been created around copyrights by greedy companies and corporations. I don't want this thread to become a discussion about copyrights. I hope it doesn't! I won't say another word about it here, I promise! Now, about the tutorial for creating orchestral scores with Lilypond, I just want to tell everyone that I have started working on it. I still have to finish the music for the film first, then I have to finish the score (Icarus) and then I also have to prepare my classes for the next semester (I teach at a local university). So I'd say it's gonna take me at least a couple of months to finish the document (possibly three!). I'm writing it in LaTeX, as Urs suggested, and will send it to him so that it can be included in his project. Regards, Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Guide-to-Writing-Orchestral-Scores-with-Lilypond-tp139065p139408.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guide to Writing Orchestral Scores with Lilypond?????
Ben wrote: Brilliant - thank you so much! I look forward to the files. Here's the link: https://dl.dropbox.com/u/4857747/Icarus-ly.zip You're welcome! ;-) An important note to anybody who finds this and has not read the previous discussion: these zip file contains the ly files of a work which is still in progress. Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Guide-to-Writing-Orchestral-Scores-with-Lilypond-tp139065p139264.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guide to Writing Orchestral Scores with Lilypond?????
Urs wrote: Well, the risk may be that it is a case of immediate enthusiasm which might fade away when there aren't immediate results ;-) Yes, I am aware of that! So I have already decided that I will definitely document my approach to the matter. If the collaborative effort is successful then I'll contribute to it with my text, if not I'll just find the proper place to upload it and make it available to all Lilypond users. I think that the contributions we are talking about right now (tutorial and material for orchestral scores for example) could very well be included in c) Excelent! Very nice project, by the way. Thank you for presenting it with so much detail. My basic plan for the document is to describe each step of the process, exactly as I did it, present the problems I found in the way and how I tackled each one of them and then include possible alternative approaches, if I can think of any. I think the best way to do this is to start by presenting the file structure, along with the templates and a description of how the score and parts will be obtained from those files. Then I would go on a per-instrument basis, starting with the flute and moving downwards in the score (which is how I did it), describing the different problems I encountered along the way and how I solved them. IMHO it isn't advisable to directly tackle a 'definitve and exhaustive' guide. This _is_ a huge project and probably would get stuck before we'd get any single result. I would suggest to see it as a growing collection of individual documents. Any single new text that is available publicly is an improvement, so we should encourage anybody to contribute, be it a 30 page essay on orchestral scores or a one page hint on a practice to transpose harmonically complex scores. I agree! Trying to build something according to a plan that goes from simple to complex is very difficult and could get stuck. I think it is better to collect what users are willing to share and from there start filling in the blanks little by little. It is best to have an incomplete guide than to have no guide at all! My 'natural' choice would be the (already existing, but essentially empty) Github repository This is the first time I take a look at a Github repository so honestly I couldn't say it is better than any other solution. No need to worry. A document in non-perfect English (and I don't see any problem when reading your emails ...) is far better than no document. Well, it is one thing to write emails and another to write a document like that. I read a lot in English and I'm always amazed at the way a native English speaker writes in his own language. I could never come up with something of that quality. But it's reassuring to know that I'm not doing it bad. Thank you! And if we'd go for the Git approach it would be easy for someone else to just make a few improvements here and there ... Excelent! Very nice! It's a perfect example of the aesthetic credo mentioned on the first page of the introduction on lilypond.org. Thank you! And thanks also to Ben's comment! Besides the missing parts there are also minor collision and out-of-place issues that I'll address at the end. Finally, I hope we can take up and keep the impetus this discussion has created ... So do I! Regards, Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Guide-to-Writing-Orchestral-Scores-with-Lilypond-tp139065p139164.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guide to Writing Orchestral Scores with Lilypond?????
Urs wrote: From those options I'd prefer Google over Facebook. Not less scary, but I'd consider Google more as a platform for actually _work_ together (although this might be strictly emotional ...) I couldn't think of Facebook as an alternative. GogleSites seems like a nice one. One of the example templates is called project work site. Maybe that could work. Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Guide-to-Writing-Orchestral-Scores-with-Lilypond-tp139065p139165.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guide to Writing Orchestral Scores with Lilypond?????
Ben wrote: Would it be possible to see the ly file for that PDF? :) Hi Ben, Yes, of course! The problem is that it is not just one file. There are more than 20 files involved. :-) The file for the complete score includes a file containing the metrics, another one for special definitions, one with my preferences for the positions of percussion notes, another one with the headings for all staves and finally one file for each part (flutes, horns, harp, etc.) I could zip them all and put them in my Dropbox. However, I'm not sure if all things in there are self-explanatory. I guess they might be for an experienced user but maybe not so for a newcomer, who will have to wait until I write the document that explains how all these files work. I'll upload them tomorrow and past the link. Regards, Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Guide-to-Writing-Orchestral-Scores-with-Lilypond-tp139065p139218.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Sibelius user looking for the easiest way to learn LilyPond
Werner Lemberg writes: I disagree. All the knowledge is collected in the Lilypond Snippet Repository (LSR) and this very mailing list. So users should be able to look up the LSR and to search the archive of this list. And in case someone doesn't find a solution, writing to the list is the obvious next step, and as you have probably experienced already, virtually all requests get answered in a very short time, most of the satisfactorily. Very true! However, I believe the average user of scorewriting software (or any software) would not be thrilled by the idea of finding himself going through pages and pages of documentation and/or opening up to 10 tabs of post threads in his browser and/or posting questions in a list, to then find the solution is some code written in a language he does not understand. This is of course a very extreme scenario because solution to common problems can be easily found. Don't misunderstand me, I'm not complaining, nor am I criticizing the way Lilypond works. I'm the type of user who actually likes to investigate and find things the hard way (it's much more interesting). I guess then, what they say about Lilypoond not being for everyone is true after all. Simplification? I doubt it. A better interface? Maybe. It's a long-term goal to improve that. I was already feeling I put this the wrong way. Of course, Lilypond syntax is amazingly simple when it comes down to writing notes, durations, rests, slurs, ties, beams, etc. I was thinking of tweaking when I wrote that word. Some expressions are really complicated though it is true one does not have to do as many tweaks as in other software, and the number of them should decrease with time... and software like Frescobaldi help you to find the right commands and variables. On a side note, I think it is very sad what just happened with the LilypondTool. For those who don't know, the guy who wrote it decided to stop development because he has moved to Musescore. I used the LilypondTool for some time and I must say it was very good. I hope someone takes over it's development. Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Sibelius-user-looking-for-the-easiest-way-to-learn-LilyPond-tp6427p139053.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Guide to Writing Orchestral Scores with Lilypond?????
About a year ago, when I discovered Lilypond, I decided that the best way to learn it was to typeset an old composition and compare the result to the first score. I then decided that the work should be an orchestral work I composed back in 2003, mainly because it is a very complicated score - a bit Stravinskian, with constant time signature changes, complex rhythms, etc. - and if Lilypond could handle that then it could certainly convince me as an alternative to other software. I never imagined it would be so hard; part of it, obviously, because I was a newbie and part of it because the work is indeed a very complex one (maybe I should have started with an easier piece!). However, it has been also hard because I have been unsuccesful at finding any website or blog thoroughly describing the basics of creating an orchestral score. There is an orchestral template in the Learning Manual and ideas scattered all over the net but nothing in the form of a Guide to Writing Orchestral Scores with Lilypond. So, I had to figure out the way to do it, trying one solution, then another, going back and forth until I came up to a solution that worked for me. Now, I'm almost done and I'm thinking about publishing a complete description of how I did it. Not that I think that my process for creating such a score is the right one or even the best one! I just want to share it with other users that might find it useful and also receive feedback from other more experienced users in the form of advice on how to improve and simplify it. The problem is that I don't know how to do this! If I write a short guide of, say 20-30 pages, in pdf format, where should I post/upload it? The .ly files and pdf output could be uploaded to the Mutopia Project. I could also upload the score and parts to IMSLP. But what about the guide? Where should that go? Any ideas? I could use my own website, or create a blog and put it there, but my concern is about making it immediately visible to most Lilypond users, so that it can attract the attention of those of them who write orchestral music and generate discussion and a flow of ideas right away. Regards, Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Guide-to-Writing-Orchestral-Scores-with-Lilypond-tp139065.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guide to Writing Orchestral Scores with Lilypond?????
Wow! I didn't expect all this enthusiasm and eagerness to collaborate... at least no so fast! Ben wrote: That's very kind of you to offer your own personal documentation on how you grasped LilyPond and its power. I'm sure that if you put together a PDF guide and uploaded it somewhere (Dropbox, your site, etc) and posted the link here in the mailing list, many would be grateful and appreciative. I always thought it was the least I could do, since I have been able to create this score only because others decided to do the same thing! Urs wrote: This is a _very_ good idea, and I would be pleased to get you 'into my boat'. Count me in!!! Please!!! I took a look at your site and the first thing that came to my mind was why haven't I seen this website before??? I agree with everything you say in the introduction. I experienced the same things. I'll probably change to some kind of PDF delivery because it was unnecessarily complicated to get it on web pages). I agree! Too much time would be wasted in the layout of the webpage when you just have to write a document in LibreOffice, create a PDF file out of it and upload it somewhere. During the development of a musical edition some others and me created the base for a kind of LilyPond toolkit library. When the edition is finished we'll change that to be an open source project hosted on Github. This will consist of sets of functionality, templates and examples which of course have to be well documented. The 'includable' library can and is intended to be accompanied by more or less standalone essays (like how to set up projects to be variable, how to deal with complicated transpositions, how to change the overall visual appearance of scores etc.) Amazing! Again, count me in! Wim wrote: Not replacing the learning manual but as an addition with e.g. an orchestral example build in stages (with all the intermediate files available for who is interested to follow the process in detail. Precisely! The Learning Manual is already a great source of information but it needs to be complemented with 'productivity tools' and '(best) practice strategies', as Urs pointed out. The only drawback I can think of now (for this Guide) would be that it might be better to start with a smaller example first (e.g. a guide to write a SATB piece or smaller lead sheet). To get the process right before drowning in a large example. I think that might be a much bigger project than the one I had in mind! My intention was just to document my process of creating an orchestral score. I agree that a guide that starts from more simple examples and builds itself up to the most complex ones would be an awesome document but then we would need a lot of people contributing to this effort, documenting their experiences writing different types of scores. It could be done though, and I'm definitely in if it gets to that point but for now I'm just thinking about orchestral scores. I've written documentation texts for years, so I think I can probably fit in. But most of all I can't guarantee the speed. Awesome! I have absolutely no knowledge on that and also one of the things I have been worried about, when thinking about documenting my process, is that my use of the English language is far from being the one needed to write such a document (being that my native language is Spanish) And most important: Am I welcome on this adventure? From my part, by all means! Up till know I was just thinking about writing the document myself and uploading all the files. Now, looking at the possibility of a collaborative effort I am absolutely thrilled! At this point I think it might be good to give everyone reading this thread an idea of what I meant with my first post. I just put in my Dropbox the full score I've been working on for the past months. It is not complete yet! I still have to typeset the parts of the second violins, violas, cellos and double basses but you can get an idea of what I was referring to when I said it is a very complex score. Here's the link: https://dl.dropbox.com/u/4857747/Icarus%20Jan-08-2013.pdf Finally, I have only used Lilypond for over a year and I am not a programmer nor do I have any knowledge of Scheme. I majored from a computing science career called Systems Engineering, but that was a long time ago. I then majored in Music Composition at the National Conservatory Music (in Peru, my country) and have dedicated myself to composition ever since. Therefore, I can only offer what I have learned in the very brief time I've been using Lilypond as well as the experience and knowledge acquired in the practice of my profession. I hope this suffices! Regards, Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Guide-to-Writing-Orchestral-Scores-with-Lilypond-tp139065p139090.html Sent from the User mailing list archive at Nabble.com. ___
Re: Sibelius user looking for the easiest way to learn LilyPond
Nick Paine writes: If you have a whole passage of tuplets, then... \set tupletSpannerDuration = #(ly:make-moment 1 4) \times 2/3 { your passage of tuplets } no need to repeat the \times 2/3 {} for each tuplet. Werner Lemberg writes: And with a small music function like T = #(define-music-function (parser location music) (ly:music?) #{ \times 2/3 $music #}) you can say \T { ... } instead of \times 2/3 { ... } Excelent, but I would say that only musicians who are also programmers and with a good knowledge of Scheme might be able to figure out such solutions. I know a lot of musicians and none of them has programming skills. I fear this makes Lilypond available to an even narrower number of people than I ever thought before. Jan Nieuwenhuizen writes: That's why I like to differentiate between inputting and tweaking. Inputting is probably much, much faster using the keyboard. As LilyPond grows more mature, the idea is that the number of tweaks necessary goes down. I'm quite happy that users still choose to us LilyPond even if for many production quality scores tweaks are still needed. There is one reason: software like Sibelius and Finale need even more tweaks than Lilypond! When using Sibelius I'm constantly making tweaks to the output. It is almost unconscious (like stick shift when driving) but I've recently become more aware of this. Of course, these tweaks can be done pretty fast, but the number of them per minute is amazing, and many have to be constantly repeated as the score keeps changing while inputting. I'm still not sure what the ideal way of inputting and tweaking would look like. The nice thing about text-based tweaks as compared to GUI-based tweaks, is that text-based tweaks can be saved, documented, reused, shared and improved; whereas GUI tweaks often can't. A very good point! Just like in Linux, where solutions to problems are always in the form of terminal commands so that they also can nbe documented and shared between users. I hope the number of tweaks will get reduced with every new version of Lilypond, but for that to happen more musicians (composers especially) have to use Lilypond, so that they can report odd behaviour or bugs when they write their own music. How can this be achieved I don't know, but muy guess is that some syntax simplification is needed or maybe some software, like Frescobaldi, needs to evolve to a point where musicians with no programming skills are also able to use Lilypond and write very complex pieces with the aid of the software itself or with plugins created by users. Antonio -- View this message in context: http://lilypond.1069038.n5.nabble.com/Sibelius-user-looking-for-the-easiest-way-to-learn-LilyPond-tp6427p139011.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Sibelius user looking for the easiest way to learn LilyPond
John Link johnlink at nyc.rr.com writes: A few years ago I was encouraged to try LilyPond as an alternative to Sibelius because LilyPond produced more beautiful scores. I was also told that it would allow me to do things like specify that bars 25 through 32 are to be identical to bars 9 through 16 and avoid cutting and pasting from bars 9-16 into 25-32. I liked what I heard, but I was quite shocked by LilyPond's interface. I would be interested in hearing from any Sibelius users who have successfully learned LilyPond. How can I get going in LilyPond as quickly as possible? In case it's relevant, I should add that I used to program in FORTRAN and a little bit of UNIX but never in any other languages. Thanks in advance, John Link P.S. I sent the message above but I didn't receive it so I'm sending it again. I have seen messages from other users. http://www.cdbaby.com/all/johnlink http://www.myspace.com/johnlinkproject ___ lilypond-user mailing list lilypond-user at gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user Hi John, I have been a Sibelius user since the very first version of the software and I still use Sibelius a lot. However, I majored in Systems Engineering before studying music composition and one of the things I liked from that career was programming. This is one of the reasons I like Lilypond so much! Having said that, Sibelius is still faster than Lilypond! I've read a lot of posts where people say that inputing notes is faster in Lilypond but that may be true only if you input a very simple piece of music. It is one thing to typeset a string quartet by Haydn but quite another with an orchestral piece by Stravinsky! Of course, just typing notes in a keyboard may be faster than inputing them with the mouse but the workflow becomes very slow when you have to make all the necessary tweaks to get a nice result. Also, there are lots of different expressions and commands and some of them are very complex. Take for example a tuplet. It requires this expression: \times 2/3 { c8 d e }. It's easy if there are just a few tuplets in the piece, but it gets much more difficult if these occur quite often, even worse if a whole passage, say 10 bars, is comprised only of tuplets! Yes, you can copy and paste the expression but you still have to type the right notes for each tuplet. I'm right now in the process of transcribing an old piece I wrote when I was studying at the Conservatory. It's just 6 minutes long but requires an entire orchestra and it has a very Stravinskian style, with constant time signature changes and a lot of chromatism. Thus, it has taken me a lot of time and effort and I'm not even finished after several months! I'm quite sure I would have been able to accomplish the same in Sibelius in just a few weeks (maybe even less) but in Lilypond it seems like forever! (I must say here that I've been using Lilypond for just one year so the slow workflow might as well be because I'm still learning and figuring out the proper ways to do many things) Yet, despite all that, I still like Lilypond, for several reasons: 1. The final score definitely looks better than the output of any other scorewriting software. 2. It's open source! 3. What I said at the beginning: it's like programming, which is something I miss from my first career! 4. It is developed by users for users! It has no commercial interest so it's totallyindependent from a company like Avid making some bad decision like firing all the developers in London, which they did just recently! (We still don't know what will happen with Sibelius in the future.. it might well be terminated, thoug this seems a quite impossible scenario). So one needs a Plan B, just in case! I WILL NEVER END USING FINALE (for reasons I will not explain here) Would I recommend Lilypond: of course! But not if you have to do quick jobs! That's why I keep using Sibelius! Regards, Antonio ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user