File size: 2,625 Bytes
2d9747a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Dataset Downloader for URMP, MDB-stem-synth, and MIR1k

This Google Colab notebook provides code to download the URMP, MDB-stem-synth, and MIR1k datasets.

## Setup

First, we will install necessary libraries and set up the environment.

```python
# No specific Python libraries are needed for direct downloads via shell commands.
# We will use shell commands directly in the notebook.
```

## URMP Dataset

The URMP (University of Rochester Multi-Modal Music Performance) dataset is approximately 12.5 GB.

**Source:** [https://labsites.rochester.edu/air/projects/URMP.html](https://labsites.rochester.edu/air/projects/URMP.html)

```bash
# The direct download link for URMP dataset is currently unavailable or requires special access.
# Please visit the official website and follow their instructions for download.
# Source: https://labsites.rochester.edu/air/projects/URMP.html

# If you manage to download the zip file, you can unzip it using:
# unzip URMP_dataset.zip

# Optional: Remove the zip file after extraction to save space
# rm URMP_dataset.zip
```

## MDB-stem-synth Dataset

The MDB-stem-synth dataset is approximately 1.8 GB.

**Source:** [https://zenodo.org/records/1481172](https://zenodo.org/records/1481172)

```bash
# Download the MDB-stem-synth dataset
wget -c https://zenodo.org/record/1481172/files/MDB-stem-synth.tar.gz

# Extract the dataset
tar -xzf MDB-stem-synth.tar.gz

# Optional: Remove the tar.gz file after extraction
# rm MDB-stem-synth.tar.gz
```

## MIR1k Dataset

The MIR1k dataset is designed for singing voice separation.

**Source:** [http://mirlab.org/dataset/public/MIR-1K.rar](http://mirlab.org/dataset/public/MIR-1K.rar)

```bash
# Download the MIR1k dataset
# The MIR1k dataset on Zenodo requires login for download. Please visit the link below and download it manually after logging in.
# Source: https://zenodo.org/records/3532216

# Install unrar to extract .rar files
apt-get update
apt-get install -y unrar

# Extract the dataset
unrar x MIR-1K.rar

# Optional: Remove the rar file after extraction
# rm MIR-1K.rar
```

## Verification

After running the above cells, you should find the extracted datasets in your Colab environment's file system. You can verify their presence using the `ls` command.

```bash
# List contents of the current directory to see downloaded datasets
ls -F

# List contents of the URMP dataset directory (adjust path if needed)
ls -F URMP_dataset/

# List contents of the MDB-stem-synth dataset directory (adjust path if needed)
ls -F MDB-stem-synth/

# List contents of the MIR1k dataset directory (adjust path if needed)
ls -F MIR-1K/
```