Commit 7c22b3d7 authored by Steve Tjoa's avatar Steve Tjoa

matplotlib inline

parent 3355f49c
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"%matplotlib inline\n",
"import seaborn\n",
"import numpy, scipy, matplotlib.pyplot as plt, librosa, IPython.display, mir_eval, urllib" "import numpy, scipy, matplotlib.pyplot as plt, librosa, IPython.display, mir_eval, urllib"
] ]
}, },
...@@ -103,15 +105,25 @@ ...@@ -103,15 +105,25 @@
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"metadata": { "metadata": {
"collapsed": false "collapsed": true
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"filename = '125_bounce.wav'\n", "filename = 'simple_loop.wav'\n",
"#filename = '125_bounce.wav'\n",
"#filename = 'conga_groove.wav'\n", "#filename = 'conga_groove.wav'\n",
"#filename = '58bpm.wav'\n", "#filename = '58bpm.wav'\n",
"url = 'http://audio.musicinformationretrieval.com/' + filename\n", "url = 'http://audio.musicinformationretrieval.com/' + filename"
"\n", ]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"urllib.urlretrieve?" "urllib.urlretrieve?"
] ]
}, },
...@@ -130,7 +142,7 @@ ...@@ -130,7 +142,7 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"%ls" "%ls *.wav"
] ]
}, },
{ {
...@@ -539,6 +551,7 @@ ...@@ -539,6 +551,7 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"#url = 'http://audio.musicinformationretrieval.com/125_bounce.wav'\n",
"#url = 'http://audio.musicinformationretrieval.com/conga_groove.wav'\n", "#url = 'http://audio.musicinformationretrieval.com/conga_groove.wav'\n",
"#url = 'http://audio.musicinformationretrieval.com/58bpm.wav'" "#url = 'http://audio.musicinformationretrieval.com/58bpm.wav'"
] ]
...@@ -567,7 +580,7 @@ ...@@ -567,7 +580,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython2", "pygments_lexer": "ipython2",
"version": "2.7.6" "version": "2.7.10"
} }
}, },
"nbformat": 4, "nbformat": 4,
......
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