Datasets:
metadata
license: cc-by-nc-sa-4.0
tags:
- midi
- dataset
- midi dataset
- music
- music ai
- mir
- gpu search
- gpu midi search
- midi search
- monster
- MIDI
- giant
- MIR
size_categories:
- 1M<n<10M
language:
- en
pretty_name: monstermidi
task_categories:
- audio-classification
Monster MIDI Dataset
Giant searchable raw MIDI dataset for MIR and Music AI purposes
Monster MIDI Dataset GPU Search and Filter
[NEW] Monster GPU/CPU Search and Filter stand-alone Python module with improved matching
Installation
Install requirements
!git clone --depth 1 https://github.com/asigalov61/Monster-MIDI-Dataset
!pip install cupy-cuda12x
!pip install numpy==1.24.4
!pip install huggingface_hub
!pip install hf-transfer
!pip install ipywidgets
!pip install tqdm
Import modules
import os
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
from huggingface_hub import hf_hub_download
%cd ./Monster-MIDI-Dataset
import monster_search_and_filter
%cd ..
Download and unzip Monster MIDI dataset
hf_hub_download(repo_id='projectlosangeles/Monster-MIDI-Dataset',
repo_type='dataset',
filename='Monster-MIDI-Dataset-Ver-1-0-CC-BY-NC-SA.zip',
local_dir='./Monster-MIDI-Dataset/'
)
%cd ./Monster-MIDI-Dataset
!unzip -o Monster-MIDI-Dataset-Ver-1-0-CC-BY-NC-SA.zip > /dev/null
%cd ..
Run the search
sigs_data_path = './Monster-MIDI-Dataset/SIGNATURES_DATA/MONSTER_SIGNATURES_DATA.pickle'
sigs_data = monster_search_and_filter.load_pickle(sigs_data_path)
sigs_dicts = monster_search_and_filter.load_signatures(sigs_data)
X, global_union = monster_search_and_filter.precompute_signatures(sigs_dicts)
monster_search_and_filter.search_and_filter(sigs_dicts, X, global_union)