Sequence algorithm
Does anyone have an example of an algorithm that produces sequences?
Thanks
Does anyone have an example of an algorithm that produces sequences?
Thanks
?
Thanks. But it should be a fixed sequence. So im able to tweak it with two or more numbers
What do You mean by fixed ?
length ? or range ?
I think I mean a sequence that has a pattern. No randomness
If You want all possible combinations of range and length,
than just use uzi and hit something similar to pass cracker.
That will leave You with large amount of lists - patterns
without any randomness.
I mean something that produces all possible combinations.
Like if You decide to have sequence length of 4, and possible range between 0 and 100,
than one woul start with 0 0 0 0, 1 0 0 0, 2 0 0 0, 3 0 0 0, and so on till
100 100 100 100.
And than You select one of that milion produced sequences.
joking aside, please be more specific about wanted result. Making sequence(r)s is a basic "piece-of-cake" activity in Max.
This could be a starting point:
If you want to dig into something more elaborate check the book by Gregory Taylor: https://cycling74.com/products/books
https://s3.amazonaws.com/cycling74-books/StepbyStep_Patches.zip
I guess the length and range could be whatever, but how do I make a "seed"?
You can choose fx a length of 6 and a range of 4 and then it could go like 1, 3, 2, 4, 2, 3
I just miss the sequence
random each step
randomly choose n out of 16
randomly choose 3 out of 16, but only within the range of 1-12
randomly choose 3 out of 16, but with other than a uniform distribution
every 4th active, others out
every 3rd inactive, others active
convert decimal numbers to binary
read from random coll / presets
classic euclidian
1st active, then 1 rest, then 2 active, then 2 rests, then 3 active ...
invertation of the current status
copy from another sequencer
...
and that is only for 0/1 sequences.
for int or floats you can find thousands on the net. literally every simple arithmetic operation such as "n1=n0+5, %16, repeat 3 times" will produce more or less useful result for graphics or music.