lilypond-user
[Top][All Lists]
Advanced

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

Re: Possible feature request for 'q' shorthand or tie syntax


From: David Kastrup
Subject: Re: Possible feature request for 'q' shorthand or tie syntax
Date: Fri, 21 Sep 2012 01:02:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Gilles <address@hidden> writes:

>> av = #(define-music-function (parser location x) (ly:music?)
>>   #{
>>    \changePitch \samePitch { c8 ~ c4 } $x
>>   #})
>
> But of course, for this example, this will work without any added file :-)
>
> av = #(define-music-function (parser location x) (ly:pitch?)
>  #{
>    $x 8 ~ $x 4
>  #})
>
> \new Staff \relative c' {
>    c4. \av es f4
>    fis4. \av fis g4
> }

You noticed yourself that this does not work well with chords, but it
also does not play overly well with \relative if you write \av c' for
example.

-- 
David Kastrup




reply via email to

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