The best solution is probably to use a Scheme function similar to
the one used in the implementation of \partcombine, that looks at
the duration of the notes in the two voices and combines the notes
into chords if they have the same duration and into separate voices
if the durations differ. Maybe
Still having some unresolved trouble with stems for my public domain
hymnal project.
I've attached an excerpt to show you what I'm doing.
The problem is that, in hymnals, notes from different parts share the
same stem (and hence the same stem direction) in most cases, except
when the note duratio