Fixed syntax on micmon
This commit is contained in:
parent
4b2507a710
commit
9c1cc13e51
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ for audio_dir in audio_dirs:
|
|||
dataset_file = os.path.join(datasets_dir, os.path.basename(audio_dir.path) + '.npz')
|
||||
print(f'Processing audio sample {audio_dir.path}')
|
||||
|
||||
with AudioFile(audio_dir) as reader, \
|
||||
with AudioFile(audio_dir.audio_file, audio_dir.labels_file) as reader, \
|
||||
DatasetWriter(dataset_file,
|
||||
low_freq=cutoff_frequencies[0],
|
||||
high_freq=cutoff_frequencies[1]) as writer:
|
||||
|
|
Loading…
Reference in a new issue