This is the repository that accompanies my PhD Mathematical Morphology for Analysis and Generation of Time-Frequency Representations of Music.
They are stored in results/chapter_3
organized by instrument. Each instrument has
input.wav
: the input filesinusoids.wav
: the sinusoidal componenttransient.wav
: the transient componentfiltered_noise.wav
: the stochastic componentoutput.wav
: the output; the sum of the previous three
The repository is organized as follows:
data
: the input data for the scripts, organized in:audio
: the.wav
filesmidi
: the.mid
filesmusicxml
: the.musicxml
filesobjects
: the generic objects in pickle formatscorexml
: the XSD for the ScoreTree object and the corresponding.xml
files.
mmm
: the library itself, separated in piano rolls and spcetrogramsphd
: the folder where the images necessary for the PhD are saved, organized by chapter.results
: some results of the PhD, in particular:chapter_3
: the audio files of each instrument. The audio files are the following:input.wav
: the input filesinusoids.wav
: the sinusoidal componenttransient.wav
: the transient componentfiltered_noise.wav
: the stochastic componentoutput.wav
: the output; the sum of the previous three
chapter_4
: some examples of the output of the compilation of a ScoreXML file into a.mid
file
scripts
: all the scripts used.graphs
: the scripts used for creating graph figures for the PhDintroduction
: the scripts used for creating the images of the introductionpianorolls
: the scripts used for operating on piano rolls;analysis_harmonic_textures.py
: a script corresponding to the figures and computations from the chapter 5, section 1analysis_textures.py
: another script for the same purpose as the precedentcompilation_score_tree.py
: the script for compiling a ScoreTree into a midi file. The name parameter in line 8 serves to refer the name of the file, i.e.m,data/scorexml/[name].xml
dilation_harmonic_textures.py
: a script for generating a figure of the PhDdilation_harmonic_textures_default.py
: another script for the same purpose as the precedentfind_minimal_activations
: the script for finding finimal activations with the method proposed in the PhD (chspter 5, section 2)graph_covering_activations
: a script for generating some images from chapter 5, section 2tonal_graph.py
: the script for generating the tonal graph from chapter 5, section 3
spectrograms
: the scripts for the chapter 3, namely:analysis_synthesis_pipeline.py
: the full pipeline (Mathematical Morphology and STN synthesis) of the chapter 3transient_generation.py
: the script for grnerating an image of chapter 3
tests
: a folder with tests