Re: bracket articulation

2018-02-02 Thread Craig Dabelstein
HI all,

Thanks for everyone's input. I think that bracket-stencil will do the trick
Harm. I'm getting a nice collection of scheme examples now. Hopefully I can
work it out myself next time.

All the best,

Craig


On 3 February 2018 at 08:32, Thomas Morley  wrote:

> 2018-02-02 6:38 GMT+01:00 Craig Dabelstein :
> > Hi Lilyponders,
> >
> > Is there a way to put an articulation (a staccatissimo symbol) in square
> > brackets above a note, such as [ ! ], where ! = a staccatissimo
> > articulation? I've tried several different permutations with no success.
> >
> > Thanks in advance,
> >
> > Craig
>
>
> How about below.
> Basically it sets new ParenthesesItem.stencils like
> http://lsr.di.unimi.it/LSR/Item?id=564
> Overridable in various ways, though.
>
> \version "2.18.2"
>
> #(define parentheses-item::bracket-stencils
>   (lambda (grob)
> (let* ((details (ly:grob-property grob 'details))
>(protrusion (assoc-get 'protrusion details 0.2))
>(thick (ly:grob-property grob 'thickness 0.1))
>(shorten-pair (ly:grob-property grob 'shorten-pair '(0 . 0)))
>(half-y (magstep (ly:grob-property grob 'font-size)))
>(bracket-y-ext
>  (cons
>(- (- half-y (car shorten-pair)))
>(- half-y (cdr shorten-pair)
>   (list
> (ly:bracket Y bracket-y-ext thick protrusion)
> (ly:bracket Y bracket-y-ext thick (- protrusion))
>
> %%
> %% EXAMPLES
> %%
>
> \markup "default, sometimes need to tweak ParenthesesItem"
> {
>   c'2-\parenthesize-!
>   c'2-\parenthesize-.
>   c'2-\parenthesize-"otto"
>   c'2-\parenthesize-"-"
> }
>
> \markup "bracket-stencils, sometimes need to tweak ParenthesesItem as well"
> {
>   \override ParenthesesItem.stencils = #parentheses-item::bracket-stencils
>
>   c'2-\parenthesize-!
>   c'2-\parenthesize-.
>   c'2-\parenthesize-"otto"
>   c'2-\parenthesize-"-"
> }
>
> \markup "bracket-stencils, adjusted"
> {
>   \override ParenthesesItem.stencils = #parentheses-item::bracket-stencils
>
>   \once \override ParenthesesItem.font-size = -4
>   c'2-\parenthesize-!
>
>   \once \override ParenthesesItem.font-size = -8
>   c'2-\parenthesize-\tweak padding #0.3 -.
>
>   \textLengthOn
>   \once \override ParenthesesItem.font-size = 0
>   c'2-\parenthesize-"FOO"
>   %\override ParenthesesItem.shorten-pair = #'(0.6 . 0.6)
>   \once \override ParenthesesItem.font-size = -12
>   c'2-\parenthesize-"-"
> }
>
> \markup "bracket-stencils, other examples/tweaks"
> {
>   \override ParenthesesItem.stencils = #parentheses-item::bracket-stencils
>
>   \override ParenthesesItem.padding = 0.5
>   
>   \override ParenthesesItem.padding = 2
>   \override ParenthesesItem.details.protrusion = 0.5
>   \override ParenthesesItem.thickness = 0.3
>   \override ParenthesesItem.shorten-pair = #'(0.3 . -1)
>   c'2-\parenthesize-"-"
> }
>
> Cheers,
>   Harm
>



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com *
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: alignment of "To" and \coda horizontally

2018-02-02 Thread Ming Tsang
The following solve the caption subject. However how to make the “To” lower to 
align with  \coda  OR the \coda up a little to align with “To”?

\version “2.19.80” 
{ f'1^\markup { \halign #-4.4 \concat {"To " \musicglyph #"scripts.coda" } } 
|\bar"||" \break }

Sent from Mail for Windows 10

From: Ming Tsang
Sent: February 2, 2018 6:07 PM
To: lilypond-user@gnu.org
Subject: alignment of "To" and \coda horizontally

Liliponders,
How can I align the following on the same line horizontally?
Thanks,
Ming

\version "2.19.80"

{ f'1^\markup"To" \coda |\bar"||" }





Sent from Mail for Windows 10


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread Stefano Troncaro
Thank you for your help everyone!

After a lot of stumbling around I finally managed to expand Jan-Peters'
function so that it can modify more than one note in a given chord. I
attached it so its available for anyone interested in using it.

On the other hand, I too think that the real solution would be to upgrade
the Edition Engraver. But that code is way too complex for me to be able to
help, so waiting is all I can do on that front.

2018-02-02 15:25 GMT-03:00 Kieren MacMillan :

> Hi David (et al.),
>
> > I think it would make a whole lot more sense to teach the Edition
> > Engraver how to mark/identify and tweak single items.
>
> +1
>
> At the risk of opening a serious can-o'-worms… I would love for you (David
> K.) — who has the best Lilypond-fundamentals programming mind I know — to
> glance through the EE codebase, to see if you can see any ways to help
> Jan-Peter improve and/or extend it. All of the EE code is well above my pay
> grade, unfortunately, but a quick dak-glance might reveal some
> revolutionary things/thinks.
>
> Thanks/Best,
> Kieren.
> 
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: i...@kierenmacmillan.info
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
\version "2.19.80"
\language "english"
\include "oll-core/package.ily"
\loadPackage edition-engraver
\consistToContexts #edition-engraver Voice.Staff.Score

#(define (pitch-or-chord? obj)
   (or (ly:pitch? obj)
   (if (ly:music? obj)
   (equal? (ly:music-property obj 'name) 'EventChord

#(define (pitch->pitch-list pitch)
   (list pitch))

#(define (chord->pitch-list chord)
   (map (lambda (element)
  (ly:music-property element 'pitch))
(ly:music-property chord 'elements)))

condGrobTweak = 
#(define-music-function (use_octave target grob_proc)((boolean? #f) pitch-or-chord? procedure?)
   (let ((pitches (if (ly:pitch? target)
  (pitch->pitch-list target)
  (chord->pitch-list target
 #{
   \override NoteHead.before-line-breaking =
   #(lambda (grob)
  (let* ((cause (ly:grob-property grob 'cause))
 (pitch (ly:prob-property cause 'pitch))
 (note (ly:pitch-notename pitch))
 (alteration (ly:pitch-alteration pitch))
 (octave (ly:pitch-octave pitch)))
(map (lambda (this-pitch)
   (if (and (eqv? alteration (ly:pitch-alteration this-pitch))
(eqv? note (ly:pitch-notename this-pitch))
(or (not use_octave)(eqv? octave (ly:pitch-octave this-pitch
   (grob_proc grob)))
 pitches)))   
 #}))

#(define (omit-accidental grob)
   (let ((accidental (ly:grob-object grob 'accidental-grob)))
 (if (ly:grob? accidental)
 (ly:grob-set-property! accidental 'stencil #f)
 )))

\addEdition accidentals
\editionMod accidentals 1 0/4 Voice \once \condGrobTweak  #omit-accidental

{  }___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond download from linux.audio

2018-02-02 Thread Andrew Bernard
HI Ralph,

Yes, but the downloads have been kindly hosted by linuxaudio.org for a long
time. That's where he got the link from - the current download page points
there. Nothing to do with playing audio in our case.

Andrew


On 2 February 2018 at 23:14, Ralph Palmer  wrote:

> On Thu, Feb 1, 2018 at 5:22 PM, domini...@cazeaux.org <
> dominique.caze...@gmail.com> wrote:
>
>> I want to download Lilypond, it is impossible, may be a problem ?
>
>
> ​Greetings, Dominique -
>
> Are you aware that LilyPond does not play audio files? It's for
> transcribing/printing music. If you're in doubt, please look at
> http://lilypond.org/
>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: bracket articulation

2018-02-02 Thread Thomas Morley
2018-02-02 6:38 GMT+01:00 Craig Dabelstein :
> Hi Lilyponders,
>
> Is there a way to put an articulation (a staccatissimo symbol) in square
> brackets above a note, such as [ ! ], where ! = a staccatissimo
> articulation? I've tried several different permutations with no success.
>
> Thanks in advance,
>
> Craig


How about below.
Basically it sets new ParenthesesItem.stencils like
http://lsr.di.unimi.it/LSR/Item?id=564
Overridable in various ways, though.

\version "2.18.2"

#(define parentheses-item::bracket-stencils
  (lambda (grob)
(let* ((details (ly:grob-property grob 'details))
   (protrusion (assoc-get 'protrusion details 0.2))
   (thick (ly:grob-property grob 'thickness 0.1))
   (shorten-pair (ly:grob-property grob 'shorten-pair '(0 . 0)))
   (half-y (magstep (ly:grob-property grob 'font-size)))
   (bracket-y-ext
 (cons
   (- (- half-y (car shorten-pair)))
   (- half-y (cdr shorten-pair)
  (list
(ly:bracket Y bracket-y-ext thick protrusion)
(ly:bracket Y bracket-y-ext thick (- protrusion))

%%
%% EXAMPLES
%%

\markup "default, sometimes need to tweak ParenthesesItem"
{
  c'2-\parenthesize-!
  c'2-\parenthesize-.
  c'2-\parenthesize-"otto"
  c'2-\parenthesize-"-"
}

\markup "bracket-stencils, sometimes need to tweak ParenthesesItem as well"
{
  \override ParenthesesItem.stencils = #parentheses-item::bracket-stencils

  c'2-\parenthesize-!
  c'2-\parenthesize-.
  c'2-\parenthesize-"otto"
  c'2-\parenthesize-"-"
}

\markup "bracket-stencils, adjusted"
{
  \override ParenthesesItem.stencils = #parentheses-item::bracket-stencils

  \once \override ParenthesesItem.font-size = -4
  c'2-\parenthesize-!

  \once \override ParenthesesItem.font-size = -8
  c'2-\parenthesize-\tweak padding #0.3 -.

  \textLengthOn
  \once \override ParenthesesItem.font-size = 0
  c'2-\parenthesize-"FOO"
  %\override ParenthesesItem.shorten-pair = #'(0.6 . 0.6)
  \once \override ParenthesesItem.font-size = -12
  c'2-\parenthesize-"-"
}

\markup "bracket-stencils, other examples/tweaks"
{
  \override ParenthesesItem.stencils = #parentheses-item::bracket-stencils

  \override ParenthesesItem.padding = 0.5
  
  \override ParenthesesItem.padding = 2
  \override ParenthesesItem.details.protrusion = 0.5
  \override ParenthesesItem.thickness = 0.3
  \override ParenthesesItem.shorten-pair = #'(0.3 . -1)
  c'2-\parenthesize-"-"
}

Cheers,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond download from linux.audio

2018-02-02 Thread Blöchl Bernhard

Am 01.02.2018 23:22, schrieb domini...@cazeaux.org:

I want to download Lilypond, it is impossible, may be a problem ?


http://lilypond.org/download.de.html
http://lilypond.org/development.de.html

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Using X-offset with \cresc

2018-02-02 Thread Thomas Morley
2018-02-02 20:20 GMT+01:00 Knute Snortum :
> I still occasionally run into situations where I think that an X-offset
> should work, but it doesn't.  Obviously, I'm not understanding something.
> Can anyone tell me why the following source code doesn't move the "cresc"
> text to the left and suggest a way to do it?
>
> \version "2.19.80"
>
> \fixed c' {
>   c4 -\tweak X-offset -3 \cresc c c c |
>   c4 c c c \!
> }


Well, you don't have a text, tweakable at it's own, but a
_DynamicTextSpanner_ with some text.
In close to all cases you wouldn't want a working X-offset affecting
the _whole_ DynamicTextSpanner.
Rather you want the left text moved (but the dashed line adjusted
accordingly, leaving the right bound in place)

Therefore we have the bound-details-property:

\fixed c' {
  \override DynamicTextSpanner.bound-details.left.padding = -3
  c4 \cresc c c c |
  c4
  c c c \!
}

Ofcourse, you could set right.padding as well, if desired, etc
Several line-spanners act similar.

Cheers,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: bracket articulation

2018-02-02 Thread Robin Bannister

Craig Dabelstein wrote:

Is there a way to put an articulation (a staccatissimo symbol) in square
brackets above a note, such as [ ! ], where ! = a staccatissimo
articulation? 



Here is a quick hack, based on the brackets stencil of LSR564.

Warning: it sort of works with staccatissimo but that is because the 
heights match. Something like staccato provokes collisions.




Cheers,
Robin
\version "2.18.2"

#(define (bracket-stencils grob)
  (let ((lp (grob-interpret-markup grob (markup #:translate (cons -0.3  -0.35) "[")))
(rp (grob-interpret-markup grob (markup #:translate (cons -0-0.35) "]"
(list lp rp)))

{
  c'2-\parenthesize-!
  \once \override ParenthesesItem.stencils = #bracket-stencils
  c'2-\parenthesize-!
  c''2-\parenthesize-!
  \once \override ParenthesesItem.stencils = #bracket-stencils
  c''2-\parenthesize-!
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: bracket articulation

2018-02-02 Thread Colin Campbell

On 2018-02-01 10:38 PM, Craig Dabelstein wrote:

Hi Lilyponders,

Is there a way to put an articulation (a staccatissimo symbol) in 
square brackets above a note, such as [ ! ], where ! = a staccatissimo 
articulation? I've tried several different permutations with no success.


Thanks in advance,


This to work:

\version "2.21.0"
{
a^\markup{ \concat { [ ! ] } }
}

Cheers,

Colin

--
Dwy ddim yn cwyno; mae neb yn gwrando!

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bug with tuples with rest?

2018-02-02 Thread Noeck
Please ignore my answer to question 1). Caagr98 has the right explanation.

Joram

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Using X-offset with \cresc

2018-02-02 Thread Knute Snortum
I still occasionally run into situations where I think that an X-offset
should work, but it doesn't.  Obviously, I'm not understanding something.
Can anyone tell me why the following source code doesn't move the "cresc"
text to the left and suggest a way to do it?

\version "2.19.80"

\fixed c' {
  c4 -\tweak X-offset -3 \cresc c c c |
  c4 c c c \!
}

---
Knute Snortum
(via Gmail)
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Modifying the initial clef sign.

2018-02-02 Thread Peter Toye
David,

Thanks. It appears that I am a century or so out of date, so will try to get 
into the 21st century and withdraw my comment.

I see your comment about the bug - I think you're in a better position to put 
it into the bug list than myself, unless you'd like me to do it.

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-
Friday, February 2, 2018, 4:54:04 PM, you wrote:

> Peter Toye  writes:

>> Trying to engrave a piece of piano music where the left hand starts in the 
>> treble clef. The music I’m copying from has a bass clef at the start of the 
>> piece, followed by a clef change immediately before the first note, which I 
>> think was standard practice in the 19th century (but I'm willing to be told 
>> otherwise in the 21st).  

>> Is there any way of reproducing this? I tried the snippet below, but it 
>> doesn't give me the bass clef sign. 

>> \version "2.19.52"

>> \language "english"

>> \score {
>>   \new Staff {
>>  \clef "bass"
>>   \time 4/4
>>   \clef "treble"
>>   c''2 c''


>>  }

>> }

> You can try something like___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Modifying the initial clef sign.

2018-02-02 Thread Peter Toye
Brian,

Thanks. I stand corrected. But once when presented with a piece I had to 
sight-read in a hurry I played the whole first line in the wrong clef.
Not a happy experience.

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-
Friday, February 2, 2018, 6:11:41 PM, you wrote:

> At 11:50 02/02/2018 +, Peter Toye wrote:
>>Trying to engrave a piece of piano music where the left hand starts 
>>in the treble clef. The music I'm copying from has a bass clef at 
>>the start of the piece, followed by a clef change immediately before 
>>the first note, which I think was standard practice in the 19th 
>>century (but I'm willing to be told otherwise in the 21st).

> For what it's worth, Elaine Gould says, in _Behind Bars_, "The 
> practice of retaining the most commonly used clef at the beginning of 
> the stave while inserting a new clef after it is obsolete. This 
> includes the very start of a piece." (p. 7) and "Music for keyboard 
> is written on two or more staves joined by a curly brace. [...] 
> Although the upper stave usually takes the treble clef and the lower 
> stave the bass clef, each stave can appear in either clef as 
> required." (p. 303). Her examples include braced parts which start 
> with both staves in the treble clef.

> Brian Barker ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread Kieren MacMillan
Hi David (et al.),

> I think it would make a whole lot more sense to teach the Edition
> Engraver how to mark/identify and tweak single items.

+1

At the risk of opening a serious can-o'-worms… I would love for you (David K.) 
— who has the best Lilypond-fundamentals programming mind I know — to glance 
through the EE codebase, to see if you can see any ways to help Jan-Peter 
improve and/or extend it. All of the EE code is well above my pay grade, 
unfortunately, but a quick dak-glance might reveal some revolutionary 
things/thinks.

Thanks/Best,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Placement of clefs at repeat bars

2018-02-02 Thread Peter Toye
There seems to be a bug in the placement of clef change signs at repeats. The 
snippet below puts the bass clef sign before the repeat bar. It should be 
after! The score as engraved implies that the change to bass clef is for the 
repeated section, not the following bar. Very confusing for the sight-reader.


\version "2.19.52"

\language "english"

\score {
 \new Staff {
  \time 4/4
  \clef "treble"
  c''2 c''

  \repeat volta 2 {
   c'' c'' | \clef "bass" c \clef "treble" c''
  }
  \clef "bass" c c
 }

}
 
Regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bug with tuples with rest?

2018-02-02 Thread Caagr98
1) Lilypond won't place lyrics on rests, and not on tied or slurred notes 
(except the first). Since everything in the tuplet is disqualified by one of 
those criteria, the lyric must go on the e.
2) \relative only affects the next music expression; in this case the tuplet. 
Thus, the e isn't inside the \relative, so it's absolute.

P.S. How would a slur starting on a rest be played? I've never seen that.


On 02/02/18 18:16, Markus Grunwald wrote:
> Hello,
> 
> might be that I have found a bug:
> 
> \version "2.18.2"
> 
> { { \relative c'' \tuplet 3/2 { r8( c8 d8) } e8 }
>   \addlyrics{ Bug? }
> }
> 
> 1) The text goes to the e while it should go to the tuplet
> 2) The e is not an e''
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bug with tuples with rest?

2018-02-02 Thread Noeck
Hi Markus,

you have a strange placement of  { and }.

> \version "2.18.2"
> 
> { { \relative c'' \tuplet 3/2 { r8( c8 d8) } e8 }
>   \addlyrics{ Bug? }
> }
> 
> 1) The text goes to the e while it should go to the tuplet

addlyrics tries to find the appropriate (closest?) voice to attach the
lyricsto. Thie e8 is the last voice in your music. I recommend to use
\new Lyrics and \lyricsto instead of \addlyrics.

> 2) The e is not an e''

The relative only affects the tuplet, you need { … } around the other
notes if you want to include them.

This makes more sense:

\relative c'' {
  \tuplet 3/2 { r8( c8 d8) } e8
}


Best,
Joram

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to layout in unison and part music score?

2018-02-02 Thread Kieren MacMillan
Hi Markus,

> For my men's choir I need to set a score that is mostly in unison and
> only a few bars with multiple voices (TTB). I have set a few simple
> scores with the help of frescobaldi, but I have no idea how to set this
> score...
> 
> I would like to have only one staff for TTB where the music is in unison
> and only to split up into three staffs when we have multiple voices.
> 
> Could you help me with that, please?

This can be somewhat complicated — and the level of complication varies 
depending on how you want to manipulate the final content/score. (I'm doing 
several scores right now which are just as you describe, so I can speak from 
intimate experience.)

If you know exactly what the layout will be, and it really is just a few 
measures of split, and you're never going to reuse the material in a different 
format, then you should probably just use \new Staff at the moment you need it. 
There are examples of this all over the web (docs, LSR, probably Scores of 
Beauty, etc.).

If you want to try (or use) different layouts, or there are lots of 
alternations between unisons and splits, then I suggest putting each voice in a 
separate variable and using \partcombine and the keep-alive-engraver to 
manipulate which contexts are visible at any given time. Search for those terms 
(and "divisi", etc.) on the list and LSR to find out more details.

Best,
Kieren.

p.s. I really want to put together a demonstration/tutorial on this… but I'm 
always so swamped with work (commissions, engraving) that I can't seem to carve 
out the time.  =(  In any case, I hope these hints help point you in the right 
direction.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread David Kastrup
Jan-Peter Voigt  writes:

> Hello Harm, Stéfano,
>
> I always underestimate the usability of before/after-line-breaking ...
> Based on Harms code I scratched a music-function to conditionally omit
> the accidental. This one can be used with the EE.
> It smells a bit hacky, but it seems to work and is extendable for
> other use cases.

I think it would make a whole lot more sense to teach the Edition
Engraver how to mark/identify and tweak single items.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Adjust text to notes problem

2018-02-02 Thread Kieren MacMillan
Hi Markus,

> How can I set the text so that it reads pen - sie - ro
> with the correct (and nice) dashes?

Slurs will, by default, trigger melismas (i.e., multiple notes to one syllable).
Either use phrasing slurs, or fiddle with the melisma properties (search the 
docs/list/LSR for 'melisma').

Hope that helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread Jan-Peter Voigt

Am 02.02.2018 um 17:55 schrieb David Kastrup:

Jan-Peter Voigt  writes:


Hello Harm, Stéfano,

I always underestimate the usability of before/after-line-breaking ...
Based on Harms code I scratched a music-function to conditionally omit
the accidental. This one can be used with the EE.
It smells a bit hacky, but it seems to work and is extendable for
other use cases.


I think it would make a whole lot more sense to teach the Edition
Engraver how to mark/identify and tweak single items.


+1
I will do so when time allows!
The presented function was just a try to help out until I have (or 
someone else) done that.



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Bug with tuples with rest?

2018-02-02 Thread Markus Grunwald
Hello,

might be that I have found a bug:

\version "2.18.2"

{ { \relative c'' \tuplet 3/2 { r8( c8 d8) } e8 }
  \addlyrics{ Bug? }
}

1) The text goes to the e while it should go to the tuplet
2) The e is not an e''

-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg


tuplet_with_rest.pdf
Description: Adobe PDF document


signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to layout in unison and part music score?

2018-02-02 Thread David Kastrup
lyuser.theg...@spamgourmet.com writes:

> Hello,
>
> For my men's choir I need to set a score that is mostly in unison and
> only a few bars with multiple voices (TTB). I have set a few simple
> scores with the help of frescobaldi, but I have no idea how to set this
> score...
>
> I would like to have only one staff for TTB where the music is in unison
> and only to split up into three staffs when we have multiple voices.
>
> Could you help me with that, please?

Does the following example help?



-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


bracket articulation

2018-02-02 Thread Craig Dabelstein
Hi Lilyponders,

Is there a way to put an articulation (a staccatissimo symbol) in square
brackets above a note, such as [ ! ], where ! = a staccatissimo
articulation? I've tried several different permutations with no success.

Thanks in advance,

Craig


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com *
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Modifying the initial clef sign.

2018-02-02 Thread David Kastrup
Peter Toye  writes:

> Trying to engrave a piece of piano music where the left hand starts in the 
> treble clef. The music I’m copying from has a bass clef at the start of the 
> piece, followed by a clef change immediately before the first note, which I 
> think was standard practice in the 19th century (but I'm willing to be told 
> otherwise in the 21st).  
>
> Is there any way of reproducing this? I tried the snippet below, but it 
> doesn't give me the bass clef sign. 
>
> \version "2.19.52"
>
> \language "english"
>
> \score {
>   \new Staff {
>  \clef "bass"
>   \time 4/4
>   \clef "treble"
>   c''2 c''
>
>
>  }
>
> }

You can try something like

\version "2.19.52"

\language "english"

\score {
  \new Staff {
\time 4/4
\clef "bass"
\grace \omit r128
\clef "treble"
c''2 c''
 }

}

For some reason, using s instead of \omit r causes overlapping
notation.  I'd lean towards calling that a bug.

-- 
David Kastrup
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread Jan-Peter Voigt

Hello Harm, Stéfano,

I always underestimate the usability of before/after-line-breaking ...
Based on Harms code I scratched a music-function to conditionally omit 
the accidental. This one can be used with the EE.
It smells a bit hacky, but it seems to work and is extendable for other 
use cases.


HTH
Jan-Peter

Am 01.02.2018 um 22:49 schrieb Thomas Morley:

2018-02-01 16:59 GMT+01:00 Stefano Troncaro :


Ideally, I wanted a function
that I could use with the edition-engraver to tweak target elements inside
chords. I framed the question around accidentals in the post above, but
ultimately I hoped to be able to use the same function (or a very similar
one) to tweak ties of specific notes instead of being forced to use one
override for the whole chord, or to tweak other properties of specific notes
should the need arise.

Well, we have
(1) override.
Aplied to a chord it will work on all relevant grobs found.
One could define some selection, ofcourse.
Like:
command =
\override NoteHead.before-line-breaking =
   #(lambda (grob)
 (let* ((cause (ly:grob-property grob 'cause))
(pitch (ly:prob-property cause 'pitch))
(alteration (ly:pitch-alteration pitch))
(accidental (ly:grob-object grob 'accidental-grob)))
 (if (and (ly:grob? accidental) (eqv? alteration 1/2))
 (ly:grob-set-property! accidental 'stencil #f

But you wrote you would prefer to address specific notes, not the whole chord.
Therefore we have:

(2) tweak
But you didn't like the already proposed
\single \omit Accidental
which _is_ a tweak

(3) context-properties
basically accidentalStayle sets context-properties.
But ofcourse can't change other note-head-properties as you seem to like.


So I'm at a loss guessing what you desire.


Cheers,
   Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


\version "2.19.80"
\include "oll-core/package.ily"
\loadPackage edition-engraver

\consistToContexts #edition-engraver Voice.Staff.Score

condGrobTweak =
#(define-music-function (use_octave pred_pitch grob_proc)((boolean? #f) ly:pitch? procedure?)
   (let ((pred_note (ly:pitch-notename pred_pitch))
 (pred_alteration (ly:pitch-alteration pred_pitch))
 (pred_octave (ly:pitch-octave pred_pitch)))
 #{
   \override NoteHead.before-line-breaking =
   #(lambda (grob)
  (let* ((cause (ly:grob-property grob 'cause))
 (pitch (ly:prob-property cause 'pitch))
 (note (ly:pitch-notename pitch))
 (alteration (ly:pitch-alteration pitch))
 (octave (ly:pitch-octave pitch)))
(if (and (eqv? alteration pred_alteration)
 (eqv? note pred_note)
 (or (not use_octave)(eqv? octave pred_octave)))
(grob_proc grob
 #}))
#(define (omit-accidental grob)
   (let ((accidental (ly:grob-object grob 'accidental-grob)))
 (if (ly:grob? accidental)
 (ly:grob-set-property! accidental 'stencil #f)
 )))

\addEdition accidentals
\editionMod accidentals 1 0/4 Voice \once \condGrobTweak gis #omit-accidental

{  }

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Adjust text to notes problem

2018-02-02 Thread lyuser . thegrue
Hello,

I have some trouble with alignment of text to notes:

\version "2.18.2"
\language "deutsch"

{ \clef bass \key fis \major \time 4/4

  { r2 r4 ais8. gis16 | fis4(  cis8)
r16 cis'16 cis4( \> ais8.) \! fis16 | \tuplet 3/2 {fis8([ eis gis)]}
h4 }
  \addlyrics { Va, pen -- sie~ro, sull' a~li  do -- ra -- te; } %1
  \addlyrics { Va, pen -- "sie - ro," sull' "a-li"  do -- ra -- te; } %2

}

Variant 1 looks strange to me because it looks like "pensi" and "ro"
would be two words, while it's one word ("pensiero"). I fiddled with it
until I got variant 2. Here, one can see that "pensiero" is one word,
because of the dashes. But the dashes look different and the dashes in
the quotation marks are ugly ;)

How can I set the text so that it reads pen - sie - ro with the correct
(and nice) dashes?

Thanks for your help,
-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg


signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread Jan-Peter Voigt

Hello Harm, Stéfano,

I always underestimate the usability of before/after-line-breaking ...
Based on Harms code I scratched a music-function to conditionally omit 
the accidental. This one can be used with the EE.
It smells a bit hacky, but it seems to work and is extendable for other 
use cases.


HTH
Jan-Peter

Am 01.02.2018 um 22:49 schrieb Thomas Morley:

2018-02-01 16:59 GMT+01:00 Stefano Troncaro :


Ideally, I wanted a function
that I could use with the edition-engraver to tweak target elements inside
chords. I framed the question around accidentals in the post above, but
ultimately I hoped to be able to use the same function (or a very similar
one) to tweak ties of specific notes instead of being forced to use one
override for the whole chord, or to tweak other properties of specific notes
should the need arise.


Well, we have
(1) override.
Aplied to a chord it will work on all relevant grobs found.
One could define some selection, ofcourse.
Like:
command =
\override NoteHead.before-line-breaking =
   #(lambda (grob)
 (let* ((cause (ly:grob-property grob 'cause))
(pitch (ly:prob-property cause 'pitch))
(alteration (ly:pitch-alteration pitch))
(accidental (ly:grob-object grob 'accidental-grob)))
 (if (and (ly:grob? accidental) (eqv? alteration 1/2))
 (ly:grob-set-property! accidental 'stencil #f

But you wrote you would prefer to address specific notes, not the whole chord.
Therefore we have:

(2) tweak
But you didn't like the already proposed
\single \omit Accidental
which _is_ a tweak

(3) context-properties
basically accidentalStayle sets context-properties.
But ofcourse can't change other note-head-properties as you seem to like.


So I'm at a loss guessing what you desire.


Cheers,
   Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user



\version "2.19.80"
\include "oll-core/package.ily"
\loadPackage edition-engraver

\consistToContexts #edition-engraver Voice.Staff.Score

condGrobTweak =
#(define-music-function (use_octave pred_pitch grob_proc)((boolean? #f) ly:pitch? procedure?)
   (let ((pred_note (ly:pitch-notename pred_pitch))
 (pred_alteration (ly:pitch-alteration pred_pitch))
 (pred_octave (ly:pitch-octave pred_pitch)))
 #{
   \override NoteHead.before-line-breaking =
   #(lambda (grob)
  (let* ((cause (ly:grob-property grob 'cause))
 (pitch (ly:prob-property cause 'pitch))
 (note (ly:pitch-notename pitch))
 (alteration (ly:pitch-alteration pitch))
 (octave (ly:pitch-octave pitch)))
(if (and (eqv? alteration pred_alteration)
 (eqv? note pred_note)
 (or (not use_octave)(eqv? octave pred_octave)))
(grob_proc grob
 #}))
#(define (omit-accidental grob)
   (let ((accidental (ly:grob-object grob 'accidental-grob)))
 (if (ly:grob? accidental)
 (ly:grob-set-property! accidental 'stencil #f)
 )))

\addEdition accidentals
\editionMod accidentals 1 0/4 Voice \once \condGrobTweak gis #omit-accidental

{  }

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond download from linux.audio

2018-02-02 Thread Ralph Palmer
On Thu, Feb 1, 2018 at 5:22 PM, domini...@cazeaux.org <
dominique.caze...@gmail.com> wrote:

> I want to download Lilypond, it is impossible, may be a problem ?


​Greetings, Dominique -

Are you aware that LilyPond does not play audio files? It's for
transcribing/printing music. If you're in doubt, please look at
http://lilypond.org/

All the best,

Ralph​

-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond download from linux.audio

2018-02-02 Thread Phil Holmes
Well, to be fair the normal download site is http://download.linuxaudio.org/ so 
the OP only added one spare full stop.

--
Phil Holmes


  - Original Message - 
  From: N. Andrew Walsh 
  To: domini...@cazeaux.org 
  Cc: lilypond-user 
  Sent: Friday, February 02, 2018 5:13 AM
  Subject: Re: Lilypond download from linux.audio


  Hi Dominique,


  welcome to Lilypond! "linux.audio" doesn't even exist as a web address, so 
I'm not sure how you got that. Lilypond's home is at http://lilypond.org/; the 
download links are on the right. 


  Once you get settled, this list is an extremely helpful resource, so feel 
free to ask with any questions.


  Cheers,


  A


  On Thu, Feb 1, 2018 at 11:22 PM, domini...@cazeaux.org 
 wrote:

I want to download Lilypond, it is impossible, may be a problem ?



--
Dominique

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user





--


  ___
  lilypond-user mailing list
  lilypond-user@gnu.org
  https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond download from linux.audio

2018-02-02 Thread Ralph Palmer
On Fri, Feb 2, 2018 at 7:40 AM, Dominique Cazeaux <
dominique.caze...@gmail.com> wrote:

>  Yes i do, Ralph !
> Musician in orchestra, I need Lilypond to transcribe manuscripts and
> ancient scores in modern notation.
> Familiar with C, Perl, Php, Latex and many, I prefer text interface to
> wysywig.
>

​Dominique -

There appears to be an ongoing problem with downloading. They've moved to a
new server, and the downloads do not seem to have been copied yet. Phil
Holmes posted on this site, on Jan. 29,

"Until this is sorted out, binaries can be downloaded from
http://lilypond.org/downloads/binaries/

--
Phil Holmes"

HTH,

Ralph

-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How to layout in unison and part music score?

2018-02-02 Thread Markus Grunwald
Hello,

For my men's choir I need to set a score that is mostly in unison and
only a few bars with multiple voices (TTB). I have set a few simple
scores with the help of frescobaldi, but I have no idea how to set this
score...

I would like to have only one staff for TTB where the music is in unison
and only to split up into three staffs when we have multiple voices.

Could you help me with that, please?
-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg





signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How to layout in unison and part music score?

2018-02-02 Thread lyuser . thegrue
Hello,

For my men's choir I need to set a score that is mostly in unison and
only a few bars with multiple voices (TTB). I have set a few simple
scores with the help of frescobaldi, but I have no idea how to set this
score...

I would like to have only one staff for TTB where the music is in unison
and only to split up into three staffs when we have multiple voices.

Could you help me with that, please?
-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg



signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread Jan-Peter Voigt

Hello Harm, Stéfano,

I always underestimate the usability of before/after-line-breaking ...
Based on Harms code I scratched a music-function to conditionally omit 
the accidental. This one can be used with the EE.
It smells a bit hacky, but it seems to work and is extendable for other 
use cases.


HTH
Jan-Peter

Am 01.02.2018 um 22:49 schrieb Thomas Morley:

2018-02-01 16:59 GMT+01:00 Stefano Troncaro :


Ideally, I wanted a function
that I could use with the edition-engraver to tweak target elements inside
chords. I framed the question around accidentals in the post above, but
ultimately I hoped to be able to use the same function (or a very similar
one) to tweak ties of specific notes instead of being forced to use one
override for the whole chord, or to tweak other properties of specific notes
should the need arise.


Well, we have
(1) override.
Aplied to a chord it will work on all relevant grobs found.
One could define some selection, ofcourse.
Like:
command =
\override NoteHead.before-line-breaking =
   #(lambda (grob)
 (let* ((cause (ly:grob-property grob 'cause))
(pitch (ly:prob-property cause 'pitch))
(alteration (ly:pitch-alteration pitch))
(accidental (ly:grob-object grob 'accidental-grob)))
 (if (and (ly:grob? accidental) (eqv? alteration 1/2))
 (ly:grob-set-property! accidental 'stencil #f

But you wrote you would prefer to address specific notes, not the whole chord.
Therefore we have:

(2) tweak
But you didn't like the already proposed
\single \omit Accidental
which _is_ a tweak

(3) context-properties
basically accidentalStayle sets context-properties.
But ofcourse can't change other note-head-properties as you seem to like.


So I'm at a loss guessing what you desire.


Cheers,
   Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user



\version "2.19.80"
\include "oll-core/package.ily"
\loadPackage edition-engraver

\consistToContexts #edition-engraver Voice.Staff.Score

condGrobTweak =
#(define-music-function (use_octave pred_pitch grob_proc)((boolean? #f) ly:pitch? procedure?)
   (let ((pred_note (ly:pitch-notename pred_pitch))
 (pred_alteration (ly:pitch-alteration pred_pitch))
 (pred_octave (ly:pitch-octave pred_pitch)))
 #{
   \override NoteHead.before-line-breaking =
   #(lambda (grob)
  (let* ((cause (ly:grob-property grob 'cause))
 (pitch (ly:prob-property cause 'pitch))
 (note (ly:pitch-notename pitch))
 (alteration (ly:pitch-alteration pitch))
 (octave (ly:pitch-octave pitch)))
(if (and (eqv? alteration pred_alteration)
 (eqv? note pred_note)
 (or (not use_octave)(eqv? octave pred_octave)))
(grob_proc grob
 #}))
#(define (omit-accidental grob)
   (let ((accidental (ly:grob-object grob 'accidental-grob)))
 (if (ly:grob? accidental)
 (ly:grob-set-property! accidental 'stencil #f)
 )))

\addEdition accidentals
\editionMod accidentals 1 0/4 Voice \once \condGrobTweak gis #omit-accidental

{  }

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Modifying the initial clef sign.

2018-02-02 Thread Peter Toye
Trying to engrave a piece of piano music where the left hand starts in the 
treble clef. The music I’m copying from has a bass clef at the start of the 
piece, followed by a clef change immediately before the first note, which I 
think was standard practice in the 19th century (but I'm willing to be told 
otherwise in the 21st).  

Is there any way of reproducing this? I tried the snippet below, but it doesn't 
give me the bass clef sign. 

\version "2.19.52"

\language "english"

\score {
  \new Staff {
 \clef "bass"
  \time 4/4
  \clef "treble"
  c''2 c''


 }

}

Regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread Caagr98
I'm not sure if EE supports ApplyOutputEvents, but you could try something like 
this:

⋘
  \applyOutput Voice.Accidental
#(let ((n 1))
   (lambda (grob ctx1 ctx2)
 (if (= n 0)
   (ly:grob-set-property! grob 'stencil #f))
 (set! n (1- n
   % Will omit the N-th accidental (defined above; in this case 1-th, 
on the cis)
⋙

That could probably be abstracted away to a music function, but I'm uncertain 
of how grob paths work.

On 02/02/18 03:55, Stefano Troncaro wrote:
> @Jan-Peter
> 
> /this is a feature I long to implement for quite some time. This means it 
> is not possible with the EE right now.
> The following ideas came up to provide a solution: 1. add IDs to certain 
> elements and allow addressing elements b ID. 2. Add tweaks with a predicate, 
> e.g. at moment x, if NoteEvent has pitch cis'' add tweak./
> 
> 
> That is going to be a huge improvement!
> 
> 
> @David
> 
> /I have seen no comment whatsoever about what you find wrong with using/
> /\single \omit Accidental in the way I showed in the code example I gave./
> 
> 
> I'm sorry, Caagr98 proposed that solution in his/her first message, to which 
> I already replied. But I should have addressed that part of your reply 
> instead of leaving it uncommented. I apologize.
> 
> The short explanation is that I need a solution that works with Openlilylib's 
> Edition Engraver and \single \omit Accidental doesn't. This is because the 
> Edition Engraver can't yet insert a tweak inside a chord.
> 
> 
> @Thomas
> I was not aware that it was possible to write a function inside of a 
> parameter of a grob, and that before-line-breaking and after-line-breaking 
> served this purpose. The documentation describes them as booleans and "dummy 
> properties" so I never payed them mind. I'm truly surprised. When I said that 
> I didn't believe an override would do it I wasn't considering an 
> "intelligent" override. Something like this could actually work!
> 
> After looking a bit through the documentation, I found here 
> 
>  that the the note-column-interface has a note-heads property, which provides 
> an array of all the note-head grobs of the NoteColumn. I wanted to go through 
> that list and modify the grobs according to their position on the list, but I 
> am unable to get the list in the first place:
> 
> \version "2.19.80" \language "english" command = { \once \override 
> NoteColumn.before-line-breaking =
> #(lambda (this-column)
> (display (ly:grob-property this-column 'note-heads "couldn't find 
> it")))
> } \score { \new Staff { \new Voice \relative c'' { \key b \minor 
> \accidentalStyle modern \partial 4  |
>\command
> } } }
> 
> Do you think this is possible?
> 
> 
> 2018-02-01 18:49 GMT-03:00 Thomas Morley  >:
> 
> 2018-02-01 16:59 GMT+01:00 Stefano Troncaro  >:
> 
> > Ideally, I wanted a function
> > that I could use with the edition-engraver to tweak target elements 
> inside
> > chords. I framed the question around accidentals in the post above, but
> > ultimately I hoped to be able to use the same function (or a very 
> similar
> > one) to tweak ties of specific notes instead of being forced to use one
> > override for the whole chord, or to tweak other properties of specific 
> notes
> > should the need arise.
> 
> Well, we have
> (1) override.
> Aplied to a chord it will work on all relevant grobs found.
> One could define some selection, ofcourse.
> Like:
> command =
> \override NoteHead.before-line-breaking =
>   #(lambda (grob)
>     (let* ((cause (ly:grob-property grob 'cause))
>            (pitch (ly:prob-property cause 'pitch))
>            (alteration (ly:pitch-alteration pitch))
>            (accidental (ly:grob-object grob 'accidental-grob)))
>     (if (and (ly:grob? accidental) (eqv? alteration 1/2))
>         (ly:grob-set-property! accidental 'stencil #f
> 
> But you wrote you would prefer to address specific notes, not the whole 
> chord.
> Therefore we have:
> 
> (2) tweak
> But you didn't like the already proposed
> \single \omit Accidental
> which _is_ a tweak
> 
> (3) context-properties
> basically accidentalStayle sets context-properties.
> But ofcourse can't change other note-head-properties as you seem to like.
> 
> 
> So I'm at a loss guessing what you desire.
> 
> 
> Cheers,
>   Harm
> 
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 

___
lilypond-user mailing list
lilypond-user@gnu.org

Re: Lilypond download from linux.audio

2018-02-02 Thread N. Andrew Walsh
Hi Dominique,

welcome to Lilypond! "linux.audio" doesn't even exist as a web address, so
I'm not sure how you got that. Lilypond's home is at http://lilypond.org/;
the download links are on the right.

Once you get settled, this list is an extremely helpful resource, so feel
free to ask with any questions.

Cheers,

A

On Thu, Feb 1, 2018 at 11:22 PM, domini...@cazeaux.org <
dominique.caze...@gmail.com> wrote:

> I want to download Lilypond, it is impossible, may be a problem ?
>
>
>
> --
> Dominique
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond download from linux.audio

2018-02-02 Thread Phil Holmes
- Original Message - 
From: "domini...@cazeaux.org" 

To: 
Sent: Thursday, February 01, 2018 10:22 PM
Subject: Lilypond download from linux.audio



I want to download Lilypond, it is impossible, may be a problem ?



--
Dominique


We have had some problems upgrading he lilypond webserver. Until this is 
fixed,

you can download binaries from

http://lilypond.org/downloads/binaries/



--
Phil Holmes 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond download from linux.audio

2018-02-02 Thread Karlin High

On 2/1/2018 4:22 PM, domini...@cazeaux.org wrote:

I want to download Lilypond, it is impossible, may be a problem ?


Try this one. http://lilypond.org/downloads/

Changes to servers have things disturbed at the moment.
--
Karlin High
Missouri, USA

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread Thomas Morley
2018-02-02 3:55 GMT+01:00 Stefano Troncaro :

> @Thomas
> I was not aware that it was possible to write a function inside of a
> parameter of a grob, and that before-line-breaking and after-line-breaking
> served this purpose. The documentation describes them as booleans and "dummy
> properties" so I never payed them mind. I'm truly surprised. When I said
> that I didn't believe an override would do it I wasn't considering an
> "intelligent" override. Something like this could actually work!
>
> After looking a bit through the documentation, I found here that the the
> note-column-interface has a note-heads property, which provides an array of
> all the note-head grobs of the NoteColumn. I wanted to go through that list
> and modify the grobs according to their position on the list, but I am
> unable to get the list in the first place:
>>
>> \version "2.19.80"
>> \language "english"
>>
>> command = {
>>   \once \override NoteColumn.before-line-breaking =
>> #(lambda (this-column)
>> (display (ly:grob-property this-column 'note-heads "couldn't find
>> it")))
>> }
>>
>> \score {
>>   \new Staff {
>> \new Voice \relative c'' {
>>   \key b \minor \accidentalStyle modern
>>   \partial 4  |
>>\command   
>> }
>>   }
>> }
>
> Do you think this is possible?

Sure:

\version "2.19.80"
\language "english"

command =
  \once \override NoteColumn.before-line-breaking =
#(lambda (this-column)
  (let* ((nhs (ly:grob-object this-column 'note-heads)))

(if (ly:grob-array? nhs)
(begin
  ;; array
  (pretty-print nhs)
  ;; first entry of array
  (pretty-print (ly:grob-array-ref nhs 0))
  ;; list, suitable for (map ...) and friends
  (pretty-print (ly:grob-array->list nhs

))

\score {
  \new Staff {
\new Voice \relative c'' {
  \key b \minor \accidentalStyle modern
  \partial 4  |
   \command   
}
  }
}

HTH,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user