xrnx
xrnx copied to clipboard
Incorrect range for vertical_zoom_factor (sample)
Renoise allows setting this value between 0.0 and 1.999... It was incorrectly specified as 0-1.
(The error message in Renoise is similarly incorrect)
Hi, and sorry for the late response! I just checked and nothing seems wrong. Renoise accepts a 0-1 range. Try setting it to something else and you will get the following error:
std::logic_error: 'invalid vertical_zoom_factor value '2'. valid values are (0 to 1).'
Try setting it to 1.99. Renoise accepts 0-1.999, but not 2... (hence why I wrote "-> [number >= 0.0 < 2.0]")
I think the commit is valid, but maybe you want to fix this in Renoise instead of updating the docs.