Attempting to abstract out the polyphonic voice allocation