Added configuration file class

This commit is contained in:
Neal Probert
2021-11-17 12:29:37 -05:00
parent a3bfa9192b
commit 19d85aebfe
2 changed files with 38 additions and 1 deletions

View File

@ -25,7 +25,7 @@ config_file = "vcones.yaml"
# audio stuff
##############################################################################
vc_path = os.path.realpath(__file__)
vc_path = os.path.dirname(os.path.realpath(__file__))
def play_sound(file):
wave_obj = sa.WaveObject.from_wave_file(vc_path + "/" + file)