Quantizer sounds like a doable thing, yep...and if this is DIY, check this one out: https://www.modulargrid.net/e/kassutronics-quantizer Looks like trouble...12 user-definable scales, methods for shifting scales as part of a patch, etc.