| 1234567891011121314151617181920212223 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- from DynLoader import DynLoaderMod as dyn
- from VoicePlay import Voice as speach
- from Stats import Stats
- if __name__ == "__main__":
- print("Start application")
- print("Init Mods")
- mod = dyn("mods/", "on")
- print("Init Stats")
- stats:Stats = Stats.getInstance()
- print("Init Speech")
- speach.getInstance().Say(".")
- mod.execute("PlaySound", "welcome.wav", False)
- mod.execute("PlaySound", "welcome.mp3", False)
- print("Sound playing...")
|