Closed GameParrot closed 6 months ago
Hi @GameParrot, could you provide the complete traceback?
ValueError Traceback (most recent call last)
<ipython-input-3-2f85af0277f2> in <module>
62 out_name = synth_name.replace(".wav", ".mp3")
63 print(f"Finished: {out_name}")
---> 64 dsp.Audio(out_name)
/usr/local/lib/python3.8/dist-packages/IPython/lib/display.py in __init__(self, data, filename, url, embed, rate, autoplay, normalize, element_id)
112 if self.data is not None and not isinstance(self.data, bytes):
113 if rate is None:
--> 114 raise ValueError("rate must be specified when data is a numpy array or list of audio samples.")
115 self.data = Audio._make_wav(data, rate, normalize)
116
ValueError: rate must be specified when data is a numpy array or list of audio samples.
The colab should work now.
When Using Google Colab, I get "ValueError: rate must be specified when data is a numpy array or list of audio samples." I tried with multiple input audio files and did the Environment Setup. I am using the music-assemble mode.