Commit 95ba2811 authored by Steve Tjoa's avatar Steve Tjoa

template notebook

parent e393bb17
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"tags": [
"hide_cell"
]
},
"outputs": [],
"source": [
"%matplotlib inline\n",
"import librosa, librosa.display, numpy, matplotlib.pyplot as plt, IPython.display as ipd"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"tags": [
"hide_cell"
]
},
"outputs": [],
"source": [
"plt.style.use('seaborn-muted')\n",
"plt.rcParams['figure.figsize'] = (14, 5)\n",
"plt.rcParams['axes.grid'] = True\n",
"plt.rcParams['axes.spines.left'] = False\n",
"plt.rcParams['axes.spines.right'] = False\n",
"plt.rcParams['axes.spines.bottom'] = False\n",
"plt.rcParams['axes.spines.top'] = False\n",
"plt.rcParams['axes.xmargin'] = 0\n",
"plt.rcParams['axes.ymargin'] = 0\n",
"plt.rcParams['image.cmap'] = 'gray'\n",
"plt.rcParams['image.interpolation'] = None"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"[← Back to Index](index.html)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Template Page: Title goes here"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"tags": [
"hide_input"
]
},
"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": [
"ipd.Audio(out_signal, rate=sr)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"[&larr; Back to Index](index.html)"
]
}
],
"metadata": {
"celltoolbar": "Tags",
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.4"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
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