Forums > MaxMSP

pattr bug?

August 1, 2012 | 2:26 pm

Hi,
I have a number of bpatchers set up to write their parameters into pattrstorage, located in the main patch. Everything seems to be working fine with the store mechanism – the parameters appear in both the storagewindow and clientwindow. However, when I write the file, I get an empty shell of a json file with just the basic bracketed scripting name of the pattrstorage, and none of the (100s of) parameters get stored.

Is there currently a bug in pattrstorage? I actually have the same thing implemented in another patch with fewer (9) parameters, and it works fine.


August 1, 2012 | 3:23 pm

Update: Attached is a pic of the screens that pattrstorage is seeing. Here is the written output of the file:

{
"pattrstorage" : {
"name" : "MyParams",
"slots" : {

}

}

}

[attachment=200665,4267]

Attachments:
  1. ScreenShot20120801at11.18.12AM.png

August 1, 2012 | 9:04 pm

Hello Eric and welcome,

it seems to don’t first save your preset in a slot (from your screenshot i can see your datas are in slot 0) before you save your file.

p


August 2, 2012 | 2:56 pm

Ah, so slot 0 doesn’t count. Cycling: please put this in the docs for ‘pattrstorage’!


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