#Summer Research #Sara Smith #This program is written to turn the playing #of the highnote on and off. import pyext class highnoteon(pyext._class): _inlets=1 _outlets=1 notein=0 def float_1(self,n): self.notein = n #split the range of 0-128 into two parts if (self.notein < 64 ): self._outlet(1,0) else: self._outlet(1,1)