Re: Mac OS X LilyPond & Terminal install problems.
If you're absolutely brand new to lilypond, using the terminal may not be the best solution. Unless you are very familiar with terminal applications, in which case, I would suggest the instructions in the documentation at http://lilypond.org/doc/v2.12/Documentation/user/ lilypond-program/Setup-for-MacOS-X#Setup-for-MacOS-X for setting up lilypond, otherwise, I would suggest that as a completely new person to lilypond, you start with jedit and lilypondtool. It's probably more along the lines of what you're looking for. More information can be found here: http://lilypondtool.organum.hu/ Also, I would suggest starting reading the learning manual, it's designed as a do-it-yourself course in how lilypond works, and how to typeset your music with lilypond. Good luck! Am 06.06.2009 um 05:45 schrieb kje...@u.washington.edu: I attempted to follow instruction set C for LilyPond & Terminal install on Mac OS X Leopard. I've run into problems. "Download the latest stable release (2.12.2-1) of LilyPond and put LilyPond.app in your Applications folder." Check. "Download this shell script and start it using Terminal." I right-clicked and Saved Link As... lilypondshscript to my Desktop without appending any file extension. I wasn't having any success "starting it using Terminal" until, eventually, I found instructions online for the syntax for running a non-executable sh script. Upon doing so, a "Drop your LilyPond source file here and press Enter" instruction line appeared. I assume that the instructions online mean this same file when it says: "Drop your .ly file into the Terminal window and follow the instructions." There are no instructions online regarding the location of this .ly source file. I right-clicked and selected Show Package Contents on the LilyPond icon in my Applications folder. After poking around through it and trying different things, I eventually came across an .ly file. /Applications/LilyPond.app/Contents/Resources/Welcome-to-LilyPond- MacOS.ly I dragged this file to the terminal window (its path appeared) and hit enter. Here is my Terminal printout: Macintosh:~ kjell$ sh /Users/kjell/Desktop/lilypondshscript Drop your LilyPond source file here and press Enter /Applications/LilyPond.app/Contents/Resources/Welcome-to-LilyPond- MacOS.ly GNU LilyPond 2.12.2 Changing working directory to: `/Applications/LilyPond.app/Contents/ Resources' Processing `/Applications/LilyPond.app/Contents/Resources/Welcome-to-LilyPond- MacOS.ly' Parsing... Interpreting music... Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Layout output to `Welcome-to-LilyPond-MacOS.ps'... Converting to `./Welcome-to-LilyPond-MacOS.pdf'... The file /Applications/LilyPond.app/Contents/Resources//Welcome-to-LilyPond- MacOS.midi does not exist. Continue to work. When finished, save your document and choose : Refresh: 1 Quit: 2 Very encouragingly, a pdf file with "A scale in LilyPond" header and picture of an ascending c scale popped up. But then nothing else. Once I realized I could click on the notes, I tried that. A new window appeared with the following content: %{ Welcome to LilyPond === Congratulations, LilyPond has been installed successfully. Now to take it for the first test run. 1. Save this file 2. Select Compile > Typeset file from the menu. The file is processed, and 3. The PDF viewer will pop up. Click one of the noteheads. That's it. For more information, visit http://lilypond.org . %} \header{ title = "A scale in LilyPond" } \relative { c d e f g a b c } \version "2.12.2" % necessary for upgrading to future LilyPond versions. But there appears to be no menu, drop down or otherwise, in LilyPond and thus no way to save, compile, or do much of anything, besides type pointlessly in a blank window (Furthermore, the only way to stop LilyPond from appearing as an active program is to Force Quit it). I closed the Welcome to LilyPond window and decided to see if double-clicking the LilyPond icon could accomplish anything new. A blank, Untitled window appeared that I was able to type in and save(!), but again, no way to compile it and no menu of anything to access. So what's going on? Please assist. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Mac OS X LilyPond & Terminal install problems.
comments at bottom... kje...@u.washington.edu wrote: I attempted to follow instruction set C for LilyPond & Terminal install on Mac OS X Leopard. I've run into problems. "Download the latest stable release (2.12.2-1) of LilyPond and put LilyPond.app in your Applications folder." Check. "Download this shell script and start it using Terminal." I right-clicked and Saved Link As... lilypondshscript to my Desktop without appending any file extension. I wasn't having any success "starting it using Terminal" until, eventually, I found instructions online for the syntax for running a non-executable sh script. Upon doing so, a "Drop your LilyPond source file here and press Enter" instruction line appeared. I assume that the instructions online mean this same file when it says: "Drop your .ly file into the Terminal window and follow the instructions." There are no instructions online regarding the location of this .ly source file. I right-clicked and selected Show Package Contents on the LilyPond icon in my Applications folder. After poking around through it and trying different things, I eventually came across an .ly file. /Applications/LilyPond.app/Contents/Resources/Welcome-to-LilyPond-MacOS.ly I dragged this file to the terminal window (its path appeared) and hit enter. Here is my Terminal printout: Macintosh:~ kjell$ sh /Users/kjell/Desktop/lilypondshscript Drop your LilyPond source file here and press Enter /Applications/LilyPond.app/Contents/Resources/Welcome-to-LilyPond-MacOS.ly GNU LilyPond 2.12.2 Changing working directory to: `/Applications/LilyPond.app/Contents/Resources' Processing `/Applications/LilyPond.app/Contents/Resources/Welcome-to-LilyPond-MacOS.ly' Parsing... Interpreting music... Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Layout output to `Welcome-to-LilyPond-MacOS.ps'... Converting to `./Welcome-to-LilyPond-MacOS.pdf'... The file /Applications/LilyPond.app/Contents/Resources//Welcome-to-LilyPond-MacOS.midi does not exist. Continue to work. When finished, save your document and choose : Refresh: 1 Quit: 2 Very encouragingly, a pdf file with "A scale in LilyPond" header and picture of an ascending c scale popped up. But then nothing else. Once I realized I could click on the notes, I tried that. A new window appeared with the following content: %{ Welcome to LilyPond === Congratulations, LilyPond has been installed successfully. Now to take it for the first test run. 1. Save this file 2. Select Compile > Typeset file from the menu. The file is processed, and 3. The PDF viewer will pop up. Click one of the noteheads. That's it. For more information, visit http://lilypond.org . %} \header{ title = "A scale in LilyPond" } \relative { c d e f g a b c } \version "2.12.2" % necessary for upgrading to future LilyPond versions. But there appears to be no menu, drop down or otherwise, in LilyPond and thus no way to save, compile, or do much of anything, besides type pointlessly in a blank window (Furthermore, the only way to stop LilyPond from appearing as an active program is to Force Quit it). I closed the Welcome to LilyPond window and decided to see if double-clicking the LilyPond icon could accomplish anything new. A blank, Untitled window appeared that I was able to type in and save(!), but again, no way to compile it and no menu of anything to access. So what's going on? Please assist. I had never heard of this method until your email arrived, but I tried it out and I understand how it's supposed to work. From what you said it seems to be working just right. First question, though, is this your first time to use Lilypond? If so then you have to understand that it's a very different program from what you may be used to, inasmuch as you create your scores by writing source code in plain text files, which are saved with the extension .ly (that's why it said to drop your .ly source file here). I'm guessing that the blank window that was open was an editor window. If not, then you would need to open a text editor and write some code in there and save it as something like "test.ly". You can use mac's TextEdit application, but I'd recommend something more robust like Smultron, which is free. Open up an editor (not a word processor) and save this code with a filename of your choice having the .ly extension (best not to put spaces in the filename): %% begin code \version "2.12.1" \relative c' { c d e f g a b c } %% end code Drop the file into the terminal window like you did before. The way it works is that you keep your text editor window ope
PDFs for 2.13.1
I have created a PDF portfolio with searchable index from the English language PDF docs and uploaded it to http://www.users.on.net/~njpayne/music/lilydoc.pdf (23Mb). Works fine for me with Acrobat Reader 9 on both Windows and Linux. Nick Payne ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Mac OS X LilyPond & Terminal install problems.
I use 10.4 and LilyPond runs well there, but there is a lot of commentary on the Web that LilyPond is severely broken on 10.5. I don't have a 10.5 machine to test (and frankly won't upgrade to 10.5 until LilyPond is known to be stable and functional without a lot of drama). Here's what may be a workaround that I found which will hopefully help: http://hans.fugal.net/blog/2008/02/27/lilypond-on-leopard ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Mac OS X LilyPond & Terminal install problems.
I attempted to follow instruction set C for LilyPond & Terminal install on Mac OS X Leopard. I've run into problems. "Download the latest stable release (2.12.2-1) of LilyPond and put LilyPond.app in your Applications folder." Check. "Download this shell script and start it using Terminal." I right-clicked and Saved Link As... lilypondshscript to my Desktop without appending any file extension. I wasn't having any success "starting it using Terminal" until, eventually, I found instructions online for the syntax for running a non-executable sh script. Upon doing so, a "Drop your LilyPond source file here and press Enter" instruction line appeared. I assume that the instructions online mean this same file when it says: "Drop your .ly file into the Terminal window and follow the instructions." There are no instructions online regarding the location of this .ly source file. I right-clicked and selected Show Package Contents on the LilyPond icon in my Applications folder. After poking around through it and trying different things, I eventually came across an .ly file. /Applications/LilyPond.app/Contents/Resources/Welcome-to-LilyPond-MacOS.ly I dragged this file to the terminal window (its path appeared) and hit enter. Here is my Terminal printout: Macintosh:~ kjell$ sh /Users/kjell/Desktop/lilypondshscript Drop your LilyPond source file here and press Enter /Applications/LilyPond.app/Contents/Resources/Welcome-to-LilyPond-MacOS.ly GNU LilyPond 2.12.2 Changing working directory to: `/Applications/LilyPond.app/Contents/Resources' Processing `/Applications/LilyPond.app/Contents/Resources/Welcome-to-LilyPond-MacOS.ly' Parsing... Interpreting music... Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Layout output to `Welcome-to-LilyPond-MacOS.ps'... Converting to `./Welcome-to-LilyPond-MacOS.pdf'... The file /Applications/LilyPond.app/Contents/Resources//Welcome-to-LilyPond-MacOS.midi does not exist. Continue to work. When finished, save your document and choose : Refresh: 1 Quit: 2 Very encouragingly, a pdf file with "A scale in LilyPond" header and picture of an ascending c scale popped up. But then nothing else. Once I realized I could click on the notes, I tried that. A new window appeared with the following content: %{ Welcome to LilyPond === Congratulations, LilyPond has been installed successfully. Now to take it for the first test run. 1. Save this file 2. Select Compile > Typeset file from the menu. The file is processed, and 3. The PDF viewer will pop up. Click one of the noteheads. That's it. For more information, visit http://lilypond.org . %} \header{ title = "A scale in LilyPond" } \relative { c d e f g a b c } \version "2.12.2" % necessary for upgrading to future LilyPond versions. But there appears to be no menu, drop down or otherwise, in LilyPond and thus no way to save, compile, or do much of anything, besides type pointlessly in a blank window (Furthermore, the only way to stop LilyPond from appearing as an active program is to Force Quit it). I closed the Welcome to LilyPond window and decided to see if double-clicking the LilyPond icon could accomplish anything new. A blank, Untitled window appeared that I was able to type in and save(!), but again, no way to compile it and no menu of anything to access. So what's going on? Please assist. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: unfoldRepeats for midi
Paul Scott wrote: > 2.13.1 > I have read all of NR 3.5 > Should the following work to unfold the above repeats for a MIDI > file? I'm assuming you read this page: http://lilypond.org/doc/v2.13/Documentation/user/lilypond/Repeats-in-MIDI Following the template provided there, I believe this should work: \score { << { \unfoldRepeats \global } \melody >> \layout { % layout stuff... } } \score { << { \unfoldRepeats \global } \melody >> \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 120 4) } } } Let me know if it doesn't. If it does, then the next question is: Did you read NR 3.5.4 "Repeats in MIDI" and did you find it confusing? If so, what exactly confused you? That way we can try to make it clearer for future users, which is always important to us! HTH. - Mark ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
What can we do to get you back Atte? ;)
Atte, You said, you didn't use Lilypond anymore? Why? Is there a way for the Lilypond devs to get you on the right road again? ;) \r ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error in lilypond-book
2009/6/5 Jonathan Kulp : > I'm not sure what would cause the error but if you'd like me to try running > it you can send me a tarball privately. > > Jon Thank you. I have just tracked the problem and it's caused by this line in the preamble: \usepackage{tikz} which is a pity because the tikz package is awesome. I have no idea about how to debug the interaction between it and lilypond-book. This minimal LaTeX file spits the error when I try to process it through lilypond-book: \documentclass{article} \usepackage{tikz} \begin{document} Hello \end{document} -- Francisco Vila. Badajoz (Spain) www.paconet.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
unfoldRepeats for midi
2.13.1 I have read all of NR 3.5 If I have this structure: global = { \repeat volta 2 s1*6 \alternative { { s1*2 } { s1*2 } } } Should the following work to unfold the above repeats for a MIDI file? \score{ \new Score{ << { \unfoldRepeats \global } \melody >> } \midi{ \context{ \Score tempoWholesPerMinute = #(ly:make-moment 120 4) } } } Thanks, Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error in lilypond-book
Francisco Vila wrote: Hello, my input files are too complex to attach, but if anyone is a lilypond-book user, my question is: in which conditions could one obtain this error? It happens both on 2.12 and 2.13 textwidth=459.6215pt columnsep=10.0pt (./tmpWslxir.aux) ) No pages of output. Transcript written on tmpWslxir.log. Traceback (most recent call last): File "/usr/local/lilypond/usr/bin/lilypond-book", line 2126, in ? main () File "/usr/local/lilypond/usr/bin/lilypond-book", line 2108, in main chunks = do_file (files[0]) File "/usr/local/lilypond/usr/bin/lilypond-book", line 1981, in do_file set_default_options (source, default_ly_options, global_options.format) File "/usr/local/lilypond/usr/bin/lilypond-book", line 973, in set_default_options textwidth = get_latex_textwidth (source) File "/usr/local/lilypond/usr/bin/lilypond-book", line 1770, in get_latex_textwidth columns = int (m.group (1)) ValueError: invalid literal for int(): TIA I'm not sure what would cause the error but if you'd like me to try running it you can send me a tarball privately. Jon -- Jonathan Kulp http://www.jonathankulp.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Error in lilypond-book
Hello, my input files are too complex to attach, but if anyone is a lilypond-book user, my question is: in which conditions could one obtain this error? It happens both on 2.12 and 2.13 textwidth=459.6215pt columnsep=10.0pt (./tmpWslxir.aux) ) No pages of output. Transcript written on tmpWslxir.log. Traceback (most recent call last): File "/usr/local/lilypond/usr/bin/lilypond-book", line 2126, in ? main () File "/usr/local/lilypond/usr/bin/lilypond-book", line 2108, in main chunks = do_file (files[0]) File "/usr/local/lilypond/usr/bin/lilypond-book", line 1981, in do_file set_default_options (source, default_ly_options, global_options.format) File "/usr/local/lilypond/usr/bin/lilypond-book", line 973, in set_default_options textwidth = get_latex_textwidth (source) File "/usr/local/lilypond/usr/bin/lilypond-book", line 1770, in get_latex_textwidth columns = int (m.group (1)) ValueError: invalid literal for int(): TIA -- Francisco Vila. Badajoz (Spain) www.paconet.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Lilypond & MIDI output of drums
Hi All, When I output to MIDI, it seems that notes on my DrumStaff do not go to channel ten--in the MIDI file, they are assigned a basic GM piano sound. Is there a way to explicitly assign MIDI channel 10 to DrumStaff? Thanks, Dave ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: article (in German) about copyright of printed music
2009/6/2 Werner LEMBERG : > > This `good' Wikipedia article > > http://de.wikipedia.org/wiki/Rechtsschutz_von_Schriftzeichen > > also discusses printed music. Quite interesting to read... > > This article should probably translated into English :-) Although as it relates specifically to German law and rulings in the German courts, anybody who is getting into that area had better brush up their German! -- Tim Rowe ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MIDI and transposing instruments
2009/6/5 Peter Chubb : > Francisco> Please use \transposition for this. > > \transposition doesn't sit well with MIDI output if you're going to do > further transpositions. > > Try: > \version "2.11.62' > clarinet = \transpose bes c' { \transposition bes bes1 } > flute = { bes1 } > > \score { > \transpose c d' << > \new Staff \clarinet > \new Staff \flute > >> > \midi {} > \layout{} > } > > You'll hear a discord instead of the unison you expect. Right, but for simple copying of written music and further hearing, this simple example works: \version "2.11.62" clarinet = { \key d \major d''1 } flute = { c'1 } \score { << \new Staff { \transposition bes \clarinet } \new Staff \flute >> \midi {} \layout{} } Granted, \transposition is not useful in general if it does not support \transpose in it (or outside of it). -- Francisco Vila. Badajoz (Spain) www.paconet.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hairpin after-line-breaking -- how?
I want the hairpin to end on the first note of a new line. \relative g'{ \override Score.Hairpin #'after-line-breaking = ##t g2\< a4 a4 | \break b2.\! r4} But it doesn't work. What am I doing wrong? If i have well understood, 'after-line-breaking is a callback function to allow user to tweak some parameters if a line break does occur, not to decide if you want or not to split a grob after a line break. (see http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Difficult-tweaks#Difficult-tweaks ) So the only (ugly) solution i know is : \relative g'{ g2\< a4 a4 | \break s16 b2.*11/12\! r4 c1 } but it is not very usefull in the "Real Life" because you generally don't know where a line break occurs. Gilles ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MIDI and transposing instruments
> "Francisco" == Francisco Vila writes: Francisco> 2009/6/5 bernie arai : >> i'm trying my hand at finally using the midi output of lilypond to >> audition my scores (instead of relying on my horrid piano playing). >> after a bit of messing around, and a while looking through the >> docs, i'm a bit stumped as to what to try next. i've defined >> instruments for example: >> >> tenorsax = \transpose c d' \relative c { % tenor notes (in >> concert pitch) } Francisco> Please use \transposition for this. Francisco> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Displaying-pitches#Instrument-transpositions \transposition doesn't sit well with MIDI output if you're going to do further transpositions. Try: \version "2.11.62' clarinet = \transpose bes c' { \transposition bes bes1 } flute = { bes1 } \score { \transpose c d' << \new Staff \clarinet \new Staff \flute >> \midi {} \layout{} } You'll hear a discord instead of the unison you expect. -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MIDI and transposing instruments
2009/6/5 bernie arai : > i'm trying my hand at finally using the midi output of lilypond to > audition my scores (instead of relying on my horrid piano playing). > after a bit of messing around, and a while looking through the docs, > i'm a bit stumped as to what to try next. i've defined instruments > for example: > > tenorsax = \transpose c d' \relative c { > % tenor notes (in concert pitch) > } Please use \transposition for this. http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Displaying-pitches#Instrument-transpositions -- Francisco Vila. Badajoz (Spain) www.paconet.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Can't get LilyPond to work.
Hello Steve The system cannot find the path specified. Is there anything I can do to make LilyPond work? I am running Open Office in Windows XP. I think you try to install OOolilypond in OpenOffice (not Lilypond). To install OOoLilypond, you have to : 1- Install Lilypond in your system : http://lilypond.org/web/install/ 2- Install OOoLilypond in OpenOffice. 3- In the main window of the OOoLilypond editor, click on the "config" bouton : In the bottom edit box, type the path of your lilypond executable : in Windows something like : C:\Program Files\LilyPond\usr\bin\lilypond.exe It should work with these 3 steps. Gilles ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user