MIDI X-Y controller

mradentz's icon

HI All,

Max Patch
Copy patch and select New From Clipboard in Max.

I recently purchased TouchOSC for iPhone and built this little XY controller. Hope someone will find it useful:

--
mike

camerongraham1's icon

Hi Mike,

I have a Korg nano pad, and am trying to use it's xy pad. I have no idea how to make the controller of yours pick the info up in the same way.

Could you help?

Thanks,

Cameron Graham

mradentz's icon

Hey Cameron!

First of all, thanks for looking & I'm really happy that you actually found this patcher useful!

I'm pretty sure that if you change the "ctlin" objects to the midi cc #'s matching the nanoPAD's output you'll be cool.

I looked at the nanoPAD's midi implementation chart (which I've attached) and it looks like the X value is sent on cc 8 and the Y value is sent on cc 12 sooo... change the "ctlin 10" object to "ctlin 8" and the "ctlin 11" object to "ctlin 12" and it should at least recognize position in the x-y space.

Also, make sure that the nanoPAD is selected in the umenu object. It will populate by clicking the button object above it.

Here's part of the X-Y pad midi params:

| X-Y Pad |
+--------+-------------------------+---------------------------------------+
| (CC Mode) |
+--------+-------------------------+---------------------------------------+
| 7 | X-axis Assign Type | 0~2=No Assign/CC/Pitch Bend |
| +-------------------------+---------------------------------------+
| 8 | X-axis CC Number | 0~127 |
| +-------------------------+---------------------------------------+
| 9 | X-axis Polarity | 0/1=Normal/Reverse |
| +-------------------------+---------------------------------------+
| 10      | Reserved | 0xFF |
| +-------------------------+---------------------------------------+
| 11 | Y-axis Assign Type | 0~2=No Assign/CC/Pitch Bend |
| +-------------------------+---------------------------------------+
| 12 | Y-axis CC Number | 0~127 |
| +-------------------------+---------------------------------------+
| 13 | Y-axis Polarity | 0/1=Normal/Reverse |
| +-------------------------+---------------------------------------+
| 14      | MIDI Channel | 0~16=0~15/Global MIDI Ch. |
| +-------------------------+---------------------------------------+
| 15 | Touch Enable | 0/1=Disable/Enable |
| +-------------------------+---------------------------------------+
| 16 | Touch CC Number | 0~127 |
| +-------------------------+---------------------------------------+
| 17 | Touch Off Value | 0~127 |
| +-------------------------+---------------------------------------+
| 18 | Touch On Value | 0~127 |
| +-------------------------+---------------------------------------+
| 19~20 | Reserved | 0xFF |
+--------+-------------------------+---------------------------------------+

nanoPAD2_MIDIimp.txt
txt