what :
Home > Objects > D > Deal > author : Gary Lee Nelson


returns random integers within a specified range.

All numbers in the range are used before any is repeated. This is similar to the urn object introduced in Max 2.2. A single argument sets the range. If the argument is omitted the default size of 128 is used. The second inlet can also be used to set the range. The range must be at least 1. Anything less causes Deal to set the deck size to 1. Changing the value at the second inlet causes the "deck" to be "shuffled." You can also shuffle the deck by sending a "shuffle" message to inlet 1. A bang at inlet 1 causes output of the next "card." Use Uzi to deal multiple cards.
from the library :
Random Objects
Format : External
Environment : max
Max 4.x / 4.5 / 3.x


4849 objects and 135 libraries within the database Last entries : May 15th, 2020 Last comments : 0 0 visitor and 3612924 members connected RSS
Site under GNU Free Documentation License