Releases: sertansenturk/makammusicbrainz
makammusicbrainz v1.4.1
makammusicbrainz
Packages to fetch metadata related to the makam music recordings and works from MusicBrainz
If you are using makammusicbrainz in your work, please cite the PhD dissertation:
Şentürk, S. (2016). Computational Analysis of Audio Recordings and Music Scores for the Description and Discovery of Ottoman-Turkish Makam Music. PhD thesis, Universitat Pompeu Fabra, Barcelona, Spain.
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
- Made the eyeD3 requirement clear
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).
makammusicbrainz v1.4.0
makammusicbrainz
Packages to fetch metadata related to the makam music recordings and works from MusicBrainz
If you are using makammusicbrainz in your work, please cite the PhD dissertation:
Şentürk, S. (2016). Computational Analysis of Audio Recordings and Music Scores for the Description and Discovery of Ottoman-Turkish Makam Music. PhD thesis, Universitat Pompeu Fabra, Barcelona, Spain.
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
- Added instrumentation/voicing field to audiometadata output
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).
makammusicbrainz v1.3.0
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).
makammusicbrainz v1.2.2
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
- Fixed attribute assignment due to the output changes introduced in
musicbrainzngs v0.6 - Froze the requirement versions.
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).
makammusicbrainz v1.2.1
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
- Fixed mbid input for audio metadata
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).
makammusicbrainz v1.2.0
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 code quality
- Modularized WorkMetadata
- Minor I/O changes
Authors
Sertan Senturk
contact@sertansenturk.com
Reference
Thesis
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).
makammusicbrainz v1.1.0
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 makammetadata and 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
- Refactoring according to PEP8
- Converted code from functional to object-oriented
- Simplified AudioMetadata
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).
makammusicbrainz v1.0
makammusicbrainz
Packages to fetch metadata related to the makam music recordings and works from MusicBrainz
Usage
from makammusicbrainz.audiometadata import getAudioMetadata
audio_meta = getAudioMetadata(mp3file, getWorkAttributes=True)
from makammusicbrainz.workmetadata import getWorkMetadata
work_meta = getWorkMetadata(work_mbid)
Please refer to demo.ipynb for an interactive demo.
Installation
If you want to install makammetadata, it is recommended to install makammetadata and 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
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).