Esempio n. 1
0
	def __init__(self):
		debug("TextProcessor.__init__")
		debug("getpwd=%s" % os.getcwd())
		Processor.__init__(self,passthru=True)
		self.fontname = "poorich.ttf"
		self.fontheight = 80
		self.text = ""
		self.pos = (0,300)
		self.font = glFreeType.font_data(self.fontname,self.fontheight)
		if not self.font:
			debug("Unable to load font %s !!" % self.fontname)
		else:
			debug("Font %s successfully initialized"%self.fontname)

		try:
			oscmon = OscMonitor("127.0.0.1",9876)
			oscmon.setcallback(osccallback,self)
		except:
			debug("Unable to start OscMonitor: %s" % format_exc())
Esempio n. 2
0
    def __init__(self):
        Processor.__init__(self, passthru=True)

        debug("TwoProcessor.__init__")
Esempio n. 3
0
 def __init__(self):
     debug("OneProcessor.__init__")
     Processor.__init__(self, passthru=True)