<div dir="ltr"><div><div><div>re: &quot;something less ugly&quot;<br><a href="http://rosettacode.org/wiki/String_concatenation#LabVIEW">http://rosettacode.org/wiki/String_concatenation#LabVIEW</a><br>:)<br><br></div>why in the world have I not thought to make an external that you can script with assembly language?<br>
</div>I mean most modern audio devices have at least 64 programmable &#39;oscillators&#39; or wave channels if you will.  Even Don Buchla uses digital oscillators in his modulars nowdays. It&#39;s not like we are stuck with ay-3-8910a drum 3 channel drums.<br>
</div>*twitch<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 31, 2014 at 4:00 PM, Miller Puckette <span dir="ltr">&lt;<a href="mailto:msp@ucsd.edu" target="_blank">msp@ucsd.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, Jan 31, 2014 at 03:47:46PM -0500, Jonathan Wilkes wrote:<br>
&gt; On 01/24/2014 05:36 PM, Miller Puckette wrote:<br>
&gt; &gt;Delete these lines in g_text.c:<br>
&gt; &gt;<br>
&gt; &gt;         /* for comments, just draw a bar on RHS if unlocked; when a visible<br>
&gt; &gt;         canvas is unlocked we have to call this anew on all comments, and when<br>
&gt; &gt;         locked we erase them all via the annoying &quot;commentbar&quot; tag. */<br>
&gt; &gt;     else if (x-&gt;te_type == T_TEXT &amp;&amp; glist-&gt;gl_edit)<br>
&gt; &gt;     {<br>
&gt; &gt;         if (firsttime)<br>
&gt; &gt;             sys_vgui(&quot;.x%lx.c create line\<br>
&gt; &gt;  %d %d %d %d -tags [list %sR commentbar]\n&quot;,<br>
&gt; &gt;                 glist_getcanvas(glist),<br>
&gt; &gt;                 x2, y1,  x2, y2, tag);<br>
&gt; &gt;         else<br>
&gt; &gt;             sys_vgui(&quot;.x%lx.c coords %sR %d %d %d %d\n&quot;,<br>
&gt; &gt;                 glist_getcanvas(glist), tag, x2, y1,  x2, y2);<br>
&gt; &gt;     }<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;(however, that won&#39;t disable the functionality; just the ugly marks.)<br>
&gt; &gt;<br>
&gt; &gt;I&#39;m still trying to think of something less ugly - tell me if you have any<br>
&gt; &gt;ideas...<br>
&gt;<br>
&gt; Just to give a concrete example, something like:<br>
&gt;<br>
&gt; else if (x-&gt;te_type == T_TEXT &amp;&amp; glist-&gt;gl_edit)<br>
&gt; {<br>
&gt;     if (firsttime)<br>
&gt;         sys_vgui(&quot;.x%lx.c create rect %d %d %d %d &quot;<br>
&gt;             &quot;-dash {1 3} &quot;<br>
&gt;             &quot;-tags [list %sR commentbar]\n&quot;,<br>
&gt;             glist_getcanvas(glist), x1, y1, x2, y2, tag);<br>
&gt;     else<br>
&gt;         sys_vgui(&quot;.x%lx.c coords %sR %d %d %d %d\n&quot;,<br>
&gt;             glist_getcanvas(glist), tag, x1, y1, x2, y2);<br>
&gt; }<br>
&gt;<br>
&gt; Then you have a visual clue that the user is in editmode, with no<br>
&gt; ambiguity between the drawing and the text.<br>
&gt;<br>
&gt; You can play with the dash values-- I chose those because it gives a<br>
&gt; clear contrast to broken boxes.  Use a larger 2nd integer to make<br>
&gt; the dashed box stand out less.<br>
&gt;<br>
&gt; Btw-- I haven&#39;t tested this.  I&#39;d be a lot more likely to try out<br>
&gt; code on Pd Vanilla 0.45 if someone could explain to me how to do<br>
&gt; incremental builds.  If I change a single line in g_text.c in 0.43<br>
&gt; it only requires a single &quot;make&quot; that takes about 3 seconds.  Doing<br>
&gt; the same in 0.45 requires &quot;make clean &amp;&amp; make&quot;, unnecessarily<br>
&gt; rebuilding all of Pd.  Doing &quot;make&quot; in the src directory of 0.45<br>
&gt; only rebuilds the things that need to recompile, but it doesn&#39;t<br>
&gt; update the binary, which makes it useless.<br>
&gt;<br>
&gt; -Jonathan<br>
&gt;<br>
</div></div>cd pd/src; make -f makefile.gnu always works for me :)<br>
<div class="HOEnZb"><div class="h5"><br>
M<br>
<br>
&gt; _______________________________________________<br>
&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div>