Kyma Forum
  Tips & Techniques
  Default random number...

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Default random number...
JackRosete
Member
posted 09 February 2015 04:50         Edit/Delete Message   Reply w/Quote
Hi, I'm using this very simple code: (0.2 s random abs) smooth: 5 s

I've noticed that the code seems to always start with a default 1 when I use the smooth: function. I checked this by pasting into a SoundToGlobalController

When I don't use the smooth: then the first number is random between 0 and 1. What is the smooth: doing to force the fader to start at 1 every time? Or rather, how can I stop this from happening?

Thanks!

IP: Logged

gustl
Member
posted 09 February 2015 11:54         Edit/Delete Message   Reply w/Quote
The defaul initial value is always 1, but you can override this by using initialValue: YourValue at the end of the expression. I don't know if you can put a random generating expression after the initialValue: message to start with a random value eacht time you start the Sound, but I guess so?

IP: Logged

JackRosete
Member
posted 09 February 2015 15:37         Edit/Delete Message   Reply w/Quote
Ah, that explains it. Ok will try this. Thanks!

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c