git ssb

1+

Zach! / kriya-helper



Tree: b65f2bc3379167b870ef0f2b43321178e28222ed

Files: b65f2bc3379167b870ef0f2b43321178e28222ed / asanas / intertwingled.py

554 bytesRaw
1import time
2import pyglet
3import os
4
5'''These are global variables for the whole kriya-helper '''
6dir_path = os.path.dirname(os.path.realpath(__file__))
7
8def beginning():
9 pyglet.resource.path = ['@asanas.sounds']
10 chime = pyglet.resource.media('starting_bell.wav', streaming=False)
11 chime.play()
12
13def transition():
14 pyglet.resource.path = ['@asanas.sounds']
15 chime = pyglet.resource.media('kriya_chime.wav', streaming=False)
16 breath = 0
17
18 chime.play()
19 while breath != 1:
20 time.sleep(11.2)
21 breath += 1
22

Built with git-ssb-web