Thank you David.
Le jeu. 27 févr. 2020 à 11:33, David Kastrup a écrit :
> Schneidy writes:
>
> > Hi Paul et all,
> > I'd like to get your function work with v2.19.
> > convert-ly gives the following error:
> > Expecting music, found (list (quote Slur))
> > Any idea?
>
> Use \propertyTweak rathe
Schneidy writes:
> Hi Paul et all,
> I'd like to get your function work with v2.19.
> convert-ly gives the following error:
> Expecting music, found (list (quote Slur))
> Any idea?
Use \propertyTweak rather than \tweak in the function.
--
David Kastrup
Hi Paul et all,
I'd like to get your function work with v2.19.
convert-ly gives the following error:
Expecting music, found (list (quote Slur))
Any idea?
TIA, cheers,
Pierre
--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
tp://lilypond.1069038.n5.nabble.com/Catch-direction-operators-tp151552p152031.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
Paul Morris writes:
> David Kastrup wrote
>> Looks fine. \colorizeDir is not actually being used as a tweak here,
>> but then that makes pretty little sense anyway.
>
> Ok, I've added it here:
> http://lsr.dsi.unimi.it/LSR/Item?id=889
>
> Since it requires 2.17 I had to comment out the whole thi
ew this message in context:
http://lilypond.1069038.n5.nabble.com/Catch-direction-operators-tp151552p152012.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
Paul Morris writes:
> dak wrote
>> You can add it wherever you want. I don't see it making any sense as an
>> addition to LilyPond proper as it is a rather special use case. It may
>> still be nice as a snippet as it is simple, flexible, and powerful. The
>> use cases also show \tweak as an in
b)
c''-3\4-"xy"
c''_3^\4^"xy"
c''^3_\4_"xy"
}
\new Voice \with { \mapList #colorizeDir Slur.TextScript }
{ \music }
\new Voice \with { \mapList #colorizeDir #(map car all-grob-descriptions) }
{ \music }
--
View this message in co
Urs Liska writes:
> Am 01.10.2013 12:19, schrieb Urs Liska:
>> Am 01.10.2013 12:17, schrieb Franciszek Boehlke:
>>> lambda (x) (car x) is exactly the same as car. You should be able
>>> to write just
>>> #(map car all-grob-descriptions)
>>> instead.
>>>
>>
>> Thanks. Now I see that it didn't _s
Am 01.10.2013 12:19, schrieb Urs Liska:
Am 01.10.2013 12:17, schrieb Franciszek Boehlke:
lambda (x) (car x) is exactly the same as car. You should be able to
write just
#(map car all-grob-descriptions)
instead.
Thanks. Now I see that it didn't _seem_ to work because I ran the
wrong LilyPo
Am 01.10.2013 12:17, schrieb Franciszek Boehlke:
lambda (x) (car x) is exactly the same as car. You should be able to
write just
#(map car all-grob-descriptions)
instead.
Thanks. Now I see that it didn't _seem_ to work because I ran the wrong
LilyPond version :-[
lambda (x) (car x) is exactly the same as car. You should be able to write
just
#(map car all-grob-descriptions)
instead.
2013/10/1 Urs Liska
> Am 01.10.2013 12:04, schrieb David Kastrup:
>
> Urs Liska writes:
>>
>> Am 29.09.2013 17:04, schrieb David Kastrup:
>>>
\new Voice \with { \m
Am 01.10.2013 12:04, schrieb David Kastrup:
Urs Liska writes:
Am 29.09.2013 17:04, schrieb David Kastrup:
\new Voice \with { \mapList #colorizeDir Slur.StringNumber.TextScript }
\new Voice \with { \mapList #colorizeDir #(map (lambda (x) (car x))
all-grob-descriptions) }
Adds the option of c
Urs Liska writes:
> Am 29.09.2013 17:04, schrieb David Kastrup:
>> \new Voice \with { \mapList #colorizeDir Slur.StringNumber.TextScript }
>
> \new Voice \with { \mapList #colorizeDir #(map (lambda (x) (car x))
> all-grob-descriptions) }
>
> Adds the option of coloring all grobs with a 'direction
Am 29.09.2013 17:04, schrieb David Kastrup:
\new Voice \with { \mapList #colorizeDir Slur.StringNumber.TextScript }
\new Voice \with { \mapList #colorizeDir #(map (lambda (x) (car x))
all-grob-descriptions) }
Adds the option of coloring all grobs with a 'direction property.
Urs
David Nalesnik,
Thank you. By reading the log message, I cannot decipher what it means.
Emanuel,
Ming
From: David Nalesnik
To: MING TSANG
Cc: "lilypond-user@gnu.org"
Sent: Sunday, September 29, 2013 9:43:59 AM
Subject: Re: Catch direction operat
David Kastrup writes:
> Thomas Morley writes:
>
>You can write:
>colorizeDir =
>#(define-music-function (parser location item)
> (symbol-list-or-music?)
> (define (grob-colorize-dir grob)
> (let ((ev (event-cause grob)))
> (case (ly:event-property ev 'di
Thomas Morley writes:
You can write:
colorizeDir =
#(define-music-function (parser location item)
(symbol-list-or-music?)
(define (grob-colorize-dir grob)
(let ((ev (event-cause grob)))
(case (ly:event-property ev 'direction)
((1) red
2013/9/29 David Kastrup :
> Urs Liska writes:
>
>>>You can write:
>>>
>>>#(define-music-function (parser location item)
>>> (symbol-list-or-music?)
>>> (define (grob-colorize-dir grob)
>>> (let ((ev (event-cause grob)))
>>> (case (ly:event-property ev 'direction)
>>> ((1)
Hi Ming,
On Sun, Sep 29, 2013 at 8:37 AM, MING TSANG wrote:
> I was following the caption subject in lily user list. I run the
> following (copy from the lists). I got error, please see the log at the
> end of lily code.
> Thanks,
> Ming
>
> %lily code starts %
> \version "2.17
I was following the caption subject in lily user list.I run the following (copy
from the lists). I got error, please see the log at the end of lily code.
Thanks,
Ming
%lily code starts %
\version "2.17.27"
colorizeDir =
#(define-music-function (parser location item)
(symbol-list-
Urs Liska writes:
>>You can write:
>>
>>#(define-music-function (parser location item)
>> (symbol-list-or-music?)
>> (define (grob-colorize-dir grob)
>> (let ((ev (event-cause grob)))
>> (case (ly:event-property ev 'direction)
>> ((1) red)
>> ((-1) blue)
>>
David Kastrup schrieb:
>Urs Liska writes:
>
>> Hi David,
>>
>> this is great!
>>
>> Am 29.09.2013 09:51, schrieb David Kastrup:
>>> David Kastrup writes:
>>>
colorizeDir =
#(define-music-function (parser location item)
(symbol-list-or-music?)
(define (grob-colorize-
Urs Liska writes:
> Hi David,
>
> this is great!
>
> Am 29.09.2013 09:51, schrieb David Kastrup:
>> David Kastrup writes:
>>
>>> colorizeDir =
>>> #(define-music-function (parser location item)
>>>(symbol-list-or-music?)
>>>(define (grob-colorize-dir grob)
>>> (let ((ev (event-cause
Hi David,
this is great!
Am 29.09.2013 09:51, schrieb David Kastrup:
David Kastrup writes:
colorizeDir =
#(define-music-function (parser location item)
(symbol-list-or-music?)
(define (grob-colorize-dir grob)
(let ((ev (event-cause grob)))
(and ev (ly:event-property ev 'dir
David Kastrup writes:
> colorizeDir =
> #(define-music-function (parser location item)
> (symbol-list-or-music?)
> (define (grob-colorize-dir grob)
> (let ((ev (event-cause grob)))
> (and ev (ly:event-property ev 'direction #f)
> red)))
> #{ \tweak color #grob-colori
David Nalesnik writes:
> Hi Urs,
>
>
> On Sat, Sep 28, 2013 at 12:13 PM, Urs Liska wrote:
>
>> Hi,
>>
>> I have a 'function' that redefines commands like \slurUp to color the
>> corresponding grob (highlighting manual interventions during score
>> development).
>>
>> Is it possible to 'catch' in
Am 29.09.2013 09:23, schrieb Urs Liska:
Hi David,
Am 29.09.2013 00:36, schrieb David Nalesnik:
Hi Urs,
...
I couldn't get any results with a music function, but a little
experimenting got me a tiny engraver which responds to the
directional operators. Not sure how useful this is,
It is v
Hi David,
Am 29.09.2013 00:36, schrieb David Nalesnik:
Hi Urs,
...
I couldn't get any results with a music function, but a little
experimenting got me a tiny engraver which responds to the directional
operators. Not sure how useful this is,
It is very useful, thank you.
I
__
Hi Urs,
On Sat, Sep 28, 2013 at 12:13 PM, Urs Liska wrote:
> Hi,
>
> I have a 'function' that redefines commands like \slurUp to color the
> corresponding grob (highlighting manual interventions during score
> development).
>
> Is it possible to 'catch' instances of grobs whose direction has be
Hi,
I have a 'function' that redefines commands like \slurUp to color the
corresponding grob (highlighting manual interventions during score development).
Is it possible to 'catch' instances of grobs whose direction has been set by
the ^ and _ operators and call a music function on the affected
31 matches
Mail list logo