Set value for slide object
Hi board,
This may be a really stupid question, but is it possible to set the value of the [slide] object? Right now, it seems to be 0 on load, but I want to use it to scale something gradually so I'd like it to be 1.
Can't imagine no-one has ever come across this, seems like such a basic thing.
Alternatives welcome, but i'd prefer not to use line because of threading.
On 28 avr. 08, at 12:19, Bas van der Graaff wrote:
> Hi board,
>
> This may be a really stupid question, but is it possible to set the
> value of the [slide] object? Right now, it seems to be 0 on load,
> but I want to use it to scale something gradually so I'd like it to
> be 1.
>
> Can't imagine no-one has ever come across this, seems like such a
> basic thing.
>
> Alternatives welcome, but i'd prefer not to use line because of
> threading.
Did you try the set message?
ej
Yes, it gives me this message:
• error: slide: doesn't understand "set"
On 28 avr. 08, at 14:43, Bas van der Graaff wrote:
> Yes, it gives me this message:
>
> • error: slide: doesn't understand "set"
ah, sorry I must have add that for Max 5. For 4, you might have a look
to my [mxj ej.lslide].
ej
in max 4 you could set the filter coefficient to 1., then send your
new value, then re-set the filter coefficient value back to your
original coeffs. a coefficient of 1. means: don't keep any of the old
values. this is equivalent to no filtering, which is what you do when
you set a new value directly.
hth
/*j
Good solution! Should have thought of that myself,I built a workaround by now.
And good to hear it's added in Max5. Although there's still some objects which use the set message and other which have a right inlet, it's something that can't be missed, of course.