lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible improvement to stringTunings architecture


From: Nicolas Sceaux
Subject: Re: Possible improvement to stringTunings architecture
Date: Sat, 25 Dec 2010 13:07:34 +0100

Le 25 déc. 2010 à 01:42, Carl Sorensen a écrit :

> I'd be happy if I could make something like
> this work, as well:
> 
> default-string-tunings =
> #`((guitar-tuning . ,(lily->scheme <e, a, d g b e'>))
>   (bass-tuning . ,(lily->scheme <e,, a,, d, g,>))
>   (mandolin-tuning . ,(lily->scheme <g d' a' e''>)))

You may consider something like:

default-string-tunings =
#`((guitar-tuning . ,(chord-of #{ <e, a, d g b e'> #}))
    (bass-tuning . ,(chord-of #{ <e,, a,, d, g,> #}))
    (mandolin-tuning . ,(chord-of #{ <g d' a' e''> #})))

where chord-of (it's up to you to chose a better name ^_^) get the
chord that is inside the #{ ... #} music expression.

Nicolas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]