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
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 \ove
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 i
Hi David,
2011/9/25 David Nalesnik
>
> 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" . ((rot
Hi Harm,
On Sun, Sep 25, 2011 at 1:01 PM, Thomas Morley <
thomasmorle...@googlemail.com> wrote:
> 2011/9/24 David Nalesnik
>
>>
>> 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 of
>> 'after-li
Hi David
2011/9/24 David Nalesnik
> 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 (assoc-ref (ly:g
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)
>
2011/9/24 David Nalesnik
> ( . . .)
>
> 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 0.2))
> c1^
On Fri, Sep 23, 2011 at 7:28 PM, Thomas Morley <
thomasmorle...@googlemail.com> wrote:
> 2011/9/24 David Nalesnik
>
>> Hi Harm,
>>
>> On Fri, Sep 23, 2011 at 5:52 PM, Thomas Morley <
>> thomasmorle...@googlemail.com> wrote:
>>
>>>
>>>
>>> 2011/9/24 Thomas Morley
>>>
There might be anot
2011/9/24 David Nalesnik
> Hi Harm,
>
> On Fri, Sep 23, 2011 at 5:52 PM, Thomas Morley <
> thomasmorle...@googlemail.com> wrote:
>
>>
>>
>> 2011/9/24 Thomas Morley
>>
>>>
>>> There might be another point of interest: How to reset?
>>>
>>> I'm aware it could be done with a new #(assoc-set! ... )
Hi Harm,
On Fri, Sep 23, 2011 at 5:52 PM, Thomas Morley <
thomasmorle...@googlemail.com> wrote:
>
>
> 2011/9/24 Thomas Morley
>
>>
>> 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
2011/9/24 Thomas Morley
>
> 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
>
>
_
2011/9/24 David Nalesnik
>
>
> On Fri, Sep 23, 2011 at 5:08 PM, eluze 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
"Dmytro O. Redchuk" 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 happen to work
2011/9/24 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 'paddin
Am 24.09.2011, 00:08 Uhr, schrieb 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
On Fri, Sep 23, 2011 at 5:08 PM, eluze 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 need to in
Am 23.09.2011, 23:38 Uhr, schrieb Thomas Morley
:
Hi,
this does the job:
\version "2.14.2"
#(define-public my-script-alist
`(
("accent"
. (
%- Test
\layout {
\context {
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
2011/9/23 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
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
On Fri, Sep 23, 2011 at 8:59 AM, Dmytro O. Redchuk
wrote:
> 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 \overrid
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 understan
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
https://
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! a
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. Redchuk"Easy to use" is easy to say.
Bug Squad --
eluze 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 = { \on
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 #'paddi
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
29 matches
Mail list logo