Re: A few questions
Hi, it now looks as this: [...] I want it to look like this: please read the manual :) in this case, use line breaks: put \break after each e.g 4 bars ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: A few questions
1. Why does the following create a .pdf and a midi, but when I play the .midi file it just stops... it never plays anything? perhaps version 2.6.3 has some bug in midi generation. If I remember it was fixed in 2.6.4, but I'm not sure. in version 2.7.x, your example yelds a correct midi file. 2. I want it only to show the chord names, not the notes. how can I do that? you have to use a ChordNames context in the \score section 3. How do I generate "\" signs inside the lines, so I can show when to play the Chord that way? An example: 4 strokes on the guitar: \ \ \ \ by "inside the lines" you mean inside the staff? if I get you right, you have to set the noteheads to slashes. these are "/" signs, not "\". For the last one I guess you should use markups with "\\". Is this what you want?: %% \header { title = "Improvise" composer = "Jannik Jeppesen" } chordline = \chordmode { \repeat volta 20 { a1:m c g e:m } } rythmline = \relative c'' { \override NoteHead #'style = #'slash \override Stem #'transparent = ##t % or not \repeat volta 20 { b4 b b b b b b b b b b b b b b b } } \score { << \context ChordNames { \chordline } \context Staff { \rythmline } >> \layout {} } \score { \unfoldRepeats \chordline \midi { \tempo 4 = 120 } } %% EOF ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-user Digest, Vol 37, Issue 44
It's true that the jazz chord names printed by lilypond are weird from a jazz perspective and it is also true that there is a mechanism via chordNameExceptions to tweak the output or one could always use text markup to do it exactly as one wishes. true (1) Text markup for chords don't allow you to transpose chords. So, when I am writing out parts, the chordmode has a clear advantage since you can transpose the chord names via \tranpose. no, if you use chordNameExtensions, the name of chord root is not affected with your text markup, only the chord "modifiers". you still have to use \chordmode so you can also transpose chords and play them in the midi file. see "chord-name-exceptions.ly" in the regression tests, and change the root of the chords inside theMusic block to e.g "d:7sus4" instead of "c:7sus4". then you'll see D7wahh at the output :) although it may be a bit misleading, in: chExceptionMusic = { 1-\markup { \super "7" "wahh" }} is not implicitly related to the "c" based chord, but to the relative intervals inside the chord, in this case to all the 7sus4 chords, regardless of the root. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Questions about Jazz chords
see this thread: http://lists.gnu.org/archive/html/lilypond-user/2005-08/msg00719.html On Sun, 20 Nov 2005 18:31:35 +0100, Kees Serier <[EMAIL PROTECTED]> wrote: Hello, I'm trying to learn LilyPond, I previously used abcm2ps and abctab2ps, since Lily combines both, and knows how to print complex cordnames. I want a B13 chordname, so I try b:13, but that gives me a B9/add13, which may be correct, but is not what I want. How do I get a flat sign in front of a number? E.g. how to get a "A7b13" a:7?13 where I used the lower case b as a flat sign. How can I get a "C6 9"? if I try c:69, I also get a C9/add13 How can I get a "half-dim" chord, with a / through the O? In the Appendix there are a lot of nice examples, unfortunately without source. Thanks in advance, Regards, Kees ___ 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
Re: Old-fashioned rest symbol
Can you point me to an image of this symbol? In my experience, this rest looks like a backward eighth-rest; I've seen it in some music theory books printed exactly as a 8th rest mirrored over a vertical axis. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar notation
see the manual, section 7.5. here another working example: %% \version "2.7.10" pentatonic = \relative c { a\6 c\6 d\5 e\5 g\4 a\4 c\3 d\3 e\2 g\2 a c % alternatively this also works: % \set TabStaff.minimumFret = #5 % a c d e g a c d e g a c \bar "|." } \score { \new StaffGroup << \context Staff { \clef "G_8" \pentatonic } \context TabStaff { \override Beam #'transparent = ##t % I prefer it \override Stem #'transparent = ##t % I prefer it \pentatonic } >> } %% EOF On Wed, 16 Nov 2005 17:15:15 +0100, Jannik Jeppesen <[EMAIL PROTECTED]> wrote: Hi. Is there anyone who can send me an example on a a blues scale with tab starting on 5. fret? (or somthing similar) I really cant figure out how to tell lilypond exactly where to specify the tab... Please. Jannik ___ 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
Re: 2.6.x and fonts with accents
Try ALT+0241 in your text editor. I think this also works in 2.6.x (I'm using 2.7.x): title = \markup {"habe"#(ly:export (ly:wide-char->utf-8 #x00F1))"era"} but you'll have to tweak a bit the spacing though. btw, if you intend to write the title in spanish, "habeñera" doesn't exist. the correct word in spanish is "habanera", if I'm getting you right :) greetings from spain, Vicent. On Sun, 06 Nov 2005 19:13:24 +0100, Sterling Sympatico <[EMAIL PROTECTED]> wrote: Hi all, I just upgraded from 2.4.5 to 2.6.3 in Debian "testing" and converted my few meager scores. I noticed that (and expected) that the fonts would be handled differently but am not sure of how to put simple accents and such in titles and markup. I want a ~ over an "n" in the title - "Habenera". I was using Hab\~nera but that no longer works. Do I need to define some sort of "pango" option in the score headers somewhere? Thanks in advance, Sterling MacNay ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: First Measure bar
Jazz scores often print starting repeats. I really don't care too much if this is standard or not. It's just more readable to me and the musicians I use to work with (I don't use it for "classical" music though). Since the trick below works easily, I don't see the need for such change. On Fri, 21 Oct 2005 10:07:28 +0200, Mats Bengtsson <[EMAIL PROTECTED]> wrote: I hope you have a good reason to deviate from standard music typesetting practice. As far as I can see, it's hard-coded into LilyPond to not typeset the opening repeat at the beginning of a piece, but if there is a general need for such an option, it should be easy to make this configurable. /Mats VSD wrote: I have the same problem. I don't know if lilypond can do that, but I use the following cheap trick: { \time 4/4 \partial 128 s128 % create an empty tiny partial measure before the repeat \repeat volta 2 { c''2 c'' } } which works form me. I'd recommend you to use raggedright=##t in the layout for a single bar score though. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: First Measure bar
I have the same problem. I don't know if lilypond can do that, but I use the following cheap trick: { \time 4/4 \partial 128 s128 % create an empty tiny partial measure before the repeat \repeat volta 2 { c''2 c'' } } which works form me. I'd recommend you to use raggedright=##t in the layout for a single bar score though. On Thu, 20 Oct 2005 23:19:15 +0200, Kress, Stephen <[EMAIL PROTECTED]> wrote: All, If I have a file with this: { \time 4/4 \repeat volta 2 { c''2 c'' } } I get a single measure and a close repeat at the end of it. How do I get LilyPond to put the openning repeat in there as well? I tried this: { \time 4/4 \bar "|:" \repeat volta 2 { c''2 c'' } } but that puts the time signature inside the repeat. I tried moving the \bar to various places but nothing would put it where I want it. I would like to have the symbols in this order: 1. Clef 2. Time signature 3. Open repeat 4. The rest of the music. Thanks for any help you can provide. Stephen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: PDF Viewing / Updating a score
Unfortunately this seems to be broken in the last lily4jedit version (0.2.8-6), at least with lily 2.7.X windows native, because it seems to mix cygwin paths (using "/" and prefixed with "/cygdrive/") in the call to the ghostscript which comes with lilypond. Please make a bug tracker at www.sourceforge.net/projects/lily4jedit Bert Done :) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: PDF Viewing / Updating a score
I use lily4jedit (very recommendable lilypond companion in Windows imho), with its "view output (postscript)" command, wich converts the lily output to png and displays it with an internal viewer which refreshes automatically . You can't use point and click though. Unfortunately this seems to be broken in the last lily4jedit version (0.2.8-6), at least with lily 2.7.X windows native, because it seems to mix cygwin paths (using "/" and prefixed with "/cygdrive/") in the call to the ghostscript which comes with lilypond. Hopefully this fill be fixed in the future. In the meanwhile, I invoke lilypond with the --png (and --pdf if you want pdf too) flag, then I load once the resulting png(s) in my web browser and hit "reload" when I want to recheck the output. On Tue, 13 Sep 2005 04:13:18 +0200, Trent J <[EMAIL PROTECTED]> wrote: Hello everyone, Firstly the required out the way: Platform: Windows XP Lilypond Version: 2.7.8 I have been using the new version(s) of Lilypond for a while and I find the us of PDF file a little annoying especially when fine tuning a score. You have to remember to close out of the current document before you run lilypond as the current scheme is to delete the old pdf and make the new one. So if you fail to close the score your viewing in the PDF viewer before you compile you receive an error message which means going through the sequence again remembering this time to close the document in the pdf viewer. While this is only a minor quible it becomes more noticeable when editing a large score i.e. across many pages. To make a simple adjustment say the padding of slur or dynamic this becomes frustrating as you need to close down the pdf file, make the adjustment and then manually load newly generated pdf back into the pdf viewer and then try and find the page and staff to where you made the adjustment. This can be very annoying and slow down the work rate especially when you are making guesses to padding / layout / making lyric corrections etc. I know in the older versions of lilypond a dvi viewer could be used as a fast an easy way to make changes. Since the newer versions only produce a .ps file and .pdf file this it out of the question. I tried using 'gsview' with the .ps file but gsview complains that there too many errors and won't display the music. I use gsview all the time especially when entering music with PMX/Musixtex and can have the .ps loaded all the time and when I update the score it refreshes the screen with the changes made while retaining the same view of the same page I was working on. This makes fine tuning scores much simplier and time efficient. Is there a way to use the .ps file with gsview I know I won't be able to use point and click but since I usually number all the bars in a score I don't see this as problem and if things get a little tricky I can always go back to the pdf score to find the offending line. I don't use point and click as it is but simply use the pointer to give me the line number to go back to file to find. Any hints / help appreciated. Regards, Trent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.22/98 - Release Date: 12/09/2005 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: chordNameExceptions
see: http://lists.gnu.org/archive/html/lilypond-user/2005-08/msg00719.html On Thu, 08 Sep 2005 12:06:38 +0200, Sacha Standen <[EMAIL PROTECTED]> wrote: Hi I'm having trouble customizing chord names (chordNameExceptions). How, for example, can I write "Emaj7"? (The default is a white triangle, which I don't want.) Sacha ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Note head in brackets
see stencil-hacking.ly in the regression tests. here's a *very* dirty trick I use for desperate cases, but which works for me :) (see attached png) % \version "2.7.6" \layout { raggedright = ##t } \relative c'' { r2 r4 g8 \once \override Score.SeparationItem #'padding = #1.2 \once \override TextScript #'extra-offset = #'(-2.2 . -5.1) bes8^\markup \bold {"(" \hspace #1.8 ")"} c4 b a g } %%% EOF the given examples use perentheses, but you could use brackets too. On Mon, 05 Sep 2005 19:03:05 +0200, Wolfgang Mechsner <[EMAIL PROTECTED]> wrote: Note head in brackets - I do not find a solution in the documentation. Thanks for a hint! Wolfgang parentheses.png Description: PNG image ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Jazz Chords
(please always specify which version of lilypond are you using. I can only assure that the following works from version 2.4.2 up to the latest) take a look at chord-name-exceptions.ly in the regression tests. it shows how to customize how the chord names are displayed. you can add as many chords to chExceptionMusic as you want, and you can use any text markup to display the chord your own way. if you remove the voice context, then the chord pitches won't be printed, only the names in the ChordNames context. Then you can put the piece's melody in the voice context and you'll have a nice lead sheet with your melody and your nice custom chords :) as a hint, I have chExceptionMusic (with all my custom defined chords) and chExceptions in a separate file named "jazzchords.ly", so each time needed I just have to include that file and write the line: \set chordNameExceptions = #chExceptions at the begining of the \chordmode block. greetings, Vincent On Sun, 28 Aug 2005 21:20:15 +0200, Jonathan Townes <[EMAIL PROTECTED]> wrote: I've been searching for a way to customize chord superscript. I found the example for chord-name-major7.ly but would like to customize minor 7th chords too. Also, I have not found a way to print 13th chords (C7/b9/13) without 'add' (C7/9/add13). -Jonathan  ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Price quote for better tied chords?
Trevor Bača: EUR 50 yippiyayeh! :) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Price quote for better tied chords?
On Thu, 18 Aug 2005 01:03:12 +0200, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: I have taken a closer look at tie formatting in the beautiful Wiener Urtext of Brahms op 119 that I have (the piece has lots and lots of ties). I think that I can cook something that closely mimicks this style, and solves the existing problems with seconds in chords. The trickiest bit is that ties should avoid staff lines, and which means that short ties should completely be inside the spaces, while long ties should cross the staff line, to have their horizontal part in the center of the space. If anyone is interested, I can put up a scan of the Brahms piece. I guess that would help clarifying what we all can expect, so please proceed! Implementing this (and figuring out the mechanism) is somewhat involved so I have to charge EUR 450 to implement it. AFAICS, we already have pledges for 300 EUR, so an additional EUR 150 is still needed. Of course, contributions of smaller amounts (eg 3 people contributing 50 euro) are also welcome. So we would have now (please correct me if I'm wrong): - Steve D: EUR 100 - Kieren Richard MacMillan: EUR 100 - me (Vincent): EUR 100 - Jay Hamilton: EUR 50 - Bertalan Fodor: EUR 50 that's EUR 400. Then we would just need another EUR 50. a-ny-bo-dy-el-se? C'mon people, lily needs beautiful tied chords! :) thanks, Vincent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: sponsoring better tied chords?
On Mon, 15 Aug 2005 01:27:34 +0200, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: The solution that you propose can relatively easily be added, but I think it is a poor man's substitute for the real thing, which is automatic formatting. agreed. I think that it should be possible to automate it, and I would gladly work on this as a sponsored feature. It would be a somewhat bigger feature (perhaps 800 eur, I'm not sure yet), as the Tie formatting needs to be redone. I'll have a look this week what is involved. If there is a need for more sponsors, I can put up an announcement on lilypond.org. I would be glad to co-sponsor this feature. I'm afraid I can't go beyond 100 eur, but if Steve contributes another 100, then we "only" would need 6 more contributors. Anyone else? Vincent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: sponsoring better tied chords?
Do you mean that such code review is somewhere in the to-do list? That would be pretty good news then. I posted about that subject two months ago and got no reply. That's why I thought this was an issue with very little priority in the lilypond development, and suggested to sponsor it as a way to make it happen. If there already are plans to somehow improve the tie handling, then I guess we can wait to see what comes out and to leave any further discussion (if neccesary) to when it comes out, as you say. Thanks, Vincent On Tue, 09 Aug 2005 23:58:54 +0200, Werner LEMBERG <[EMAIL PROTECTED]> wrote: My suggestion would be to extend the TieColumn object to have a "direction" property for each tie, e.g. in a list. [...] Note that the whole code for handling ties must be rewritten. Adding features as you suggest is something which comes afterwards. Werner ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
sponsoring better tied chords?
All, it seems that Lilypond still manages the tied chords poorly, and the ties in chords collide very often. e.g. see: http://personales.ya.com/v_s_d/tied_chords.png imho this problem should be solved to avoid "poor looking" spots in the otherwise gorgeously engraved lilypond scores, so I would be willing to sponsor a feature which helps to improve this issue. Anyone would like to join forces (budget) with me to help me to afford the sponsoring? :) My suggestion would be to extend the TieColumn object to have a "direction" property for each tie, e.g. in a list. Then the user could override it's own positioning "algorithm" more or less like this: \override TieColumn #'directions = #'(up down down down) 4 ~ \tieColumnNeutral % revert to default provided that this list could be dynamic (i.e, to have as many directions as notes in the following tied chord). or there is a better solution? TIA, Vincent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How To Shift String Numbers?
use the extra-offset property of the StringNumber object, it allows to move it both vertically and horizontally. e.g: %%% \version "2.6.0" \score { { \set fingeringOrientations = #'(up) \set stringNumberOrientations = #'(down) \set Staff.instrument = "C Major" \clef treble \time 2/4 8-2 d'16-4 e'16-1 f'16-2 g'16-4 a'16-1 b'16-3 | \override StringNumber #'extra-offset = #'(1 . -2) 8-1 \revert StringNumber #'extra-offset d''16-3 e''16-1 f''16-2 g''16-4 a''16-1 b''16-3 | c'''8-4 b''16-3 a''16-1 g''16-3 f''16 e''16 d''16 | c''8 b'16 a'16 g'16 f'16 e'16 d'16 | c'4 r4 \bar "|." } } % EOF %%% greetings, Vincent On Sun, 07 Aug 2005 01:19:07 +0200, Randy Keeling <[EMAIL PROTECTED]> wrote: Greetings, I just started to use Lilypond today and I have run into a problem (surprise). To start learning, I started to enter some scales. I have been able to solve most of my problems except how to shift a string number (Guitar notation). Below is what I have done: %- \score { { \set fingeringOrientations = #'(up) \set stringNumberOrientations = #'(down) \set Staff.instrument = "C Major" \clef treble \time 2/4 8-2 d'16-4 e'16-1 f'16-2 g'16-4 a'16-1 b'16-3 | 8-1 d''16-3 e''16-1 f''16-2 g''16-4 a''16-1 b''16-3 | c'''8-4 b''16-3 a''16-1 g''16-3 f''16 e''16 d''16 | c''8 b'16 a'16 g'16 f'16 e'16 d'16 | c'4 r4 \bar "|." } } %- You will notice that the string number for the C above middle C has run in with the note stem. How can I fix this? I have read some of the message archive and noticed that the most common solution seems to be to use Tex/LaTex to create a custom solution. I am a not un-familiar with LaTex so this wouldn't be a problem, but I hope that there is a more elegant solution (so I don't have to download the Cygwin package). On a side note, is there a good solution for notating positions on the guitar besides the text spans (which, when compared to what Lilypond outputs, is not as attractive as it could be). I looked at the octave notation as a possible subsitute but that would upset any MIDI output. :-( Thanks, Randy ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Positioning of Fret Diagrams and Chord Names
use #'extra-offset or #'padding. (as an alternative you could also add an invisible voice and attach the fret diagrams to the invisible notes in that voice) to add chord names, use ChordNames instead of a 2nd markup. See section "Printing Chord Names" in the manual. use extra-offset to adjust the position of the chord names too. e.g: % \version "2.6.0" harmonies = \chordmode { \override ChordNames.ChordName #'extra-offset = #'(10 . 0) r8 b4.:13 } \score { << \context ChordNames \harmonies \context Staff { \override TextScript #'extra-offset = #'(10 . 0) a8 b4.~^\markup { \fret-diagram #"6-x;5-2;4-4;3-2;2-2;1-4;" } b4. a8 } >> } %% EOF %% you can customize the chord names notation to your taste (see chordNameExceptions in the regression tests). greetings, Vincent On Thu, 28 Jul 2005 18:15:12 +0200, Sacha Standen <[EMAIL PROTECTED]> wrote: Version 2.6.1 Is there any way of adjusting the position of fret diagrams, other than \right-align, \centre-align or \left-align? With the following input for example: a8 b4.~^\markup { \left-align { \fret-diagram #"6-x;5-2;4-4;3-2;2-2;1-4;" } } b4. a8 I need to place the fret diagram above the 3rd quaver beat, rather than the 2nd. Is this possible? Also, is it possible to integrate fret diagrams with chord names, or does one have to use a 2nd markup to type in the text? as here: a8 b4.~^\markup { \left-align { \fret-diagram #"6-x;5-2;4-4;3-2;2-2;1-4;" } } ^\markup { \left-align { B13 } } b4. a8 The reason I ask is because it's very difficult to align the text centrally above the fret diagram. In other words both markups are positioned relative to a note position, but it seems not to be possible to position a 2nd markup relative to a 1st, or even a 1st markup relative to a non-event as in the examples above. Regards Sacha ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tuplets
On Sat, 02 Jul 2005 17:08:44 +0200, Craig Brinker <[EMAIL PROTECTED]> wrote: I'd appreciate if someone could tell me what I'm doing wrong. I just started to use lilypond and I was trying make triplets. Here is the source I was using: the program's output speaks for itself: there's an unknown "\" and an extra "}". notice that the lilypond output states the line and the column at which there are syntax errors in your input file. note that "\ times" is *not* the same that "\times" and that at the end of your \score block there's an unmatched bracket "}". the correct code is: \version "2.6.0" upper = \relative c'' { \clef treble \key g \major \time 4/4 g g2. a4 b4 a4 } lower = \relative c { \clef bass \key c \major \time 4/4 \times 2/3 { e, b' e } % an error was here } \score { \context PianoStaff << \set PianoStaff.instrument = "Piano " \context Staff = upper \upper \context Staff = lower \lower >> \layout { } \midi { \tempo 4=60 } } % another error was here You have to be careful with lilypond syntax, and know it well. I'd sugest you to use a text editor with programming helper features (such as bracket matching) to help you detecting errors like these. For Windows, JEdit with it's excelent plugin Lily4Jedit is highly recommended for entering lilypond scores (See the manual). Greetings, Vincent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Folk songs scores / tabs
And sorry to be such a dull reading the doc, no prob, but keep in mind that the documentation and the mailing lists contain the vast majority of answers, although there always are some issues that usually need to be solved with the help of others... question: is it possible to enter tabs directly with numbers (instead of actual notes)? is not stated in the manual, so I guess no. greetings, Vincent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Folk songs scores / tabs
I actually tried the tips given in the "tips and tricks" section, but they don't work in 2.6 (slurs)... if an example from the documentation doesn't work, then report a bug to bug-lilypond As for arpeggio and glissando, do you know where I can find how to do them (even the faked ones)? in the manual :) (but not applied to tablature, you'll have to figure out by yourself if they even can be used in tabs, as they intended for normal notation) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Folk songs scores / tabs
I think lilypond has not many tab specific features. only the ones stated in the examples and the manual (tablature section) and a very few "faked" features such as hammers using slurs (see tips and tricks section) and (probably) arpeggio and glissando commands. one dirty trick could be to use postscript commands inside a markup (using \postscript) to draw whatever you want in the tab, but it requires (lots of) patience and is not very functional... greetings, Vincent On Wed, 29 Jun 2005 14:06:57 +0200, Alexandre Aractingi <[EMAIL PROTECTED]> wrote: Le mardi 28 juin 2005 à 14:50 +0200, VSD a écrit : see the manual. (sections 1.5 "Example applications", 3.1.4 "Notes, lyrics, and chords", 7.5.2 "Tablatures basic", etc may help) Thanks guys for the answers, it's getting better now. One last question: where in the doc can I find how to use specific (guitar) tabs effects (hammer, pulling-off etc). I saw them in a few examples but didn't find any reference... Thanks, ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re:
I'd suggest you to upgrade to 2.6.0; the example I gave you definitely works in 2.6.0. I don't have 2.4.x installed, so I can't test it. otoh, I'm not sure if the settings you modify inside the \context { \Score ...} block will work or not (if they are intended for that purpose). I think you should modify the values in the #'space-alist property as I told you. greetings, Vincent On Wed, 29 Jun 2005 04:23:52 +0200, <[EMAIL PROTECTED]> wrote: Hi, Thanks for the suggestion on altering the spacing for key signatures. I tried playing with the settings but nothing was altered. I am attaching two .jpg's (or giving links to see them) of how things look right now. As well, I will add, below, snippets of my code maybe there is a really simple reason this is happening. http://smacnay.dyndns.org/~smacnay/crowded-keysig.jpg http://smacnay.dyndns.org/~smacnay/crowded-keysig2.jpg Thanks again, Sterling MacNay #(set-default-paper-size "letter" 'landscape) \include "english.ly" \version "2.4.5" \header { title = "Habe\~nera" composer = "Regan MacNay b. 1979" copyright = "Copyright - Regan MacNay - June 2005" footer = "Engraved with Gnu Linux and Lilypond ver. 2.4.5" } \paper { % hsize = 27.9 \cm % vsize = 21.6\cm % betweensystemspace = 25\mm % topmargin = 1\cm % bottommargin = 1\cm % leftmargin = 3.0\cm % rightmargin = 1\cm % raggedlastbottom = ##t % linewidth = 20\cm } global = { \time 4/4 } %- Empty staves partOne = { \key cs \minor s1*14 \set Staff.printKeyCancellation = ##f \key cs \major s1*16 \key cs \minor s1*14 } partTwo = { \key cs \minor s1*14 \set Staff.printKeyCancellation = ##f \key cs \major s1*16 \key cs \minor s1*14 } rhythmOne = { \drummode { s1*44 } } rhythmTwo = { \drummode { s1*44 } } rhythmThree = { \drummode { s1*44 } } rhythmFour = { \drummode { s1*44 } } rhythmFive = { \drummode { s1*44 } } %- Piano PianoRH = \relative c' { \clef treble \key cs \minor \time 4/4 r1\p r1 notes... \set Staff.printKeyCancellation = ##f \key cs \major notes... \key cs \minor notes } PianoLH = \relative c { \clef bass \key cs \minor \time 4/4 notes... \set Staff.printKeyCancellation = ##f \key cs \major $ notes... \key cs \minor $ notes } \score { << \context StaffGroup = vocal << \context Staff = partOne { \set Staff.instr = " V1 " \partOne } \context Staff = partTwo { \set Staff.instr = " V2 " \partTwo } >> \context StaffGroup = rhythm << \context DrumStaff = rhythmOne { \global \set Staff.instrument = " Rhythm 1 " \set Staff.instr = " R1 " \rhythmOne } \context DrumStaff = rhythmTwo { \global \set Staff.instrument = " Rhythm 2 " \set Staff.instr = " R2 " \rhythmTwo } \context DrumStaff = rhythmThree { \global \set Staff.instrument = " Rhythm 3 " \set Staff.instr = " R3 " \rhythmThree } \context DrumStaff = rhythmFour { \global \set Staff.instrument = " Rhythm 4 " \set Staff.instr = " R4 " \rhythmFour } \context DrumStaff = rhythmFive { \global \set Staff.instrument = " Rhythm 5 " \set Staff.instr = " R5 " \rhythmFive } >> \context PianoStaff << \set PianoStaff.instrument = #" Piano" \context Staff = upper { \global \set Staff.midiInstrument = "acoustic grand" \PianoRH } \context Staff = lower { \global \set Staff.midiInstrument = "acoustic grand" \PianoLH } >> >> \layout { raggedright = ##f raggedbottom = ##t %\context { \RemoveEmptyStaffContext } \context { \Score \override BarNumber #'padding = #3 % \override KeySignature #'padding = #3 % \override RehearsalMark #'padding = #2 % \override SpacingSpanner # 'spacing-increment = #3 % \override TimeSignature #'padding = #3 % skipbars = ##t } } \midi { \tempo 4 = 120 } } ___ 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
spacing markups between scores
does anybody how to override the vertical space in markups between scores inside a \book block? I want to change the separation between the text and the staff. I'm looking for something like: \override TextScript #'staff-padding = #0.2 or \override TextScript #'padding = #0.2 but this doesn't work in the following example: \version "2.6.0" \book { \override TextScript #'staff-padding = #0.2 \markup "hello 1" \score { \new Staff { a' b' c' d' e' f' g' a' } } \markup "hello 2" \score { \new Staff { a' b' c' d' e' f' g' a' } } } %%% EOF Setting aftertitlespace in a \paper block alters the separation but it does it up to a minimum (with aftertitlespace = 0\mm) I would like to decrease it further. And this also affects to the space after the title, and I would like to have different values for each thing. Any hint? Thx, Vincent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Folk songs scores / tabs
see the manual. (sections 1.5 "Example applications", 3.1.4 "Notes, lyrics, and chords", 7.5.2 "Tablatures basic", etc may help) On Tue, 28 Jun 2005 14:09:46 +0200, Alexandre Aractingi <[EMAIL PROTECTED]> wrote: Hi all, Where can I find examples of scores of folk / pop songs (I just want guitar chords written above the first verse and above the chorus, then the other verses as simple text, and occasionally a guitar tab to print out the intro). I use jedit's Lilypond wizard and Lilypond 2.5.2 under Mandrake Linux 10.1. Thanks for any hint! ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: key signature crowding first notes of bar
try playing with the values inside KeySignature #'space-alist, e.g: % \version "2.6.0" \score { \context Staff { \key cis \major \override Staff.KeySignature #'space-alist = #'((time-signature extra-space . 1.25) (staff-bar extra-space . 1.1) (right-edge extra-space . 2.5) (first-note fixed-space . 2.5)) \repeat unfold 20 {a4 b c' d'} } } %% EOF and maybe with the values of TimeSignature #'space-alist too (see program reference). On Mon, 27 Jun 2005 20:55:11 +0200, Sterling Sympatico <[EMAIL PROTECTED]> wrote: Hi, I am sure there is an \override for this but how does one pad the space between a key signature and the first notes in the bar? Is it an \override or a padding command? Thanks, I am looking right now but see nothing yet. Sterling ___ 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
Re: spaces in paths in lily4jedit
it works. thanks :) On Mon, 27 Jun 2005 21:30:53 +0200, Bertalan Fodor <[EMAIL PROTECTED]> wrote: No, this is a bug, but there is a workaround. Create a Macro with the content: runCommandInConsole(view, "LilyPond", "\""+jEdit.getProperty("options.lilytool.lilypond-executable")+"\" \""+buffer.getPath()+"\""); Assign a shortcut for it, and that would work. Bert "C:\Program Files\LilyPond\usr\bin\lilypond" "C:\My Documents\music\myfile.ly" Can this be fixed by the user? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
spaces in paths in lily4jedit
I get console errors when invoking lilypond from lily4jedit 0.8.3 if the ly file name has spaces in its path. I think that's because lily4jedit invokes: "C:\Program Files\LilyPond\usr\bin\lilypond" C:\My Documents\music\myfile.ly warning: can't find file: `C:My' warning: can't find file: `Documents/music/myfile.ly' error: failed files: "Documents\\music\\myfile.ly C:\\My" instead of: "C:\Program Files\LilyPond\usr\bin\lilypond" "C:\My Documents\music\myfile.ly" Can this be fixed by the user? Not a big problem, just a hint. Thanks, Vincent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: printpagenumber in 2.5.31
Hi, Graham, find attached the new patch for "titling-init.ly". I'm not very used to the gnu tools, is it usable? Pity it didn't arrived in time for version 2.6.0... :´( The changes: - "printpagenumber" should work again. if ##f, no page number is printed at all. if ##t the page numbers are printed starting from "pagenumber", and the first page ("1" by default or "pagenumber" if set) is printed or not according to the value of "printfirstpagenumber". If there's no more problem I guess this feature should be mentioned in the manual (?) - Copyright field is only printed in the first page (no matter the value) only. - Instrument is printed under the subsubtitle in the first page (no matter the value) and in the header in subsequent pages. - added a slightly greater default separation (3.5 instead of 3.0) between Dedication and Title, to avoid a slight collision when Dedication has "g", "q", etc. Hope that helps. If yes, before that I would like to know opinions about how printfirstpagenumber should behave: as it is now, the value of printfirstpagenumber affects to page number "1". If the firstpagenumber property has a different value, the page with that number will be printed no matter what value printfirstpagenumber has. Only page "1" will be printed or not. In my opinion, "printfirstpagenumber" should affect to "page firstpagenumber", not "page 1". Sounds good. I can't really imagine why somebody would want to use printfirstpagenumber _and_ firstpagenumber=##f, but if they do, we shouldn't print the number on the first page of number. Exactly. This particular case doesn't make much sense, but I think it's coherent with the meanings of the implied variables. Greetings, Vincent titling-init-patch Description: Binary data ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: printpagenumber in 2.5.31
- "printpagenumber" should work again. if ##f, no page number is printed at all. if ##t the pagenumbers are printed starting from "pagenumber", and the first page ("1" by default or "pagenumber"if set) is printed or not according to the value of "printfirstpagenumber". If there's no more problem I guess this feature should be mentioned in the manual (?) sorry I meant "firstpagenumber", not "pagenumber" :-/ ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Dom m, Mim m
Jacques, always specify which version of lilypond you are using. This might give relevant information about what can be going wrong. Your code works fine here on version 2.5.32 (windows); I think you told me you're using 2.5.11 (mandrake), right? I think that should be fine in your version too (not completely sure though). The problem may be in the changes you privately told me you made manually from: http://lists.gnu.org/archive/html/lilypond-devel/2005-04/txt2Jycv5O28l.txt to your files. Review any eventual mistake in these changes. Vincent On Sun, 26 Jun 2005 16:11:12 +0200, j-f.stephant <[EMAIL PROTECTED]> wrote: Bonjour I wish to obtain on my partition: MIb Dom Re Mim I give him the 6 following lines: The result is: MIb Dom m Re Mim m Where was I mistaken? Thank you harmonies = \chordmode { ees4 c4:m d4 e4:m } \context ChordNames { \set instrument = #"italian" \italianChords \harmonies} Merci Jacques ___ 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
Re: printpagenumber in 2.5.31
I didn't know that such property did even exist - it seems that it's not in the documentation (?), just in some changelog. printpagenumber doesn't work indeed. I've been hacking with titling-init.ly recently, and I've modified it again so it now takes into account the values of printfirstpagenumber *and* printpagenumber to print the page numbers accordingly. I can post the new patch if the lily meisters agree again. If yes, before that I would like to know opinions about how printfirstpagenumber should behave: as it is now, the value of printfirstpagenumber affects to page number "1". If the firstpagenumber property has a different value, the page with that number will be printed no matter what value printfirstpagenumber has. Only page "1" will be printed or not. In my opinion, "printfirstpagenumber" should affect to "page firstpagenumber", not "page 1". In fact, this issue affects to the Copyright and Instrument fields. If firstpagenumber is not 1, they don't print correctly. I can easily fix all this. Somebody disagrees? Opinions welcome, thx. Vincent On Sun, 26 Jun 2005 10:13:10 +0200, Bertalan Fodor <[EMAIL PROTECTED]> wrote: Is it intentional that setting printpagenumber = ##f doesn't work anymore? Bert ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: scm functions scope and arguments
Nicolas, your answer was very helpful - thanks There should not be parens alone on a line. When you read Lisp or Scheme code, parentheses are not that important, what you look at is indentation. Me coming from C/C++ and pascal, I find scheme quite hard to read actually, but I guess it's a matter of being used to it. Thanks for the hint, I'll follow it :) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: accord en français
I just was trying to be polite but you're probably right. Jacques, you should try to post in english since it is the language of this list. Short translation of previous messages: Jacques asked how he can print the names of the chords in french and I suggested him (in my pathetical french) to use \chordsFrench, as stated in the manual. :) On Fri, 24 Jun 2005 15:10:43 +0200, andrea valle <[EMAIL PROTECTED]> wrote: (...Ehm, I'm sorry to be unpopular and I don't want to seem unkind...). I understand with no problem French and I like it very much even if I cannot speak it, but the language of the list is, helas!, English: http://lists.gnu.org/mailman/listinfo/lilypond-user Maybe other people cannot understand French and they are excluded from discussion. Best -a- On 24 Jun 2005, at 14:29, VSD wrote: utilisez \chordsFrench c'est au manual, section 7.2.3 "Printing chord Names" salut! Vincent On Fri, 24 Jun 2005 13:30:58 +0200, j-f.stephant <[EMAIL PROTECTED]> wrote: Bonjour, Je sais, maintenant, mette du texte en français, avec les lettres accentuées, mais je n'arrive pas à mettre les accords en français (au dessus de la portée : le chormode). Quelqu'un peut-il m'aider. Merci Jacques ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: accord en français
utilisez \chordsFrench c'est au manual, section 7.2.3 "Printing chord Names" salut! Vincent On Fri, 24 Jun 2005 13:30:58 +0200, j-f.stephant <[EMAIL PROTECTED]> wrote: Bonjour, Je sais, maintenant, mette du texte en français, avec les lettres accentuées, mais je n'arrive pas à mettre les accords en français (au dessus de la portée : le chormode). Quelqu'un peut-il m'aider. Merci Jacques ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.8.0/27 - Release Date: 23/06/2005 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
scm functions scope and arguments
Hi, I've made a set of scheme functions to simplify the use of custom fret diagrams in scores. Here is a sample file of how it works: % start of sample file \version "2.5.31" % Win XP #(def-markup-command (E-one layout props arg) (markup?) (let ( (definition-list (fret-parse-definition-string (cons '((thickness . 0.8) (size . 1.05)) props) "h:3;f:1;6-o;5-2-2;4-2-3;3-1-1;2-o;1-o;" ) ) ) (make-fret-diagram layout (car definition-list) (cdr definition-list))) ) \score { \new Staff { a4^\markup \E-one "" b c d } } EOF This code works fine as long as E-one is defined inside the file "fret-diagrams.scm" (without the starting "#"). But if I define it outside that file (e.g. in the calling ly file as in the given example), then lilypond complains: "ERROR: Unbound variable: fret-parse-definition-string" It somehow doesn't find the definition of this function (which is defined inside "fret-diagrams.scm" too). Does anybody know how to succesfully define and use the function E-one outside "fret-diagrams.scm", e.g. inside an auxiliary private file named "fret-diag-utils.scm"? This way I wouldn't need to "dirty" the installed "fret-diagrams.scm" file, so I wouldn't have to update it after each intermediate lilypond upgrade. Yet one more thing: How could I define the E-one function so it takes no arguments? I've tried #(def-markup-command (E-one layout props) (...) ) but this doesn't work: "ERROR: In procedure memoization: ERROR: Missing expression in (define-private (E-one-markup layout props))" The goal is to call \E-one instead of \E-one "" Any hints appreciated. Thanks in advance, Vincent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: accidentals and ties
I don't know a straight way to do it, but you can place a "transparent" voice which displays only the accidentals. More or less: \score { << { \tieDown ais'4 ~ ais' b' des' ~ des' } \\ { \override NoteHead #'transparent = ##t \override Stem #'transparent = ##t \override Beam #'transparent = ##t ais'4 ais'! b' des' des'! } >> } this cheap trick works (in lilypond 2.5.29). Vincent On Tue, 14 Jun 2005 19:30:12 +0200, Robert Edward Edge <[EMAIL PROTECTED]> wrote: does anybody out there know how to force an accidental to be printed on the second of a pair of tied notes? (accidental style 'forget does not do this, neither do cautionary or explicit accidentals) ___ 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
tied chords problem
Hi, it seems that the current Lilypond version (2.5.28) yet don't handles properly the ties in chords with small intervals between notes. e.g, in: 4 ~ there's a heavy tie collision. The output I get for this example is shown at: http://personales.ya.com/v_s_d/tied_chords.png this subject has been discussed in the past, but I haven't found any solution in the manual nor in the list archives. I currently cheat this problem by drawing those ties in postscript, but that's not very functional. Is there some way to set the direction individually for each tie? I know that the automatic tie positioning algorithm is complicated. Then, would it be possible to extend the TieColumn object to have a "direction" property for each tie, e.g. in a list? Then the user could override it's own positioning "algorithm" more or less like this: \override TieColumn #'directions = #'(up down down down) 4 ~ \tieColumnNeutral % revert to default I don't know enough about scheme to know if this makes sense at all. Just trying to suggest :) Vincent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Computer Modern fonts in Windows native
Have you read NEWS and the "font selection" part of the docs? (advanced notation, text, font selection) Those should answer your questions. If not, let us know. Yes, I did, but it was a bit unclear to me how to exactly make a specific font as the default one. I guess I need to learn more about fontconfig :) After some tweaking I was able to see EC and CM fonts by: 1 - copying the folder \cygwin\usr\share\texmf\fonts\type1\ to any folder in the font directory list in fonts.conf 2 - provide required aliases for font names: serif EuropeanComputerModern Bitstream Vera Serif etc... (btw is this the correct way to go?) I was getting some messy results until I read the "Default font in 2.5.26 on Windows" post in the lilypon-devel list: In font.scm there is: (add-pango-fonts n 'roman "Century Schoolbook L" factor) (add-pango-fonts n 'sans "Luxi Sans" factor) But on Windows these fonts are not present. So Pango goes back to some default: Bitstream Vera Sans for both. That's not optimal. If I change font.scm to: (add-pango-fonts n 'roman "serif" factor) (add-pango-fonts n 'sans "sans-serif" factor) it will use pango's preferences for fonts. Changing this I get a text layout similar to 2.4.6, but there are two things I still need to fix: 1 - The space character is "underscored" according to the glyph for the space char in the EC fontset. So I get "spaced_words" instead of "apaced words". How can I get rid of it? It's not enough to have the 0x20 char (space) in the "blank" list in fontconfig? 2 - The endash (long hyphen) character appears as two hyphens. Supposedly "--" translates to endash in EC and CM, but I can't make it appear again. Why? Sorry if I'm asking dumb or trivial questions. This way of tweaking settings is new to me (being a Windows zombie) and I feel a bit lost sometimes... Thanks and greetings, Vincent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Computer Modern fonts in Windows native
Hi all, I'm a complete Lilypond newbie and this is my first post. First of all I want to thank all the developers and contributors for providing such gorgeous piece of software. I have been running cygwin lily 2.4.6 and now I've updated to the native windows port 2.5.26. The default text fonts for 2.4.6 are the Computer Modern set, which are in cygwin\usr\share\texmf\fonts, I think. But the native win version comes without these fonts and the scores use BitstreamVeraSans for text. What should I do to use CM fonts in the native windows version? If I need to install them in Windows, does someone know which ones and how? Many thanks in advance. Greetings, Vicent ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user