In these Lily dyads and triads, why do the last chords contain the wrong bass notes?

Why doesn't the last chord in both of the following \ score blocks display the correct note in the bass? In a dyad, the last chord should have D in bass. In a triad, the last chord should have an F on bass. Instead, both chords display the same as the first chord in their respective \ score blocks.

Diads and triads

\version "2.14.2" \book { \header { title = \markup \center-column {"Dyad, Triad Permutations"} arranger = \markup \center-column { "Sean O'Donnell" } } \score { \relative { <bes d>1 <d bes> } } \score { \relative { <bes d f>1 <bes f d> <d bes f> <df bes> <f bes d> <fd bes> } } } 
+4
source share
1 answer

You must specify an octave relative to the current notes. You can do this using a comma (,) (to go lower) and an apostrophe (') (to go higher). So, in the first example regarding a chord, before you need to drop D down an octave (and then bring Bb back). Similarly, in another chord, lower F and return D. See the following code to achieve the desired ...

enter image description here

 \version "2.14.2" \book { \header { title = \markup \center-column {"Dyad, Triad Permutations"} arranger = \markup \center-column { "Sean O'Donnell" } } \score { \relative { <bes d>1 <d, bes'> } } \score { \relative { <bes d f>1 <bes f d> <d bes f> <df bes> <f bes d> <f, d' bes> } } } 

To fully understand how positioning notes works in relative mode, see the Pitches section of the manual here:

http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Simple-notation#Simple-notation

which reads:

The easiest way to enter notes is to use \ relative mode. In this mode, the octave is automatically selected, assuming the next note should always be closest to the previous note, that is, to place the previous note in the octave, which is located in three office spaces.

[...]

By adding (or removing) quotation marks or commas from \ relative c '{commands, we can change the initial octave

[...]

Relative mode may be confusing initially, but this is the easiest way to enter most tunes.

The manual page also shows examples of work code in relative mode.

+4
source

Source: https://habr.com/ru/post/1441159/


All Articles