hi I don't know if it's worth reporting this but just in case...
if I bind [nbx] to a `recv' method in a py script, it does not output its value after receiving a bang from the script. attached is debug_nbx.py and debug.pd patch to show the behavior. anyway, thanks for the good work, py/pyext is amazing ;) cheers, _y
# py/pyext - python script objects for PD and MaxMSP # # Copyright (c) 2002-2005 Thomas Grill (g...@grrrr.org) # For information on usage and redistribution, and for a DISCLAIMER OF ALL # WARRANTIES, see the file, "license.txt," in this distribution. # """debug nbx""" try: import pyext except: print "ERROR: This script must be loaded by the PD/Max pyext external" class nbx(pyext._class): """...""" _inlets = 1 _outlets = 0 def __init__(self,*args): """Class constructor""" print "\n\n\n\n\n\ninit\n\n\n\n\n\n" def bind_1(self): print "binding 's_float'" self._bind("s_float", self.recv) print "binding 's_nbx'" self._bind("s_nbx", self.recv) def bang_1(self): print "sending a bang to 'r_float'" self._send("r_float") print "sending a bang to 'r_nbx'" self._send("r_nbx") def recv(self, arg): """receive function""" print arg def __del__(self): """Class destructor""" pass
debug.pd
Description: Binary data
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list