Mar 24, 2007 at 6:13am
I’m trying to integrate a python script with max/msp, but I’m still new to max/msp, and I’m not quite sure how to get py/pyext up and running properly.
I’ve downloaded the binaries from http://grrrr.org/ext/py/, unzipped them, and copied py-objectmappings.txt to C:Program FilesCycling ’74MaxMSP 4.6Cycling ’74init
Beyond that, I don’t see any instructions for how to install this patch. When I open up the thread-1.mxb patch that comes with the py/pyext files, I get a warning in the Max window “error: pyext no such object”, which makes me think I’m missing a step.
And, assuming I can get this properly installed, how do I go about running my python script? It’s already written as a non-max/msp script.
Any help would be much appreciated.
Mar 24, 2007 at 8:47am
On 24 Mar 2007, at 07:13, Mike wrote:
BUT as far as i can see, this is only for maxmsp 4.5.
apperently you pass the name of the script to load as the first
Mar 24, 2007 at 8:54am
Mar 24, 2007 at 11:49am
Mar 24, 2007 at 1:53pm
On 24 Mar 2007, at 12:49, Thomas Grill wrote:
> Hi all,
this is not the case with the old py.mxo under max 4.5
Mar 24, 2007 at 4:26pm
the actually recommended procedure is to install the py-
Mar 24, 2007 at 6:53pm
On 24 Mar 2007, at 17:26, Thomas Grill wrote:
> Hi Volker,
that’s what i had done – but only for the max4.5 version…
Mar 24, 2007 at 9:03pm
Thanks for all your help. I’ve now got py/pyext properly installed, and I’ve got the threads.mxb demo up and running.
For simplicity, I’m using a basic “hello world” to get this set up right. It lives in a directory thats’ part of the Max MSP path. All the examples have seen use the pyext object, not py, so I’m not sure how to use it properly.
I don’t want to use python to represent a max object, just to actually run the script, so I’m using the py object.
How do I do this?
Mar 24, 2007 at 10:17pm
# py/pyext – python script objects for PD and MaxMSP
“”"Several functions to show the py script functionality”"”
print “Script initialized”
def numargs(*args): # variable argument list
def addall(*args): # variable argument list
Mar 24, 2007 at 10:26pm
[function args( ->(right) [py module]
[list args( ->(right) [py module.function]
see the help files for more info
You must be logged in to reply to this topic.