Skip to content

Commit 2e23914

Browse files
committed
-update
1 parent 4d05fd4 commit 2e23914

File tree

115 files changed

+730478
-606275
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+730478
-606275
lines changed

README.md

Lines changed: 27 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
musicinformationretrieval.com
2-
=============================
1+
# musicinformationretrieval.com
32

4-
2021 June 2: I'm sorry that I haven't updated this repository lately. My career focus has drifted away from MIR, sadly. Therefore, please understand that I might not be checking this repo very frequently. However, I'm grateful that many of you still find this repo helpful. I encourage you to raise GitHub issues and participate in community discussions through the issue forums. If you want to submit a pull request, you can email steve at musicinformationretrieval dot com to let me know to check GitHub.
3+
2021 June 2: I'm sorry that I haven't updated this repository lately. My career focus has drifted away from MIR, sadly. Therefore, please understand that I might not be checking this repo very frequently. However, I'm grateful that many of you still find this repo helpful. I encourage you to raise GitHub issues and participate in community discussions through the issue forums. If you want to submit a pull request, you can email steve at musicinformationretrieval dot com to let me know to check GitHub.
54

65
---
76

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

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

12-
Installation
13-
------------
11+
## Installation
1412

1513
1. Download and install [Anaconda for Python 3.x](https://www.anaconda.com/download).
16-
1714
2. Install [librosa](https://librosa.github.io/librosa/install.html) and [ffmpeg](https://librosa.github.io/librosa/install.html#ffmpeg):
1815

1916
conda install -c conda-forge librosa ffmpeg
@@ -24,18 +21,17 @@ Installation
2421

2522
[2018 June 24] These notebooks reflect the following package versions:
2623

27-
- ipython 6.2.1
28-
- joblib 0.11
29-
- jupyter 1.0.0
30-
- librosa 0.6.1
31-
- matplotlib 2.2.0
32-
- numpy 1.14.2
33-
- pandas 0.22.0
34-
- scikit-learn 0.19.1
35-
- scipy 1.0.0
24+
- ipython 6.2.1
25+
- joblib 0.11
26+
- jupyter 1.0.0
27+
- librosa 0.6.1
28+
- matplotlib 2.2.0
29+
- numpy 1.14.2
30+
- pandas 0.22.0
31+
- scikit-learn 0.19.1
32+
- scipy 1.0.0
3633

37-
Usage
38-
-----
34+
## Usage
3935

4036
1. Start the [Jupyter notebook](https://jupyter.org/) server on your local machine. For Mac users, at the Terminal:
4137

@@ -45,40 +41,36 @@ Usage
4541

4642
Jupyter should automatically open a new window in your web browser that resembles a directory tree.
4743

48-
2. To open a new notebook, in the new window of your web browser, click on *New* near the top right to open a new notebook.
44+
2. To open a new notebook, in the new window of your web browser, click on _New_ near the top right to open a new notebook.
4945

50-
- To rename the notebook, click on "Untitled" in the top left, and choose a different name.
51-
- Inside a cell, run `1+2`. Press `<Shift-Enter>` on a cell to run that cell. Hopefully you get the output `3`.
52-
- 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.
53-
- Try executing the content from <https://musicinformationretrieval.com> inside this blank notebook.
46+
- To rename the notebook, click on "Untitled" in the top left, and choose a different name.
47+
- Inside a cell, run `1+2`. Press `<Shift-Enter>` on a cell to run that cell. Hopefully you get the output `3`.
48+
- 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.
49+
- Try executing the content from <https://musicinformationretrieval.com> inside this blank notebook.
5450

5551
3. To close the Jupyter notebook,
5652

57-
- Save the notebook. (Either use keyboard shortcut `s`, or "File | Save" in the top menu.)
58-
- Close the browser window.
59-
- 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.
53+
- Save the notebook. (Either use keyboard shortcut `s`, or "File | Save" in the top menu.)
54+
- Close the browser window.
55+
- 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.
6056

6157
Congratulations, you are now running a Jupyter notebook, and you can get started with the notebooks in this repository.
6258

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

61+
## Troubleshooting
6562

66-
Troubleshooting
67-
---------------
63+
[Issue #729](https://github.com/librosa/librosa/issues/729): `import librosa` causes `TypeError: expected string or buffer`
6864

69-
[Issue #729](https://github.com/librosa/librosa/issues/729): `import librosa` causes `TypeError: expected string or buffer`
65+
- Workaround: downgrade `joblib` to v0.11:
7066

71-
- Workaround: downgrade `joblib` to v0.11:
67+
pip install joblib==0.11
7268

73-
pip install joblib==0.11
74-
75-
76-
Contributions
77-
-------------
69+
## Contributions
7870

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

81-
1. Submit an issue. Click on "[Issues](https://github.com/stevetjoa/musicinformationretrieval.com/issues)" in the right navigation bar, then "New Issue". Issues can include Python bugs, spelling mistakes, broken links, requests for new content, and more.
73+
1. Submit an issue. Click on "[Issues](https://github.com/stevetjoa/musicinformationretrieval.com/issues)" in the right navigation bar, then "New Issue". Issues can include Python bugs, spelling mistakes, broken links, requests for new content, and more.
8274

8375
2. Submit changes to source code or documentation. [Fork this repo](https://help.github.com/articles/fork-a-repo), make edits, then [submit a pull request](https://help.github.com/articles/using-pull-requests).
8476

@@ -101,4 +93,3 @@ To edit musicinformationretrieval.com:
10193
$ git push
10294

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

0 commit comments

Comments
 (0)