Godtone
Joined 17 December 2020
→Novation Launchpad Pro MK3 isomorphic keyboard code: corrected to be 19 colours |
|||
| Line 1,130: | Line 1,130: | ||
# note that i chose the +0.4 experimentally based on the colour palette that seemed most distinct to me. | # note that i chose the +0.4 experimentally based on the colour palette that seemed most distinct to me. | ||
rb17v2 = [ rb29[round( k/17*29+0.4 )%29] for k in range(17)] | rb17v2 = [ rb29[round( k/17*29+0.4 )%29] for k in range(17)] | ||
rb19 = [ rb29[round( k/19*29+0.4 )%29] for k in range( | rb19 = [ rb29[round( k/19*29+0.4 )%29] for k in range(19)] | ||
def iso(x=5, y=1, note_to_col = lambda n: 1 if n>0 else 0, bottomleftnote=10, vel=102, half=40): | def iso(x=5, y=1, note_to_col = lambda n: 1 if n>0 else 0, bottomleftnote=10, vel=102, half=40): | ||
colmap = note_to_col | colmap = note_to_col | ||