This code generate a midi file where the first and last measure are played "legato" because of the slur.
music = { b( b b b) | d' d' d' d' | c'( c' c' c') }
\score {
\articulate \music
\midi{}
}
Now I would like to rewrite the previous code separating the legato articulation from the music, something like in the following example (that does not work).
music = { b b b b | d' d' d' d' | c' c' c' c' }
dynamics = { s4( s4 s4 s4) | s1 | s4( s4 s4 s4) }
\articulate \new Voice <<\music \dynamics>>
Any suggestion?