![]() |
![]() ![]() ![]() ![]() ![]()
|
next newest topic | next oldest topic |
Author | Topic: nextChaotic help |
Andrew Member |
![]() ![]() ![]() I'm a little confused- I'm also new to all of this so please go slow in an explanation!: nextChaotic: seed: reset: On p157 of the book we are given this expression: No problem here I think - On each beat at the tempo given by the BPM fader generate a number between -1 and +1 using the Kaos fader as the value for 'a' in the Chaotic formula. The seed for the expression is 0.2. Use the Inject button to inject a random number for 'x'. I think my interpretation is OK. So here is my problem and I think it's a confusion over what seed means in this context- on p.373 the example for 'nextChaotic: seed:' is given as: nextChaotic: !k with I imagine a fader 'k' supplying the value for 'a' -but where is the seed? Surely it should be of the form nextChaotic: !k seed: 0.2 (or whatever value) On a side note- (and this may be relevant to my confusion) why is the seed value for the examples for the Random and RandomExp on p372/373 given as 3413 which lies way outside of (-1,1). Any help is much appreciated. IP: Logged |
Andrew Member |
![]() ![]() ![]() Anyone? IP: Logged |
SSC Administrator |
![]() ![]() ![]() Hi Andrew, If you use nextChaotic: without the seed, it will use a seed of 0.5. If you use the version that has reset:, then you can force it to reset itself to the seed value. In nextChaotic: the seed is literally the first output value (and the output value on reset). The seed value for nextRandom, nextRandExp, and nextNormal should be an unsigned 32-bit integer. In these functions, the seed is not the initial output value, but a number used to seed the internal random number generator. IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() ![]() |
This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.