Re: Text above fermata

2015-04-01 Thread Craig Dabelstein
Thankyou everyone. You guys never let me down!

On Wed, 1 Apr 2015 at 21:18 Kieren MacMillan 
wrote:

> Hi Craig,
>
> >> Does anybody know how I can get the text in this example to be above the
> >> fermata instead of below?
>
> This is the way I would do it:
>
> gpferm = \markup \override #'(baseline-skip . 2.2) \center-column {
> \normal-text \bold "G.P." \musicglyph #"scripts.ufermata" }
>
> \score {
>   \new Staff {
> c4 c c c |
> R1-\gpferm |
> c4 c c c |
> c2 r2-\tweak #'self-alignment-X #-0.3 ^\gpferm |
>   }
> }
>
> Hope this helps!
> Kieren.
> ___
>
> Kieren MacMillan, composer
> www:  
> email:  i...@kierenmacmillan.info
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Reading a property

2015-04-01 Thread Klaus Blum
Hi David, 

thanks for coming onboard.

First of all, I've got a function that returns a stencil:

#(define (makeDeltaSpan y-l-lower y-l-upper y-r-lower y-r-upper frame-color
fill-color stepLeft stepRight open-on-bottom open-on-top
   thick pad X-ext-param open-on-left open-on-right radius
   )
   ...etc... all the stuff needed for drawing
   )

Then, this stencil replaces the default stencil of HorizontalBracket:

genericSpan =
#(define-music-function (parser location y-l-lower y-l-upper y-r-lower
y-r-upper frame-color fill-color stepLeft stepRight open-on-bottom
open-on-top)
   (number? number? number? number? scheme? scheme? number? number? boolean?
boolean?)
   #{
 \once\override HorizontalBracket.stencil =
 $(lambda (grob)
(let* (
(area (ly:horizontal-bracket::print grob))
(thick (ly:grob-property grob 'line-thickness 1))
(pad (ly:grob-property grob 'broken-bound-padding 0))
(radius (ly:grob-property grob 'hair-thickness 0))
(X-ext-param (ly:stencil-extent area X))
(open-on-left  (=  1 (ly:item-break-dir (ly:spanner-bound
grob LEFT 
(open-on-right (= -1 (ly:item-break-dir (ly:spanner-bound
grob RIGHT
)
  (makeDeltaSpan  y-l-lower y-l-upper y-r-lower y-r-upper
frame-color fill-color stepLeft stepRight open-on-bottom open-on-top
thick pad X-ext-param open-on-left open-on-right radius)
  ))
 \once\override HorizontalBracket.Y-offset = #0
   #})

Although it reads out some properties, this function still has a lot of
parameters. So, I'd like to build some specialized versions.
So I could define:
\override HorizontalBracket.zigzag-width = #2
And build a new function:

ZZSpan =
#(define-music-function (parser location y-lower y-upper frame-color
fill-color)
   (number? number? scheme? scheme?)
   #{
 \genericSpan $y-lower $y-upper $y-lower $y-upper $frame-color
$fill-color 
 #2 #2  % Here I would like to read out the value from
HorizontalBracket.zigzag-width
 ##f ##f
   #})

If other functions could call \genericSpan, it would be a more elegant way.
But maybe it's easier just to copy-paste the code, as reading out properties
seems to get even more complicated.

Cheers, 
Klaus





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Reading-a-property-tp173954p173969.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Messiaen-style ties?

2015-04-01 Thread Trevor Bača
Hi Pierre & David,

These solutions are quite amazing, and I've been able to make both work
perfectly for what I want.

I'll document my understanding below for later readers of thread trying to
finesse results.

First I had to go read about the \shape command from David's solution ...

http://lilypond.org/doc/v2.19/Documentation/notation/modifying-shapes#index-_005cshape

... which is easier to use than I would've imagined. The four pairs in ...

\shape #'((-1.5 . 0) (-1 . 0) (-0.5 . 0) (0 . 0)) RepeatTie

... set the four control points that govern, er, shape the repeat-tie. And
changing just the negative size of the leftmost value ...

\shape #'((-2.5 . 0) (-1 . 0) (-0.5 . 0) (0 . 0)) RepeatTie

... gives exact control over the graphic length of the repeat.

Then I digested Pierre's successive refinements to his repeatTieExtend
function ...

  repeatTieExtend =
  #(define-music-function (parser location arg-repeat-tie-extend) (number?)
#{
-\tweak X-extent #(cons (/ (+ arg-repeat-tie-extend 4) -1) 0)
-\tweak details.note-head-gap #(/ arg-repeat-tie-extend -1)
-\tweak extra-offset #(cons (/ arg-repeat-tie-extend -1) 0)
-\tweak head-direction #1
\laissezVibrer
#})

... which made me realize that everything I'm wanting to do can be
controlled by overrides to the RepeatTie (or, equivalently, LaissezVibrer)
grob.

After some experimentation, I found that just these three overrides ...

   \override RepeatTie.details.note-head-gap = -0.5
   \override RepeatTie.extra-offset = #'(-0.5 . 0)
   \override RepeatTie.X-extent = ##f

... do exactly what I want.

(Turning off X-extent makes repeat-ties work nicely with complex rhythms
and proportional spacing.)

Equivalently, these two overrides ...

   \shape #'((-1.5 . 0) (-1 . 0) (-0.5 . 0) (0 . 0)) RepeatTie
   \override RepeatTie.X-extent = ##f

... also do exactly what I want.

(These settings are now inserted in a global stylesheet for the score.)

The only mystery in any of these settings are the negative values ...

   \override RepeatTie.details.note-head-gap = -0.5
   \override RepeatTie.extra-offset = #'(-0.5 . 0)

... which don't function exactly the way you might expect when you start
changing them from, say, -0.25 to -0.5 to -1.5 to -2.5 and so on. But,
happily, the values of -0.25 and -0.5 work very well.

Thank you both very much. Both solutions give me what I was looking for and
are producing beautiful output.

Trevor.



On Wed, Apr 1, 2015 at 3:51 AM, Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com> wrote:

> Oops, X-extent forgotten, so here again:
>
>   repeatTieExtend =
>   #(define-music-function (parser location arg-repeat-tie-extend) (number?)
> #{
> -\tweak X-extent #(cons (/ (+ arg-repeat-tie-extend 4) -1) 0)
> -\tweak details.note-head-gap #(/ arg-repeat-tie-extend -1)
> -\tweak extra-offset #(cons (/ arg-repeat-tie-extend -1) 0)
> -\tweak head-direction #1
> \laissezVibrer
> #})
>
>   {
> c2\repeatTie
> c''2 ^\repeatTieExtend #2
> a'2 _\repeatTieExtend #5
> c'2 _\repeatTieExtend #7
>   }
>
> Cheers,
> Pierre
>
> 2015-04-01 9:27 GMT+02:00 Pierre Perol-Schneider <
> pierre.schneider.pa...@gmail.com>:
>
>> ... or even:
>>
>>   \version "2.18.2"
>>
>>   repeatTieExtend =
>>   #(define-music-function (parser location arg-repeat-tie-extend)
>> (number?)
>> #{
>> -\tweak X-extent #'(0 . 0)
>> -\tweak details.note-head-gap #(/ arg-repeat-tie-extend -1)
>> -\tweak extra-offset #(cons (/ arg-repeat-tie-extend -1) 0)
>> -\tweak head-direction #1
>> \laissezVibrer
>> #})
>>
>>   {
>> c2\repeatTie
>> c''2 ^\repeatTieExtend #2
>> a'2 _\repeatTieExtend #5
>> c'2 _\repeatTieExtend #7
>>   }
>>
>> Cheers,
>> Pierre
>>
>> 2015-04-01 9:05 GMT+02:00 Pierre Perol-Schneider <
>> pierre.schneider.pa...@gmail.com>:
>>
>>> Hi Trevor et All,
>>>
>>> How about:
>>>
>>>   \version "2.18.2"
>>>
>>>   extendRT =
>>>   #(define-music-function (parser location arg-extend) (number?)
>>>   #{
>>> \once \override LaissezVibrerTie.X-extent = #'(0 . 0)
>>> \once \override LaissezVibrerTie.details.note-head-gap = #(/
>>> arg-extend -1)
>>> \once \override LaissezVibrerTie.extra-offset = #(cons (/ arg-extend
>>> -1) 0)
>>> \once \override LaissezVibrerTie.head-direction = #1
>>>   #})
>>>
>>>   {
>>>   c2\repeatTie
>>>   \extendRT #2 c''2 \laissezVibrer
>>>   \extendRT #5 a'2 \laissezVibrer
>>>   \extendRT #7 c'2 \laissezVibrer
>>>   }
>>>
>>> HTH,
>>> Pierre
>>>
>>> 2015-04-01 6:00 GMT+02:00 David Nalesnik :
>>>


 On Tue, Mar 31, 2015 at 10:53 PM, David Nalesnik <
 david.nales...@gmail.com> wrote:
>
>
> The property 'minimum-length doesn't seem to have an effect
>

 Seems like it ought to...  RepeatTie and LaissezVibrerTie as well.

 \override RepeatTie.minimum-length = #5 % does nothing alone

 \ov

Re: Reading a property

2015-04-01 Thread David Nalesnik
Sorry, hit the wrong button...

On Wed, Apr 1, 2015 at 9:13 AM, Klaus Blum  wrote:

> Dear LilyPond fellows,
>
> how can I read a property?
> For example, after having applied
> \override HorizontalBracket.line-thickness = #0.5
> is there an easy way to access that value?
>
> I know that it will work like this:
>
> colorSpan =
> #(define-music-function (parser location y-lower y-upper color)
>  (number? number? color?)
> #{
>   \once\override HorizontalBracket.stencil =
> $(lambda (grob)
>   (let* (
>   (thick (ly:grob-property grob 'line-thickness 1))
> ... do other stuff ...
> (ly:make-stencil (list 'color color
>   (ly:stencil-expr (ly:round-filled-box X-ext Y-ext 0))
>   X-ext Y-ext
> #})
>
> But that only works "inside" this replacement function. Am I missing the
> obvious?
>
>
I don't think you're missing the obvious!

Default values are stored in an alist 'all-grob-descriptions' defined in
scm/define-grobs.scm.  So it wouldn't be difficult to access _default_
settings.  However, if you want to get at a changed value, I can't see any
way to do it without an actual grob as an argument.

Well, you could parse the Scheme music expression, but that doesn't sound
fun, and I don't know that that will do you any good.  You can see the
result of the override in the log output:

%
\version "2.19.17"

\layout {
  \context {
\Voice
\consists "Horizontal_bracket_engraver"
  }
}

\displayMusic {
  \override HorizontalBracket.line-thickness = 2
  c\startGroup d\stopGroup
}
%%

Why exactly are you trying to get at the changed value?  Maybe I or someone
could suggest a solution knowing what you are trying to accomplish.



> I'm trying to expand what has been started with snippet 960:
> http://lsr.di.unimi.it/LSR/Item?id=960
> This is how far I've come:
> ColorSpan-Showcase.ly
> 
> ColorSpan-Showcase.pdf
>  >
> ColorSpan-Example.ly
> 
> ColorSpan-Example.pdf
> 
>
>
Really impressive!

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


Re: Reading a property

2015-04-01 Thread David Nalesnik
Hi Klaus,

On Wed, Apr 1, 2015 at 9:13 AM, Klaus Blum  wrote:

> Dear LilyPond fellows,
>
> how can I read a property?
> For example, after having applied
> \override HorizontalBracket.line-thickness = #0.5
> is there an easy way to access that value?
>
> I know that it will work like this:
>
> colorSpan =
> #(define-music-function (parser location y-lower y-upper color)
>  (number? number? color?)
> #{
>   \once\override HorizontalBracket.stencil =
> $(lambda (grob)
>   (let* (
>   (thick (ly:grob-property grob 'line-thickness 1))
> ... do other stuff ...
> (ly:make-stencil (list 'color color
>   (ly:stencil-expr (ly:round-filled-box X-ext Y-ext 0))
>   X-ext Y-ext
> #})
>
> But that only works "inside" this replacement function. Am I missing the
> obvious?
>
>
> I'm trying to expand what has been started with snippet 960:
> http://lsr.di.unimi.it/LSR/Item?id=960
> This is how far I've come:
> ColorSpan-Showcase.ly
> 
> ColorSpan-Showcase.pdf
>  >
> ColorSpan-Example.ly
> 
> ColorSpan-Example.pdf
> 
>
> Now I'm looking for a way to turn it into some easy-to-use functions.
> Also, I will try to apply that to David Nalesnik's code from this thread:
> http://lilypond.1069038.n5.nabble.com/box-around-notes-td35581.html
>
> Any suggestions are welcome!
>
> Cheers,
> Klaus
>
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Reading-a-property-tp173954.html
> Sent from the User mailing list archive at Nabble.com.
>
> ___
> 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: change notehead side

2015-04-01 Thread David Nalesnik
Hi Stephen,

On Wed, Apr 1, 2015 at 10:48 AM, Stephen MacNeil 
wrote:

> I would like to change the notehead side -- I would prefer it default
> however a workaround is cool too.
>

A workaround is all that's possible, as far as I can tell.

You can use this snippet:

http://lsr.di.unimi.it/LSR/Item?id=861

Hope that helps,
David
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


change notehead side

2015-04-01 Thread Stephen MacNeil
I would like to change the notehead side -- I would prefer it default
however a workaround is cool too.
I noticed you can do it with dotted

\override Staff.NoteCollision.prefer-dotted-right = ##f


however I would like to do it with none dotted - something like

\override Staff.NoteCollision.prefer-bottom-right = ##f

so I guess is there a better way?

anyway here is my solution as ugly as it is.

%

nh = {\once \override NoteHead.rotation = #'(.1 0 -380)

\once \override Stem.transparent = ##t

\once \override Flag.transparent = ##t

}


\relative c' {

\time 2/4

% default

<<{e,16 [] g, [] d, [] c, []}\\{e,,8 [g]
d' c}>>

 % my solution

<<{e,16 [c''] g, [c'] d, [c'] c, [c']}\\{s \nh bes!16 s \nh bes s \nh bes16
s \nh bes }\\{\voiceTwo e,,8 [g] d' c}>>

}
%%

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


Re: Defining event classes

2015-04-01 Thread David Nalesnik
On Tue, Mar 31, 2015 at 7:19 PM, David Nalesnik 
wrote:

>
>
> I'm not finding that general-music is actually _used_, though it appears
> with many many events in scm/define-music-types.scm.  From what I can tell,
> its uses are ancient.  Possibly it should be removed from the codebase
> altogether.  Always something to investigate...
>
>
Removed.  See  https://code.google.com/p/lilypond/issues/detail?id=4335
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Reading a property

2015-04-01 Thread Klaus Blum
Dear LilyPond fellows, 

how can I read a property?
For example, after having applied
\override HorizontalBracket.line-thickness = #0.5
is there an easy way to access that value?

I know that it will work like this:

colorSpan =
#(define-music-function (parser location y-lower y-upper color) 
 (number? number? color?)
#{
  \once\override HorizontalBracket.stencil =
$(lambda (grob)
  (let* (
  (thick (ly:grob-property grob 'line-thickness 1))
... do other stuff ...
(ly:make-stencil (list 'color color
  (ly:stencil-expr (ly:round-filled-box X-ext Y-ext 0))
  X-ext Y-ext
#})

But that only works "inside" this replacement function. Am I missing the
obvious?


I'm trying to expand what has been started with snippet 960:
http://lsr.di.unimi.it/LSR/Item?id=960
This is how far I've come:
ColorSpan-Showcase.ly
  
ColorSpan-Showcase.pdf
  
ColorSpan-Example.ly
  
ColorSpan-Example.pdf
  

Now I'm looking for a way to turn it into some easy-to-use functions. 
Also, I will try to apply that to David Nalesnik's code from this thread:
http://lilypond.1069038.n5.nabble.com/box-around-notes-td35581.html

Any suggestions are welcome!

Cheers, 
Klaus




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Reading-a-property-tp173954.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Text above fermata

2015-04-01 Thread Kieren MacMillan
Hi Craig,

>> Does anybody know how I can get the text in this example to be above the
>> fermata instead of below?

This is the way I would do it:

gpferm = \markup \override #'(baseline-skip . 2.2) \center-column { 
\normal-text \bold "G.P." \musicglyph #"scripts.ufermata" }

\score {
  \new Staff {
c4 c c c |
R1-\gpferm |
c4 c c c |
c2 r2-\tweak #'self-alignment-X #-0.3 ^\gpferm |
  }
}

Hope this helps!
Kieren.
___

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


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


Re: Messiaen-style ties?

2015-04-01 Thread Pierre Perol-Schneider
Oops, X-extent forgotten, so here again:

  repeatTieExtend =
  #(define-music-function (parser location arg-repeat-tie-extend) (number?)
#{
-\tweak X-extent #(cons (/ (+ arg-repeat-tie-extend 4) -1) 0)
-\tweak details.note-head-gap #(/ arg-repeat-tie-extend -1)
-\tweak extra-offset #(cons (/ arg-repeat-tie-extend -1) 0)
-\tweak head-direction #1
\laissezVibrer
#})

  {
c2\repeatTie
c''2 ^\repeatTieExtend #2
a'2 _\repeatTieExtend #5
c'2 _\repeatTieExtend #7
  }

Cheers,
Pierre

2015-04-01 9:27 GMT+02:00 Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com>:

> ... or even:
>
>   \version "2.18.2"
>
>   repeatTieExtend =
>   #(define-music-function (parser location arg-repeat-tie-extend) (number?)
> #{
> -\tweak X-extent #'(0 . 0)
> -\tweak details.note-head-gap #(/ arg-repeat-tie-extend -1)
> -\tweak extra-offset #(cons (/ arg-repeat-tie-extend -1) 0)
> -\tweak head-direction #1
> \laissezVibrer
> #})
>
>   {
> c2\repeatTie
> c''2 ^\repeatTieExtend #2
> a'2 _\repeatTieExtend #5
> c'2 _\repeatTieExtend #7
>   }
>
> Cheers,
> Pierre
>
> 2015-04-01 9:05 GMT+02:00 Pierre Perol-Schneider <
> pierre.schneider.pa...@gmail.com>:
>
>> Hi Trevor et All,
>>
>> How about:
>>
>>   \version "2.18.2"
>>
>>   extendRT =
>>   #(define-music-function (parser location arg-extend) (number?)
>>   #{
>> \once \override LaissezVibrerTie.X-extent = #'(0 . 0)
>> \once \override LaissezVibrerTie.details.note-head-gap = #(/
>> arg-extend -1)
>> \once \override LaissezVibrerTie.extra-offset = #(cons (/ arg-extend
>> -1) 0)
>> \once \override LaissezVibrerTie.head-direction = #1
>>   #})
>>
>>   {
>>   c2\repeatTie
>>   \extendRT #2 c''2 \laissezVibrer
>>   \extendRT #5 a'2 \laissezVibrer
>>   \extendRT #7 c'2 \laissezVibrer
>>   }
>>
>> HTH,
>> Pierre
>>
>> 2015-04-01 6:00 GMT+02:00 David Nalesnik :
>>
>>>
>>>
>>> On Tue, Mar 31, 2015 at 10:53 PM, David Nalesnik <
>>> david.nales...@gmail.com> wrote:


 The property 'minimum-length doesn't seem to have an effect

>>>
>>> Seems like it ought to...  RepeatTie and LaissezVibrerTie as well.
>>>
>>> \override RepeatTie.minimum-length = #5 % does nothing alone
>>>
>>> \override RepeatTie.springs-and-rods = #ly:spanner::set-spacing-rods
>>>
>>>
>>> causes a crash, as does the same overrides of LaissezVibrerTie
>>>
>>> DN
>>>
>>> ___
>>> 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: Messiaen-style ties?

2015-04-01 Thread Pierre Perol-Schneider
... or even:

  \version "2.18.2"

  repeatTieExtend =
  #(define-music-function (parser location arg-repeat-tie-extend) (number?)
#{
-\tweak X-extent #'(0 . 0)
-\tweak details.note-head-gap #(/ arg-repeat-tie-extend -1)
-\tweak extra-offset #(cons (/ arg-repeat-tie-extend -1) 0)
-\tweak head-direction #1
\laissezVibrer
#})

  {
c2\repeatTie
c''2 ^\repeatTieExtend #2
a'2 _\repeatTieExtend #5
c'2 _\repeatTieExtend #7
  }

Cheers,
Pierre

2015-04-01 9:05 GMT+02:00 Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com>:

> Hi Trevor et All,
>
> How about:
>
>   \version "2.18.2"
>
>   extendRT =
>   #(define-music-function (parser location arg-extend) (number?)
>   #{
> \once \override LaissezVibrerTie.X-extent = #'(0 . 0)
> \once \override LaissezVibrerTie.details.note-head-gap = #(/
> arg-extend -1)
> \once \override LaissezVibrerTie.extra-offset = #(cons (/ arg-extend
> -1) 0)
> \once \override LaissezVibrerTie.head-direction = #1
>   #})
>
>   {
>   c2\repeatTie
>   \extendRT #2 c''2 \laissezVibrer
>   \extendRT #5 a'2 \laissezVibrer
>   \extendRT #7 c'2 \laissezVibrer
>   }
>
> HTH,
> Pierre
>
> 2015-04-01 6:00 GMT+02:00 David Nalesnik :
>
>>
>>
>> On Tue, Mar 31, 2015 at 10:53 PM, David Nalesnik <
>> david.nales...@gmail.com> wrote:
>>>
>>>
>>> The property 'minimum-length doesn't seem to have an effect
>>>
>>
>> Seems like it ought to...  RepeatTie and LaissezVibrerTie as well.
>>
>> \override RepeatTie.minimum-length = #5 % does nothing alone
>>
>> \override RepeatTie.springs-and-rods = #ly:spanner::set-spacing-rods
>>
>>
>> causes a crash, as does the same overrides of LaissezVibrerTie
>>
>> DN
>>
>> ___
>> 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: parts for natural horns and trumpets

2015-04-01 Thread Urs Liska



Am 01.04.2015 um 04:48 schrieb Craig Dabelstein:

Hi Lilyponders,

Does anyone have a successful way of writing parts for natural horns 
and trumpets that would change crooks (and therefore transpositions) 
several times during a part.


There would be a global file holding the many key and time signature 
changes and then I would need the part to change from say Horn in F, 
to Horn in D, to Horn in Af, etc.


Any help would be greatly appreciated.

Craig




You may have a look at 
https://github.com/openlilylib/openlilylib/tree/master/editorial-tools/auto-transpose


HTH
Urs


*Craig Dabelstein*
e:craig.dabelst...@gmail.com 
 





___
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: Messiaen-style ties?

2015-04-01 Thread Pierre Perol-Schneider
Hi Trevor et All,

How about:

  \version "2.18.2"

  extendRT =
  #(define-music-function (parser location arg-extend) (number?)
  #{
\once \override LaissezVibrerTie.X-extent = #'(0 . 0)
\once \override LaissezVibrerTie.details.note-head-gap = #(/ arg-extend
-1)
\once \override LaissezVibrerTie.extra-offset = #(cons (/ arg-extend
-1) 0)
\once \override LaissezVibrerTie.head-direction = #1
  #})

  {
  c2\repeatTie
  \extendRT #2 c''2 \laissezVibrer
  \extendRT #5 a'2 \laissezVibrer
  \extendRT #7 c'2 \laissezVibrer
  }

HTH,
Pierre

2015-04-01 6:00 GMT+02:00 David Nalesnik :

>
>
> On Tue, Mar 31, 2015 at 10:53 PM, David Nalesnik  > wrote:
>>
>>
>> The property 'minimum-length doesn't seem to have an effect
>>
>
> Seems like it ought to...  RepeatTie and LaissezVibrerTie as well.
>
> \override RepeatTie.minimum-length = #5 % does nothing alone
>
> \override RepeatTie.springs-and-rods = #ly:spanner::set-spacing-rods
>
>
> causes a crash, as does the same overrides of LaissezVibrerTie
>
> DN
>
> ___
> 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: Using SVG backend to implement point-and-click to braille location

2015-04-01 Thread Martin Tarenskeen



On Wed, 1 Apr 2015, Mario Lang wrote:


This is, rather amazing.  Becuase it will ultimately allow blind and
sighted musicians to work together.  A sighted user can just use the
mouse to "point" at a specific note, and the blind user will be able to
see the same note, but in a totally different represnetation.



From what you tell us I just want to say: Wow, I am impressed!


--

MT


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