Sended parameter resets itself on "save"

May 19, 2010 at 1:35pm

Sended parameter resets itself on "save"

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?

#50452
May 19, 2010 at 2:05pm

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.

#181020
May 19, 2010 at 5:00pm

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

#181021
May 20, 2010 at 9:28am

saving the main patcher might reload the subpatch from disk.

#181022
May 20, 2010 at 10:15am

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

g

#181023
May 20, 2010 at 10:36am

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.

#181024
May 20, 2010 at 11:07am

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

#181025
May 21, 2010 at 11:47am

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. –
#181026

You must be logged in to reply to this topic.