2021-11-13
Another quantizer

Published as pre-release. 2021.11.12.0
Made another quantizer, it quantizes it’s input value to a value set between the lo and hi values.
Values to be set are :
2.0 / 192.0, // 1/96 - 0
3.0 / 192.0, // 1/64 - 1
4.0 / 192.0, // 1/48 - 2
6.0 / 192.0, // 1/32 - 3
8.0 / 192.0, // 1/24 - 4
12.0 / 192.0, // 1/16 - 5
16.0 / 192.0, // 1/12 - 6
24.0 / 192.0, // 1/8 - 7
32.0 / 192.0, // 1/6 - 9
48.0 / 192.0, // 1/4 - 9
64.0 / 192.0, // 1/3 - 10
96.0 / 192.0, // 1/2 - 11
192.0 / 192.0 // 1/1 - 12
When the lo value is larger than the hi value the range is inverted, just as the inv output presents an inverted range.
The chg ouput will fire a pulse whenver the ouput changes.