Commit 136151b1 authored by Anthony Larcher's avatar Anthony Larcher
Browse files

fix load wav

parent 39a1d2c0
......@@ -482,7 +482,8 @@ class SideSet(Dataset):
sig, _ = soundfile.read(f"{self.data_path}/{self.sessions.iloc[index]['file_id']}{self.data_file_extension}",
start=start_frame,
stop=stop_frame
stop=stop_frame,
dtype="int16"
)
sig += 0.0001 * numpy.random.randn(sig.shape[0])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment