CtrlMarkov Op
This op is deprecated!
It will not receive any updatesRepresents a Markov Chain
Summary (oneliner)
CtrlMarkov represents a Markov Chain where each call to next
will move to the next state. If the next state choice is an array, the next state is chosen randomly with even probability for all of the choices. For a weighted probability of the next choices, pass in an object with state
and probability
attributes. The probabilities will be normalized and then chosen. If no next options are given for the current state, the state will stay there.
Markov Chains can be used for many things, e.g. generating music or visuals.
- Ops.Extension.Deprecated.CtrlMarkov
- Extension Op - Visible to all users
- MIT
- Tone.js (Webaudio Library)
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
No op example found on this server
INPUT PORTS
An object with state values, e.g. { "beginning" : [ "end", "middle"], "middle" : "end" }
Which value to start with (optional), e.g. "beginning"
Sets the output port Next Value
OUTPUT PORTS
The next value in the chain after calling Next