diff --git a/README.md b/README.md index 0f4d192..90d85a0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ `pretty_midi` contains utility function/classes for handling MIDI data, so that it's in a format which is easy to modify and extract information from. -Documentation is available [here](http://craffel.github.io/pretty-midi/). You can also find a Jupyter notebook tutorial [here](https://nbviewer.org/github/craffel/pretty-midi/blob/main/Tutorial.ipynb). +Documentation is available [here](http://craffel.github.io/pretty-midi/). You can also find a Jupyter notebook tutorial [here](https://nbviewer.org/github/craffel/pretty-midi/blob/main/Tutorial.ipynb) (click [here](https://colab.research.google.com/github/craffel/pretty-midi/blob/main/Tutorial.ipynb) to load in Colab). `pretty_midi` is available via [pip](https://pypi.python.org/pypi/pretty_midi) or via the [setup.py](https://github.com/craffel/pretty-midi/blob/master/setup.py) script. In order to synthesize MIDI data using fluidsynth, you need the [fluidsynth](http://www.fluidsynth.org/) program and [pyfluidsynth](https://pypi.python.org/pypi/pyfluidsynth). diff --git a/Tutorial.ipynb b/Tutorial.ipynb index 587f5e8..987e18c 100644 --- a/Tutorial.ipynb +++ b/Tutorial.ipynb @@ -15,6 +15,10 @@ "metadata": {}, "outputs": [], "source": [ + "# Uncomment to install dependecies to run on Colab:\n", + "#!sudo apt-get install fluidsynth\n", + "#!pip install pretty_midi mir_eval pyfluidsynth\n", + "\n", "# For Python2.6 compatibility\n", "from __future__ import print_function\n", "\n",