Percent repeats and parallel voices

2017-05-22 Thread Menu Jacques
Hello folks,

How exactly does \repeat percent interact with voices? 

It seems that the percent displayed is a staff feature, so I tried to have more 
that one voice.

But in the example below, the color is not applied to the percent.

Thanks for your help!

JM





\version "2.19.55"

\new Staff {

  \override PercentRepeat.color = #red
  \override DoublePercentRepeat.color = #yellow
  \override RepeatSlash.color = #cyan
  \override DoubleRepeatSlash.color = #green

  <>^"PercentRepeat, red"
  \repeat percent 2 {
1
  }

  \break

  <<
\new Voice {
  \voiceOne
  <>^"PercentRepeat, red"
  \repeat percent 2 {
1
  }
}

\new Voice {
  \voiceTwo
  <>^"PercentRepeat, red"
  \repeat percent 2 {
1
  }
}
  >>

}


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


Re: Percent repeats and parallel voices

2017-05-22 Thread Thomas Morley
2017-05-22 10:27 GMT+02:00 Menu Jacques :
>
> Hello folks,
>
> How exactly does \repeat percent interact with voices?
>
> It seems that the percent displayed is a staff feature, so I tried to have 
> more that one voice.
>
> But in the example below, the color is not applied to the percent.

Because the coloring overrides are applied only to the initial Voice,
not to the new ones you created later.
To see the coloring work put them in \layout.


>
> Thanks for your help!
>
> JM
>
>
>
> 
> \version "2.19.55"
>
> \new Staff {
>
>   \override PercentRepeat.color = #red
>   \override DoublePercentRepeat.color = #yellow
>   \override RepeatSlash.color = #cyan
>   \override DoubleRepeatSlash.color = #green
>
>   <>^"PercentRepeat, red"
>   \repeat percent 2 {
> 1
>   }
>
>   \break
>
>   <<
> \new Voice {
>   \voiceOne
>   <>^"PercentRepeat, red"
>   \repeat percent 2 {

%% The PercentRepeat are printed now one on top of the other, to
verify compile with the extra-offset-overrides
  \override PercentRepeat.extra-offset = #'(-1 . 0)
> 1
>   }
> }
>
> \new Voice {
>   \voiceTwo
>   <>^"PercentRepeat, red"
>   \repeat percent 2 {
> 1
  \override PercentRepeat.extra-offset = #'(1 . 0)
>   }
> }
>   >>
>
> }
> 


HTH,
  Harm

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


Re: Percent repeats and parallel voices

2017-05-22 Thread Menu Jacques
Hello Harm,

You don’t live up to your name, you help does no harm, quite the contrary...

Thanks a lot!

JM

> Le 22 mai 2017 à 10:39, Thomas Morley  a écrit :
> 
> 2017-05-22 10:27 GMT+02:00 Menu Jacques  >:
>> 
>> Hello folks,
>> 
>> How exactly does \repeat percent interact with voices?
>> 
>> It seems that the percent displayed is a staff feature, so I tried to have 
>> more that one voice.
>> 
>> But in the example below, the color is not applied to the percent.
> 
> Because the coloring overrides are applied only to the initial Voice,
> not to the new ones you created later.
> To see the coloring work put them in \layout.
> 
> 
>> 
>> Thanks for your help!
>> 
>> JM
>> 
>> 
>> 
>> 
>> \version "2.19.55"
>> 
>> \new Staff {
>> 
>>  \override PercentRepeat.color = #red
>>  \override DoublePercentRepeat.color = #yellow
>>  \override RepeatSlash.color = #cyan
>>  \override DoubleRepeatSlash.color = #green
>> 
>>  <>^"PercentRepeat, red"
>>  \repeat percent 2 {
>>1
>>  }
>> 
>>  \break
>> 
>>  <<
>>\new Voice {
>>  \voiceOne
>>  <>^"PercentRepeat, red"
>>  \repeat percent 2 {
> 
> %% The PercentRepeat are printed now one on top of the other, to
> verify compile with the extra-offset-overrides
>  \override PercentRepeat.extra-offset = #'(-1 . 0)
>>1
>>  }
>>}
>> 
>>\new Voice {
>>  \voiceTwo
>>  <>^"PercentRepeat, red"
>>  \repeat percent 2 {
>>1
>  \override PercentRepeat.extra-offset = #'(1 . 0)
>>  }
>>}
 
>> 
>> }
>> 
> 
> 
> HTH,
>  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
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Moving trill spanner to a specific y position

2017-05-22 Thread Michiel Sikma
Thanks very much!

I've decided to go with this for now, although I'll probably come back to
this later and revise it some more.
http://lilybin.com/e61x7i/3
Will probably end up moving the "tr" a bit in relation to the spanner. But
this is perfect for now, thanks.

Michiel


Let's Deliver

http://letsdeliver.com/

m...@letsdeliver.com

On Mon, May 22, 2017 at 1:38 PM, Andrew Bernard 
wrote:

> Hello Michiel,
>
> TrillSpanners live as outside staff objects. So you have to tell lilypond
> in this case that it does not. Then simply specify a Y-offset as you
> wanted, relative to the staff centre.
>
>   \once \override TrillSpanner.bound-details.right.padding =
> #2.0
>   \once \override TrillSpanner.outside-staff-priority = ##f
>   \once \override TrillSpanner.Y-offset = #1
>
> I leave the spacing of the D as an exercise for the reader.
>
> Andrew
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Fwd: [Frescobaldi] GSoC Project "Add Support for Git Workflows to Frescobaldi" introduction

2017-05-22 Thread Urs Liska
Hi LilyPond users,

below is a message by Wen Xin, a student who will work on adding Git
support to Frescobaldi over the summer as his GSoC project.

Please have a look at the introduction and also the Wiki page that is
linked, we would like to have more discussion before going into actual
implementation.

Best
Urs

#

Hi developers,

 

my name is Wen Xin. I’m pursuing my master degree of computer science in
Beijing University of Posts and Telecommunications. I’ve posted two
posts before. And I guess you all know that I will be mentored by Urs in
this summer while working on the projec/t Add Support for Git Workflows
to Frescobaldi. /

 

In my case, this project is to write a Git plugin for Frescobaldi. It
will have similar functionalities like other editors’ Git plugins:

-  Git diff in gutter



display Git diff in gutter


-  Stage and discard changes in editor

-  Commit in editor

-  …


A Git initialized file will have three states: modified, staged,
committed. Around the file’s three states, I design a Git work-flow. All
the operations included will be implemented into Frescobaldi. For more
details, you can check this wiki
.



 

 

 

This design is mainly discussed by me and Urs. We want to hear more
voices from the community to help make this design become better and
more practical. Please comment below if you have related ideas, thank you!

 

Best,

Wen Xin

-- 
Frescobaldi homepage: http://www.frescobaldi.org/
Mailing list: http://groups.google.com/group/frescobaldi
Issue tracker: https://github.com/wbsoft/frescobaldi/issues
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Calling in for sickness

2017-05-22 Thread Bockett Hunter
Attitude in rehab really matters.  My father-in-law had a
stroke at about age 80 and went into a really good rehab program.
He did much better than some lads in their 30s because of his
determination.

Best wishes for a speedy and full recovery!
And, of course, thank you for all the good work on LilyPond!

On Sun, May 21, 2017 at 1:11 PM, Graeme St.Clair <
graeme_st_cl...@atlanticbb.net> wrote:

> Stroke: been there, but I think not so bad as yours.  Probably superfluous
> advice, but do take your rehab work seriously - when I was doing that, I
> saw so many people who just seemed to be going through the motions.  I
> found my right hand suffered the most (of course, I was and am r-handed!),
> so getting my writing hand going again was important, tho it took about 3
> months - my writing now has a bit of a tremor, but is recognisable again as
> my handwriting.
>
> One of the things that would have been useful, but was not exercised, was
> simply pouring - milk, coffee, whatever.  Also, grasping with the bad hand
> is OK, because you quickly learn to be careful, but letting go of something
> *also* needs care - I've lost count of the number of times I've nearly
> dragged something back off the shelf I just put it on.  Yes, you will
> likely need to use a handrail on stairs.  I've found it most convenient to
> walk around the house barefoot (my foot Dr doesn't like this!), but this
> does make steps a little tricky.  Some kind of footwear makes stairs a lot
> easier.
>
> The subtlest effect was on my voice - I can no longer whistle (! - and I
> used to be good at it), my singing voice (bass), which was pretty solid
> even at low volume, really now only sounds good at 'f' or above - lost 2 or
> 3 top notes too.  I should probably have paid more attention to the various
> tongue exercises that were given.
>
> HTH, with very best wishes for a good recovery, GFStC, Altoona, PA.
>
> -Original Message- From: David Kastrup
> Sent: Sunday, May 21, 2017 5:38 AM
> To: Thomas Morley
> Cc: lilypond-devel ; lilypond-user@gnu.org
> Subject: Re: Calling in for sickness
>
>
> Thomas Morley  writes:
>
> Dear David,
>>
>> 2017-05-15 18:42 GMT+02:00 David Kastrup :
>>
>> l
>>> Hi folks,
>>>
>>> had a sort of apoplexy and will not be able to do anything while
>>> recovering.  I am hospitalized at the moment, CRT and MRT did not show
>>> any specific anomalies but my right side is hampered and I cannot yet
>>> swallow or cough which is sort of inconvenient.
>>>
>>>
>> terrible news.
>>
>> I wish you all the best and I hope you'll get better soon.
>>
>>
>>
>>> Hope this gets to you.
>>>
>>>
>> With one day delay.
>>
>
> I set the computer up to send the message on Monday and handed it over
> but wasn't successful at first attempt.
>
> Now out of the hospital for a few days, then I'll be into "Reha"
> (physical therapy) for some weeks.
>
> It was a stroke in the limbic region.  Mouth and left side are no longer
> temperature sensitive (and there is a loss of pain in some regions
> resulting in a loss of protective reflexes), motor balance is off (I
> keel to the right when walking, left when crawling), smile is more
> skewed than before, right face half feels somewhat rigid and numb.
>
> Swallowing is business now or things will get stuck.  Which is
> particularly inconvenient since coughing still doesn't work, becoming
> more of a wheeze.
>
> Walking is quite impaired, bicycling not yet back on the radar.
>
> Accordion works better than feared but the right hand cramps up when
> doing "weird" hand shapes typical for button accordion.  I'll probably
> need to practice scales a lot.
>
> I need to relearn some habits to deal with the changes: when walking
> upstairs the first time in the hospital I glanced at a magazine in the
> right hand and just went for the stairs without bothering about the
> handrail.  Wasn't thinking anything really.  Quite embarrassing to
> explain to the people bearing witness to the result.
>
> The day before yesterday, I shaved again with a straight razor.  With
> the reduced motor control, I expected the largest danger to be from
> cutting myself.  That part actually went without a hitch: but trying to
> temperate the water for making shaving foam got me to notice the
> complete absence of heat sensitivity in the left hand.  Fortunately,
> hospital bathroom water does not reach scalding temperatures.
>
> Retraining motor skills in order to regain some of the lost capacities
> is really exhausting, and there is a bit of competition for brain space
> after the small section shut down: as some things get a bit more back on
> track, others not obviously related take a hit (like the cramping-up
> business when playing accordion, also developing in some other
> departments).  So one needs to fool around a lot in order to keep
> capacity loss in check and balanced with ongoing interests and
> priorities.
>
> Hopefully I can be back soonish.
>>>
>>>
>> Please, take your time (_and_ some more) to recover,

Change stem stencil

2017-05-22 Thread Jon Arnold
Hi-

I am trying to notate a harp string muffle like here:
https://s3.amazonaws.com/cdn.harpcenter.com/images/extras/MufflesEx10R10.jpg

I found a script by Peter Bjuhr that successfully replaces the stem
(modified for glyph I need):
https://lists.gnu.org/archive/html/lilypond-user/2014-02/msg00665.html

#(define (muffle-stem grob)
(if (ly:stencil? (ly:stem::print grob))
  (let* ((stencil (ly:stem::print grob))
 (X-ext (ly:stencil-extent stencil X))
 (Y-ext (ly:stencil-extent stencil Y))
 (width (interval-length X-ext))
 (len (interval-length Y-ext)))

(ly:stencil-translate
  (grob-interpret-markup grob
(markup #:smuflglyph "stemDamp"))
  (cons 0 (interval-start Y-ext
  #f))

My only problem is that the Smufl glyph doesn't flip vertically with the
stem, so it doesn't look right on down-stems. Can anyone help enhance the
script to account for stem direction?

Thanks so much-

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