Code a Probabilistic Sequencer

rand

Portabilidad

Dado (dice)

Dado (dice)

Dado (dice)

Semillas aleatorias

Escuchemos como suena:

rand

rand

Changing Probabilities

one_in

one_in

rand

Combining Probabilities

Things get really exciting when you combine multiple samples being triggered with different probabilities. For example:

one_in

Again, run the code above and then start changing the probabilities to modify the rhythm. Also, try changing the samples to create an entirely new feel. For example try changing :drum_cymbal_closed to :bass_hit_c for extra bass!

Repeatable Rhythms

rand

one_in

One thing I tend to do with this kind of structure is to remember which seeds sound good and make a note of them. That way I can easily re-create my rhythms in future practice sessions or performances.

Bringing it all together

rand

Elegir (choose)