Commit dea3c78a authored by Anthony Larcher's avatar Anthony Larcher
Browse files

debug noise

parent 8c3cd7a9
......@@ -89,8 +89,8 @@ class AddNoise(object):
# accumulate enough noise to cover duration of original waveform
noises = []
left = original_duration
while left > 0:
while left > 0:
# select noise file at random
file = random.choice(self.noises)
noise_signal, fs = soundfile.read(self.noise_root_path + "/" + file.file_id + ".wav")
......
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