Skip to content

Commit

Permalink
Fixed spectrogram checking on librosa 0.10.x (#2899)
Browse files Browse the repository at this point in the history
  • Loading branch information
T145 authored Sep 4, 2023
1 parent b3b1555 commit cdc971f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions notebooks/dataset_analysis/CheckSpectrograms.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@
" wav_gen = AP.inv_spectrogram(spec)\n",
" wavs.append(wav_gen)\n",
" plt.subplot(len(values), 2, 2*idx + 2)\n",
" display.waveplot(wav, alpha=0.5)\n",
" display.waveplot(wav_gen, alpha=0.25)\n",
" display.waveshow(wav, alpha=0.5)\n",
" display.waveshow(wav_gen, alpha=0.25)\n",
" plt.title(\"{}={}\".format(attribute, val))\n",
" plt.tight_layout()\n",
" \n",
Expand Down Expand Up @@ -288,7 +288,7 @@
},
"outputs": [],
"source": [
"compare_values(\"ref_level_db\", [2, 5, 10, 15, 20, 25, 30, 35, 40, 1000])"
"compare_values(\"ref_level_db\", [2, 5, 10, 15, 20, 25, 30, 35, 40])"
]
}
],
Expand Down

0 comments on commit cdc971f

Please sign in to comment.