[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Quote" Chord Track in another Staff
From: |
David Kastrup |
Subject: |
Re: "Quote" Chord Track in another Staff |
Date: |
Sat, 08 Feb 2020 14:08:06 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Thomas Morley <address@hidden> writes:
> This relies on matching context-names, so you have to care about them manually
>
>> quoteChord = #(define-music-function
>
> No need for 'parser location' in music-functions for 2.19.x, you could
> delete them
>
>> (parser location music)
>> (ly:music?)
>> #{
>> \context ChordNames = "chrds-2"
>> \quoteDuring "chrds" {
>
> I'd use $music instead, refer to the Extending manual for the difference.
> Although I doubt it makes a difference here, I'm used to be a paranoiac ...
>
>> \context Staff = "2" { #music }
>> }
>> #}
>> )
# is pass-through, $ creates a copy. Music that is used exactly once is
fine to pass through.
--
David Kastrup
My replies have a tendency to cause friction. To help mitigating
damage, feel free to forward problematic posts to me adding a subject
like "timeout 1d" (for a suggested timeout of 1 day) or "offensive".