This project is a Max/MSP patch that extends the functionality of a velocity sensitive 4x4 pad controller as a melodic instrument. It should work with any 4x4 MIDI controller with minor configuration of the MIDI note values. If you're unfamiliar with Max/MSP, we have a short introduction we recommend reading first.
Open a Web Browser and navigate to https://github.com/SitStayCreate/DiatonicPads. Download the file 4x4_Tools.maxzip and open the project with Max/MSP. This project was built using Max 7. It probably will work with other versions, but no testing has been done.
Assign the following midi values ascending from bottom left to top right and are in the key of C major from C4 - B5 or the note values 60, 62, 64, 65, 67, 69, 71, 72, 74, 76, 77, 79, 81, 83, 84, 86.
Now connect your controller as you normally would and open the Max patch. Select your controller from the list of MIDI in devices. Also, select your target from the list of MIDI out devices. Now, try changing the settings for the key and the octave. You should notice that the pads change note values based on the settings.