Beispiel #1
0
def graphsProcess(s):
    # clear screen
    surface.fill((0, 0, 0))
    # draw a decaying fft differential and the beats in the full
    # pygame window.
    graphsGraphs([barGraph(s.avg12rel / 10), boopGraph(s.beats), boopGraph(s.sustain)])(
        surface, (0, 0) + SCREEN_DIMENSIONS
    )
    # affect the window
    display.update()
def graphsProcess(s):
    # clear screen
    surface.fill((0, 0, 0))
    # draw a decaying fft differential and the beats in the full
    # pygame window.
    graphsGraphs(
        [barGraph(s.avg12rel / 10),
         boopGraph(s.beats),
         boopGraph(s.sustain)])(surface, (0, 0) + SCREEN_DIMENSIONS)
    # affect the window
    display.update()
Beispiel #3
0
 def graphOutput(self, signal):
     return barGraph(self.truncate(signal.ledwall) / 255.0)
Beispiel #4
0
 def graphOutput(self, signal):
     return barGraph(self.truncate(signal.ledwall) / 255.0)