<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Aug 3, 2013 at 2:57 PM, András Murányi <span dir="ltr"><<a href="mailto:muranyia@gmail.com" target="_blank">muranyia@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Aug 2, 2013 at 9:22 PM, Ivica Ico Bukvic <span dir="ltr"><<a href="mailto:ico@vt.edu" target="_blank">ico@vt.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div>
<div>On 08/02/2013 02:53 PM, András Murányi
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div> What you can do however is to list
of all the data from an array into a
list object and then connect that list
to the preset node. The only trick is
then somehow reloading those back into
the array without causing a loop.</div>
</div>
</blockquote>
<div><br>
</div>
<div>Hmm. Now I'll either take this path,
or... do you have plans on enabling direct
preset saving for tables/arrays in the near
future?<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>So, can you shed some light on your plans...?<br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div> </div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote></div>
I guess I am not sure. It would be an interesting exercise to see
just how (in)efficient it would be to build something in pd-l2ork to
have it fill a list with data and if that doesn't work well (or at
all), then I would look into implementing something for an array.
Speaking of which, if you would be willing to test/implement the
pd-l2ork version, that would be very much appreciated.
spectdelay~-help.pd file already has most of this implemented (as it
uses arrays as parameters for spectdelay's bins) and it would just
require you to automate it a bit.<br>
<br>
Best wishes,<br>
<br>
Ico<br>
</div>
</blockquote><div><br></div></div></div><div>Here you go, an attempt on wrapping the saving and loading of an Array with preset_node.<br></div><div>Issues which I haven't gotten around:<br></div><div>- Dumping the Array to a list needs a bang, and the only way I found to get that automatically was [r arrayname_changed]. Now this is l2ork-only which is OK, but it also bangs only on manual changes (ie "drawing") to the array. (Please correct me if not.) Another possibility is having an inlet to bang.<br>
</div><div>- When tested, it seems that somehow only a single state is saved. No idea why, I may have messed up something.<br><br></div></div></div></div></blockquote><div><br></div><div>Oh no! preset_node doesn't work with [list]. Neither with a message box.<br>
</div><div>What is the object then which can keep a list and works with preset_node?<br></div><div> </div></div>András
</div></div>