Re: piano notation element
Francisco, 2009/2/8 Francisco Vila paconet@gmail.com: 2009/2/7 Antanas Budriūnas antan...@gmail.com: Hello, in piano scores when a particular note (chord) in the upper staff should be played with the left hand, a bracket of inverted L shape is placed before that note. I believe it is either in LP documentation or in Snippets, but unfortunately I can't find it. Could you point me please... Possibly something like LH = \markup { \postscript #0.2 setlinewidth 0 0 moveto -1 0 lineto 0 -5 rlineto stroke } { e''^\LH } A good design would have taken into account the pitch instead of having a fixed height, but I could be a starting point anyway. Nice starting point! Of course it should take accidentals, flags, etc. into account too. By the way this sort of bracket isn't rare in romantic polyphonic music like Scriabine (which I like very much:). Thankyou! Antanas Budriūnas ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: stemBoth problem
Hu, 2009/2/3 胡海鹏 - Hu Haipeng hhpmu...@163.com: Hello, Vallentin ever helped me to get a stemBoth function when I wrote the full score of my song for attending the CCTV piano competition: stemBoth = #(define-music-function (parser location m) (ly:music?) #{ \voiceOne $m \new Voice { \voiceTwo $m } \oneVoice #}) Now I'm orchestrating Debussy's Clair De Lune. The British teacher is very happy with my progress, and the piece is coming to its finish. But when I use the function as follows (viola), I discovered its big disadvantage, and then had to use a usual input way: \relative c { \clef alto \key des \major \time 9/8 r8 f aes4\pp^Div. \stemBoth ces'2. | } Both note and octave dot are copied, therefore the output is: \relative c { \clef alto \key des \major \time 9/8 r8 f aes4\pp^Div. ces' ces'2. | } What a boring result! Could anyone tell me how to filter out the octave dot and leave only note? Why not to use simple polyphony? \relative c { \clef alto \key des \major \time 9/8 r8 f aes4\pp^Div. ces'2. \\ ces2. | } I didn't see much merit to use a function here. HTH Antanas Budriūnas ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Bug with missing 16th lines
Kieren MacMillan wrote: Hi Maarten, I'm posting this bug here Not sure this can really be called a bug… your input syntax is somewhat confusing. In particular, it looks like you want polyphony, but aren't actually coding polyphonic voices (which would require a \\). I wasn't aware of that. Now it renders better. The input are different instruments printed on one line for a conductors' score. Regards, Maarten ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
How to move StringNumber along Y-axis?
Dear list, How do I move the StringNumber to below the Staff? I tried Y-offset but that didn't work. As a test to see if I had the correct syntax, I tried the X-offset and that /did/ work. Any ideas? \version 2.12.2 \score { \relative c'' { %% This override does not move the StringNumber. X-offset does work! \override StringNumber #'Y-offset = #-10 c\31 }} MoveStringNumber.pdf Description: Adobe PDF document Kind regards, Arjan Bos___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to move StringNumber along Y-axis?
Hi Arjan, \set stringNumberOrientations = #'(down) More complete information at http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Inside-the-staff#Fingering-instructions HTH. Dave Arjan Bos wrote: Dear list, How do I move the StringNumber to below the Staff? I tried Y-offset but that didn't work. As a test to see if I had the correct syntax, I tried the X-offset and that /did/ work. Any ideas? \version 2.12.2 \score { \relative c'' { %% This override does not move the StringNumber. X-offset does work! \override StringNumber #'Y-offset = #-10 c\31 }} Kind regards, Arjan Bos ___ 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: How to move StringNumber along Y-axis?
On 8 feb 2009, at 14:50, David Stocker wrote: Hi Arjan, \set stringNumberOrientations = #'(down) More complete information at http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Inside-the-staff#Fingering-instructions Stupid me was just looking at the technical information. I did not look at this part of the docs so I missed it. I did however peruse http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Fretted-string-instruments#Fretted-string-instruments because I was typesetting for a fretted string instrument (a guitar). And from there I went to the Lilypond internals. But this works beautifully. Thanks! Arjan Bos ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: long text in composer / invisible TimeSignature
Zbyněk Burget wrote: How I can write long text to composer to header? Try composer = \markup \right-align Some long text ... If this isn't what you want, have a look at NR 3.2.1 where the demo splits the composer text onto two lines using \center-column. Why don't hide TimeSignature? I think this is because - break-visibility is (mainly) to do with responding to line breaks, - the start of the first line does not involve a line break. Not very convincing? Read more in NR 5.4.6 / Using break-visibility. So just override the stencil. Removing the engraver may disable other things as well. Cheers, Robin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: long text in composer / invisible TimeSignature
Robin Bannister napsal(a): Zbyněk Burget wrote: How I can write long text to composer to header? Try composer = \markup \right-align Some long text ... If this isn't what you want, have a look at NR 3.2.1 where the demo splits the composer text onto two lines using \center-column. a bit of spaci is absent for my text in composer. Splitting it onto two lines is unavailing. Therefore i want way to expanding width of this line. BTW - if text is splitted onto two lines and simultaneously is defined arranger, spacing between lines is wrong (at default). Why don't hide TimeSignature? I think this is because - break-visibility is (mainly) to do with responding to line breaks, - the start of the first line does not involve a line break. Not very convincing? Read more in NR 5.4.6 / Using break-visibility. ^ I read it number of times, but misconcieve :-[ removing time signature engraver it was what I want Thanks, Zbynek ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: long text in composer / invisible TimeSignature
Marek Klein napsal(a): Hi, \score { \new Staff { \clef treble \key c \major \override Staff.TimeSignature #'stencil = ##f \relative g'{ \cadenzaOn g4 g g g g g g g g g \bar |. } } } \score { \new Staff { \clef treble \key c \major \relative g'{ \cadenzaOn g4 g g g g g g g g g \bar |. } } \layout { \context { \Staff \remove Time_signature_engraver } } } Thanks!!! It is what I want!!! See also: http://lilypond.org/doc/v2.12/Documentation/user/lilypond-big-page#Transcribing-Gregorian-chant I read what I found, but this go unnoticed for me :-( ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Customizing Rest
Another question. Is there any way to know the TimeSignature's fraction of current staff In your LSR code at ly:rest-interface::dot-rests ? I want to change the number of underline as following. TimeSignature x/4 (4/4, 3/4, 2/4, ...) r4 - black circle without under line r8 - black circle and one under line r16 - black circle and two under lines TimeSignature x/8 (6/8, 3/8, ...) r4 - black circle without under line r8 - black circle and one under line r16 - black circle and two under lines Thank you. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Customized accidentals
This snippet: http://lsr.dsi.unimi.it/LSR/Item?id=378 does not work as advertised; it prints both the normal accidentals and the custom postscript. Any suggestions on what might be wrong? Also, how could I print custom symbols like this in the key signature? Thanks, Kees -- %http://lsr.dsi.unimi.it/LSR/Item?id=378 upp = #(define-music-function (parser location note) (ly:music?) #{ \once \override Voice.Accidental #'stencil = #ly:text-interface::print \once \override Voice.Accidental #'text = \markup {\musicglyph #accidentals.sharp \postscript #gsave 0.17 setlinewidth -1.4 0.5 moveto -1.4 2 lineto stroke grestore gsave 0.1 setlinewidth -1.7 1.4 moveto -1.4 2.18 lineto -1.1 1.4 lineto stroke grestore} $note #}) dwn = #(define-music-function (parser location note) (ly:music?) #{ \once \override Voice.Accidental #'stencil = #ly:text-interface::print \once \override Voice.Accidental #'text = \markup {\musicglyph #accidentals.flat \postscript #0.17 setlinewidth -2 0.5 moveto -0.6 1.8 lineto stroke } $note #}) \relative { d \dwn bes d \upp gis } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
String number in a \markup
Hi folks, Is there a way to insert a string number into a \markup? What I need is to indicate a scordatura for a guitar piece like this: \markup { \column { \line { \small 5 = G } \line { \small 6 = C } } } where the '5' and '6' are identical to their analogous string numbers (i.e. they are encircled) In the Feta Font, these don't seem to by music-glyphs. Is there a reasonably easy way to call these within a \markup? are they glyphs from another font? Thanks, Dave ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Chord Naming
Hi Carl, I'm not sure if this is part of my proposed change or not. But I recognize that it's on the list, and hope to be able to figure it out. Thank you so much! :o) Have you subscribed to the list? You can do so by visiting this page: http://lists.gnu.org/mailman/listinfo/lilypond-user Yes, I've been a subscriber for several months now and my settings seem to be okay. I'm not really sure what the problem was, but as this mail got through everything seems to be fine again... Kind regards, Paul. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
stanza numbers repeated
Is it possible to have lilypond automatically repeat stanza numbers at the start of each line? I know I can manually set line breaks and put the stanza numbers in, but is there an *easy* way to have that automated? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
slashed six in chordmode
Is there a way to get the slashed six from the figured bass mode into chordmode? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: slashed six in chordmode
James E. Bailey wrote: Is there a way to get the slashed six from the figured bass mode into chordmode? In your chordname exceptions, just use: \markup { \slashed-digit #6 } You might want to fiddle with the font / size to get it looking right. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: String number in a \markup
David Stocker wrote: Hi folks, Is there a way to insert a string number into a \markup? What I need is to indicate a scordatura for a guitar piece like this: \markup { \column { \line { \small 5 = G } \line { \small 6 = C } } } where the '5' and '6' are identical to their analogous string numbers (i.e. they are encircled) In the Feta Font, these don't seem to by music-glyphs. Is there a reasonably easy way to call these within a \markup? are they glyphs from another font? \markup { \column { \line { \small \circle 5 = G } \line { \small \circle 6 = C } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
[Fwd: Re: Starting lyrics on measure 4]
---BeginMessage--- Thanks. I had searched the manual but couldn't find what I was looking for. \skip worked just fine. -- Jonathan Klein Topline Strategy phone: (617) 312-4560 fax: (781) 239-0640 j...@toplinestrategy.com www.toplinestrategy.com From: M Watts zwy648...@gmail.com To: Jonathan Klein j...@toplinestrategy.com Cc: lilypond-user@gnu.org Sent: Saturday, February 7, 2009 8:55:24 PM Subject: Re: Starting lyrics on measure 4 Jonathan Klein wrote: I am engraving a song which starts with three measures of instrumental before going into the first verse. How do I start the lyrics on measure 4? Many ways to skin a cat -- if the vocal part is in a separate voice from the accompaniment, a simple \new Lyrics \lyricsto vocal or similar will just work. Plenty of docs on lyrics: http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Songs#Songs http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Vocal-music#Vocal-music ---End Message--- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: slashed six in chordmode
Am 08.02.2009 um 23:24 schrieb M Watts: James E. Bailey wrote: Is there a way to get the slashed six from the figured bass mode into chordmode? In your chordname exceptions, just use: \markup { \slashed-digit #6 } You might want to fiddle with the font / size to get it looking right. Of course, I knew that it had been added to the figured bass, but I didn't even think to look in the markup commands for \backslashed- digit! Thanks ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: stanza numbers repeated
Long time ago, there used to be a stz property that was printed on all systems but the first one, but it seems there were some bugs involved and for some reason it was removed in year 2003 and never reintroduced. However, you may be able to use the shortVocalName property instead, for the same purpose. /Mats James E. Bailey wrote: Is it possible to have lilypond automatically repeat stanza numbers at the start of each line? I know I can manually set line breaks and put the stanza numbers in, but is there an *easy* way to have that automated? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: mats.bengts...@ee.kth.se WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Customized accidentals
Kees van den Doel wrote: This snippet: http://lsr.dsi.unimi.it/LSR/Item?id=378 does not work as advertised; it prints both the normal accidentals and the custom postscript. Any suggestions on what might be wrong? Also, how could I print custom symbols like this in the key signature? Do you really need to do this with 2.12.2? A quick look at http://lilypond.org/doc/v2.12/Documentation/user/lilypond/The-Feta-font#The-Feta-font reveals that such accidentals are now available by default, e.g.: \musicglyph #accidentals.flat.slash \musicglyph #accidentals.sharp.arrowup || ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
decreasing spacing between staves
Greetings, I've looked high and low for the solution to this (rather basic, IMO) problem, and seem to be coming up empty-handed: I have a score that requires a single-line tablature staff above the main staff, which contains pitches. I need to find a way to decrease the space between the tablature staff and the main one such that it generally is not more than 2 spaces (i.e. staff spaces) above the main staff, but yet will move higher if needed to avoid collisions with leger lines, articulations, etc. Noteheads between these two staves will typically be beamed together (i.e. cross-staff beaming). Adjusting the minimum-Y-extent of VerticalAxisGroup does not seem to have the desired effect (staves are too far apart); adjusting offsets in NonMusicalPaperColumn is possible, but only doable at the very last stage, i.e. once all other input is done. So, is there an easy (and hopefully intuitive) way to decrease space between two staves (even if the score were to contain more than 2 staves) globally, without having to set system breaks, such that the layout will default to a narrower vertical spacing for those staves? Thanks, EF ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: decreasing spacing between staves
You say that you tried adjusting the minimum-Y-extent, but did try doing it both for the Staff and the TabStaff context? The following should get rid of any extra space: \layout{ \context{ \Staff \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0) } \context{ \TabStaff \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0) } } /Mats Eric Flesher wrote: Greetings, I've looked high and low for the solution to this (rather basic, IMO) problem, and seem to be coming up empty-handed: I have a score that requires a single-line tablature staff above the main staff, which contains pitches. I need to find a way to decrease the space between the tablature staff and the main one such that it generally is not more than 2 spaces (i.e. staff spaces) above the main staff, but yet will move higher if needed to avoid collisions with leger lines, articulations, etc. Noteheads between these two staves will typically be beamed together (i.e. cross-staff beaming). Adjusting the minimum-Y-extent of VerticalAxisGroup does not seem to have the desired effect (staves are too far apart); adjusting offsets in NonMusicalPaperColumn is possible, but only doable at the very last stage, i.e. once all other input is done. So, is there an easy (and hopefully intuitive) way to decrease space between two staves (even if the score were to contain more than 2 staves) globally, without having to set system breaks, such that the layout will default to a narrower vertical spacing for those staves? Thanks, EF ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: mats.bengts...@ee.kth.se WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Customized accidentals
No I do not need to do precisely that, but something else. Kees - Original Message - From: M Watts zwy648...@gmail.com Date: Sunday, February 8, 2009 3:11 pm Subject: Re: Customized accidentals To: Kees van den Doel kvand...@shaw.ca Cc: lilypond-user@gnu.org Kees van den Doel wrote: This snippet: http://lsr.dsi.unimi.it/LSR/Item?id=378 does not work as advertised; it prints both the normal accidentals and the custom postscript. Any suggestions on what might be wrong? Also, how could I print custom symbols like this in the key signature? Do you really need to do this with 2.12.2? A quick look at http://lilypond.org/doc/v2.12/Documentation/user/lilypond/The- Feta-font#The-Feta-font reveals that such accidentals are now available by default, e.g.: \musicglyph #accidentals.flat.slash \musicglyph #accidentals.sharp.arrowup || ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user