def startLoop(self): pc.setTempo(tempoGuess) pc.setGenre("rock") pc.loop() grammar = Grammar("countdown") grammar.add_rule(Tempo().One()) grammar.add_rule(Tempo().Two()) grammar.add_rule(Tempo().Three()) grammar.add_rule(Tempo().Four()) grammar.unload()