Jump to content

Dotted harmonics: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
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
Line 13: Line 13:
</lilypond>
</lilypond>


[[Category:Real music]]
[[Category:Tweaks and overrides]]
[[Category:Unfretted strings]]
[[Category:Unfretted strings]]
[[Category:Tweaks and overrides]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Real music]]
[[Category:Snippet]]

Latest revision as of 16:46, 14 December 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.
}