Some tries with generics on LimitedPolyphonyDurationQuantizer