Re: placement sostenuto

2011-09-26 Thread Dmytro O. Redchuk
On Fri 23 Sep 2011, 09:07 David Nalesnik wrote: I was experimenting with this approach, but 'padding doesn't seem to respond when set to a procedure. In the following snippet, the first override works, the second doesn't. Am I missing something? \version 2.14.2 { \once \override

Re: placement sostenuto

2011-09-26 Thread luis jure
on 2011-09-25 at 20:27 David Nalesnik wrote: Good idea. like wow, i couldn't expect that my original post would trigger all this thread (most of it way over my head, i'm afraid...) thank you all! ___ lilypond-user mailing list lilypond-user@gnu.org

Re: placement sostenuto

2011-09-25 Thread Thomas Morley
Hi David 2011/9/24 David Nalesnik david.nales...@gmail.com Hi Harm, Thanks for the insight! So then you could do something like this: I tried, but without success. :) \version 2.14.2 #(define (padding-for-tenuto x) (lambda (grob) (if (equal? tenuto (ly:prob-property

Re: placement sostenuto

2011-09-25 Thread David Nalesnik
Hi Harm, On Sun, Sep 25, 2011 at 1:01 PM, Thomas Morley thomasmorle...@googlemail.com wrote: 2011/9/24 David Nalesnik david.nales...@gmail.com I don't know if I've gotten at the name of the articulation in the best way, but this works. One drawback is that there can only be one override

Re: placement sostenuto

2011-09-25 Thread Thomas Morley
Hi David, 2011/9/25 David Nalesnik david.nales...@gmail.com You could change the function to map ly:grob-set-property! onto the alist if a match is found: \version 2.14.2 #(define ls '( (staccato . ((color . (0 1 0 (accent . ((font-size . 4)(color . (1 0 0 (tenuto

Re: placement sostenuto

2011-09-25 Thread David Nalesnik
On Sun, Sep 25, 2011 at 6:24 PM, Thomas Morley thomasmorle...@googlemail.com wrote: Hi David, thanks a lot! You're welcome! I added ls as an argument to the definition to get the possibility to access different alists in polyphonic situations: Good idea. One thought I had is that

Re: placement sostenuto

2011-09-24 Thread Thomas Morley
2011/9/24 David Nalesnik david.nales...@gmail.com ( . . .) In the following snippet, the override of 'Y-offset works, but the one of 'padding doesn't. \version 2.14.2 \relative c' { \once \override Script #'padding = #(lambda (grob) (if (eq? (ly:grob-property grob 'direction) UP) 5

Re: placement sostenuto

2011-09-24 Thread David Nalesnik
Hi Harm, On Sat, Sep 24, 2011 at 8:59 AM, Thomas Morley thomasmorle...@googlemail.com wrote: Hi David, I don't know, why it doesn't work this way. But the following seems to be successful: #(define (proc x y) (lambda (grob) (if (eq? (ly:grob-property grob 'direction) 1)

placement sostenuto

2011-09-23 Thread eluze
hello i think it's called tenuto in lilypond and it belongs to the Script objects. you could change the distance to the notehead with \once \override Script #'padding = #.75 and/or define a function which you can apply before you insert a tenuto: myTenuto = { \once \override Script

Re: placement sostenuto

2011-09-23 Thread David Kastrup
eluze elu...@gmail.com writes: hello i think it's called tenuto in lilypond and it belongs to the Script objects. you could change the distance to the notehead with \once \override Script #'padding = #.75 and/or define a function which you can apply before you insert a tenuto: myTenuto

Re: placement sostenuto

2011-09-23 Thread Dmytro O. Redchuk
On Fri 23 Sep 2011, 13:48 David Kastrup wrote: ten = -\tweak #'padding #.75 -- { c''1\ten } Great, even { c''1^\ten } and { c''1_\ten } do work, thanks .) -- Dmytro O. RedchukEasy to use is easy to say. Bug Squad -- Jeff

Re: placement sostenuto

2011-09-23 Thread luis jure
on 2011-09-23 at 13:40 eluze wrote: i think it's called tenuto in lilypond of course! [in lilypond and elsewhere :-), i just had a lapsus...] and it belongs to the Script objects. you could change the distance to the notehead with \once \override Script #'padding = #.75 this works! as

Re: placement sostenuto

2011-09-23 Thread eluze
nice abbreviation, thanks! i wonder however if - and how - one could override the default padding (.20) defined in \script.scm, as to continue to use the normal liylpond syntax! Eluze ___ lilypond-user mailing list lilypond-user@gnu.org

Re: placement sostenuto

2011-09-23 Thread Dmytro O. Redchuk
On Fri 23 Sep 2011, 10:30 luis jure wrote: i see that this override changes the placement of all the objects belonging to Script, including articulation marks like accent and the rest. anyway, i prefer to use a global \override in my template, instead of individual tweaks. i understand one

Re: placement sostenuto

2011-09-23 Thread David Nalesnik
On Fri, Sep 23, 2011 at 8:59 AM, Dmytro O. Redchuk brownian@gmail.comwrote: On Fri 23 Sep 2011, 10:30 luis jure wrote: i see that this override changes the placement of all the objects belonging to Script, including articulation marks like accent and the rest. anyway, i prefer to use a

Re: placement sostenuto

2011-09-23 Thread eluze
i'm neither expert nor knowledgeable with scheme but i would prefer a solution that lets you define your own preferences and include them with -dinclude-settings=….ly afaics in script.scm a list is defined with (sub-)properties of many/all script objects. now it should be possible to

Re: placement sostenuto

2011-09-23 Thread Thomas Morley
2011/9/23 eluze elu...@gmail.com i'm neither expert nor knowledgeable with scheme but i would prefer a solution that lets you define your own preferences and include them with -dinclude-settings=….ly afaics in script.scm a list is defined with (sub-)properties of many/all script objects.

Re: placement sostenuto

2011-09-23 Thread David Nalesnik
On Fri, Sep 23, 2011 at 4:38 PM, Thomas Morley thomasmorle...@googlemail.com wrote: But I didn't manage to shorten it. Not sure if this is expressed in the best form, but putting this line at the top of the file should change the 'padding value of the tentuo mark only: #(assoc-set!

Re: placement sostenuto

2011-09-23 Thread eluze
Am 23.09.2011, 23:38 Uhr, schrieb Thomas Morley thomasmorle...@googlemail.com: Hi, this does the job: \version 2.14.2 #(define-public my-script-alist `( (accent . ( %- Test \layout {

Re: placement sostenuto

2011-09-23 Thread David Nalesnik
On Fri, Sep 23, 2011 at 5:08 PM, eluze elu...@gmail.com wrote: now we need a way to only override the relevant items - i.e. to replace the padding for tenuto in the original list! (then we even get rid of the \layout part!) anybody has ideas?! Yes, with the line I just posted you don't

Re: placement sostenuto

2011-09-23 Thread eluze
Am 24.09.2011, 00:08 Uhr, schrieb David Nalesnik david.nales...@gmail.com: On Fri, Sep 23, 2011 at 4:38 PM, Thomas Morley thomasmorle...@googlemail.com wrote: But I didn't manage to shorten it. Not sure if this is expressed in the best form, but putting this line at the top of the

Re: placement sostenuto

2011-09-23 Thread Thomas Morley
2011/9/24 David Nalesnik david.nales...@gmail.com On Fri, Sep 23, 2011 at 4:38 PM, Thomas Morley thomasmorle...@googlemail.com wrote: But I didn't manage to shorten it. Not sure if this is expressed in the best form, but putting this line at the top of the file should change the

Re: placement sostenuto

2011-09-23 Thread David Kastrup
Dmytro O. Redchuk brownian@gmail.com writes: On Fri 23 Sep 2011, 13:48 David Kastrup wrote: ten = -\tweak #'padding #.75 -- { c''1\ten } Great, even { c''1^\ten } and { c''1_\ten } do work, thanks .) I wished the documention made it easier to figure out the kinds of thing that just

Re: placement sostenuto

2011-09-23 Thread Thomas Morley
2011/9/24 David Nalesnik david.nales...@gmail.com On Fri, Sep 23, 2011 at 5:08 PM, eluze elu...@gmail.com wrote: now we need a way to only override the relevant items - i.e. to replace the padding for tenuto in the original list! (then we even get rid of the \layout part!) anybody has

Re: placement sostenuto

2011-09-23 Thread Thomas Morley
2011/9/24 Thomas Morley thomasmorle...@googlemail.com There might be another point of interest: How to reset? I'm aware it could be done with a new #(assoc-set! ... ) using default values. I was wrong: This doesn't work! Sorry! But: Is there another, easier method? Best, Harm

Re: placement sostenuto

2011-09-23 Thread David Nalesnik
Hi Harm, On Fri, Sep 23, 2011 at 5:52 PM, Thomas Morley thomasmorle...@googlemail.com wrote: 2011/9/24 Thomas Morley thomasmorle...@googlemail.com There might be another point of interest: How to reset? I'm aware it could be done with a new #(assoc-set! ... ) using default values. I

Re: placement sostenuto

2011-09-23 Thread Thomas Morley
2011/9/24 David Nalesnik david.nales...@gmail.com Hi Harm, On Fri, Sep 23, 2011 at 5:52 PM, Thomas Morley thomasmorle...@googlemail.com wrote: 2011/9/24 Thomas Morley thomasmorle...@googlemail.com There might be another point of interest: How to reset? I'm aware it could be done

Re: placement sostenuto

2011-09-23 Thread David Nalesnik
On Fri, Sep 23, 2011 at 7:28 PM, Thomas Morley thomasmorle...@googlemail.com wrote: 2011/9/24 David Nalesnik david.nales...@gmail.com Hi Harm, On Fri, Sep 23, 2011 at 5:52 PM, Thomas Morley thomasmorle...@googlemail.com wrote: 2011/9/24 Thomas Morley thomasmorle...@googlemail.com

placement sostenuto

2011-09-22 Thread luis jure
hello list, i'm here again after a long time without using lilypond (meaning that i'm already forgetting the little i ever managed to learn about it...) i'm using the sostenuto sign (c--), but for my taste the default placement is too close to the head of the note. i'm trying to include a global