<div dir="ltr"><div><div><div><div>hell yeah Roman,<br></div>thanks that works great.<br></div><div>Your solution is brilliant.<br></div><div><br></div><div><br></div>I&#39;m using it to switch a set of controls  so that  I can load more synthesizers up and not have that TCL screen redrawing processor hog activity.<br>
<br></div>for instance a synth currently consists of osc, osc2, env1,env2,lfo1,lfo2.   If I can reduce the controls so that there are only 3 sets then the screen area took up by 1 synth will almost be reduced to 1/2. <br>
</div>so like the osc guis can control either osc1 or osc2  instead of having a set of controls each for osc1 and osc2. during all of my realtime performance adjustments to patches and even my patch building  I never adjust more than one parameter at a time.   I guess a better Idea would be to make numberbox controls for everything instead of the gui controls but the gui controls are much cooler.<br>
<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 15, 2013 at 12:02 PM, Roman Haefeli <span dir="ltr">&lt;<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</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="im"><br>
On Fri, 2013-11-15 at 09:06 -0500, Billy Stiltner wrote:<br>
&gt; hey,<br>
&gt;<br>
&gt;<br>
&gt; I have been trying to rename sends and receives of dials at runtime<br>
&gt;<br>
&gt;<br>
&gt; they need actual literal $0 in their name.<br>
&gt;<br>
&gt;<br>
&gt; so I tried this with sending a 0 to $$4 in a message<br>
&gt;<br>
&gt; it worked for the literal renaming but the patch gets messed up after<br>
&gt; saving and reloading.<br>
<br>
<br>
</div>I might have a found a way that doesn&#39;t mess up the patch after saving,<br>
but I still consider it somewhat hack-ish.<br>
<br>
I&#39;m not clear of the purpose of what you want to achieve, though. You<br>
can only convert the receivenames to use $0 once, so it seems easier to<br>
use a text editor to edit the pd file. Or if you set the receive names<br>
dynamically whenever you fire up the patch, you could instead use the<br>
real number instead of the variable $0.<br>
<br>
Roman<br>
<div class="im"><br>
<br>
&gt; somehow the patch does need to be able to be edited and saved without<br>
&gt; changeing the $$4 to a   $\$4   once reloaded after a save.<br>
&gt;<br>
&gt;<br>
&gt; this is what the patch looks like from the .pd file after a save.<br>
&gt;<br>
&gt;<br>
&gt; #X msg 188 -194 \; \$1-o\$2-waveform-rx receive \$$4-o\$3-waveform-rx<br>
&gt; \; \$1-o\$2-dt-rx receive-rx \$$4-o\$3-dt-rx \; \$1-env\$2-o\$2-dt-rx<br>
&gt; receive \$$4-env\$3-o\$3-dt-rx \; \$1-lfo\$2-o\$2-dt-rx receive \<br>
&gt; $$4-lfo\$3-o\$3-dt-rx<br>
&gt; \; \$1-o\$2-pw receive-rx \$$4-o\$3-pw-rx \; \$1-env\$2-o\$2-pw-rx<br>
&gt; receive \$$4-env\$3-o\$3-pw-rx \; \$1-lfo\$2-o\$2-pw-rx receive \<br>
&gt; $$4-lfo\$3-o\$3-pw-rx<br>
&gt; \; \$1-env\$2-o\$2-rx receive \$$4-env\$3-o\$3-rx \; \$1-lfo\$2-o\<br>
&gt; $2-rx<br>
&gt; receive \$$4-lfo\$3-o\$3-rx;<br>
&gt; #X msg -109 -193 \; \$1-o\$2-waveform-rx send \$$4-o\$3-waveform \;<br>
&gt; \$1-o\$2-dt-rx send \$$4-o\$3-dt \; \$1-env\$2-o\$2-dt-rx send \<br>
&gt; $$4-env\$3-o\$3-dt<br>
&gt; \; \$1-lfo\$2-o\$2-dt-rx send \$$4-lfo\$3-o\$3-dt \; \$1-o\$2-pw-rx<br>
&gt; send \$$4-o\$3-pw \; \$1-env\$2-o\$2-pw-rx send \$$4-env\$3-o\$3-pw<br>
&gt; \; \$1-lfo\$2-o\$2-pw-rx send \$$4-lfo\$3-o\$3-pw \; \$1-env\$2-o\<br>
&gt; $2-rx<br>
&gt; send \$$4-env\$3-o\$3 \; \$1-lfo\$2-o\$2-rx send \$$4-lfo\$3-o\$3;<br>
</div>&gt; ______________________________________________________________________<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<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>_______________________________________________<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>
<br></blockquote></div><br></div>