Files: b65f2bc3379167b870ef0f2b43321178e28222ed / asanas / intertwingled.py
554 bytesRaw
1 | import time |
2 | import pyglet |
3 | import os |
4 | |
5 | '''These are global variables for the whole kriya-helper ''' |
6 | dir_path = os.path.dirname(os.path.realpath(__file__)) |
7 | |
8 | def beginning(): |
9 | pyglet.resource.path = ['@asanas.sounds'] |
10 | chime = pyglet.resource.media('starting_bell.wav', streaming=False) |
11 | chime.play() |
12 | |
13 | def 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