Max for Live Tips & Tricks
Posted: Fri Dec 11, 2009 5:17 pm
I think this needs its own thread outside the main T&T sticky.
It would be nice to build this up for the community.
Here's a simple one:
A great feature in Max is the ability to create Clippings. Clippings are small bits of code that you use frequently enough to not want to have to rebuild every time you need them.
One example for M4L is a toggle between a frequency-driven [phasor~] and a note value-driven [phasor~]. This is something you find in a lot of the Live devices and it can be handy when you're making your own specialized effects that you want to have the ability to lock to Live's transport (or not).
Here's the code for that from the Max AutoPanner building block:
Now to create a clipping out of this you need to make a new patcher in Max, paste that code into the patcher and then save it in the "clippings" folder found in the Max5 application folder (on Macs it's Max5/patches/clippings/M4L.clippings --someone please post the Windows path). You want to save it with a descriptive name so you can easily discern what its function is.
Now whenever you're patching you can right-click the patcher window and choose "Paste From" in the contextual menu. That will take you to the list of clippings (and the subfolder of M4L-specific clippings) where you can choose the one you want. This is a powerful way to save time by keeping bits of oft-used code just a couple of clicks away.
Here's the (shorter) description of Clippings from the manual:
http://www.cycling74.com/docs/max5/vign ... pings.html
It would be nice to build this up for the community.
Here's a simple one:
A great feature in Max is the ability to create Clippings. Clippings are small bits of code that you use frequently enough to not want to have to rebuild every time you need them.
One example for M4L is a toggle between a frequency-driven [phasor~] and a note value-driven [phasor~]. This is something you find in a lot of the Live devices and it can be handy when you're making your own specialized effects that you want to have the ability to lock to Live's transport (or not).
Here's the code for that from the Max AutoPanner building block:
Code: Select all
----------begin_max5_patcher----------
2180.3oc6as0iaaqD94c+UHHTfSKvFeDotX4h1GZQZQeHsuz7VPvBYIZa1HS
5JQ6MIE87a+vqxT1R1R1xWRQCPVIyqyLblONbzv+5wGbmR+Hpz04acdmyCO7
WO9vCxhDE7f92O3tL4io4Ikxl4lRWtDQXtOopig9HSV928J0+LULiRXk3OiD
UB7F4oKFmIaMc5e7J.vzVx5kXRNhImAf0.PRVJG.2en.mja0b5Zlo8lQdUBK
cAlL+4BTJSwQvI97I1IT92.AQ3.hG447dQO96GeT7mmNS99sTmRDxYA8EG1B
jS45oRBAU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alQ0dSgMxP5B4blcJspNs7Axm0FysmSJgflmSmljqy
ep8RuwNmuPGq91RZoSOIAk45r7fwMjpz+pURBteb3nD5rYixSlhx6ahQG0bh
Q6t3yiJ2LWk45x21dOTLmc+2+DI0Nq9TZa0Jtw7yKYMitrR6z8mKP+4gusLa
6PCSQ6IgmJ4E8g69AHZIcru3YgshQ0T+kOWmO2Lc16JknyVp12EI5bazy8Qh
NCtqSz41R0WU5B1iL7cbiHHvA9hhIyn0p6bWn2wyV2RLWQI+LtKLYV2JTa.d
A3v6.uuuv2G9J414KenFwTeAVjQhOX7wPLunWdEKjvfQ9GCIz+P.gdddm8s9
3fHgdCDRn0Ng2EHg00I+2a8g1dWpKTOz0Jy+cccWCBrmK6Q0bYuE20ipc3n8
8Uu4iWrGjTmoIwzANFM4ecoI+tHmfWe4zQoo3qKME2EZZ70klfcQeZ70esC9
knbx65RSdcPeJbxYPS7e72O9+A7l3lAE
-----------end_max5_patcher-----------Now whenever you're patching you can right-click the patcher window and choose "Paste From" in the contextual menu. That will take you to the list of clippings (and the subfolder of M4L-specific clippings) where you can choose the one you want. This is a powerful way to save time by keeping bits of oft-used code just a couple of clicks away.
Here's the (shorter) description of Clippings from the manual:
http://www.cycling74.com/docs/max5/vign ... pings.html