Jump to content

Featured Replies

Posted

Is there any possibility to force a brownian motion to be reflected within a lower and an upper (maybe even changing) limit?

Thanks for suggestions.

Achim

  • Author
14 hours ago, opmo said:

do you mean:

(vector-round 0.0 6.0 (gen-brownian-motion 128))

 

Thats a good start. 

Now, how can I map the brownian motion to a tendency mask?

  • Author
21 hours ago, opmo said:

do you mean:

(vector-round 0.0 6.0 (gen-brownian-motion 128))

 

Is this calculation really reflecting the brownian motion at the limits before a new step is calculated or it is just mapping the result into a specified range?

How would a tendency mask be different to this?

(progn
 (setf bw (gen-brownian-motion 128 :seed 425))
 (setf env1 '(-5.1 -2.3 1.5 -0.8 4.6 10.6))
 (setf env2 '(1.0 1.2 -1.1 2.1 -0.3 -2.5))
 (list-plot (vector-to-envelope2 env1 env2 bw))
 )

 

6 hours ago, erka said:

How would a tendency mask be different to this?

(progn
 (setf bw (gen-brownian-motion 128 :seed 425))
 (setf env1 '(-5.1 -2.3 1.5 -0.8 4.6 10.6))
 (setf env2 '(1.0 1.2 -1.1 2.1 -0.3 -2.5))
 (list-plot (vector-to-envelope2 env1 env2 bw))
 )

 

For me, I think that's perfect !

 

I know many of the OM functions but totally forgot about that one.

 

Thank you for the trick !

 

Best

 

S.

I had another look at it.

Yes , it is a trick . But not what born wanted:

"brownian motion to be reflected within a lower and an upper (maybe even changing) limit"

Vector-round and vector-to-envelope2 almost ignore :amp and :output of gen-brownian-motion.

They just squeeze and move the result.

I understand that born wanted that when a walk goes upward to a limit it returns at the limit but keeps the :amp and :output.

So you have a :amp 4 and you reach 5.0 you don't move above 5.0 but return.

vector-to-envelope2 doesn't do that. But squeezes the :amps after the walk. So I think there is a difference to a tendency mask .

 

@born: Are the solutions offered good enough or not really addressing what you wanted.

 

Create an account or sign in to comment


Copyright © 2014-2025 Opusmodus™ Ltd. All rights reserved.
Product features, specifications, system requirements and availability are subject to change without notice.
Opusmodus, the Opusmodus logo, and other Opusmodus trademarks are either registered trademarks or trademarks of Opusmodus Ltd.
All other trademarks contained herein are the property of their respective owners.

Powered by Invision Community

Important Information

Terms of Use Privacy Policy