Implementation for quantize (only works when clip is focused in editor).