Difference between revisions of "Help"

From ModWiki
Jump to: navigation, search
(The mod.js Javascript Object)
(The mod.js Javascript Object)
Line 17: Line 17:
 
Once these three files are in their proper places, restart Max.  If you open up a new m4l patch  and right click a blank space, you should be presented with a menu.  Towards the bottom of that menu is a submenu called clippings.  You can paste a new instance of the mod object from here.
 
Once these three files are in their proper places, restart Max.  If you open up a new m4l patch  and right click a blank space, you should be presented with a menu.  Towards the bottom of that menu is a submenu called clippings.  You can paste a new instance of the mod object from here.
  
[File:Clipping_pic.png]
+
[[File:Clipping_pic.png]]

Revision as of 21:15, 10 March 2012

The Monomodular framework has two things at its core that allow it to operate:

The Monomodular Python Scripts

These reside in Live's Application bundle on MacOSX, or in the Program Folder on Windows. They are capable of communicating with other loaded Monomodular compliant control scripts internally via Python. They also contain individual client components that communicate via MXDCore to m4l patches, and the mod.js javascript implementation (see below). As of b993, they also contain a MonoLinkClient, which is a new class that is capable of sending and receiving OSC in monomeserial or serialosc communication protocols to emulate a monome directly, as well as publish its connection information via Bonjour.

The mod.js Javascript Object

The mod.js is a javascript object that connects to the Live API Control Surface controls inside of the Monomodular script in order to communicate directly with the other controller scripts that it has access to. The javascript itself lives inside of a bpatcher, with some other objects that are necessary for it to connect and disconnect when Live changes in and out of edit mode, as well as a menu object for assigning the Python Client class that it's connected to. It should remain in this bpatcher to work properly, and the best way to use it in a new patch is to install it from Max's clippings. If you've installed Monomodular using its installer (from version b993 and forward), it should have been placed there automatically. If not, you can place the files manually:

The file "mod_b993.js" should be somewhere in your Max search path. The installer places it inside of the "aumhaa_blocks" folder.

The file "mod_b933_abstract.maxpat" should be in the same place (or somewhere in your Max search path).

The file "mod_b993.maxpatch" should be in your "/Max5.xx/patches/clippings" folder.

Once these three files are in their proper places, restart Max. If you open up a new m4l patch and right click a blank space, you should be presented with a menu. Towards the bottom of that menu is a submenu called clippings. You can paste a new instance of the mod object from here.

Clipping pic.png