Brown

Random walk CV generator

(6 Votes)
1.1 (Updated 7 years ago)
1.3MB
December 07, 2016
Reaktor 6

DESCRIPTION

Brown performs a random walk. Each time it receives a positive gate it outputs a voltage shifted from the previous voltage by a random step as dictated by the Bias and Spread knobs. If the output hits -1 or 1, the voltage resets to 0 and a gate is sent to either the Roll- or Roll+ outputs accordingly.


-------

This is my first block! Please let me know how to improve it.

----
updated Nov 8 2017. Min and Max have been replaced by Bias and Spread, a more musically useful way of expressing the same control capabilities. Also, things have been improved under the hood, thanks to the keen advice of Emanuele Maraschini.

COMMENTS  (7)

Timur Kuyanov
3 years ago
Hi, just downloaded the block, and on mac os at least, it doesn't show the panel except of the 'header', the part where the name of the module is...Would be great if u could check. And how about converting it to be a rack-ready(front panel patching)? Thanks!
Grant Partridge
7 years ago
Thanks so much. This is great advice. I look forward to revising this block and the others to incorporate your suggestions.
E.M.
7 years ago
Hey Grant, I like the concept of your block! You might want to address these issues: - It's better to rectify the roll- output! Negative gates are rarely useful, since gate processors expect a signal that goes from 0 to a positive value - Blocks that use the pseudo-random algorithm should always have a unique seed, otherwise multiple instances of the same block will generate the same ramdom sequence. This probably is not crucial in this case, but it's a good practice to implement the seeding mechanism anyway. Just copy it from template process macro found in the blocks framework download - Always resolve feedback loops! See the orange wires? Just move the first Write module at the end of the OBC chain and they return to normal. This improves the readibility of the code a lot. Orange wires, in more complex design, usually mean troubles - You can visually simplify the various "latch & operator" combinations by using the standard library "x + a", "x mul a", ecc
Jonathan Tremblay
7 years ago
This is very good stuff, especially for generative peices.
Grant Partridge
8 years ago
It should be fixed now! Sorry about that.
Paule
8 years ago
The first went away. No double post anymore. This one is error 404.
Paule
8 years ago
Is it a double post?
now