Re: Using chord names instead of ^"name" in the music
to print chord name only, see : http://www.lilypond.org/doc/v2.6/Documentation/user/lilypond/A-lead-sheet.html#A-lead-sheet (the last sample) and the source at : http://www.lilypond.org/doc/v2.6/Documentation/user/lilypond/lily-202315302.ly Stephen Torri wrote: I was told to consider using chord names instead of using the ^"name" notation as a part of the music. For example: % Am (measure 1) d'4^"Am" a' f' d | % Am Bflat (measure 2) a2 2\arpeggio^"Bis" | Now I have a problem with the above music. How do I tell lilypond to give me a B with a flat symbol above the second half of the second measure. After reading the documentation I got the impression the chord names allowed me to print out chords on sheet music. I don't need the note only the name. Does this make sense? Stephen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- Riccardo Cohen Articque Les Roches 37230 Fondettes France web = http://www.articque.com tel: +33 02 47 49 90 49 fax: +33 02 47 49 91 49 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Adjusting slurs and brackets
Heimdall Midgard wrote: 2005/12/19, Gilles <[EMAIL PROTECTED]>: So, could someone please give me a code snippet on how to raise or lower the vertical placement of a slur relative to the notes (or if possible, relative to the fingering, which it collides with). You can try playing with: \override Score.Slur #'height-limit = #4.5 or/and \override Script #'padding = #1.5 Neither appears to work, at least the way I used it in the following code fragment (I hope I didn't omit anything essential). I used deliberately small and large values to exagerrate any side-effect the overrides might have (none). upper = \relative c' { \time 4/4 \key c \major \clef treble \override Score.SeparationItem #'padding = #1.0 \override Score.Slur #'height-limit = #-20 \override Script #'padding = #100.5 \phrasingSlurUp c4-1\( d-2 e-3 f-4 g4-5 e4-3 c2-1\) Since you use phrasing slurs instead of ordinary slurs, you have to use \override Score.PhrasingSlur #'height-limit = ... to control it. Similarly, to control a fingering, you should set the property on the Fingering object, not on the Script object: \override Fingering #'padding = #10.0 /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using lilypond syntax in Scheme
As far as I know, this has been fixed in the latest development versions. In 2.6, you have to explicitly include a \notemode : #(define mynotes #{ \override Stem #'thickness = #4 \notemode { c'8 d' } #}) \score { \mynotes } /Mats Don Blaheta wrote: What am I missing here? Whenever I include a literal note (e.g. "c" or "bf'4") inside a #{ #} block, lilypond is complaining about an unexpected STRING. For instance, this example (lifted from section 11.1.6 of the manual) fails to compile: #(define mynotes #{ \override Stem #'thickness = #4 { c'8 d' } #}) \score { \mynotes } Am I just not invoking it right? Commands and such (\override, \context) seem ok, it's just the actual notes that don't work. This is on 2.6.4. -- = 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: print-function
The problem is probably that stems and perhaps some other objects as well, determine their position based on the position of the corresponding note head, so when you remove that particular print-function, you also remove a prerequisite for other parts of LilyPond to work. However, in general, setting print-function to false is a good method to remove the object completely. Another method is to completely remove the corresponding engraver, but at least in this particular case, I would expect possibly even worse problems due to interactions with other engravers and objects. /Mats Don Blaheta wrote: In the docs for #'transparent, it says "This is almost the same as setting print-function to #f, but this retains the dimensions of this grob, which means that grobs can be erased individually." Since I actually *want* to blow away the dimensions of the grob, this alternative seemed appealing, but when I added \override NoteHead #'print-function = ##f to my file, I get a crap-ton of messages saying programming error: infinity or NaN encountered while converting Real number continuing, cross fingers although it then lays out the music just like I wanted. Is there a better way to do this? Or is this just a bug? -- = 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
footnotes on output sheet
I am trying to give credit where credit is due and put the footnotes I find in a hymn on the bottom of the sheet. Some text is aligned on the left and right side of the page as if the foot note was split into two columns. I used google to search the documentation and did not see how with lilypond syntax to do this. Do I need to put my lilypond doc into a latex doc and try it that way? Stephen signature.asc Description: This is a digitally signed message part ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: footnotes on output sheet
Hi Stephen! Some text is aligned on the left and right side of the page as if the foot note was split into two columns... Do mean something like copyright = \markup \fill-line {{"left-aligned credit"} {"right-aligned credit"}} in the header section? Regards, Thies ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: footnotes on output sheet
On Mon, 2005-12-19 at 17:14 +0100, Thies Albrecht wrote: > Hi Stephen! > > > Some text is aligned on the > > left and right side of the page as if the foot note was split into two > > columns... > Do mean something like > > copyright = \markup \fill-line {{"left-aligned credit"} > {"right-aligned credit"}} > > in the header section? > > Regards, > Thies Yes. Thanks. It did not make sense to think of copyright to denote information put at the bottom of each sheet. Stephen signature.asc Description: This is a digitally signed message part ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Adjusting slurs and brackets
2005/12/19, Mats Bengtsson <[EMAIL PROTECTED]>: > > Heimdall Midgard wrote: > > >2005/12/19, Gilles <[EMAIL PROTECTED]>: > > > > > >So, could someone please give me a code snippet on > > > >how to raise or lower the vertical placement of a > > > >slur relative to the notes (or if possible, relative > > > >to the fingering, which it collides with). > > > > > > >You can try playing with: > > > > > > \override Score.Slur #'height-limit = #4.5 > > > > > >or/and > > > > > > \override Script #'padding = #1.5 > > > > >Neither appears to work, at least the way I used it in > >the following code fragment (I hope I didn't omit > >anything essential). I used deliberately small and large > >values to exagerrate any side-effect the overrides might > >have (none). > > > >upper = \relative c' { > > \time 4/4 > > \key c \major > > \clef treble > > \override Score.SeparationItem #'padding = #1.0 > > \override Score.Slur #'height-limit = #-20 > > \override Script #'padding = #100.5 > > \phrasingSlurUp > > c4-1\( d-2 e-3 f-4 > > g4-5 e4-3 c2-1\) > > > Since you use phrasing slurs instead of ordinary slurs, > you have to use > > \override Score.PhrasingSlur #'height-limit = ... This has an effect, but not exactly the one I want in the above case. Large values (+10) increase the curve. What I want is to flatten the curve and raise its two end points. As it is, with #'height-limit = #50, I get a dome-like curve that extends all the way down to the notehead (the two C's one line below the treble staff). The curve of the phrasing slur practically disappears with #'height-limit = #0 (it becomes nearly flat). But I see no difference in slope between #'height-limit = #1 and #'height-limit = #4. Is there a way to arbitrarily raise the end points of the curve as well? > Similarly, to control a fingering, you should set the > property on the Fingering object, not on the Script > object: > > \override Fingering #'padding = #10.0 This works and could be a way of solving the collision problem. However, a flatter curve would enable me to raise or lower the fingering numbers uniformly rather than attempt to achieve a fancy staircase effect to dodge the curve (ASCII graphic): 3 4 5 2 3 1 1 -- Albert Einstein: Phantasie ist wichtiger als Wissen, denn Wissen ist begrenzt. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Problems with Lilypond
Hi, Installed lilypond on my PC running Window XP Pro SP2. Installation completed with error. Downloaded test.ly file and followed instructions on http://lilypond.org/web/install/windows Got error saying could not find test.ly file. I've checked...it's there with the right extension. Any ideas? Thanks Error log as follows: GNU LilyPond 2.6.0 warning: can't find file: `test.ly' error: failed files: "test.ly" ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurs around tuplets / tuplets inside staff - Could this be a sponsored feature??
On Saturday 17 December 2005 04:54 am, Trent Johnston wrote: > Good evening all, > > I suppose this email is directed at Han-Wen since I am looking a possibly sponsoring a new feature. > > I was wondering whether slurs could be made to encase tuplet numbers. i.e. the slur would go over the number and not through the number as it does now... This used to be popular but it is a bad idea because you can't tell whether there is really supposed to be any slurring or not. See the triplets in my "Alegrias for Rose" on my site, for a better than standard triplet bracket. It's been in use in the Philippines for some decades. > Could the tuplet number be allowed within the staff. The tuplet number would be put just above the noteheads or beam wherever they are in the staff. That's where they are supposed to be, close. You have found an ugly ugly ugly bug. daveA -- Free download of technical exercises worth a lifetime of practice: "Dynamic Guitar Technique": http://www.openguitar.com/instruction.html email: "David Raleigh Arnold" <[EMAIL PROTECTED]>|<[EMAIL PROTECTED]> (Full name in address field is needed to pass filter) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
unicode font (metric?) problem
Hi, the following input file prints the lyrics like this: 1 4 The superscript 1 is placed correctly. Same for superscript 2 and 3 (0x00B9, 0x00B2, 0x00B3 respectively). The superscript 4 is placed incorrectly. Same for superscript 0, 5, 6, 7, 8, 9 (0x207x). I don't even know where to start looking for the root of the problem. I use Debian testing/unstable, lilypond 2.6.3. Thanks, Marcus % superscript-numbers.ly \version "2.6.0" melody = << \context Voice { c'' c'' } \lyricsto "" \new Lyrics { "..�¹" "..⁴" } >> \score { \new Staff { \melody } \layout { indent = 0.0 } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond ezine
On 18-Dec-05, at 1:54 AM, Mehmet Okonsar wrote: when I was reading the excellent article of Kris Schaffer on Schenkerian analysis with lilypond, I thought: what nice it would be if this kind of articles where more often available in the form of a ezine for ex., which can be even not-free if needed to be.. You mean something like this? http://wikihost.org/wikis/lilypond/programm/gebo.prg?name=traffic: Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurs around tuplets / tuplets inside staff - Could this be asponsored feature??
Hi David, Just in reply to your statement >>> This used to be popular but it is a bad idea because you can't tell>>> whether there is really supposed to be any slurring or not. I realise this but I typeset baroque and classical scores where a slur is often placed around the tuplet number. As for trying to figure out whether it is a 'slur' or 'a group' I leave this to the performer(s) since I'm trying to make the score as faithful to the original edition as possible -- an urtext. The feature which I've sponsored isn't a mandatory feature but simply one that users can switch on or off when editing baroque and classical works or any other works for that matter. Regards, Trent Johnston From: David Raleigh Arnold <[EMAIL PROTECTED]>Reply-To: [EMAIL PROTECTED]To: lilypond-user@gnu.orgSubject: Re: Slurs around tuplets / tuplets inside staff - Could this be asponsored feature??Date: Mon, 19 Dec 2005 18:50:36 -0500On Saturday 17 December 2005 04:54 am, Trent Johnston wrote:> Good evening all,>> I suppose this email is directed at Han-Wen since I am looking apossibly sponsoring a new feature.>> I was wondering whether slurs could be made to encase tuplet numbers.i.e. the slur would go over the number and not through the number as itdoes now...This used to be popular but it is a bad idea because you can't tellwhether there is really supposed to be any slurring or not.See the triplets in my "Alegrias for Rose" on my site, for a betterthan standard triplet bracket. It's been in use in the Philippinesfor some decades.> Could the tuplet number be allowed within the staff. The tupletnumber would be put just above the noteheads or beam wherever they arein the staff.That's where they are supposed to be, close. You have found an uglyugly ugly bug. daveA--Free download of technical exercises worth a lifetime of practice:"Dynamic Guitar Technique": http://www.openguitar.com/instruction.htmlemail: "David Raleigh Arnold" <[EMAIL PROTECTED]>|<[EMAIL PROTECTED]>(Full name in address field is needed to pass filter)___lilypond-user mailing listlilypond-user@gnu.orghttp://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using chord names instead of ^"name" in the music
On Mon, 2005-12-19 at 17:49 -0800, Kenneth Teh wrote: > What you typically do is write something like > > changes = \chordmode { > a1:m | > s2 bes | > } I did the following: harmonies = \chordmode { a1:m | a2:m bes | c1 | a1:m | f | e | f | c2 d:m | a1:m | a2:m g:m | f1 | c | a/cis | d:m | a:m | g | a:m | d2:m g | a1:m } > Btw, the s2 bes will do exactly what you want, skip 2 > beats and write the chord name on the 3rd beat. If > you want the A minor to extend into the second > measure, you will have to repeat the chord or tie it. > The ChordNames context has a flag #chordChanges which > you can set to ##t so that it will suppress repeated > chords from being printed. Are you sure about the number values? I ask because I used the number values after the chord character 'a1' to indicate its a whole measure and 'a2' to indicate a half measure and got the results I wanted. Aside on the slur how do you slur chord names? For example how do I get away with no repeating the Am chord in the second measure. Stephen signature.asc Description: This is a digitally signed message part ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user