[PD] literal $0 from message to gui send and gui receive

Billy Stiltner billy.stiltner at gmail.com
Fri Nov 15 20:44:00 CET 2013


hell yeah Roman,
thanks that works great.
Your solution is brilliant.


I'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.

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.
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.




On Fri, Nov 15, 2013 at 12:02 PM, Roman Haefeli <reduzent at gmail.com> wrote:

>
> On Fri, 2013-11-15 at 09:06 -0500, Billy Stiltner wrote:
> > hey,
> >
> >
> > I have been trying to rename sends and receives of dials at runtime
> >
> >
> > they need actual literal $0 in their name.
> >
> >
> > so I tried this with sending a 0 to $$4 in a message
> >
> > it worked for the literal renaming but the patch gets messed up after
> > saving and reloading.
>
>
> I might have a found a way that doesn't mess up the patch after saving,
> but I still consider it somewhat hack-ish.
>
> I'm not clear of the purpose of what you want to achieve, though. You
> can only convert the receivenames to use $0 once, so it seems easier to
> use a text editor to edit the pd file. Or if you set the receive names
> dynamically whenever you fire up the patch, you could instead use the
> real number instead of the variable $0.
>
> Roman
>
>
> > somehow the patch does need to be able to be edited and saved without
> > changeing the $$4 to a   $\$4   once reloaded after a save.
> >
> >
> > this is what the patch looks like from the .pd file after a save.
> >
> >
> > #X msg 188 -194 \; \$1-o\$2-waveform-rx receive \$$4-o\$3-waveform-rx
> > \; \$1-o\$2-dt-rx receive-rx \$$4-o\$3-dt-rx \; \$1-env\$2-o\$2-dt-rx
> > receive \$$4-env\$3-o\$3-dt-rx \; \$1-lfo\$2-o\$2-dt-rx receive \
> > $$4-lfo\$3-o\$3-dt-rx
> > \; \$1-o\$2-pw receive-rx \$$4-o\$3-pw-rx \; \$1-env\$2-o\$2-pw-rx
> > receive \$$4-env\$3-o\$3-pw-rx \; \$1-lfo\$2-o\$2-pw-rx receive \
> > $$4-lfo\$3-o\$3-pw-rx
> > \; \$1-env\$2-o\$2-rx receive \$$4-env\$3-o\$3-rx \; \$1-lfo\$2-o\
> > $2-rx
> > receive \$$4-lfo\$3-o\$3-rx;
> > #X msg -109 -193 \; \$1-o\$2-waveform-rx send \$$4-o\$3-waveform \;
> > \$1-o\$2-dt-rx send \$$4-o\$3-dt \; \$1-env\$2-o\$2-dt-rx send \
> > $$4-env\$3-o\$3-dt
> > \; \$1-lfo\$2-o\$2-dt-rx send \$$4-lfo\$3-o\$3-dt \; \$1-o\$2-pw-rx
> > send \$$4-o\$3-pw \; \$1-env\$2-o\$2-pw-rx send \$$4-env\$3-o\$3-pw
> > \; \$1-lfo\$2-o\$2-pw-rx send \$$4-lfo\$3-o\$3-pw \; \$1-env\$2-o\
> > $2-rx
> > send \$$4-env\$3-o\$3 \; \$1-lfo\$2-o\$2-rx send \$$4-lfo\$3-o\$3;
> > ______________________________________________________________________
> >
> >
> >
> >
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20131115/a018ab25/attachment-0001.htm>


More information about the Pd-list mailing list