Jump to content

Dotted harmonics: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
Artificial harmonics using <code>\harmonic</code> do not show dots. To override this behavior, set the context property <code>harmonicDots</code>.
Artificial harmonics using <code>\harmonic</code> do not show dots. To override this behavior, set the context property <code>harmonicDots</code>.


<lilypond version="2.24.0">
<lilypond version="2.24">
\relative c''' {
\relative c''' {
   \time 3/4
   \time 3/4

Revision as of 18:51, 16 November 2025

Artificial harmonics using \harmonic do not show dots. To override this behavior, set the context property harmonicDots.

\version "2.24"

\relative c''' {
  \time 3/4
  \key f \major
  \set harmonicDots = ##t
  <bes f'\harmonic>2. ~
  <bes f'\harmonic>4. <a e'\harmonic>8( <gis dis'\harmonic> <g d'\harmonic>)
  <fis cis'\harmonic>2.
  <bes f'\harmonic>2.
}