You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
problems with lines separating octaves width
when changing the resolution 400 x 300
hd 1920 x 1080
4k 3840 x 2160
8k 7680 x 4320
suggestion
make dynamic or responsive lines separating octaves width e.g.
synthviz/main.py
# draw lines separating octaves
if i % 12 == 0:
im_lines[0:(key_start-1), (x0-2):(x0-1)] = [20, 20, 20]
im_lines[0:(key_start-1), (x0-2):(x0-1)]
should be
line_width = 9 # or whatever value from user entry (or you can hard code it, in scale of the picture width)
im_lines[0:(key_start - 1), (x0 - line_width):(x0 - 1) ]
best regards
The text was updated successfully, but these errors were encountered:
problems with lines separating octaves width
when changing the resolution
400 x 300
hd 1920 x 1080
4k 3840 x 2160
8k 7680 x 4320
suggestion
make dynamic or responsive lines separating octaves width
e.g.
synthviz/main.py
im_lines[0:(key_start-1), (x0-2):(x0-1)]
should be
best regards
The text was updated successfully, but these errors were encountered: