-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Description
Traceback (most recent call last):
File "main.py", line 105, in <module>
audio_output_prediction, sample_rate, min_duration, frame_length, hop_length_frame, n_fft, hop_length_fft)
File "C:\Users\steph\Programs\Speech-enhancement\prediction_denoise.py", line 55, in prediction
librosa.output.write_wav(dir_save_prediction + audio_output_prediction, denoise_long[0, :], sample_rate)
AttributeError: module 'librosa' has no attribute 'output'
replace the following line in your code:
librosa.output.write_wav(dir_save_prediction + audio_output_prediction, denoise_long[0, :], sample_rate)
with this:
import soundfile as sf
sf.write(dir_save_prediction + audio_output_prediction, denoise_long[0, :], sample_rate)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels