Forums > MaxMSP

Reset to 0 on save

March 16, 2010 | 5:22 pm

Hi,

I have a small patch here where certain number boxes reset to 0. on every second save.
What am I doing wrong?

It seems to be related to a [send] object I am using, but I can’t narrow it down. I’m using a slider to send signals. When I move the slider to set a value. The receiving box takes the number and stores it. Now when I save everything’s fine. As soon as i hit save a second time, the box resets itself to 0.

Why is that annoying?
Because I’m working on another part of the patch where I need that sliders value.
I save everything’s fine, as soon as I make my second change and save everything is being reset.

Thankful for any help.


March 16, 2010 | 5:49 pm

I think I got the problem. I’m using two slider boxes, which are connected to each other. The first one is for setting a "fine value" the second one a "gross value".
I assumed connecting both is a good idea, because when changing the fine value, the gross value should follow these changes.


March 16, 2010 | 7:07 pm

have a look at the pattr family: pattrstorage, autopattr, pattrforward etc. it can help a lot with stuff like this.


March 16, 2010 | 8:05 pm

Ok, thanks a lot.


Viewing 4 posts - 1 through 4 (of 4 total)