<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><div>Woops, forgot the reply-all.</div><div><br></div><div>On Jan 13, 2014, at 2:25 PM, Jonathan Wilkes &lt;<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"><div class="moz-cite-prefix">On 01/13/2014 09:32 AM, Dan Wilcox wrote:<br></div><blockquote cite="mid:5AD9B4E2-F305-46CD-BB6E-D40A3B3C9BE0@gmail.com" type="cite">As Hans has proposed for years, IMO this is really the only way to perhaps solve the "PD gui development doesn't move fast enough" problem in the long term. In this case, Miller would have the core (in libpd) &amp; the pd-vanilla wrapper gui formally separated while everyone else can then use the same libpd core within other flavors. The DSP core is the heart and soul and I see no reason to try and change that in any way.</blockquote><br>Sorry, I don't know quite what you're referring to here.&nbsp; The only two examples I gave-- $@ and [initbang] wouldn't change anything in the DSP core.<br></div></blockquote><div><br></div><div>I wasn't referring to anything in particular, only in general.</div><br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"><blockquote cite="mid:5AD9B4E2-F305-46CD-BB6E-D40A3B3C9BE0@gmail.com" type="cite"><br><div><div>On Jan 13, 2014, at 1:54 AM, Jonathan Wilkes &lt;<a moz-do-not-send="true" href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span style="background-color: rgb(255, 255, 255);">#2 is hard.&nbsp; Where would you start and how would you proceed?</span></blockquote></div><div><br></div><div>I think what makes sense is to list out the main interfaces to the DSP core that are currently being used by TCL.</div></blockquote><br>I think by DSP core you're referring to:<br>* DSP graph stuff<br>* message dispatching system<br>* various widgetbehaviors and data structures parentwidgetbehaviors<br>* all the gui logic in g_editor.c<br>* gui queuing stuff, array selection/manipulation logic, mouse motion callbacks, and probably other things I'm forgetting<br><br>Is this correct?</div></blockquote><div><br></div>Yes, minus the widgets and gui queuing stuff, etc. I'm talking about finding a way to separate the strictly gui stuff from the DSP graph. I recognize that some of that is required, so I'm trying to think pragmatically. Obviously you're a better judge of that as you have more experience with the code in the area.<br><br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"><blockquote cite="mid:5AD9B4E2-F305-46CD-BB6E-D40A3B3C9BE0@gmail.com" type="cite">In the simplest case, we could literally create wrapper functions which emulate the tcl argument lists. libpd currently wraps the formal message sending, midi, &amp; processing areas. I think now we need to see if it's possible to wrap the DSP graph editing/manipulation, canvas, patch loading/saving, etc.</blockquote><br>I'm not clear on what libpd actually includes.&nbsp; For example, does all the logic from g_editor remain intact?<br></div></blockquote><br></div><div>Yes. Everything is still there. It merely abstracts sending messages and midi into and out of the libpd instance. I don't see why we couldn't do the same with what's needed by an external gui wrapper around it.</div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--------</div><div>Dan Wilcox</div><div>@danomatika</div><div><a href="http://danomatika.com">danomatika.com</a></div><div><a href="http://robotcowboy.com">robotcowboy.com</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></body></html>