Re: Increase minimum word spacing?
This is a very popular question this week. Please always tell what LilyPond version you use, to be sure to get a relevant answer. For version 2.7, see http://lists.gnu.org/archive/html/lilypond-user/2006-03/msg00239.html For version 2.6, read the section on "Spacing Lyrics" in the manual for LilyPond version 2.6. /Mats Quoting Ruth Ivimey-Cook <[EMAIL PROTECTED]>: Folks, I have a score in which the words to the verse have become very close together, such that it is hard to read. Is there a control that specifies the minimum inter-word space that is acceptable? Regards, Ruth ___ 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: Defining Drumsets
Hi... can you tell me where I shall put this code, to get a standard drumset notation??? \Jannik #(define PAS '( (bassdrum default #f -3) (lowtom default #f -1) (snare default #f 1) (sidestick cross #f 1) (himidtom default #f 2) (hightom default #f 3) (hihat cross #f 5) (openhihat cross "open" 5) (closedhihat cross "stopped" 5) (pedalhihat cross #f -5) (crashcymbal cross #f 6) (ridecymbal cross #f 4) )) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Synchronizing staves with grace notes
I'm having some trouble with synchronizing the upper and lower stave in a piano score where I have some grace notes and polyhony in the right hand. I need to tie a "des" in the grace notes to the normal "des"-note following the grace notes and have finally managed to do that. However, to synchronize the two voices in the right hand, I had to insert hidden grace notes in the upper voice. I would prefer the first of the left hand notes to be synchronized with the des4 in the lower voice in the right hand. But it synchronizes automatically with the first of the grace notes. Is there a way to obtain what I want? I don't know how much code to attach. Hope this is enough (only 1 bar)... The first note in the right hand is des'' (in both voices). The score is in 3/8. Right hand: << { \hideNotes \grace { des8 des des } \unHideNotes \stemUp des16..->[ bes64] ges8[ f] }\\ { \stemUp \grace { des8[~ ges bes] } \stemDown des,4_\( d8\) } >> Left hand: \times 4/6 { bes32[ des ges bes ges des] } \times 4/6 { bes[ des ges bes ges des] } \times 4/6 { b[ d f as f d] } Regards Stig Junge ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Defining Drumsets
Here's what I do: \begin[staffsize=20]{lilypond} \version "2.6.0" #(define mydrums '((bassdrum default #f -3)(sidestick xcircle #f 1)(snare default #f 1)(closedhihat cross "stopped" 3)(hihat cross #f 3)(openhihat cross "open" 3)(pedalhihat cross #f -5)(ridecymbal cross #f 5) (crashcymbal xcircle #f 5)(highfloortom default #f -1)(lowmidtom default #f 2)(himidtom default #f 3))) up = \drummode { sn4 sn4 sn4 sn4 \bar "|." } down = \drummode { s1 } \score { \new DrumStaff << \time 4/4 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) \clef percussion \new DrumVoice { \oneVoice \stemUp \up } \new DrumVoice { \voiceTwo \down } >> } \end{lilypond} Tim. On Saturday 18 Mar 2006 11:23, Jannik Jeppesen wrote: > Hi... can you tell me where I shall put this code, to get a standard > drumset notation??? > > \Jannik > > #(define PAS '( > (bassdrum default #f -3) > (lowtom default #f -1) > (snare default #f 1) > (sidestick cross #f 1) > (himidtom default #f 2) > (hightomdefault #f 3) > (hihat cross #f 5) > (openhihat cross "open" 5) > (closedhihatcross "stopped" 5) > (pedalhihat cross #f -5) > (crashcymbalcross #f 6) > (ridecymbal cross #f 4) > ) > ) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: System spacing
By default, LilyPond should not reserve any space for a lyrics line if there is no lyrics on that particular score line, so I expected your example to work exactly as you desire. (The exception to what I said is the first score line, where you can read more for example in http://lists.gnu.org/archive/html/lilypond-user/2005-08/msg00085.html). /Mats Quoting Ruth Ivimey-Cook <[EMAIL PROTECTED]>: Folks, I have a score in which the first two systems each have 3 verses (lines of text) underneath, and the next three systems are the chorus and have only one line. Each system is one line of music. I saw that there is some control over the inter-system spacing, but it is not clear to me how to modify the spacing of the chorus such that it the chorus lines only take up the space required, rather than the same space that the verses do... Thanks, Ruth The outer level of the .ly file is as follows. I can post more if needed: \score { %\midi { \tempo 4=72 } << \context Voice = mel { \repeat volta 3 { \verseMusic \bar "" \break \chorusMusic } } \lyricsto mel \new Lyrics { \verseOne \chorusText } \lyricsto mel \new Lyrics \verseTwo \lyricsto mel \new Lyrics \verseThree ___ 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
Exercises
I want to put down some of my bass/fretless bass exercises. I would like to have one file that has several short examples that might be a a couple of lines long. I'm not having luck finding old posts, or the right spots in the documentation. What I'm trying to do (I think) is stop a staff, add some space (and text) between it and the next staff (exercise 2)... TIA ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Half open hihat symbol
PS = Pete Stieber PS>> I'm used to a symbol in drum set notation for a half open hi-hat PS>> that I can't seem to find in lilypond. It consists of the symbol PS>> used to indicate an open hi-hat (scripts.open ?) with a hyphen PS>> through it. GP = Graham Percival GP> You could probably create this symbol using the \combine GP> markup command. See 8.1.6 Overview of text markup GP> commands. I don't know if an actual text hyphen would GP> be long enough, though... then again, I suppose you could GP> use a fancy utf-8 longer hyphen. Thanks Graham, Following your suggestion I used #(define mydrums '( . . . (halfopenhihat cross #f 4))) and hhho^\markup {\combine o -} where the hyphen is a UTF-8 version, but I still have a few questions... 1. The small o I used is not quite the same as the "open" symbol. Is there some way for me to replace the small o with the "open" symbol. 2. The UTF-8 hyphen isn't quite centered with respect to the o. Is there a way to "center justify" each of them? 3. And finally, is there a way to include this in my halfopenhihat definition? I tried (halfopenhihat cross \markup {\combine o -}4) but it didn't work and I'm sure I do not understand the syntax. TIA, Pete ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Percussion flams and ruffs and MIDI generation
PS = Pete Stieber PS> I've been able to create a flam notation I like using PS> PS> \override Stem #'length = #4 PS> \acciaccatura {sn8} PS> \revert Stem #'length PS> sn4 PS> PS> and a two-stroke ruff using PS> PS> \grace { PS> \override Beam #'position = #(2 . 2) PS> {sn16[( sn]} PS> \revert Beam #'positions PS> } PS> sn4) PS> PS> and a three stroke ruff using PS> PS> \grace { PS> \override Beam #'position = #(2 . 2) PS> {sn16[( sn sn]} PS> \revert Beam #'positions PS> } PS> sn4) PS> PS> but they do not produce MIDI output. Is there a way around this? I should have mentioned I'm using version 2.7.38 on a Fedora Core 4 Linux box. Pete ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
How do I get two stanzas printed?
I have a couple of files converted from an older version, but I can't get the second verse printed. What I can find in the manuals is so much different that I am at loss. Any help? This is how it looks like (ignore the [, these are to only included to get it posted): textocantus=\lyricmode{ Ag -- nus De -- i, qui tol -- lis pec -- ca -- ta mun -- di, qui tol -- _ lis pec -- ca -- ta mun -- di: [<< { mi -- se -- re -- re no -- _ bis, mi -- se -- re -- re no -- bis, mi -- se -- re -- re no -- bis. } \context Lyrics \lyricmode{ do -- na no -- bis pa -- _ cem, do -- na no -- bis pa -- cem, do -- na no -- bis pa -- cem. } [>> } [ \score{ \transpose f g << \context ChoirStaff = "cuno" << \oldaddlyrics \context Staff = "v1"<< \set Staff.instr = "C1 " \set Staff.instrument = "Cantus I " \global \clef treble \cantus >> \context Lyrics="l1" \textocantus \layout { linewidth=18.0 \cm interscoreline= 0.0 \cm interscorelinefill= 1.0 textheight= 26.0 \cm \context { \Lyrics \override LyricText #'font-size = #2 } \context { \Score \override BarNumber #'padding = #2 } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
\parallelMusic and \relative
It seems that \parallelMusic doesn't work with \relative. This makes it very unnatural to work with. Any chance to implement something similar, say, a special mode where the first note in a `section' is absolute and the remaining notes relative to it? \parallelMusic #'(foo bar) { c'' d e | a' b c | } -> c'' d'' e'' a' b' c' Werner ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Exercises
> What I'm trying to do (I think) is stop a staff, add some space (and text) > between it and the next staff (exercise 2)... One way to do this is with multiple \score blocks. AFAIK, Lily will set each one as it encounters it. The text between can be done with \markup commands (see the discussion of verses below music in the 2.7 manual and on my tips page.) Geoff ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to modify the space between the notes?
> If we had a full example for every property mentioned in the manual, > it would be 3 times as large. Then maybe the manual needs to be 3 times as large. I realize that in the real world this is not feasible, as writing and maintaining a user's manual requires a massive amount of work and time. Possibly a useful compromise would be to gradually accumulate a sort of bare-bones syntax manual that gave a one-line example of the use of each of as many properties as possible, with the context specified in each case being the lowest-level context to which the property was applicable. No explanations at all, just examples of valid syntax. (Some of the examples would have to be multi-line, I admit.) I have seen many questions on this mailing list to the effect that the User Manual or the Reference Manual implies that some property can be modified, but the syntax for doing it is not clear. A list of valid examples would at least give a possible clue in such a case. -- Tom ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user