This could be used to assign midi notes to keys either for producing files or performing, using some other input to handle velocities etc. [I expect to use a joystick for volume, tempo -- and to add a smaller table to associate these numbers (mod 7) with whichever scale I'm using at the moment-- with joystick buttons to modulate in real time...]
ie You can use any arrangement of keys you find useful, not necessarily chromatic, not necessarily linear!
If the subpatch doesn't load, please ask!
keymapw.pd