wiqid / repelzen

modules for vcv rack
GNU General Public License v3.0
27 stars 5 forks source link

Re-Win Quantize UP errors #12

Open PaulPomeroy opened 5 years ago

PaulPomeroy commented 5 years ago

For a newly initialized RE-WIN with Quantization Mode set to UP, sending in "notes" using IMPROMPTU's TWELVE-KEY from the 4th octave (C4-B4) all quantize as expected except for G4 (392.00Hz) which is quantized to G#4 (415.30Hz). I'm guessing there's some kind of round-off discrepancy and note that some online sources show G4 as 392.00Hz while at least one (Wikipedia) shows it as 391.995Hz. As I recall the rules for rounding off from a thousandth to a hundredth, 391.995 should round up to 392.00 (whereas 391.994 would round off to 391.99).

I also checked the G note in other octaves. It appears fine from G3 down but is off from G4 up. It also appears that as the octaves go up above 4 there are many more notes that are getting quantized up a half step. I didn't check but suspect there are similar rounding discrepancies.