lilypond-user
[Top][All Lists]
Advanced

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

Re: custom chord (Stan Sanderson)


From: Stanton Sanderson
Subject: Re: custom chord (Stan Sanderson)
Date: Thu, 8 Sep 2022 07:04:36 -0500

> 
> Stan, 
> 
> Here is one way to do it.
> 
> 
> \version "2.22.2"
> 
> % Define your chord usage
> % Here, I am interpreting the "sus 4/2", which is an unusual symbol, as 
> replacing the 3rd in a major chord with both the 2nd and 4th degrees, so 1 2 
> 4 5
> myChordSequence = \chordmode { 
>     \set chordChanges = ##t 
>     fis1:1.2.4.5
> }
> 
> % Define your desired chord symbol design
> % here is some formatting that is in the ballpark, but you will probably want 
> to tweak further, based on your font and design goals
> myChordExceptions = {
>     <c d f g>1-\markup { \small " sus" \raise #2.25 { \tiny \center-column { 
> \lower #1.25 { " 4" } " 2" } } }
> }
> 
> % Replace the old chord symbol with your new one
> chordExceptions = #(append (sequential-music-to-chord-exceptions 
> myChordExceptions #t) ignatzekExceptions)
> 
> % Use the new chord symbol
> <<
>     \new ChordNames {
>         \set chordNameExceptions = #chordExceptions
>         \myChordSequence
>     }
>     \new Staff \relative c'' { gis1 }
> >>

Elaine,

Perfect! Thank you for your explanation and solution. It is not only in the 
ballpark, but also right on the money.

Stan




reply via email to

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