symbtrdataextractor: symbtrdataextractor v2.0.0-alpha.6
Description
Python tools for extracting relevant (meta)data from SymbTr-scores
IntroductionThis repository contains to algorithms to extract metadata, related music knowledge and section information from SymbTr-scores and related information sources.
Currently you can:
- Obtain the makam, usul, form, name and composer of the given SymbTr score
- Extract section boundaries from both the implicit and explicit section information given in the SymbTr scores
- Extract annotated phrase boundaries in the SymbTr scores
- Add user provided segment boundaries in the SymbTr scores
- Analyse the melody and the lyrics of the sections, phrase annotations and user provided segments, and apply semiotic labels
- Query relevant metadata from MusicBrainz, if the MBID is supplied.
- Read the metadata stored in the header of the mu2 file.
If you are using this code for academic purposes please cite the software as:
Usage Extracting (meta)data from the txt-score:Sertan Senturk. (2016). symbtrdataextractor: symbtrdataextractor v2.0.0-alpha.5. Zenodo. 10.5281/zenodo.48421
Important note: For the sake of consistency with the indexing in the SymbTr-txt scores, the output note indices start from 1, not 0! Likewise, segment_note_bound_idx input should also obey to the 1 indexing convention, otherwise the semiotic labels will be wrong.
Extracting metadata stored in the mu2 headers:For an interactive demo please refer to extractsymbtrdata.ipynb
InstallationIf you want to install symbtrmetadataextractor, it is recommended to install symbtrmetadataextractor and dependencies into a virtualenv. In the terminal, do the following:
virtualenv env source env/bin/activate python setup.py installIf you want to be able to edit files and have the changes be reflected, then install the repository like this instead:
pip install -e .Now you can install the rest of the dependencies:
pip install -r requirements Changelog- Froze requirements
Sertan Senturk contact@sertansenturk.com
ReferenceThesis
Files
symbtrdataextractor-v2.0.0-alpha.6.zip
Files
(180.0 kB)
Name | Size | Download all |
---|---|---|
md5:9ea9b476cf99fbbe9565e945fdecf154
|
180.0 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/sertansenturk/symbtrdataextractor/tree/v2.0.0-alpha.6 (URL)