Peter Chubb <lily.u...@chubb.wattle.id.au> writes:

>>>>>> "Tom" == Tom Cloyd <t...@tomcloyd.com> writes:
>
> Thanks Tom
>
> Tom> While the slight separation of notes in the midi output often
> Tom> seems to improve the sound of music for instruments which don't
> Tom> normally sound legato, such as classic guitar, it can also make
> Tom> other instruments, such as organ, sound unrealistic. One approach
> Tom> to reducing or eliminating this problem is to experimentally
> Tom> alter a single line in the articulate.ly script - here is an
> Tom> example of such an alteration:
>
> Tom> #(define ac:normalFactor '(15 . 16))
>
> Can anyone suggest a way that this can be changed outside the script?
> I tried
>   legato=#(set! ac:normalFactor '(1 . 1))
> in a normal lily file, but it didn't seem to work.

You'd rather need something like
legato=#(define-music-function ...

Otherwise, set! is just executed at the time of defining legato, and
legato is set to the _result_ of setting the factor.

-- 
David Kastrup


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to