Fix file load and change samples to ogg

This commit is contained in:
Jakob 2019-08-20 12:24:29 +02:00
parent 3a3ccb13c8
commit 795cc25b31
5 changed files with 1 additions and 2 deletions

View File

@ -11,9 +11,8 @@ single_track_types = ["lines"]
def load_files():
files = glob("samples/*.wav")
type_names = glob("samples/*/")
type_files = {c.split("/")[1]: glob(c + "/*.wav") for c in type_names}
type_files = {c.split("/")[1]: glob(c + "/*.ogg") for c in type_names}
return type_files

Binary file not shown.

BIN
samples/background/1.ogg Normal file

Binary file not shown.

Binary file not shown.

BIN
samples/background/2.ogg Normal file

Binary file not shown.