Godtone (talk | contribs)
Novation Launchpad Pro MK3 isomorphic keyboard code: make default output as .scl file when the implied range of notes is too big
Godtone (talk | contribs)
Line 1,449: Line 1,449:
print('x='+str(x)+'\\'+str(edo)+', y='+str(y)+'\\'+str(edo)+' launchpad mapping')
print('x='+str(x)+'\\'+str(edo)+', y='+str(y)+'\\'+str(edo)+' launchpad mapping')
print(coverage*(coverage+1)-1) # account for half buttons potentially being used as distinct notes in the future
print(coverage*(coverage+1)-1) # account for half buttons potentially being used as distinct notes in the future
for j in range(coverage):
for j in range(coverage+1):
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)