<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1451684899736_4103">Hi katja,</div><div id="yui_3_16_0_1_1451684899736_4078">Thanks!  I'll have a look at your revisions.</div><div id="yui_3_16_0_1_1451684899736_4084"><br></div><div id="yui_3_16_0_1_1451684899736_4152" dir="ltr">"tabview" sounds like a decent name, as long as it isn't used anywhere else <br></div><div id="yui_3_16_0_1_1451684899736_4165" dir="ltr">in Pd-land.  Just an fyi-- I gutted all the arrayviewlist functionality for the GUI port of Pd-l2ork.</div><div id="yui_3_16_0_1_1451684899736_4373" dir="ltr"><br></div><div>Best,</div><div>Jonathan<br></div><div id="yui_3_16_0_1_1451684899736_5254" dir="ltr"><br></div><br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Friday, January 1, 2016 2:24 PM, katja <katjavetter@gmail.com> wrote:<br></font></div>  <br><br> <div class="y_msg_container">Hi Jonathan,<br clear="none"><br clear="none">Your concept is a great improvement over built-in array list view. It<br clear="none">is now a very useful debug tool since you can jump to any desired<br clear="none">index no matter how long the array is. Thank you for this new year's<br clear="none">present.<br clear="none"><br clear="none">I figured out some refinements. Attached version has:<br clear="none"><br clear="none">- buttons: offset inc / dec by 1 or 10, set to min / max offset, refresh<br clear="none">- inlet for offset, refresh, and array name message<br clear="none">- outlets for index / value pairs and offset<br clear="none">- toggle to activate console printout<br clear="none"><br clear="none">It is temporarily called 'arraylistview2' for evaluation, and a patch<br clear="none">with tests is included in the tarball. An issue with the name anyhow<br clear="none">is confusion between 'arraylistview' and 'arrayviewlist'. Pd's<br clear="none">built-in method goes with message 'arrayviewlistnew'. Maybe it could<br clear="none">be a completely different name, like 'tabviewer'.<br clear="none"><br clear="none">Jonathan, your approach makes me realize once more how powerful Pd is<br clear="none">as a framework / language for dsp prototyping. Imagine a whole<br clear="none">collection of debug instruments along the same line, like zoom viewer,<br clear="none">spectrum viewer etc. Each tool would do a small job and they could be<br clear="none">chained together by array name and index offset. Yummy.<br clear="none"><br clear="none">cheers,<br clear="none">Katja<br clear="none"><br clear="none"><div class="yqt5280232833" id="yqtfd31614"><br clear="none">On Wed, Dec 30, 2015 at 4:15 AM, Jonathan Wilkes <<a shape="rect" ymailto="mailto:jancsika@yahoo.com" href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>> wrote:<br clear="none">> I did some revisions on an abstraction replacement for the listview button<br clear="none">> in<br clear="none">> the array dialog.<br clear="none">><br clear="none">> Rather than hook into a button buried in a dialog, I'm going to just throw<br clear="none">> the<br clear="none">> abstraction in "extra" somewhere.  That's about as discoverable as it<br clear="none">> currently<br clear="none">> is, plus one could use it as a control in a patch if they wish.  But the<br clear="none">> best part<br clear="none">> is that it requires zero code in the core/GUI, opening up revisions and<br clear="none">> bugfixes to anyone who can write a Pd patch.<br clear="none">><br clear="none">> Improvements welcome, as well as shorter abstraction name (as long as it's<br clear="none">> obscure enough not to clash with anything else).<br clear="none">><br clear="none">> -Jonathan<br clear="none">><br clear="none">><br clear="none">> On Thursday, November 19, 2015 12:20 PM, Jonathan Wilkes via Pd-list<br clear="none">> <<a shape="rect" ymailto="mailto:pd-list@lists.iem.at" href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>> wrote:<br clear="none">><br clear="none">><br clear="none">> That's just a matter of creating a single number box and connecting its<br clear="none">> output to [s $0-offset].<br clear="none">><br clear="none">> Well, there's bounds checking, too-- the point is it's all just a Pd patch<br clear="none">> so you're unlikely to crash Pd by revising the functionality.  Plus the<br clear="none">> barrier<br clear="none">> to entry is much lower than the small number of people who can untangle<br clear="none">> garray-related spaghetti code.<br clear="none">><br clear="none">> -Jonathan<br clear="none">><br clear="none">><br clear="none">><br clear="none">> On Friday, November 13, 2015 4:00 AM, katja <<a shape="rect" ymailto="mailto:katjavetter@gmail.com" href="mailto:katjavetter@gmail.com">katjavetter@gmail.com</a>> wrote:<br clear="none">><br clear="none">><br clear="none">> That looks good Jonathan. In current array list view the entries are grouped<br clear="none">> per 1000 and arrows let you switch groups. For 'large' arrays (say one<br clear="none">> second of audio samples) this is inconvenient. Maybe your patch approach<br clear="none">> could even provide a better solution, like the option to select a specific<br clear="none">> range.<br clear="none">><br clear="none">> There's also method 'arrayviewclose' which I sometimes (ab)use to close a<br clear="none">> list view from within a patch. You don't want to try update an audio array<br clear="none">> list view in real time!<br clear="none">><br clear="none">> On Fri, Nov 13, 2015 at 1:32 AM, Jonathan Wilkes <<a shape="rect" ymailto="mailto:jancsika@yahoo.com" href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>> wrote:<br clear="none">><br clear="none">> I don't know.  Something like this with the guts hidden?<br clear="none">><br clear="none">> I didn't do the hard stuff, like handling out-of-bounds elements if the<br clear="none">> array isn't a multiple of ten-- it's just a prototype.<br clear="none">><br clear="none">> So, in that method you and katja are abusing, I can forward the arrayname<br clear="none">> as well as the current $0 count.  Then I can open the patch and immediately<br clear="none">> send a message to the relevant $0- receiver, and the patch will populate the<br clear="none">> value table accordingly.<br clear="none">><br clear="none">> And then I can get rid of all the arraylistview C/GUI code that's scattered<br clear="none">> about.<br clear="none">><br clear="none">> -Jonathan<br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">> On Thursday, November 12, 2015 4:55 PM, Matt Barber <<a shape="rect" ymailto="mailto:brbrofsvl@gmail.com" href="mailto:brbrofsvl@gmail.com">brbrofsvl@gmail.com</a>><br clear="none">> wrote:<br clear="none">><br clear="none">><br clear="none">> A Pd patch with what in it?<br clear="none">><br clear="none">> On Thu, Nov 12, 2015 at 4:21 PM, katja <<a shape="rect" ymailto="mailto:katjavetter@gmail.com" href="mailto:katjavetter@gmail.com">katjavetter@gmail.com</a>> wrote:<br clear="none">><br clear="none">><br clear="none">><br clear="none">> On Thu, Nov 12, 2015 at 8:36 PM, Jonathan Wilkes <<a shape="rect" ymailto="mailto:jancsika@yahoo.com" href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>> wrote:<br clear="none">><br clear="none">> Would you mind if this opened a Pd patch instead of a tk dialog?<br clear="none">><br clear="none">><br clear="none">> Could be OK if the list is editable, like current array list view.<br clear="none">><br clear="none">> Katja<br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> <a shape="rect" ymailto="mailto:Pd-list@lists.iem.at" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">> UNSUBSCRIBE and account-management -><br clear="none">> <a shape="rect" href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br clear="none">><br clear="none">><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>