Jupyter Notebook that creates music based on a words and the meaning of that word
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
audio
img
.gitignore
LICENSE
README.md
about.ipynb
adtlib.ipynb
alphabetical_index.ipynb
audio_representation.ipynb
autocorrelation.ipynb
basic_feature_extraction.ipynb
basic_mir.ipynb
beat_tracking.ipynb
chroma.ipynb
cross_validation.ipynb
dp.ipynb
dtw.ipynb
dtw_example.ipynb
energy.ipynb
evaluation.ipynb
exercise_genre_recognition.ipynb
feature_sonification.ipynb
fourier_transform.ipynb
genre_recognition.ipynb
get_good_at_ipython.ipynb
hpss.ipynb
index.ipynb
ipython_audio.ipynb
kmeans.ipynb
kmeans_instrument_classification.ipynb
knn.ipynb
knn_instrument_classification.ipynb
lcs.ipynb
lsh_fingerprinting.ipynb
magnitude_scaling.ipynb
mfcc.ipynb
neural_networks.ipynb
nmf.ipynb
nmf_source_separation.ipynb
novelty_functions.ipynb
numpy_basics.ipynb
onset_detection.ipynb
onset_segmentation.ipynb
pca.ipynb
peak_picking.ipynb
pitch_transcription_exercise.ipynb
python_basics.ipynb
rhapsody.ipynb
segmentation.ipynb
sheet_music_representations.ipynb
sox_and_ffmpeg.ipynb
spectral_features.ipynb
stft.ipynb
symbolic_representations.ipynb
tempo_estimation.ipynb
thx_logo_theme.ipynb
tuning_systems.ipynb
video_chroma.ipynb
video_tempo_beat_tracking.ipynb
why_mir.ipynb
zcr.ipynb

README.md

RAPSODIA (stanford-mir app)

Sentiment Analisys music creation app based on the Instructional material for the Music Information Retrieval Workshop at CCRMA, Stanford University, 2014-18.

Registration for the Stanford CCRMA MIR 2018 Workshop is open! This year's esteemed instructors include:

How to Use This Repo

This repository contains Jupyter notebooks related to music information retrieval (MIR). Inside these notebooks are Python code snippets that illustrate basic MIR systems.

The simplest way to use this repository is to (1) browse a read-only version of this repo at musicinformationretrieval.com, and (2) follow along using a blank Jupyter notebook of your own.

Install Python and relevant libraries

  1. If you’re totally new, the simplest solution is to download and install Anaconda for Python 3.x.

  2. Install librosa and ffmpeg.

If these packages are already installed, don't forget to upgrade them before the workshop.

To upgrade, use either pip install --upgrade or conda upgrade depending upon which package installer you used for the respective package.

[2018 March 12] These notebooks reflect the following package versions:

  • numpy 1.14.2
  • scipy 1.0.0
  • matplotlib 2.2.0
  • ipython 6.2.1
  • jupyter 1.0.0
  • librosa 0.6.0
  • scikit-learn 0.19.1
  • pandas 0.22.0

Start the Jupyter Notebook

A majority of our instruction and laboratory work will occur inside the Jupyter notebook. You can think of the Jupyter notebook like the Mathematica or Matlab desktop, except it uses Python and it runs inside your web browser.

  1. Start the Jupyter notebook server on your local machine. For Mac users, at the Terminal:

    your-local-machine:~$ jupyter notebook
    

    For Windows users, open the application "Jupyter Notebook". Alternatively for Windows: open the application "Anaconda Prompt" and type in jupyter notebook.

  2. On your local machine, visit http://localhost:8888 inside a web browser.

  3. To open a new notebook, click on New near the top right. This is your scrap notebook.

    • Immediately rename the notebook by clicking on "Untitled" in the top left, and choosing a different name.
    • Inside a cell, run 1+2. Press <Shift-Enter> on a cell to run that cell. Hopefully you get the output 3.
    • Inside a cell, run import scipy, sklearn, pandas, librosa. Press <Shift-Enter> to run the cell. If that runs without error, congratulations, you have the necessary libraries installed properly.
    • Try executing the content from http://musicinformationretrieval.com inside this blank notebook.
  4. To close the Jupyter notebook,

    • Save the notebook. (Either use keyboard shortcut s, or "File | Save" in the top menu.)
    • Close the browser window.
    • If you opened the notebook from a prompt/shell as indicated in Step 1 above, from that shell, press <Ctrl-C> twice to return to the prompt.

Congratulations, you are now running a Jupyter notebook, and you can get started with the workshop material.

After installing, if something doesn’t work, try closing the terminal or restarting the OS. Sometimes that can reset the necessary configurations.

Contributions

Your contributions are very welcome! You can contribute in two ways:

  1. Submit an issue. Click on "Issues" in the right navigation bar, then "New Issue". Issues can include Python bugs, spelling mistakes, broken links, requests for new content, and more.

  2. Submit changes to source code or documentation. Fork this repo, make edits, then submit a pull request.

This repo is statically hosted using GitHub Pages. Any changes to HTML files in the gh-pages branch will be seen on musicinformationretrieval.com.

To edit musicinformationretrieval.com:

  1. Edit a notebook, e.g.:

    $ jupyter notebook kmeans.ipynb
    
  2. Convert notebook to HTML:

    $ jupyter nbconvert --to html kmeans.ipynb
    
  3. Commit the notebook and the HTML:

    $ git add kmeans.ipynb kmeans.html
    $ git commit
    $ git push
    

    You may need to wait 1-2 minutes before the changes are live on GitHub Pages.