Hi David,

Am 08.08.23 um 15:26 schrieb David Kastrup:
As a side remark: In order to put music into a RhythmicStaff, one
doesn't even have to remove the pitches, they will just be
ignored. But I noticed yesterday that LilyPond does not behave very
well with chords in that situation:

\version "2.24.0"

mus = { c' d' <e' g' b'>4. f'8 }

<<
   \new RhythmicStaff \mus
   \new Staff \mus
I'm not sure whether that should be called a bug: one would have to
think a bit about the most natural way to deal with chords here.
\new RhythmicStaff #(event-chord-reduce (music-clone mus))

Yes, sure, that's what I did in my code for Alasdair. But I was more wondering whether or not RhythmicStaves (RhythmicStaff's?) should do this automatically.

By the way, I didn't know about music-clone. What's its advantage over ly:music-deep-copy?

Lukas


Reply via email to