Le 23/04/2021 à 10:52, Gianmaria Lari a écrit :
How can I convert a "compound music expression" made of just *one*
"music expression" to a music expression?
So something that "removes" curly brackets.
For example it should convert
{<a b c>}
to
<a b c>
Thanks, g.
If you have it at hand in Scheme:
\version "2.23.
#(define (first-element music)
(first (ly:music-property music 'elements)))
{ #(first-element #{ { c'1 } #}) }
It would be helpful to understand your use
case; this sounds like you may not necessarily
need to unpack a sequential music expression.
Regards,
Jean