That has an awkward look. I'd rather use
```
\version "2.25.6"
parts = {
{c'}
{d'}
{e'}
{f'}
}
group =
#(define-music-function
(parts) (ly:music?)
#{\new StaffGroup << #@(ly:music-property parts 'elements) >>#})
\group \parts
```
Or maybe even:
\version "2.25.6"
parts = {
{ c' }
{ d' }
{ e' }
{ f' }
}
group = #
(define-music-function (parts) (ly:music?)
#{
\new StaffGroup
$(make-music 'SimultaneousMusic parts)
#})
\group \parts
? But I'm surprised (a bit) that I need $ here - the \new commands still
puzzle me sometimes.
Lukas