Re: Slur position : catching Llilypond values...

2011-02-14 Thread Dmytro O. Redchuk
On Fri 11 Feb 2011, 16:25 David Nalesnik wrote: On 2/11/11, Xavier Scheuer x.sche...@gmail.com wrote: On 8 February 2011 22:56, David Nalesnik dnale...@umail.iu.edu wrote: Hello, There probably is a better way to do this, but the function below seems to do the trick. It adds an

Re: Slur position : catching Llilypond values...

2011-02-14 Thread David Nalesnik
On 2/14/11, Dmytro O. Redchuk brownian@gmail.com wrote: Would be great it if allows to specify which grob's positions to alter, like this: \offsetPositions #Arpeggio #'(-2 . 2) Hi, Dmytro -- I actually have been working on a snippet which generalizes another function -- namely, the

Re: Slur position : catching Llilypond values...

2011-02-14 Thread Dmytro O. Redchuk
On Mon 14 Feb 2011, 09:02 David Nalesnik wrote: On 2/14/11, Dmytro O. Redchuk brownian@gmail.com wrote: Would be great it if allows to specify which grob's positions to alter, like this: \offsetPositions #Arpeggio #'(-2 . 2) Oh, yes, i see --- every grob requires it's own function

Re: Slur position : catching Llilypond values...

2011-02-14 Thread Nick Payne
On 15/02/11 02:02, David Nalesnik wrote: On 2/14/11, Dmytro O. Redchukbrownian@gmail.com wrote: Would be great it if allows to specify which grob's positions to alter, like this: \offsetPositions #Arpeggio #'(-2 . 2) Hi, Dmytro -- I actually have been working on a snippet which

Re: Slur position : catching Llilypond values...

2011-02-14 Thread David Nalesnik
Here is my function: offsetBrokenSpanner = #(define-music-function (parser location name offsets) (string? pair?) #{ \overrideProperty $name #'after-line-breaking #(broken-spanner $offsets) #} ) #(define ((broken-spanner offsets) grob) (let* ( ; have we

Re: Slur position : catching Llilypond values...

2011-02-13 Thread Phil Holmes
- Original Message - From: David Nalesnik dnale...@umail.iu.edu To: Xavier Scheuer x.sche...@gmail.com Cc: Llilypond EN lilypond-user@gnu.org Sent: Friday, February 11, 2011 10:25 PM Subject: Re: Slur position : catching Llilypond values... On 2/11/11, Xavier Scheuer x.sche

Re: Slur position : catching Llilypond values...

2011-02-11 Thread Xavier Scheuer
On 8 February 2011 22:56, David Nalesnik dnale...@umail.iu.edu wrote: Hello, There probably is a better way to do this, but the function below seems to do the trick. It adds an offset to the Y-coordinate of either or both of the slur's attachment points. Setting one value of the pair to

Re: Slur position : catching Llilypond values...

2011-02-11 Thread David Nalesnik
On 2/11/11, Xavier Scheuer x.sche...@gmail.com wrote: On 8 February 2011 22:56, David Nalesnik dnale...@umail.iu.edu wrote: Hello, There probably is a better way to do this, but the function below seems to do the trick. It adds an offset to the Y-coordinate of either or both of the slur's

Re: Slur position : catching Llilypond values...

2011-02-07 Thread Éditions IN NOMINE
Dmytro O. Redchuk a écrit : http://lsr.dsi.unimi.it/LSR/Item?id=639 ? Sorry, i was too quick sending this. I mean that for 'positions you might want to create something similar -- function which takes a pair and adjusts 'positions for Slur. Well, your LSR snippet is a good start.

Slur position : catching Llilypond values...

2011-02-07 Thread Éditions IN NOMINE
Well, let me explain :-) I often use \once \override Voice.Slur #'positions = #'(a . b) to adjust Slur position, and most of the time, I only need to modify only one of a or b. I'd like to be able to catch the default a or b value and tell Lily not to touch it, so that I could tell Lily

Re: Slur position : catching Llilypond values...

2011-02-07 Thread Dmytro O. Redchuk
On Mon 07 Feb 2011, 16:32 Éditions IN NOMINE wrote: Well, let me explain :-) I often use \once \override Voice.Slur #'positions = #'(a . b) to adjust Slur position, and most of the time, I only need to modify only one of a or b. I'd like to be able to catch the default a or b value and

Re: Slur position : catching Llilypond values...

2011-02-07 Thread Dmytro O. Redchuk
On Mon 07 Feb 2011, 17:51 I wrote: On Mon 07 Feb 2011, 16:32 Éditions IN NOMINE wrote: Well, let me explain :-) I often use \once \override Voice.Slur #'positions = #'(a . b) to adjust Slur position, and most of the time, I only need to modify only one of a or b. I'd like to be