User Tools

Site Tools


compositional_hierarchical_model_visualization

**This is an old revision of the document!** ----

A PCRE internal error occured. This might be caused by a faulty plugin

The goal of this hack was to update existing visualization of compositional hierarchical model for spectral input data and provide some sort of visualization for symbolic input data. In theory, we wanted a model which works like this: {{:abstractrepresentation.png?nolink&300|}} There are two previous visualizations of the compositional hierarchical model. The original visualization might be good enough for the development, but lacks flexibility and responsiveness (its completely drawn with XAML components and GraphSharp Library). There's also another problem of this representation. Activation of each node is shown in jet colormap. Each node can have multiple activations which is not shown by this visualization (only the strongest activation is shown). {{:original_visualization.png?nolink&300|}} Thus, a second visualization was created for the spectral model some months ago (later extensions were put on a TODO list with no priority whatsoever). The rose pedals indicate the activations (magnitude equals to the size of the pedal) and their location in spectrum (clockwise). The first goal of this hack was to fix some graphic issues with the visualization, causing the application to consume too much memory. The second goal was to provide additional visualizations of connecting nodes across layers. {{:2representation.png?nolink&300|}} Besides the unvisible optimization issues resolved, the visualization now outputs the subtree of each node (marked blue in the Figure above). The third (but unfortunately unfinished) hack was to provide a visualization of symbolic data. Eventhough the XNA works great and all, the framework is no longer supported (and it only compiles for the x86 platform). Thus, I started working on a JavaScript prototype (using d3.js library) for visualizing the symbolic data. In theory, it should look like this (abstraction): {{:symbolicrepresentation.png?nolink&300|}} Unfortunately, this hack took more time of transforming the data than actually producing the results. Nevertheless, a (really abstract and simple) prototype has come to life :) {{:chmprototype.png?nolink&300|}} The black dots represent the MIDI note onsets, while the red squares represent the patterns. The patterns only represent the location and the length of pattern. For each layer of nodes in the model, a new "row" of patterns is formed (there are two layers shown in the Figure above). This hack still needs A LOT of work to become actually useful. Planned features are the following: observing occurrences by selecting a part, a layer, a subtree (composition of parts); developing a 3D visualization (and make it turnable); playing the selected patterns, and others.

compositional_hierarchical_model_visualization.1414313283.txt.gz ยท Last modified: 2014/10/26 04:48 by matevz