Help me dive into JS and fix this Midi controller autoMap?


    Mar 14 2015 | 1:09 am
    This guy made an autoMap system for everything in your pattrstorage & midi controllers. It appears to be plug and play. It works by scripting a ubutton+logic into existance for every pattrstorage client, keeping only those that get mapped. While it was made in max 7, It doesn't seem to use anything exclusive to that; so I am trying to make it work in a m4l & max 6 context. I am going to debug and make this work, but any help would be very appreciated.
    questions* - Are there any m4l specific problems in js? - Should I do this? - Why don't you already have an autoMap system?
    Here is a test synthingy I made