What I'd like to do is define custom, specific chord voicings in lilypond, and to be able to attach note-durations to them, along the lines of
voicing = < g a c e a > % dom7, with 7th in bass
\new Staff {
% play the whole chord for two quarters, then a half
\voicing4 \voicing4 \voicing2
}
However, this basic approach doesn't work: you can't attach the note durations to the variables.
I'm trying to avoid having to write out all of the notes for all of the instances of using the chords.
Is there any way to achieve this end?