First time here? Check out the FAQ!
x

nextChaotic: !K

0 votes
60 views
hi,

I am loving the new update, great stuff. Just one short question:

the 1 nextChaotic: !K seed: !K.seed reset: !Reset

reacts strange. when I send a continuous function to !K (eq: 1 repeatingTriangle) it works well, but not with a random trigger function (eq: !Gate nextRandom abs), it seems to stick with the same values.

thank you

cheers from vienna

siegi
asked Jan 8 in Capytalk & Smalltalk by siegmaraigner (Practitioner) (410 points)

1 Answer

0 votes

Hi Siegi,

Have you tried using

!Gate nextChaotic: (!Gate nextRandom abs)

so it is getting the nextChaotic number at the same time as it is selecting a new value for !K?

answered Jan 8 by ssc (Savant) (101,080 points)
I have just tried both again:
it works with:
!Gate nextChaotic: ((1 s tick) nextRandom abs) seed: 0.206 reset: (!Gate triggerEvery: !BtsReset)

but not with:
!Gate nextChaotic: ((!Gate nextRandom abs) seed: 0.206 reset: (!Gate triggerEvery: !BtsReset).

at least I think it is like this, hihi
...