Skip to content
/ saraga Public

The companion repository of Saraga collections, with a companion website, a dump of the dataset, documentation, utility scripts and python notebooks to access and interact with the dataset

License

Notifications You must be signed in to change notification settings

MTG/saraga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saraga

This is the companion repository of the Saraga collections. The repository contains a dump of the data collections (except for the audio and pitch files, which can be downloaded using the provided scripts) and has further detailed documentation on the format and organization of the data, access to the data, Python notebooks and code snippets illustrating different ways to access the data, and ways for community to contribute to the collections. The repository also hosts the companion website for the Saraga collections.

Steps to setup

Clone the repository

Create virtual environment

virtualenv -p python3 env

Activate environment

source env/bin/activate

Install dependencies

pip install -r requirements.txt

Get an API token

You can register and get an API token from : https://dunya.compmusic.upf.edu/

That's it, scripts are ready to use.

Scripts and Notebooks

The following notebooks are available to interact with the collections. The primary purpose of the notebooks is to provide examples to download different data and metadata available in the collections. The notebooks also provide some basic illustrative examples to interact with the data collections for analysis.

Glossary

  • MBID : MusicBrainz identifier for the recording
  • slug : An identifier for a concept (file or metadata)

Tradition slug

It is a machine readable identifier to specify a tradition name that you are analysing.

These are the possible values

Tradition slug
Hindustani dunya-hindustani-cc
Carnatic dunya-carnatic-cc

File slug

It is an identifier for the type of file that we want to be processing

These are the possible values

Name slug type of file
audio recording mp3 audio
pitch pitch annotation
tonic ctonic annotation
sama sama-manual annotation
bpm bpm-manual annotation
tempo tempo-manual annotation
sections sections-manual-p annotation
melodic phrases mphrases-manual annotation
vocal recording (multitrack) multitrack-vocal audio
vocal second channel recording (multitrack) multitrack-vocal-s audio
violin recording (multitrack) multitrack-violin audio
ghatam recording (multitrack) multitrack-ghatam audio
mridangam_left recording (multitrack) multitrack-mridangam-left audio
mridangam_right recording (multitrack) multitrack-mridangam-right audio

Metadata slug

It is an identifier for the metadata (e.g. release, raga, tala etc)

list the slugs for different metadata types in Hindustani and Carnatic tradition:

Metadata Hindustani (slug) Carnatic (slug)
Rāga raags raaga
Tāla taals taala
Form forms form
Laya layas NA
Work works work
Release release concert
Album artist album_artists album_artists

About

The companion repository of Saraga collections, with a companion website, a dump of the dataset, documentation, utility scripts and python notebooks to access and interact with the dataset

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published