< Back to IRCAM Forum

Camu.random bug

Hi,

It seems there’s a problem in the camu.random abstraction, in the ‘take-first’ subpatch. Once the zl.mth get zlcleared, the argument (0) is removed. It then stops outputting. So I guess ‘zlclear’ should then send again the 0 argument. Something like below ?

Cheers,
Julien


----------begin_max5_patcher----------
639.3ocuWtsbaBCDF9Z3oPitlxHINDnuJMc5fwJNJAjXDhTmjIu6UG.W2TvF
rI1WfsVV1e8sZ0J769dvMh8zVH36fe.77d22yyZxXvqerGrtXeYUQq0MHm9a
wlmfAtaon6UVyJ.BTMXUzopnJ0qMTWjgLtBF.fPvO68fs09T5H8s3gmh2Uy3
5mypCt2XSgp7QFe2ujzRkKZXTRHJ.fiyMeEkElD.HjPzgfqCjaFXiDwX7Cee
ykfqExpS.4jDhWJgIHKf4IgwwQnnLbZRRZdDRCJFGat2sgWoNrzFsSfME7cf
2pJqnExSm.lJIPFMIDc1j.AMRRfjeljPzEjDJE00TSg5mxBUrVEP7.ntP9LU
BX7srRZa.3dHstQ858PvCBIv9afw2.fdnMgYrKoJIa2N5gzVEiSKEcb0w7eT
hJZoUKwogXj9SJp+SV.vsCIhDl946De2jIMz5U47VUXs5Q.5B1rLdgB4D8Cx
I1pACYZxitc6OtBJwKkR21guRHsSioQYzd2YihA5bXbm8ZzgqSPwPQ+vNSir
CBp2FRszfuQnluTT6qKWSVujkUmFv+mnDzkctTDhLKhPeUqdSSzhOoseMZUQ
53EIabrs7+zKYYmKF6+KmshNY4PcX+aGA96rYKsUw3EJlfejOlVl.7AmDxs5
Salre9ppLdbkwWsx3yora1cU5PlgNwqfNlVGyaQ7pUJaFJQVoTGYNEGqgPna
Ps.dNBkrJJgmiRn0Po4rOhrRBgVd0fq4XQSyKTYau2VMzs6eRXajjEXGx3tg
1WWFJouvF729FSvBotwtR2UuSZmWv8ot+VIrVnaIw6X8ckzzokzdTBunl11T
3.wdhi+G9+ApdvVm
-----------end_max5_patcher-----------

Hi Julien, thanks for reporting. Your fix works and is in the repo now. Indeed, “first” was rarely used, and the bug didn’t show up in the random tutorial.
Best