hsercanatli / symbtrsynthesis Goto Github PK
View Code? Open in Web Editor NEWThe implementations of an adaptive tuning method and a synthesizer for SymbTr scores in MusicXML format.
License: GNU Affero General Public License v3.0
The implementations of an adaptive tuning method and a synthesizer for SymbTr scores in MusicXML format.
License: GNU Affero General Public License v3.0
Choose the licence.
Currently the code only outputs audio file. We should also have a MIDI output in the future (whenever Sercan has time)
Generate note onsets for the synthesized audio
Check musicxml reader, also try the one in lilypond converter
optimize the peak detection algorithm parameters.
A demo script would be nice so anybody can use it easily.
I suggest using https://jupyter.org/ (successor ipython notebook) since it´s interactive.
Write the details
Some of the scores give an error in Dunya:
http://dunya.compmusic.upf.edu/document/manager/collection/makam-symbtr/e25b247d-bb79-4c40-999a-15c822f15a68/75
http://dunya.compmusic.upf.edu/document/manager/collection/makam-symbtr/86e85142-3964-4070-a1a6-59a6606bec26/75
http://dunya.compmusic.upf.edu/document/manager/collection/makam-symbtr/90516943-fb05-4b31-9133-fbbd63dda0e0/75
The error message is:
Traceback (most recent call last):
File "/srv/dunya/env/src/pycompmusic/compmusic/extractors/__init__.py", line 137, in process_document
return self.run(musicbrainzid, fname)
File "/srv/dunya/env/src/pycompmusic/compmusic/extractors/makam/scoresynthesis.py", line 65, in run
bpm, measures, tnc_sym, symbtr_slug, mbid)
File "/srv/dunya/env/src/pycompmusic/compmusic/extractors/makam/scoresynthesis.py", line 81, in synth
tonic_sym=tnc_sym, synth_type='karplus', verbose=True)
File "/srv/dunya/env/local/lib/python2.7/site-packages/symbtrsynthesis/adaptivesynthesizer.py", line 100, in synth_from_tuning
tonic_sym)
File "/srv/dunya/env/local/lib/python2.7/site-packages/symbtrsynthesis/adaptivesynthesizer.py", line 123, in _replace_tuning
theo_int = interval_dict[note_sym] - interval_dict[tnc_sym]
KeyError: None
It seems the note_sym
somehow becomes None
in some cases.
It is more informative and easier to explain acc. to descriptions written in the FMA paper
It will simplify the code greatly by using the note_model repository to find the notes in adaptive tuning
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.