Godtone
Joined 17 December 2020
m →Novation Launchpad Pro MK3 isomorphic keyboard code: fix to account for polytouch |
m →Novation Launchpad Pro MK3 isomorphic keyboard code: increase precision in case it matters |
||
| Line 1,482: | Line 1,482: | ||
for i in range(coverage): | for i in range(coverage): | ||
if j!=0 or i!=0: # equiv. if (i,j) != (0,0) (i think) | if j!=0 or i!=0: # equiv. if (i,j) != (0,0) (i think) | ||
print( int(.5 + | print( int(.5 + 10000 * (i*x + j*y)/edo*1200)/10000 ) | ||
# print( str(i*x + j*y)+'\\'+str(edo) ) | # print( str(i*x + j*y)+'\\'+str(edo) ) | ||
print() | print() | ||