currently in the notebook spectrogram_generator_pkg , we have to do
all_files = dataset.list_wav_to_process
to take into account subset_files.csv (done in class Spectrogram)
and
all_files = [str(audio_file) for audio_file in dataset.path.joinpath("data","audio", f"{str(dataset.spectro_duration)}_{str(sr_analysis)}").glob("*wav")]
to take into account a reshaping
can you please adapt the notebook so both actions can live together ? besides , why do you have to specify the folder name after reshaping (ie {str(dataset.spectroduration)}{str(sr_analysis)}) in the notebook anyway , it should be processed within the class Spectrogram only no ?
currently in the notebook spectrogram_generator_pkg , we have to do
all_files = dataset.list_wav_to_process
to take into account subset_files.csv (done in class Spectrogram)
and
all_files = [str(audio_file) for audio_file in dataset.path.joinpath("data","audio", f"{str(dataset.spectro_duration)}_{str(sr_analysis)}").glob("*wav")]
to take into account a reshaping
can you please adapt the notebook so both actions can live together ? besides , why do you have to specify the folder name after reshaping (ie {str(dataset.spectroduration)}{str(sr_analysis)}) in the notebook anyway , it should be processed within the class Spectrogram only no ?