storing problem with preset and multislider

peripatitis's icon

Hi
I am using a multislider with 512 sliders in order to peek a buffer
Whenever i try to store this into a preset object i get a message saying that my message is too long.
Is there a way to deal with these or do i need to use another object ?
And if so which would be te appropriate one ?

cheers

Emmanuel Jourdan's icon
Emmanuel Jourdan's icon

On 19 oct. 07, at 00:21, jln wrote:

> I did not know preset has a limit. You can use pattrstorage
> instead. If you really want to use preset, I suppose you could
> exclude your multislider from it and seperate its values between
> smaller ones. I'd go with pattrstorage, though.

Yep, pattrstorage is the way to go.

ej

peripatitis's icon

Thanks guys i'll try pattrstorage to see what happens .

I wasn't aware of there beeing a limit either, i don't think it mentions something in the reference manual.
Perhaps someone could confirm it.

thanks again

G

seejayjames's icon

yes the preset limit is somewhere around 250 elements (not 256 actually, there are some header values in there I think). pattrstorage is the way to go --- if you recall using ints it's just like preset, and if you use floats, there's the interpolation. So you have all the preset functionality plus more... way better.

--CJ