PolyMIDI (#178) Templated voice allocator