< Back to IRCAM Forum

Bug with buffernames when saving mubu as json

Hi,

Aa illustrated in the patch below, when saving whole mubu as json, buffers name are badly stored in the json. Assuming 4 buffers named “one” “two” “three” “four”, the bufferNames key in the json is as follow:

  "bufferNames": [
    "",
    "one",
    "two",
    "three"
  ],

Best,
Julien

<pre><code>
----------begin_max5_patcher----------
689.3ocyVtyaaCCDGeV9SwAszEWAQI+JcJ.cucniMEFTRmSXhDo.IUhMBx28
djT9QRTBbcb.5fMAORcj+9eOjdbTTbgZMZhguA+FhhdbTTj2jyPT+7n3F95x
Ztwus3RUSCJswiCqYw0Vu87D3msnDt0njfPBazfaM.qDVkNAtRdkrna0JT+C
dCZf6vMew.qDZiEDVrADFnnlKuKYqqqERrT0I89Ou2nrqQ0YqQq+1j1askaK
uQHudoFKsAZxyyRRGCrKV3FxXScCSlmjB+o+gDU9Ktp31uxtHdu+Exstm4r8
znQt+F+A0mrD3W76QnoqnC3FuNEepPkke.TYoCC07OclXIv2qEk2AVEXPYEX
uAgZAEQUqfPv1.RJbepfNa9Qv4jyFmR7AxguBSWHKwp4NPQBtLnBMkZQKkXa
fKa0XEtB1P0QChY9aiIahGv7Eod.ym3GxNfyferaZwvSDGOt+2f4wYCqE8FM
TBX0RZizEXI2Z0hhNan7OZmjDEeOpKTFbmJFjwOIwjA7tJg5rHiggrzoePYb
1+OpH0pzvuFekL9flZZxqq8h3xRktsyj718TXui3MawA8TX4yOBwaHQa5fhV
1YjYWmjscUTRDrOnnNNZDgUpN8+N3gzkPOF17omH24mMtemJlPsxkzQrU.lb
p7xtf4GlbpAZ14n5.aJvpCdI.YYsE0Rd8JQMdnGcrnoHOs5RTxKpwm8X6Wrg
219pk0ng2zVi675tUbWzq6DO2lj2p41PQaZpqq7QUM6kI+Gr7hukxGFb1edX
2P4qkaE49hGXebfd8hUH4VAUNueOrvdFLw5XOm7S5bB3QxKoBl9M6OBJ+8Vk
1McwX+TgLL02rlD+6Ea2uOZFy0TVokRM5z9qU75YgD43FUEE9CwCRgI3nizW
a3J6Ms7.G9RnQOM5ufFyYhK
-----------end_max5_patcher-----------
</code></pre>

Hi,
thanks for this clear and effective bug report!
The bug will be fixed in the next release
Best
Riccardo

HI Riccardo,

Great ! Thanks.

Best,
Julien