More robust quantization, including tuplets