Fix file load and change samples to ogg
This commit is contained in:
parent
3a3ccb13c8
commit
795cc25b31
|
@ -11,9 +11,8 @@ single_track_types = ["lines"]
|
||||||
|
|
||||||
|
|
||||||
def load_files():
|
def load_files():
|
||||||
files = glob("samples/*.wav")
|
|
||||||
type_names = glob("samples/*/")
|
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
|
return type_files
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue