convolution

problems with quartz composer patches... crash with dad files, convolution filters don't work...

pagina223's picture

hi, wanted to see if anyone can enlighten me with my problems about quartz composer: 1. when I load Collada files (.dae) the program shuts down, do not load. other 3d files (.obj, ...) if the load but not rendered ... 2. image filters "convolution" (3 by 3 convolution, ...) do not work, even adding a patch "image crop". I work with mac mini Intel Core i7 4GB 1600MHz DDR3 graphics card Intel HD Graphics 4000 1024MB -The Quartz composer version is 4.6.1 and the operating system is Yosemite. to see if someone can help me. thank you very much !!!

viterbi plugin (Composition by dust)

Author: dust
License: Public Domain
Date: 2011.05.03
Compatibility: 10.5, 10.6
Categories:
Required plugins:
viterbi

this is a viterbi plugin. its basis is the hidden markov model. my intention for this patch is to create phrasal stochastic music based on an observed sequence, in a second order markov chain.

you can see the weighting i'm using in the trelis diagram when you load the example. first you have your hidden states. you set those to most likely known order. lets just use abcd for now.

i put minimal weighting on the state returning back to itself. meaning if i play note A more than likely i'm not going to play note A right after i all ready played it. seeing this is for phrasal music.

a flow chart or trelis diagram of the graph traversal is helpful when deciding on how much probabilities to weight.

next you have your observed sequence. lets call that 1234. if i play in a sequence of 1234 the plugin will output the vertbi predicted path. this is the most probable traversed path. in the case of states abcd with observations 1234 with my weighting the next predicted note will be be the first index of the predicted v path which is c. a sequence of 1143 will produce a different path resulting in a a new predicted state.

at leaste those are my intentions for the viterbi plugin. viterbi is used heavily in convolution codes and is in every cell phone made. you can read about it here. http://en.wikipedia.org/wiki/Viterbi_decoder

hopefully someone may have some interesting use for this. i'm putting together the music part now. here is a basic example with source.