-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
READMEの「Open in Colab」を押下して00_Clone_Repo.ipynbを実行後、00_Rec_Voice.ipynbを実行して録音作業を行ったところ、録音終了時に下記のエラーが発生しました。
librosa.displayのwaveplotはlibrosa 0.9で削除されたメソッドのようですが、意図せず想定よりも新しすぎるバージョンがインストールされてしまっているということでしょうか?
※ waveplotをwaveshowに書き換えれば一応動くようです。これが意図した表示かはわからないですが…
えっ嘘でしょ。
えっうそでしょ。
---終了---
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-12-65ce3032714f> in <cell line: 1>()
----> 1 rec(3, "emotion001", "えっ嘘でしょ。", "えっうそでしょ。")
<ipython-input-10-0d9a847134a7> in rec(sec, filename, text, hira)
72 with open(mytext_dir + filename + ".txt", 'w') as mytext:
73 mytext.write(hira)
---> 74 librosa.display.waveplot(speecht, sr=rate)
75 plt.show()
76 display(Audio(speecht, rate=rate))
AttributeError: module 'librosa.display' has no attribute 'waveplot'
Metadata
Metadata
Assignees
Labels
No labels