Lyra is a dataset for Greek Traditional and Folk music that includes 1570 pieces, summing in around 80 hours of data. The dataset incorporates YouTube timestamped links for retrieving audio and video, along with rich metadata information with regards to instrumentation, geography and genre, among others.
The mel-spectrograms of the 1570 pieces, that were generated using the parameters:
audio sampling-rate (sr): 16000
length of the FFT window (n_fft): 512
number of samples between successive frames (hop_length): 256
Number of mel filterbanks (n_mels): 128
Minimum frequency (f_min): 0.0
Maximum frequency (f_max): 8000
can be downloaded at: mel-spectrograms.zip
(7.8 GB)
The mel-spectrograms that were used in the dataset introduction paper and were generated with the parameters:
audio sampling-rate (sr): 8000
length of the FFT window (n_fft): 400
number of samples between successive frames (hop_length): 400
Number of mel filterbanks (n_mels): 128
can be downloaded at: mel-spectrograms_initial.zip
(2.1 GB)
Data files in data
-
raw.tsv
- raw file with all metadata -
split/
- training and test set splittraining.tsv
- raw file with all metadata of samples used for the trainingtest.tsv
- raw file with all metadata of the test set samples
-
metadata-information/
- information about metadatagenres_hierarchy.json
- hierarchical relationships between all genresplaces_coordinates.json
- coordinates of each placeplaces_hierarchy.json
- hierarchical relationships of each placevocabulary.json
- vocabulary with the definitions of the terms evident in the dataset
-
mel-spectrograms/
- the mel-spectrograms of all music pieces following the naming convention{id}.npy
Using the trained models for inference
- FFmpeg
- Python 3.8 or later
- Create virtual environment and install requirements
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- Download trained models from here and put them under
models/
directory. - Place an
input.wav
file underinference/
or use a different name and adjustINPUT_FILE
atrun_inference.py
accordingly. - Run:
python inference/run_inference.py
- The inference results will be printed in the terminal.
Please consider citing the following publication when using the dataset:
C. Papaioannou, I. Valiantzas, T. Giannakopoulos, M. Kaliakatsos-Papakostas and A. Potamianos, "A Dataset for Greek Traditional and Folk Music: Lyra", in Proc. of the 23rd Int. Society for Music Information Retrieval Conf., Bengaluru, India, 2022.
- The metadata is licensed under CC BY-NC-SA 4.0.