def __init__(self,args):

        self.args     = args
        self.nled     = int(args.nled)
        hue_start     = args.huestart
        hue_end       = args.hueend
        hue_values    = [ hue_start + ( (hue_end-hue_start) / float(self.nled) ) * x  for x in range(self.nled)]
        self.texture  = list(chain.from_iterable((hue, 1.0, 1.0) for hue in hue_values))
        self.begin    = 0
        self.end      = 41
        self.source   = AudioSource()
        cu.convert(self.texture,[cu.toRGB])
 def iterate(self):
     msg = iterate_lin(self.hue,self.stepsize,self.nled)
     msg = list(chain.from_iterable((hue, 1.0, 1.0) for hue in msg))
     self.step_hue()
     cu.convert(msg,[cu.toRGB])
     return msg