Forums > MaxMSP

Sended parameter resets itself on "save"

May 19, 2010 | 1:35 pm

Hi,

I got a weird problem. In my main patch I am sending a float number using a slider object.
In subpatch that value is used to do something. It works just fine. Whenever I hit save, though, the slider stays where it is, but the value sent out resets itself first to 0 and then 100.

What’s wrong here?


May 19, 2010 | 2:05 pm

This is really weird. It is just this one sender/receiver thing. Here are some things I’ve tried:

* Renaming it
* Tried to use a new sender object
* Removing all cables: This seems to be working, but when I create a breakpoint on the incoming value. Hit save the debugger doesn’t show me any change, although the received value IS changed.


May 19, 2010 | 5:00 pm

Without seeing your patch it’s hard to give advice.


May 20, 2010 | 9:28 am

saving the main patcher might reload the subpatch from disk.


May 20, 2010 | 10:15 am

do you use any pattr object ?
seeing your patch could really help.

g


May 20, 2010 | 10:36 am

I did use pattr, but haven’t it anymore in my patch.

I try to upload the small, conflict causing part. Just give me a couple of minutes…
Then just paste the text here, right? No extra meta-tags to make it auto-format.


May 20, 2010 | 11:07 am

From the edit menu choose ‘Copy Compressed’ to paste it here.


May 21, 2010 | 11:47 am

Thanks!
I removed everything from my patch and copied it into a new patch. Unfortunately it seems to work just fine in Max, but not in Max for Live.
Are there any message Live sends out to reset some parameters or does Live default a certain value?

Just in case…I’ve uploaded the patch as a zip (as both Max and Max for Live patch)

– Pasted Max Patch, click to expand. –

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