iranroman / musicinformationretrieval.com

Instructional notebooks on music information retrieval.
http://musicinformationretrieval.com
MIT License
1.23k stars 414 forks source link
ipython-notebook jupyter-notebook machine-learning music music-information-retrieval python

musicinformationretrieval.com

Introduction

  1. About This Site (Start here!)
  2. About the book Fundamentals of Music Processing
  3. About the CCRMA Workshop on Music Information Retrieval
  4. What is MIR?
  5. Python Basics and Dependencies
  6. Jupyter Basics
  7. Jupyter Audio Basics
  8. SoX and ffmpeg
  9. NumPy and SciPy Basics

Music Representations

  1. Sheet Music Representations
  2. Symbolic Representations
  3. Audio Representation
  4. Tuning Systems
  5. MIDI Note to Frequency Conversion Table
  6. Understanding Audio Features through Sonification

Signal Analysis and Feature Extraction

  1. Basic Feature Extraction
  2. Segmentation
  3. Energy and RMSE
  4. Zero Crossing Rate
  5. Fourier Transform
  6. Short-time Fourier Transform and Spectrogram
  7. Constant-Q Transform and Chroma
  8. Video: Chroma Features
  9. Magnitude Scaling
  10. Spectral Features
  11. Autocorrelation
  12. Pitch Transcription Exercise

Rhythm, Tempo, and Beat Tracking

  1. Novelty Functions
  2. Peak Picking
  3. Onset Detection
  4. Onset-based Segmentation with Backtracking
  5. Tempo Estimation
  6. Beat Tracking
  7. Video: Tempo and Beat Tracking
  8. Drum Transcription using ADTLib

Machine Learning

  1. K-Means Clustering
  2. Exercise: Unsupervised Instrument Classification using K-Means
  3. Neural Networks
  4. Genre Recognition
  5. Exercise: Genre Recognition

Evaluation

  1. Introduction to mir_eval
  2. Onset Detection
  3. Beat Tracking
  4. Chord Estimation

Music Synchronization

  1. Dynamic Programming
  2. Longest Common Subsequence
  3. Dynamic Time Warping
  4. Dynamic Time Warping Example

Music Structure Analysis

  1. Mel-Frequency Cepstral Coefficients

Content-Based Audio Retrieval

  1. Locality Sensitive Hashing

Musically Informed Audio Decomposition

  1. Principal Component Analysis
  2. Nonnegative Matrix Factorization
  3. NMF Audio Mosaicing
  4. Harmonic-Percussive Source Separation

Just For Fun

  1. Real-time Spectrogram
  2. THX Logo Theme

This repository contains instructional Colab notebooks related to music information retrieval (MIR). Inside these notebooks are Python code snippets that illustrate basic MIR systems. You can actually execute the code from inside the notebook.

Updates

2023 October 09: Hello everyone! I'm Iran R. Roman and I'm honored to be the new administrator of musicinformationretrieval.com. Feel free to reach out and say hi. I would love to hear from you. iran \<at> ccrma \<dot> stanford \<dot> edu

2022 April 22: It's 2022, and Colab seems to be much more popular and usable than it was a few years ago. You can help me migrate musicinformationretrieval.com to Colab. Edit a Colab notebook, and submit a pull request. Ping iran \<at> ccrma \<dot> stanford \<dot> edu to let me know.

Contributions

Your contributions are 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 to your fork, then submit a pull request. gh-pages is the default branch for this repo. Try to follow the style conventions in the existing notebooks. Ping iran \<at> ccrma \<dot> stanford \<dot> edu to let me know you submitted a pull request.