Is there any way to select large amounts of numbers without making a ridiculously huge select box? If I want to make a random midi sound generator that selects random numbers between 1 and 100 do I really have to make a:
select 1 2 3 4 5 6 7 8 9 10 11 12 ... etc.
-
Numbers messages and whatnot
-
maybe can you make a patch that maybe only does a random 4, then post it? Usually there's a good way to scale things, but you have to look at the bigger patch and see how the whole thing is implemented.
any technology distinguishable from magic
is insufficiently advanced. -
I was hoping for a read command for number boxes
-
I don't understand what you are wanting, I think. can you describe what you want to trigger with the bangs you get out of the select object?
any technology distinguishable from magic
is insufficiently advanced. -
you can use [moses] to split your numbers, so for example, [moses 50] will send 0-49 to the left and 50-99 to the right.
then there is [mod], which divide your number by a modifier and return the 'remainder'
...ie for 0,1,2,3,4,5,6,7,8, [mod 3] will output 0,1,2,0,1,2,0,1,2
...or for 0......40, [mod 10] will output 0...9,0.....9, etc[div] is like mod, but outputs the number of times your number is divided by the modifier..so if you send 47 through [div 10], the output will be 4
then, for more complex conditions, you can use [expr if; ] and set your conditions with that, right click on [expr] to check the help file for how that is done.
-
ok, yeah, like hardoff says.
any technology distinguishable from magic
is insufficiently advanced.