Commit 9e46b7f7 authored by Sudara's avatar Sudara

librosa requires keyword argument for sample rate (sr)

parent fd188ce8
......@@ -163,7 +163,7 @@
"outputs": [],
"source": [
"# See http://musicinformationretrieval.com/stft.html for more details on displaying spectrograms.\n",
"S_brahms = librosa.feature.melspectrogram(x_brahms, fs_brahms)"
"S_brahms = librosa.feature.melspectrogram(x_brahms, sr=fs_brahms)"
]
},
{
......@@ -206,7 +206,7 @@
}
],
"source": [
"librosa.display.specshow(S_log_brahms, fs_brahms, x_axis='time', y_axis='mel')"
"librosa.display.specshow(S_log_brahms, sr=fs_brahms, x_axis='time', y_axis='mel')"
]
},
{
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment