Max/MSP + js prototype of quantization patch