import time import pyglet '''These are global variables for the whole kriya-helper ''' def beginning(): chime = pyglet.media.load('sounds/starting_bell.wav', streaming=False) chime.play() def transition(): chime = pyglet.media.load('sounds/kriya_chime.wav', streaming=False) breath = 0 chime.play() while breath != 1: time.sleep(11.2) breath += 1