sertansenturk/makammusicbrainz: makammusicbrainz v1.3.0
Description
makammusicbrainz
Packages to fetch metadata related to the makam music recordings and works from MusicBrainz
Usage # audio metadata from makammusicbrainz.audiometadata import AudioMetadata audioMetadata = AudioMetadata(get_work_attributes=True, print_warnings=True) audio_meta = audioMetadata.from_musicbrainz(rec_input)
You can either supply recording MBID or recording filepath as the rec_input
# work metadata from makammusicbrainz.workmetadata import WorkMetadata workMetadata = WorkMetadata(print_warnings=True) work_meta = workMetadata.from_musicbrainz(mbid)
Please refer to demo.ipynb for an interactive demo.
Installation
If you want to install makammusicbrainz, it is recommended to install the package and its dependencies into a virtualenv. In the terminal, do the following:
virtualenv env source env/bin/activate python setup.py install
If you want to be able to edit files and have the changes be reflected, then install compmusic like this instead
pip install -e .
Now you can install the rest of the dependencies:
pip install -r requirements Changelog
- Improved warnings
Authors
Sertan Senturk contact@sertansenturk.com
Acknowledgements
We would like to thank Dr. Robert Grafias for allowing us to use his makam music collection in our research (in this repository the recording with MBID: 635530df-8e13-4587-a94d-32f3c1643ca6).
Files
sertansenturk/makammusicbrainz-v1.3.0.zip
Files
(3.9 MB)
Name | Size | Download all |
---|---|---|
md5:b9d246a0b4ac0eab96aa598c1577ce1b
|
3.9 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/sertansenturk/makammusicbrainz/tree/v1.3.0 (URL)