<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 2, 2012, at 11:53 AM, Peter Brinkmann wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">On Thu, Feb 2, 2012 at 1:52 AM, Rich E <span dir="ltr">&lt;<a href="mailto:reakinator@gmail.com">reakinator@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">
I do think it is important to separate these things into bite size chunks (I think IOhannes mentioned this as well during his LAC talk). &nbsp;Peter, your blog post talks of creating an API for editing patches (<a href="http://nettoyeur.noisepages.com/2012/01/refactoring-pure-data/" target="_blank">here</a>), and while I look forward to these capabilities, I think this is also a separate job as to the one Miller proposed on this thread, which I see as taking care of the static state in pd. &nbsp;I don't think I could prioritize these two different jobs, but I'd say multiple instances allows us to definitively crush max, as we'll have a pd vst. :)</blockquote>
<div><br>I harbor no hostility to Max, but I agree that getting rid of global state and allowing multiple instances should be the first order of business.&nbsp; Any ideas?<br></div></div></blockquote></div><div><br class="webkit-block-placeholder"></div><div>The way I see the "editing API" is the converse of the pd-gui --&gt; pd communications: pd messages. &nbsp;My approach is to do it bit by bit. &nbsp;Take a chunk of the current pd-gui --&gt; pd communications and refactor into something that looks like a pd message (Tcl proc calls can look the small, luckily, the syntax is similar in some basic ways).</div><div><br></div><div>Ico has recently refactored array moving into a single 'move' command, that's in pd-l2ork. &nbsp;I haven't looked at that yet. &nbsp;But that's the same idea.</div><div><br></div><div>.hc</div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><br class="Apple-interchange-newline">----------------------------------------------------------------------------<br></div><div style="font-size: medium; "><br></div><div style="font-size: medium; ">"A cellphone to me is just an opportunity to be irritated wherever you are." - Linus Torvalds</div></span>
</div>
<br></body></html>