Commit d57c7f85 authored by Steve Tjoa's avatar Steve Tjoa

template notebook

parent d41ffadf
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": null,
"metadata": { "metadata": {
"tags": [ "tags": [
"hide_cell" "hide_cell"
...@@ -11,12 +11,14 @@ ...@@ -11,12 +11,14 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"%matplotlib inline\n", "%matplotlib inline\n",
"import warnings\n",
"warnings.filterwarnings(\"ignore\")\n",
"import librosa, librosa.display, numpy, matplotlib.pyplot as plt, IPython.display as ipd" "import librosa, librosa.display, numpy, matplotlib.pyplot as plt, IPython.display as ipd"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": null,
"metadata": { "metadata": {
"tags": [ "tags": [
"hide_cell" "hide_cell"
...@@ -53,25 +55,13 @@ ...@@ -53,25 +55,13 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": null,
"metadata": { "metadata": {
"tags": [ "tags": [
"hide_input" "hide_input"
] ]
}, },
"outputs": [ "outputs": [],
{
"ename": "NameError",
"evalue": "name 'out_signal' is not defined",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m<ipython-input-3-c62fba6d63b1>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mipd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mAudio\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mout_signal\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mrate\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0msr\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[0;31mNameError\u001b[0m: name 'out_signal' is not defined"
]
}
],
"source": [ "source": [
"ipd.Audio(out_signal, rate=sr)" "ipd.Audio(out_signal, rate=sr)"
] ]
......
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