Commit 563c25c1 authored by Steve Tjoa's avatar Steve Tjoa

peak picking; python basics

parent 1d7c8fe2
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -48,8 +48,19 @@ ...@@ -48,8 +48,19 @@
"For the purposes of this workshop, be sure you understand the following sections:\n", "For the purposes of this workshop, be sure you understand the following sections:\n",
"\n", "\n",
"- Section 3: An Informal Introduction to Python\n", "- Section 3: An Informal Introduction to Python\n",
" - numbers: `int`, `float`\n",
" - strings\n",
" - lists\n",
"- Section 4: More Control Flow Tools\n", "- Section 4: More Control Flow Tools\n",
" - `if` statements\n",
" - `for` statements\n",
" - `range`\n",
" - functions\n",
"- Section 5: Data Structures\n", "- Section 5: Data Structures\n",
" - list comprehensions\n",
" - tuples\n",
" - dictionaries\n",
" - looping techniques\n",
"\n", "\n",
"While the other sections are useful, you can learn them along the way." "While the other sections are useful, you can learn them along the way."
] ]
...@@ -65,16 +76,20 @@ ...@@ -65,16 +76,20 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"First, [make sure you have pip installed](https://pip.pypa.io/en/stable/installing/). pip is the recommended tool for installing Python packages." "To follow the material on this site, you will need to install additional Python packages.\n",
"\n",
"Follow the instructions on the [GitHub repository `README`](https://github.com/stevetjoa/stanford-mir#how-to-use-this-repo).\n",
"\n",
"1. If you’re totally new, the simplest solution is to download and install [Anaconda for Python 2 (2.7)](https://www.continuum.io/downloads), not Python 3. \n",
" \n",
"2. Install [librosa](https://librosa.github.io/librosa/install.html) and [ffmpeg](https://librosa.github.io/librosa/install.html#ffmpeg)."
] ]
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"To use the notebooks, you will need to install a few Python packages:\n", "You will also probably want to [install pip](https://pip.pypa.io/en/stable/installing/). pip is the recommended tool for installing most other Python packages."
"\n",
" $ pip install --upgrade numpy scipy matplotlib ipython pandas sklearn librosa seaborn mir_eval ipywidgets"
] ]
}, },
{ {
...@@ -118,9 +133,9 @@ ...@@ -118,9 +133,9 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython2", "pygments_lexer": "ipython2",
"version": "2.7.10" "version": "2.7.13"
} }
}, },
"nbformat": 4, "nbformat": 4,
"nbformat_minor": 0 "nbformat_minor": 1
} }
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