QUANT, a note quantizer with many scales for GRAINS