Ensuring a (hand drawn) table/buffer has no repeat values?
So I'm using multislider, listfunnel and peek~ to create a buffer filled with a hand-drawn table.
The idea is to use table interpolation for moving between a large number of parameters, but without having everything move linearly. All the tables are slightly jittery versions of linear/log/quartic curves.
Since I'm using linear interpolation between table values, having repeated values makes my interpolator 'stick' for sections of the sweep.
I can remove duplicates easily enough using zl objects, but is there a way to take repeated values, and move them up or down slightly to as to have no repeated values in the table at all? (while still having exactly the same amount of entries)
I can fill it using a function, but that would remove the jitter from the table.
Here's the patch:
This could be one solution.
But i am not sure if it is what you're searching for in a sweep-kinda context.
Something like that could do the trick, though it seems to be clipping the length of the table, and I can't figure out why.
It can also randomly vary the amount it changes by (+/- 0.05 kind of thing)
This is the kind of sweep I mean.
Never mind, it was the zl objects 256 item limit thing.
Here it is shrunk to 256 entries and with a random amount +/-
Hi,
Nice one, Nicolas.
This was my zl-less approach.
Some real elegant solutions in here. Thanks guys. (I ended up going with one of the first versions, and saving a bunch of buffers to disk to load them up that way).
Just for the fun, another one…