Godtone (talk | contribs)
m My Python 3 code: add transpose() function and add note about usage
Godtone (talk | contribs)
m allow forcing MIDI layout by small=True if the user wants to do this
Line 1,469: Line 1,469:
half = args.get('half') or args.get('h') or 40 # how many midi notes to go up from bottomleft before the velocity is halved
half = args.get('half') or args.get('h') or 40 # how many midi notes to go up from bottomleft before the velocity is halved
# these are for if you want or need to keep the colour mapping distinct from the midi notes EG in large EDO subsets
# these are for if you want or need to keep the colour mapping distinct from the midi notes EG in large EDO subsets
large = args.get('large') or max(x*9+y*8,x*8+y*9) > 127 or False
large = args.get('large') or (not args.get('small') and max(x*9+y*8,x*8+y*9) > 127) or False
coverage = 10 # for now probably don't mess with the coverage parameter
coverage = 10 # for now probably don't mess with the coverage parameter
if large:
if large: