Hi everyone , first let me say hello! I’m new here and eager to learn. MaxforLive has roped me in
Anyway, I’m dissecting a sequencer and trying to add some random functionality to the pitch right now. What I want to do is make it so when I click a button, 16 random numbers get distributed to each of the 16 steps in the sequencer. I’ve got the random thing working great:
and I can attach it one step of the sequecer. BUT Is there I way I can have my random function fired off 16 times and distributed out to the 16 inlets. I’m trying to avoid making 16 duplicate random patches. Thanks!!
Take a look at [uzi] and [cycle]
----------begin_max5_patcher---------- 608.3oc2X1saaBCE.9Z3ovx2NVE9X.S1c64XpZhe7ZcEwDAFszV028AFXosq IF4nYU4KBQXNB9New9vI94v.bY6QdOF8MzOPAAOGFDnGZZffkyCv6KNV0Tzq CCWNnTsRbz7kjC6ExFtReMxxfhZcjskO7UftF4gBU08B4c+riWolefTBbSbD BlOFudDc6oad6f58284gTOdfOeWvkEx6vnamt5KggSGh1XtL9.J4caMWHIqQ 9qVoRVrWC.96chhlKjkr7krLc5qTSoIbtzTHU3n+lsuhjdwS5Xlr4+eIjZkD xxi8IIjYkDRY49jDXVIgDVlOIgbqj.kk3SRXmUR.X9TgQH1JIPX9TgQfX4aG 7oUCT6ZSfR7II.1MQ.14SRvtUCo.ymjfc0ESlydOQB18BRJP8HGXWmR.3SkE sqkYBwmpJlYYeRetU.+2i41J+J9QM13pGqZ3nS+cQStwtcXXYeTHIKsQQtI8 x6jR14zyjar9iC74WPjOTkv+pR5Uox4oaTvjIuz7LG3itBYc6dTFcqVAtFqj qmeszr9mWoL7j3bK49.iPtFijpKLmjYvHzKt0kQm9dqFRGCtQHe+d2pQcZ72 ps91gtp0G559xhNgaMuWIjEJQq7UAQdSL2Kpq45KGuLxdQ8g1QjWX3LaA6VQ Zr1GhjZBoD2yThIlntmIpIlRcOSfIl.2yDwDSYtmIiK6b+5tclPh4bjxMgTr yQhYBobmiTlAj14bhLVA28HYp.t6+YyT4av8StMU818U.LU6FbecRSktc6aS 1RObtseIXCD41tkHafnqoujwSdI7Obd7cJD -----------end_max5_patcher-----------
wow, perfect. Thanks for this patch.
You’re welcome. BTW, I noticed that it looked like you were trying to get a random between 1 and 64, that’s why I did my random the way I did. However, after looking at it again, I realized that I made a mistake. I should have done [random 64] (instead of 63) since random outputs a number between 0 and "one less than the value of your argument." Thus [random 64] connected to [+ 1] will yield random values between 1 and 64. Sorry for the confusion.