There seems to be a little incongruity here:
In this valuebox (beatsync lines
) it is not possible to set the value 0 from Renoise. The valid range is from 0 to 512, not from 1 to 512. It is possible to have access from the API6.
Is there a reason why the value 0 is not available? Or is this a small bug (programming oversight)?
Maybe it should be corrected in API6, and really be the range from 1 to 512? It seems more reasonable that the range is 1 to 512.
Related documentation:
Renoise.Song.API.lua:
-- Beat sync.
renoise.song().instruments[].samples[].beat_sync_enabled, _observable --> [boolean]
renoise.song().instruments[].samples[].beat_sync_lines, _observable --> [number, 0-512]
renoise.song().instruments[].samples[].beat_sync_mode, _observable --> [enum = BEAT_SYNC]
[number, 0-512]
change to [number, 1-512]
?