Re: lilypond book error
Have you tried to directly call the program: lilypond-book --pdf --output=C:\lilypondtest C:\test.tex from the command prompt. There shouldn't be any need to use the Windows version of Python (just make sure to log out and log in again once after you have installed LilyPond the first time, so that all path related variables are set correctly). /Mats mojocojo2000 wrote: I am using lilypond version 2.10.29. I'm trying to integrate music into a paper I have for a class. When I input the following into my tex file: \begin[quote,fragment,staffsize=26]{lilypond} c' d' e' f' g'2 g'2 \end{lilypond} (I got this from the tutorial) I invoke lilypond book with the following command and receive an error: C:\Python25\python.exe C:\Program Files\Lilypond\usr\bin\lilypond-book.py --pdf --output=C:\lilypondtest C:\test.tex snippet-map.ly:3:1: error: GUILE signaled an error for the expression beginning here # (ly:add-file-name-alist '( snippet-map.ly:4:30: illegal character in escape sequence: #\D snippet-map.ly:3:4: error: syntax error, unexpected ':', expecting '=' #(ly :add-file-name-alist '( Processing `lily-a9db7ba2f3.ly' Parsing... lily-a9db7ba2f3.ly:97:5: error: unknown escaped string: `\notes' \notes \relative c' { lily-a9db7ba2f3.ly:97:5: error: syntax error, unexpected STRING \notes \relative c' { lily-a9db7ba2f3.ly:98:8: error: unknown escaped string: `\property' \property Voice.autoBeaming = ##f lily-a9db7ba2f3.ly:98:8: error: syntax error, unexpected STRING \property Voice.autoBeaming = ##f lily-a9db7ba2f3.ly:97:12: error: errors found, ignoring music expression \notes \relative c' { lily-a9db7ba2f3.ly:103:8: error: syntax error, unexpected '}' } error: failed files: lily-a9db7ba2f3 snippet-map.ly command failed: lilypond -b eps -I C:\\test --formats=eps -deps-box-padding=3.0 0 -dread-file-list snippet-names Child returned 1 Thanks for your help. ___ 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
repeat syntax
In the documentation for lilypond 2.10.11 (also in the online documentation of 2.11) section 6.7.2 \repeat volta 4 { e | c2 d2 | e2 f2 | } and later on down the page \repeat volta 5 { d d d } section 6.7.3 \unfoldRepeats { \repeat tremolo 8 {c'32 e' } and in section 6.7.5 \repeat tremolo 8 { c16 d16 } Is there a difference? Does it make a difference whether the repeat variant is quoted or not? Shelagh ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: repeat syntax
There's no difference. As far as I can recall, it has never been necessary to have quotes in this particular situations, but there are some other cases where quotes are necessary, for example if you want to name a context and the name has spaces or digits in it: \new Staff = violin 2 {c''} You can find the same kind of confusing mix of quoted and non-quoted strings in the manual when it shows how to add or remove engravers from a context, for example. /Mats Shelagh Manton wrote: In the documentation for lilypond 2.10.11 (also in the online documentation of 2.11) section 6.7.2 \repeat volta 4 { e | c2 d2 | e2 f2 | } and later on down the page \repeat volta 5 { d d d } section 6.7.3 \unfoldRepeats { \repeat tremolo 8 {c'32 e' } and in section 6.7.5 \repeat tremolo 8 { c16 d16 } Is there a difference? Does it make a difference whether the repeat variant is quoted or not? Shelagh ___ 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: repeat syntax
On Mon, 27 Aug 2007 09:47:56 +0200, Mats Bengtsson wrote: There's no difference. As far as I can recall, it has never been necessary to have quotes in this particular situations, but there are some other cases where quotes are necessary, for example if you want to name a context and the name has spaces or digits in it: \new Staff = violin 2 {c''} You can find the same kind of confusing mix of quoted and non-quoted strings in the manual when it shows how to add or remove engravers from a context, for example. /Mats Thank you for clarifying. SOM [snip] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: repeat syntax
By the way, I just removed these unnecessary quotes from all the examples of repeats in the manual. /Mats Mats Bengtsson wrote: There's no difference. As far as I can recall, it has never been necessary to have quotes in this particular situations, but there are some other cases where quotes are necessary, for example if you want to name a context and the name has spaces or digits in it: \new Staff = violin 2 {c''} You can find the same kind of confusing mix of quoted and non-quoted strings in the manual when it shows how to add or remove engravers from a context, for example. /Mats Shelagh Manton wrote: In the documentation for lilypond 2.10.11 (also in the online documentation of 2.11) section 6.7.2 \repeat volta 4 { e | c2 d2 | e2 f2 | } and later on down the page \repeat volta 5 { d d d } section 6.7.3 \unfoldRepeats { \repeat tremolo 8 {c'32 e' } and in section 6.7.5 \repeat tremolo 8 { c16 d16 } Is there a difference? Does it make a difference whether the repeat variant is quoted or not? Shelagh ___ 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: Hara_kiri_engraver shouldn't handle both staves of a PianoStaff as separate single staves
I think it works fine as it is right now. I guess in classical music it's typical not to reduce the piano part to a single staff, but in modern music it is. For example in Jazz scores if you have only a chord progression with nothing specific to play a single staff is sufficient for the pianist. Or if you write for bands who play latin american music, the piano player often doubles the right hand with the left hand an octave lower. A latin pianist knows that and therefore needs only a single staff. When I write scores I try to reduce as much as possible, sometimes I even write both hands in one staff as long it is readable. This is not so much for the entire score but for the individual part later. Especially the piano part gets usually twice as much sheets as a wind player for example. Well, I guess everyone has an own way to do it, so I also agree that both options should be available. regards, Tao Original-Nachricht Datum: Sun, 26 Aug 2007 21:59:20 +0200 Von: Valentin Villenave [EMAIL PROTECTED] An: Neil Puttock [EMAIL PROTECTED] CC: lilypond-user@gnu.org Betreff: Re: Hara_kiri_engraver shouldn\'t handle both staves of a PianoStaff as separate single staves 2007/8/26, Neil Puttock [EMAIL PROTECTED]: Hi Neil, the engraver admitting defeat [...] Stravinsky:1 Engraver: 0 :-D Has anyone given my dirty Scheme function a try? Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \rest in \drummode
thank you very much, the 3. solution works fine for me - but what does the (big) R's do need? \revert MultiMeasureRest #'direction is not working best ole Am 27.08.2007 um 07:51 schrieb Mats Bengtsson: If you combine bits and pieces from the two answers you have received so far, you end up with a working solution: sn4 \once \override Rest #'staff-position = #1 r2. | Another solution is to temporarily change to normal note mode and use the \rest feature: sn4 \notemode {c''2. \rest} | However, if what you really want to achieve is to have rests placed at their default position, regardless of the polyphony, then the solution you are after is rather \new DrumVoice { \voiceTwo \revert Rest #'direction \down } /Mats Ole Schmidt wrote: does not work with dotted rests... ole Am 25.08.2007 um 21:40 schrieb pascal lawrynowicz: Hi, Maybe this will help : \once \override Rest #'extra-offset = #'( 0.0 . 5.0) r4 PL www.percunivers.com Message: 1 Date: Sat, 25 Aug 2007 03:39:18 +0200 From: Ole Schmidt [EMAIL PROTECTED] Subject: \rest in \drummode? To: lilypond-user@gnu.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Dear all, is there a way to place a rest (higher) in \drummode? (like with \rest command in normal staffs) \version 2.10.15 up = \drummode { s1 } down = \drummode { sn4 sn2.\rest } \new DrumStaff \new DrumVoice { \voiceOne \up } \new DrumVoice { \voiceTwo \down } \layout { ragged-right = ##t } best ole ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = 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: \rest in \drummode
Ole Schmidt wrote: thank you very much, the 3. solution works fine for me - but what does the (big) R's do need? \revert MultiMeasureRest #'direction is not working See the mailing list archives, for example: http://lists.gnu.org/archive/html/lilypond-user/2007-03/msg00355.html /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
A nice article by Alex Roitman on linux.com
Hello everybody, While reading today's Distrowatch Weekly, I've just seen amongst the Rootly links column, this link: Editing music scores with free software http://www.rootly.com/topics/technology/linux_unix/Editing_music_scores_with_free_software/ I immediately followed the link, wondering, as usual will they mention LilyPond this time? (which they usually don't, because linux-music-software topics are often more sound-editing oriented and don't bother with scores)... and found gladly this (rather short) post by Alex Roitman: http://www.linux.com/feature/118302 Not only does he mention LilyPond, but it is his first item! It is a stable and mature application that produces beautiful output, optimizing the layout to look as close as possible to manual music engraving. He also mentions the excellent tutorial... The bottom line? Free software offers a diverse and mature set of applications for editing music scores. I don't completely agree, though, with his next assumption: Users of all these programs [NoteEdit, RoseGarden,Denemo] will benefit from the LilyPond engraving quality, as most of the applications use LilyPond as the rendering back end. But this is quite an excellent article, which is always good for the LilyPond community... Regards, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Lyrics without visible notes
Putting a skip in the lyrics prints a note without lyrics under it. But putting a skip in the music does not print the lyrics without a note over it; instead, the words are just shifted to the next note. It is useful to able to use note skips to fix spacing issues around bar lines, but I believe it would be much more intuitive to have the behavior of skips completely reciprocal between music and lyrics. If you want both blank music and lyrics for spacing, it would make more sense to enter a skip in BOTH. There is another way to enter hidden notes, but the directions are in the documentation under Educational Use, and if you have to do this over and over it gets tedious, especially since you have to enter the pitch: f4 \hideNotes f4 f4 f4 f4 \unHideNotes f4 Up to now I have been using a breve to represent repeated pitch for chant music (see snippet below), but I'm finding that sometimes this makes the music too cluttered and confusing for the choir because of spacing issues around the lyrics in quotation marks, especially if ragged-right = ##f. I would rather print the words without anything over them until the pitch changes and use hidden notes to fix the spacing. \version 2.11.25 % New Measure NM = { \cadenzaOff \bar | \cadenzaOn } % New Line Break NL = { \cadenzaOff \bar : \break \cadenzaOn } \score { \new StaffGroup \new Staff = women \clef treble \key f \major \new Voice = Soprano {\voiceOne \cadenzaOn \override Stem #'length = #5 #(set-accidental-style 'forget) f'4 f'\breve f'4 g'4 a'2( g'4 f'4) e'2 \NM \break e'4 e'\breve e'4 f'4 g'2 f'4( e'4) f'2 \NM \break d'4 d'\breve d'4 e'4 f'2( e'4 d'4) cis'2 \NM \break cis'4 cis'\breve cis'4 d'4 e'2( d'4 cis'4) d'2( e'2) \bar | } \new Lyrics \lyricsto Soprano { Re- joice, O chosen by God of all gen- e- ra- tions! | Re- joice, holy ves- sel of God the Word! | Re- joice, fulfillment of pro- phet- ic fore- tell- ing! | Re- joice, most hon- or- a- ble crown of the dis- ci- ples! } \layout { \context { \Staff \remove Time_signature_engraver } between-system-padding = 0.1\in between-system-space = 0.1\in indent = #0 ragged-right = ##t ragged-last = ##t } \header { piece = opus = } } Paul ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: repeat syntax
Aha! I have been unable to reference an external file in a \score block if the external file had a space or a digit in it. (Running LilyPond 2.11.13 under Windows XP Pro, SP 2.) For example: Test1 music.ly is: % \version 2.11.23 \include english.ly Test1 = { \key d \minor \clef treble \time 4/4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 } % and Test.ly is: % \version 2.11.23 \include english.ly \layout { ragged-right = ##t } \score { \Test1 } %%% Test.ly fails. I just tried them with quotes around Test1 in both files, and it still failed. Is there a way to get Lilypond to recognize digits (i.e., numerics) in a /score block? Ralph + Ralph Palmer, CEM Energy/Administrative Coordinator Keene State College Keene, NH 03435-2502 Phone: 603-358-2230 Cell: 603-209-2903 Fax: 603-358-2456 [EMAIL PROTECTED] -- Message: 1 Date: Mon, 27 Aug 2007 09:47:56 +0200 From: Mats Bengtsson [EMAIL PROTECTED] Subject: Re: repeat syntax To: Shelagh Manton [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8; format=flowed There's no difference. As far as I can recall, it has never been necessary to have quotes in this particular situations, but there are some other cases where quotes are necessary, for example if you want to name a context and the name has spaces or digits in it: \new Staff = violin 2 {c''} You can find the same kind of confusing mix of quoted and non-quoted strings in the manual when it shows how to add or remove engravers from a context, for example. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: repeat syntax
Aha! I have been unable to reference an external file in a \score block if the external file had a space or a digit in it. (Running LilyPond 2.11.13 under Windows XP Pro, SP 2.) For example: Test1 music.ly is: % \version 2.11.23 \include english.ly Test1 = { \key d \minor \clef treble \time 4/4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 } % and Test.ly is: % \version 2.11.23 \include english.ly \layout { ragged-right = ##t } \score { \Test1 } %%% Test.ly fails. I just tried them with quotes around Test1 in both files, and it still failed. Is there a way to get Lilypond to recognize digits (i.e., numerics) in a /score block? Ralph + Ralph Palmer, CEM Energy/Administrative Coordinator Keene State College Keene, NH 03435-2502 Phone: 603-358-2230 Cell: 603-209-2903 Fax: 603-358-2456 [EMAIL PROTECTED] -- Message: 1 Date: Mon, 27 Aug 2007 09:47:56 +0200 From: Mats Bengtsson [EMAIL PROTECTED] Subject: Re: repeat syntax To: Shelagh Manton [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8; format=flowed There's no difference. As far as I can recall, it has never been necessary to have quotes in this particular situations, but there are some other cases where quotes are necessary, for example if you want to name a context and the name has spaces or digits in it: \new Staff = violin 2 {c''} You can find the same kind of confusing mix of quoted and non-quoted strings in the manual when it shows how to add or remove engravers from a context, for example. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Source Codes...
Hi all, Can anyone tell me what the source codes are for staff lines and time signatures or where to find them? Cheers, Mike ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
programming error: Going back in MIDI time
I get these messages at the end of every compilation. Platform is Mac OS 10.3.9. Any idea what this means? GNU LilyPond 2.10.29 Processing `southern.ly' Parsing... Interpreting music... [8][16][22] Preprocessing graphical objects... Interpreting music... MIDI output to `southern.midi'... programming error: Going back in MIDI time. continuing, cross fingers programming error: Going back in MIDI time. continuing, cross fingers programming error: Going back in MIDI time. continuing, cross fingers programming error: Going back in MIDI time. continuing, cross fingers programming error: Going back in MIDI time. continuing, cross fingers programming error: Going back in MIDI time. continuing, cross fingers Layout output to `southern.ps'... Converting to `southern.pdf'... The score block that generates the MIDI output is below. \score { % no layout, just MIDI, unfold repeats { \new Staff = singer \new Voice = vocal { \autoBeamOff \melody } \new Lyrics \lyricsto vocal \new Lyrics { \text } \new PianoStaff = piano #(set-accidental-style 'piano) \new Staff = upper { \unfoldRepeats \upper } \new Staff = lower { \unfoldRepeats \lower } } \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 72 4) } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: repeat syntax
2007/8/27, Palmer, Ralph [EMAIL PROTECTED]: Test.ly fails. I just tried them with quotes around Test1 in both files, and it still failed. Is there a way to get Lilypond to recognize digits (i.e., numerics) in a /score block? As far as I know, digits are not allowed in identifier names (neither are special characters such as underscores). If you try with TestOne, it should work without any problem. Regards, V. Villenave ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: repeat syntax
Palmer, Ralph rpalmer at keene.edu writes: Aha! I have been unable to reference an external file in a \score block if the external file had a space or a digit in it. (Running LilyPond 2.11.13 under Windows XP Pro, SP 2.) For example: Ralph, I think you have a couple of mistakes here. First, you need to distinguish between identifiers and files. In your example, you had both the identifer Test1 and the file Test1.ly. Digits and special characters are not allowed in identifiers. Thus, you need to change the identifier to TestOne. However, digits are just fine in file names. The second mistake you made is that you never \included the other file. Here's a rewrite that works. Test1.ly \version 2.11.23 TestOne = { \key d \minor \clef treble \time 4/4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 c''4 } %%% End of Test1.ly Note that I didn't include english.ly, as that will be done in the score file. All this file does is define the identifier TestOne. I included a version string, so that I could run convert-ly if I wanted to later on. The second file, which will use Test1.ly, is shown below. %%%MyScore.ly \version 2.11.23 \include english.ly \include Test1.ly \layout { ragged-right = ##t } \score { \TestOne } %% End of MyScore.ly This file sets up the layout, and the language, and the version, then includes the file Test1.ly, then uses the identifier defined in Test1.ly. This example works, at least on my system. I hope this has helped clarify the difference between identifiers, where digits aren't allowed, and files, where they are. Carl Sorensen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
setting styles/tweaks for the full score
I have been successful at entering my entire score into lilypond and it looks great! But there are some things I need to change (such as the 4/4 instead of "C", accidentals, and stem settings etc..) I haven't, for the life of me, been able to figure out how to do this in one simple command. I know there is a way... I want to be able to type one command at the top (or bottom if that's more appropriate) of the score that will change these things for the whole score. I read about style sheets, but I got errors for everything I tried from the examples... I tried it in the score, I tried it in a separate file with the \include "file.ly" and different variations... but nothing worked and it's getting frustrating. Anyway I'm sure it's simple but I can't figure it out... can anyone help?? Thank you, Michael ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: setting styles/tweaks for the full score
Hi Michael, On 8/27/07, Michael Sperone [EMAIL PROTECTED] wrote: I have been successful at entering my entire score into lilypond and it looks great! But there are some things I need to change (such as the 4/4 instead of C, accidentals, and stem settings etc..) I haven't, for the life of me, been able to figure out how to do this in one simple command. I know there is a way... Have a look at section 6.4.3, Time Signature - you'll find what you're looking for near the top of the page. You'll have to be a bit more specific with regard to other issues; without an idea of what you're trying to do, it's a bit difficult to suggest a solution. Could you perhaps post a minimal example with your requirements? I want to be able to type one command at the top (or bottom if that's more appropriate) of the score that will change these things for the whole score. I read about style sheets, but I got errors for everything I tried from the examples... I tried it in the score, I tried it in a separate file with the \include file.ly and different variations... but nothing worked and it's getting frustrating. You can put global tweaks in \layout, then it's a matter of choice whether you keep it in a separate file or insert it into your \score block. Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Alignment problem with RehearsalMark
Hi Mats, On 8/27/07, Mats Bengtsson [EMAIL PROTECTED] wrote: Neil Puttock wrote: I've just encountered another problem - clef changes skew the rehearsal mark positioning to the left of the bar-line: That's since the default setting for the break-align-symbols property of the RehearsalMark objects is #'(staff-bar clef), which gives the desired layout if the rehearsal mark appears at a line break. Just to clarify this, are you saying that this happens as a result of the default setting of break-align-symbols combined with moving the mark engraver to the staff context? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Lyrics without visible notes
I came up with the following kludge that works for the Soprano/Alto staff: % Hidden Note H = { \hideNotes c'4 \unHideNotes } then in the score, I enter as many hidden notes as necessary for the number of syllables until the next pitch change f'4 \H \H \H \H \H \H \H \H \H \H \H \H f'4 g'4 a'2 g'4 f'4 e'2 The only catch is the note is not truly hidden because the spacing below the staff takes the c' into account even if there are no visible notes below the staff. So, a different definition may be required for the Tenor/Bass staff if you don't want the spacing for a middle c above it. I still believe a solution using skip notes would be preferable. Another option, if someone out there understands scheme function definitions, is to come up with a function like f'4 \repeatHidden { c' 12 } f'4 g'4 a'2 g'4 f'4 e'2 which would allow you to easily specify the true pitch for the repeated note and the number of times to repeat the hidden note. Paul _ From: Paul Harouff [mailto:[EMAIL PROTECTED] Sent: Monday, August 27, 2007 10:09 AM To: 'lilypond-user@gnu.org' Subject: Lyrics without visible notes Putting a skip in the lyrics prints a note without lyrics under it. But putting a skip in the music does not print the lyrics without a note over it; instead, the words are just shifted to the next note. It is useful to able to use note skips to fix spacing issues around bar lines, but I believe it would be much more intuitive to have the behavior of skips completely reciprocal between music and lyrics. If you want both blank music and lyrics for spacing, it would make more sense to enter a skip in BOTH. There is another way to enter hidden notes, but the directions are in the documentation under Educational Use, and if you have to do this over and over it gets tedious, especially since you have to enter the pitch: f4 \hideNotes f4 f4 f4 f4 \unHideNotes f4 Up to now I have been using a breve to represent repeated pitch for chant music (see snippet below), but I'm finding that sometimes this makes the music too cluttered and confusing for the choir because of spacing issues around the lyrics in quotation marks, especially if ragged-right = ##f. I would rather print the words without anything over them until the pitch changes and use hidden notes to fix the spacing. \version 2.11.25 % New Measure NM = { \cadenzaOff \bar | \cadenzaOn } % New Line Break NL = { \cadenzaOff \bar : \break \cadenzaOn } \score { \new StaffGroup \new Staff = women \clef treble \key f \major \new Voice = Soprano {\voiceOne \cadenzaOn \override Stem #'length = #5 #(set-accidental-style 'forget) f'4 f'\breve f'4 g'4 a'2( g'4 f'4) e'2 \NM \break e'4 e'\breve e'4 f'4 g'2 f'4( e'4) f'2 \NM \break d'4 d'\breve d'4 e'4 f'2( e'4 d'4) cis'2 \NM \break cis'4 cis'\breve cis'4 d'4 e'2( d'4 cis'4) d'2( e'2) \bar | } \new Lyrics \lyricsto Soprano { Re- joice, O chosen by God of all gen- e- ra- tions! | Re- joice, holy ves- sel of God the Word! | Re- joice, fulfillment of pro- phet- ic fore- tell- ing! | Re- joice, most hon- or- a- ble crown of the dis- ci- ples! } \layout { \context { \Staff \remove Time_signature_engraver } between-system-padding = 0.1\in between-system-space = 0.1\in indent = #0 ragged-right = ##t ragged-last = ##t } \header { piece = opus = } } Paul ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
lilypond-book option --padding no longer exists?
Hi, Does the lilypond-book option --padding no longer exist? The lilypond-book manual says at 4.7 Invoking lilypond-book that there is a --padding option. But with ... lilypond-book --pdf --padding=0 --output=out tmp_rhythm.tex ... we get ... Usage: lilypond-book [OPTION]... FILE lilypond-book: error: no such option: --padding Has --padding gone away? (2.11.30 under OS X.) -- Trevor Bača [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Removing whitespace before lilypond-books examples?
Hi, I've just started using lilypond-book and I have to say that I'm immensely impressed. The integration between LaTeX and LilyPond input is pretty amazing. I've been rendering some inline music examples in the middle of running text, and I have a question. First question: is it possible to reduce the amount of whitespace that lilypond-book renders immediately before such an inline music example? In the attached image, there's too much space after sixteenth note and before the notation snippet. Second question: is it possible to *increase* the amount of whitespace padding immediately *below* the image? You can't really see it in the attached image, but the very bottom of the notehead is cut off somewhat. (I guessed that the --padding commandline option might help with one or both of these, but --padding seems to no longer work.) -- Trevor Bača [EMAIL PROTECTED] attachment: inline-note.png___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Removing whitespace before lilypond-books examples?
On 8/27/07, Trevor Bača [EMAIL PROTECTED] wrote: Hi, I've just started using lilypond-book and I have to say that I'm immensely impressed. The integration between LaTeX and LilyPond input is pretty amazing. I've been rendering some inline music examples in the middle of running text, and I have a question. First question: is it possible to reduce the amount of whitespace that lilypond-book renders immediately before such an inline music example? In the attached image, there's too much space after sixteenth note and before the notation snippet. Second question: is it possible to *increase* the amount of whitespace padding immediately *below* the image? You can't really see it in the attached image, but the very bottom of the notehead is cut off somewhat. (I guessed that the --padding commandline option might help with one or both of these, but --padding seems to no longer work.) Forgot to send the input: %%% BEGIN %%% Note that for each $\frac{1}{2^n}$ with $n \in \mathbb{Z}$ there exists some glyph $g$. Where $n = 4$ we see that $g$ equals the sixteenth note \begin[staffsize=12]{lilypond} { \override Staff.StaffSymbol #'stencil = ##f \override Staff.Clef #'stencil = ##f \override Staff.TimeSignature #'stencil = ##f c'16 } \end{lilypond} written here under zero-prolation. %%% END %%% -- Trevor Bača [EMAIL PROTECTED] attachment: inline-note.png___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Time signature of 4/3 over 2?
Hi, Anyone know how to set a time signature of 4/3 over 2? (That's a measure that last 1 complete half note and also another 1/3 of a half note. Measure 3 of l'artisanat furieux in Le marteau.) Getting the durations right in Lily is easy. But getting the markup right for a diagonalized 4/3 fraction (in the numerator) over a 2 (in the denominator) is hard. So far I've got this: %%% BEGIN 4/3 over 2 %%% version 2.11.30 \new Staff { \set Score.proportionalNotationDuration = #(ly:make-moment 1 32) \set tupletFullLength = ##t \override Score.TimeSignature #'stencil = #ly:text-interface::print \override Score.TimeSignature #'text = \markup { \override #'(baseline-skip . 2) \number { \column { 4/3 2 } } } \time 4/6 \times 2/3 { c'4 c'4 c'4 } \times 2/3 { c'4 } } \layout { ragged-right = ##t } %%% END %%% Can anyone do better and make the 4/3 look like a real fraction with a true diagonal solidus? -- Trevor Bača [EMAIL PROTECTED] attachment: fraction-time-signature.png___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Removing whitespace before lilypond-books examples?
If you can stand having the note without a ledger line, then it's easier to use ... sixteenth note \begin[staffsize=12]{lilypond} \markup{\note #16 #1 } \end{lilypond} written here under zero-prolation. This gives slightly less spacing to the left and the right edge of the flag isn't cut. I'm not sure why you still get the space to the left. A simple workaround is to add a \hspace{-3mm} in the LaTeX code right before the snippet. /Mats Trevor Bača wrote: On 8/27/07, Trevor Bača [EMAIL PROTECTED] wrote: Hi, I've just started using lilypond-book and I have to say that I'm immensely impressed. The integration between LaTeX and LilyPond input is pretty amazing. I've been rendering some inline music examples in the middle of running text, and I have a question. First question: is it possible to reduce the amount of whitespace that lilypond-book renders immediately before such an inline music example? In the attached image, there's too much space after sixteenth note and before the notation snippet. Second question: is it possible to *increase* the amount of whitespace padding immediately *below* the image? You can't really see it in the attached image, but the very bottom of the notehead is cut off somewhat. (I guessed that the --padding commandline option might help with one or both of these, but --padding seems to no longer work.) Forgot to send the input: %%% BEGIN %%% Note that for each $\frac{1}{2^n}$ with $n \in \mathbb{Z}$ there exists some glyph $g$. Where $n = 4$ we see that $g$ equals the sixteenth note \begin[staffsize=12]{lilypond} { \override Staff.StaffSymbol #'stencil = ##f \override Staff.Clef #'stencil = ##f \override Staff.TimeSignature #'stencil = ##f c'16 } \end{lilypond} written here under zero-prolation. %%% END %%% ___ 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