Harmonic noteheads in a chord

Revision as of 22:37, 26 October 2025 by Jean Abou Samra (talk | contribs) (Import snippet from LSR)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

If you have a lot of chords including harmonic noteheads, typing \tweak style #'harmonic-mixed may be to long and make the code unreadable. To avoid that, you can define a function with a shorter name (in the code below it is only named \har).

\version "2.24.0"

%% http://lsr.di.unimi.it/LSR/Item?id=485

har = \tweak style #'harmonic-mixed \etc
  
{
 <c' \har c''>2 <c' \har c''>4 <c' \har c''>8 <c' \har c''>
}