Re: raising rehearsal marks
See the sections on Moving objects and Fixing overlapping notation. Note that the rehearsal marks are handled on the score level, so you have to say \override Score.RehearsalMark ... /Mats steve berthiaume wrote: hello, i've figured out how to add rehearsal marks (boxed measure numbers) to the score, but some of them appear at the beginning of the line, and overlap the treble clef. any way to move this up a bit? thanks, steve ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: TeXShop and Lilypond
Walter Hofmeister wrote: Michael, Check here: http://www.dimi.uniud.it/vitacolo/freesoftware.html Thanks to Nicola Vitacolonna for this bit of software. Scroll down the page about half-way to the Desktop Publishing section. At the bottom of the section you will see a link with instructions to get the Lilypond engine working with TexShop. Note that point and click does NOT work with TexShop (it is not compatible). Make sure that TexShop is set to save files in UTF-8 Unicode format or Lilypond will choke. Won't LaTeX choke on the LaTeX parts of the documents then? Unless you have a UTF-8 capable LaTeX, the best solution I see is to write the LilyPond code in separate files (saved in UTF-8) that then are included into the LaTeX document (saved in ISO 8859-1 or whatever) using \lilypondfile{...}. Nicola, I took a quick look into http://www.dimi.uniud.it/vitacolo/download/software/latex/Lilypond-LaTeX.engine.txt and noticed that you use latex + dvips + ps2pdf to process the file. I hope you are aware of the possibility to instead use pdflatex: lilypond-book -o out --pdf myfile.lytex cd out pdflatex myfile.tex Since TexShop seems to use pdflatex by default, this seems like a preferable solution. I have added a few lines of information about this LilyPond support in TexShop in the section on Editor support in the manual. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: between-system-space
Have you read the answer i gave the last time you asked the same question? /Mats gio wrote: Hi!! I've got some trouble using the between-system-space command with OOoLilyPond and OpenOffice Writer. The between-system-space command is ignored and I'm not able to change the default value. The code in the OOoLilyPond Editor is: - \relative \new PianoStaff \with { \override VerticalAlignment #'forced-distance = #10 } \new Staff { \clef treble \key c\major \time 4/4 c2 d e f g a b c b a g f e d c d e f g a b c b a g f e d } \new Staff { \clef bass \time 4/4 c,2 d e f g a b c b a g f e d c d e f g a b c b a g f e d } - and the code in the OOoLilyPond template is: - \include lilypond-book-preamble.ly \paper { #(define dump-extents #t) line-width = 16.3\cm between-system-space = 5\cm } \layout { indent = #0 \context { \Score \remove Bar_number_engraver } } { % ly snippet contents follows: c' d' e' % end ly snippet } - I think that the problem is the code contained in the file lilypond-book-preamble.ly: - \version 2.10.0 #(set! toplevel-score-handler print-score-with-defaults) #(set! toplevel-music-handler (lambda (p m) (if (not (eq? (ly:music-property m 'void) #t)) (print-score-with-defaults p (scorify-music m p) #(ly:set-option (quote no-point-and-click)) #(define inside-lilypond-book #t) #(define version-seen #t) - If I delete this code: #(set! toplevel-music-handler (lambda (p m) (if (not (eq? (ly:music-property m 'void) #t)) (print-score-with-defaults p (scorify-music m p) the between-system-space command works fine, but the image created by the OOoLilyPond Editor became very height and occupies all the page in the OpenOffice file.. Can you help me?? I'm not able to understand the lilypond-book-preamble.ly code, I've searched in the documentation but I've found no informations.. Thanks, bye!! Giordano ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Measures width
See http://lists.gnu.org/archive/html/lilypond-user/2007-04/msg00158.html /Mats gio wrote: Hello everybody!! there's a way for override the measures width?? I'm trying to prepare a score with only the chord names, with four measures with the same width in each row, something like this: | C7 | F7 | C7 | G-7 C7 | | F7 | | C7 B7 | Bb7 A7 | | D-7 | G7 | C7 A7 | D7 G7 | This is the code I've used: \new ChordNames \with { \override BarLine #'bar-size = #4 \consists Bar_engraver \consists Volta_engraver } { \override ChordName #'font-size = #2 \chordmode { c1:7f:7 c:7 g2:m7 c:7 \break f1:7r c2:7 b:7 bes:7 a:7 \break d1:m7 g:7 c2:7 a:7 d:7 g:7 \bar |. } } \layout { indent = #0 \context { \Score \remove Bar_number_engraver } } As you can see the measures have different widths, and in the measure where there are two chords the second chord is printed near the end of the measure, but it should be printed at the center of the measure.. Thanks a lot, bye!! Giordano ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Trying to control chord symbols (shorter)
I asked this a couple days ago but haven't received any answers, so I thought I'd try to distill it down to a shorter question. The two utterances here seem to produce the same set of pitches: \new Staff { \chordmode { c1:13 } \relative c' { c e g bes d a' } } If I define an accompaniment track via accompaniment = \chordmode { c1:13 c:13 } the accompaniment symbol shows up at C^{9/add 13}. What do I have to put in chExceptionMusic to control this? I've tried c e g bes d a'1-\markup { \super 13 } as well as many other variants, but none of them see to work. (I am already successfully using chExceptionMusic to control some other chords.) Any help is appreciated. Cheers, rif ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Trying to control chord symbols (shorter)
I sent a reply with an example yesterday (I think), but since I'm at work I don't have the file, and I generally delete the user group e-mails pretty quickly. IIRC I thought you had the exceptions format down but might not have been invoking it in your code. I have found that if you have more than one exception when you use one you cancel the other. If you can't find my reply in the archives (it's possible that your e-mail system flagged it as junk?) e-mail me off the list and I'll send you the example file directly. Cheers! To: lilypond-user@gnu.org Subject: Trying to control chord symbols (shorter) Date: Mon, 16 Apr 2007 11:55:55 -0400 From: [EMAIL PROTECTED] I asked this a couple days ago but haven't received any answers, so I thought I'd try to distill it down to a shorter question. The two utterances here seem to produce the same set of pitches: \new Staff { \chordmode { c1:13 } \relative c' { c e g bes d a' } } If I define an accompaniment track via accompaniment = \chordmode { c1:13 c:13 } the accompaniment symbol shows up at C^{9/add 13}. What do I have to put in chExceptionMusic to control this? I've tried c e g bes d a'1-\markup { \super 13 } as well as many other variants, but none of them see to work. (I am already successfully using chExceptionMusic to control some other chords.) Any help is appreciated. Cheers, rif ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user _ Live Search Maps – find all the local information you need, right when you need it. http://maps.live.com/?icid=wlmtag2FORM=MGAC01___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: music scores search engine
I think as an open-source project under the Apache umbrella, Nutch might be a great project for musicians with development skills to get involved and add more music search functionality. A while ago I had a brief look at the Music and Audio Retrieval tools (http://maart.sourceforge.net) which aims to offer search and retrieval of music fragments within midi and mp3 files. I'm not sure how far along that project is, but searching into lilypond files, as you suggest, does not seem to pose insumountable problems, at least when thinking out loud about it in really general terms. Cheers, Mike Valentin Villenave wrote: I find it's an excellent idea; maybe some extra options could be needed (for instance, to find only LilyPond files, or free-licensed scores :-), but this is indeed good start. [snip] I wish there could be some tool to search *into* LilyPond files, for instance to search for a precise theme or whatever... Applying Google-like world-domination plans to LilyPond! :-) OK, I may have too much imagination... Regards, Valentin. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: TeXShop and Lilypond
In article [EMAIL PROTECTED], Mats Bengtsson [EMAIL PROTECTED] wrote: Walter Hofmeister wrote: Michael, Check here: http://www.dimi.uniud.it/vitacolo/freesoftware.html Thanks to Nicola Vitacolonna for this bit of software. Scroll down the page about half-way to the Desktop Publishing section. At the bottom of the section you will see a link with instructions to get the Lilypond engine working with TexShop. Note that point and click does NOT work with TexShop (it is not compatible). Make sure that TexShop is set to save files in UTF-8 Unicode format or Lilypond will choke. Won't LaTeX choke on the LaTeX parts of the documents then? Unless you have a UTF-8 capable LaTeX, the best solution I see is to write the LilyPond code in separate files (saved in UTF-8) that then are included into the LaTeX document (saved in ISO 8859-1 or whatever) using \lilypondfile{...}. I would recommend using \usepackage[utf8x]{inputenc} and saving the LaTeX file as UTF-8. Then, you can input Unicode directly. An alternative would be the use of XeTeX, but I do not know if Lilypond can work with XeTeX. Nicola, I took a quick look into http://www.dimi.uniud.it/vitacolo/download/software/latex/Lilypond-LaTeX.engin e.txt and noticed that you use latex + dvips + ps2pdf to process the file. I hope you are aware of the possibility to instead use pdflatex: lilypond-book -o out --pdf myfile.lytex cd out pdflatex myfile.tex Since TexShop seems to use pdflatex by default, this seems like a preferable solution. Yes, of course. Actually, I would like to re-write the engine, because I have realized that putting lilypond-book output into out and cd'ing there is not, in general, a good idea: (pdf)latex may not be able to find external files (e.g., local style files, .bib files, pictures included with \includegraphics, other .tex files, etc...). Initially, I thought that the engine could be changed so as to figure out what needs to be copied into out, but that is not trivial, given the abundance of ways external files may be accessed. So, the only feasible solution, in my opinion, is to have lilypond-book output files in the same directory as the source file (and make some cleaning at the end of the process). This is complicated by the fact that lilypond-book complains if there are name clashes. Is there any way to tell lilypond-book the name of its generated .tex file(s)? I have added a few lines of information about this LilyPond support in TexShop in the section on Editor support in the manual. Thank you. I would also like to mention, if it is not known already, that Smultron has syntax colouring definitions for Lilypond. TeXShop can be configured to use Smultron as an external text editor. Regards Nicola ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: beginning-of-measure padding value?
This has also frustrated me, and none of the solutions recommended is ideal. What bothers me is that it looks great in 2.10 (no flats touch barlines), but I now depend on features in 2.11. It happens with sharps but is especially apparent in flats, which, in the most recent versions, nearly touch the barline if they immediately follow one. I'll submit a lilypond file if the issue is not reproducible, but it's strange that 2.11 passes this test: http://lilypond.org/doc/v2.11/input/regression/lily-438f5f0b8d.ly Other than this trivial problem, I'm really starting to like lilypond. Thanks guys! Kieren MacMillan wrote: [ Lilypond 2.11.12 ; Mac OS X 10.4.9 ] Hello, all! In recent versions of Lilypond, I find that the first element of every measure is generally too close to the preceding barline for my taste -- i.e., there isn't enough left-padding on the first note or rest or whatever (n.b., the spacing issue is especially egregious when the first item is an accidental, arpeggio, or other note attachment). Is there a single setting I can adjust to globally increase the space at the beginning of measures? I tried BarLine right-padding and space-after type options, but they all left unwanted space after the last barline of a given system... There's also a nice hint on the list which assists with the attachments, but I'd prefer a global option. Thanks, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- View this message in context: http://www.nabble.com/beginning-of-measure-padding-value--tf3546661.html#a10025146 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
Hiding Empty Tab Staves
I've successfully used a trick, documented somewhere in the archives, that allows empty voice staves to be hidden in a score. The trick involved defining a RemoveEmptyStaff context, and changing some of the engravers normally used. I am trying to accomplish the same thing for a score containing a tabulature staff and voice. The score is a lead sheet consisting of vocal melody, lyrics and chords. I want to add tabulature in certain parts of the song to show a guitar lick, but do not want empty tabulature staves to appear for the rest of the song. I am currently using version 2.10.17 - if it will help, I can include the syntax, as it currently stands, which produces the output including tab part. Thanks, Jack Cooper ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Trying to control chord symbols
Ed Ardzinski ed_ardzinski at hotmail.com writes: LP's default name for d:13 is 9 add 13. Thinking about it, it IS a logical name, just not what I've been taught and learned about music theory here in the USA. Perhaps European convention uses that nomenclature? -- a1:13^9.7 d1:9^7 gives A add13 and D add9 the ^ symbol excludes the the 9th and 7th in the first e.g. the ^ symbol excludes just the 7th in the second. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Suggestion for producing archival scores
I just tried something out which may fill this requirement as discussed recently. It presently involves using additional software to Lilypond. The PDF specification allows for file attachments within PDF files from version 1.3 onwards. The original .ly file can be attached within the LP pdf output, and extracted later if required. The PDF toolkit (google PDFTK) command line utility is one way to add the .ly file to the pdf. I do this on Mac OSX in the Terminal by entering on one line.. /usr/local/bin/pdftk tchavolo_swing_chords.pdf attach_files tchavolo_swing_chords.ly output attached.pdf The attachment can then be viewed or saved from 'attached.pdf' in Acrobat Reader using View-Navigation Panels-Attachments The attachment does not appear in normal viewing or printing of the pdf score. If worthwhile, it should be possible to make a Lily option somehow to do the attaching (with a bit of development). Any suggestions for making it clear the file contains a score attachment? e.g. different file extension? Steve ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user