Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/k/a/kamaelia-HEAD/Sketches/JT/Jam/library/trunk/Kamaelia/Apps/Jam/Util/MusicTiming.py   kamaelia(Download)
        while 1:
            # Keep running events until the component is supposed to shutdown
            if self.dataReady("event"):
                if self.recv("event") == "Beat":
                    self.updateBeat()
            if self.dataReady("sync"):
        """
        while 1:
            if self.dataReady("sync"):
                timing = self.recv("sync")
                self.__dict__.update(timing)

src/k/a/kamaelia-HEAD/Sketches/JT/Jam/library/trunk/Kamaelia/Apps/Jam/Audio/SineSynth.py   kamaelia(Download)
    def main(self):
        while 1:
            if self.dataReady("event"):
                self.recv("event")
                sample, phase = self.generateSample(self.frequency,

src/k/a/kamaelia-HEAD/Sketches/JT/Jam/library/trunk/Kamaelia/Apps/Jam/Audio/RTOutput.py   kamaelia(Download)
    def main(self):
        while 1:
            if self.dataReady("event"):
                if self.dataReady("inbox"):
                    while not self.io.needWrite() >= self.internalBufferSize: