< Back to IRCAM Forum

Randomize spat parameters

Hi to everybody I’m quite new to Spat and Max. I have just a question concerning the randomization of spat parameters: is that possible?

I would like to randomize different parameters in Spat.5, such as volume gain and rotation settings. How can I do that?

Thank u very much

Marco

Hi Marco,

Sorry for the late reply.
Well, yes sure it’s possible. The Max objects [random], [urn], [drunk], [decide], etc. can be used to generate random numbers.
Then it’s up to you to use these number to control spat parameters.
Attached a basic example.

Best,
T.

  
----------begin_max5_patcher----------  
1700.3oc6ZszaaiCD9ryuBAg8niq3CIK0S6Vr.8xVfE6dXOjVDPKw3vVYQCJ  
ojzVz+6KeIYYG+fRVNsGRPfdvWyLeyLjyLxe+pI9K3OQK88dq2MdSl78qlLQ  
2jpgI12m3uh7TZNoTOL+UzxRxRp+TSeUzmpzs+lRdsHk9lh5UKnBOzTulV.u  
g7MufMuCUuG0oAjpgqiBZVybVAMkWWnWXrsQdcUNsp5qqoFt0226S1tVSpRu  
mUr7VAMsxzaLblj.PDdV3TujX0KgxqsSQxkrB45okInsQVlVR3K970vH+Miz  
PZ8PApF+wUWotL0QDqf9nbIeFfkyIYKHEK8Oj.p6zAgLHPKdX8KfCIjf8Hj3  
wSHS4qVQkZrckxzbV5W7tmJZsX1if.wQJlGoEj4VUWGAYQ8hE4ztRwIEM39E  
sfAHZU7kKyoGTMwT1oGQKAgAaDNHt4pyZojM.mfrhVQE2RKHV7HXzTf2kykK  
RCstiWTUHoltq+PvH4GT98m5fopEDfnDssZPusUibAETbcI6aFKE4puWvA1N  
XwJhl8hFOm5xbVF0Kbl7+A.kRc.wIiIHv3yGcbbD8bbbdfee.qQb+txTRN0K  
XlWRRxL0cTTvP.IWvG.LTeKH93.TzyAHb7OK.RcrmBW.CCV5gaHvbxwPLe5E  
3.GOvYMQdLhDbBCtbFMgZilnSXyrmnEv+zbpDjhL9JoIyvfEGO6JQCLyi5Mv  
f.+r.F4QDBtxZY3gWYE9nvlnG6ovGd4itJiWKOB7ZSPVUbO9ZZwwhyJQe7KN  
p6ljmY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