[PD] any way to change the name of delay line used by [vd~] with message?

William Huston williamahuston at gmail.com
Sat Aug 15 00:22:37 CEST 2020


Hi,

Is there any way to change the name of the delay line used by [vd~] with a
message?

Alternatively, I think it would be nice for PD to have a mechanism of
indirect reference. In this case,

   [vd~ $0-delay]

$0-delay refers to the name of the delay line.
What I'd like is a way to put a name like DELAY1 inside a variable which I
can set and change. So something like

     [vd~ ($0-DelayName)]

Where $0-DelayName is something I can set to DELAY1.

Are either of these possible?

The reason this has come up, is I'm trying to build an N-band flanger using
[clone]. As it stands, it seems like I have to hard-code the name of the
delay line read by each instance which is cloned. Since [clone] can only
use an abstraction, this means the instances have a different $0 context
than the parent patch.

So it seems I have to hard-code the name of the delay line used, which
means I can have only one of my N-band flangers per patch. That's probably
OK, but I would prefer not to use global variable names if possible.

Thanks!
BH









--
William Huston:  WilliamAHuston at gmail.com
Binghamton NY

*Public Service Mapping / Videography / Research / Education / Safety
Advocacy*
Blog <http://WilliamAHuston.blogspot.com> -- Facebook
<http://facebook.com/billhuston> -- Twitter
<http://twitter.com/WilliamAHuston>-- Youtube
<https://www.youtube.com/channel/UCGijK1amWOLglT3YeTyEBNQ?sub_congfirmation=1>
* -- Podcast Blog <https://billhustonpodcast.blogspot.com/>*
*Document collections*: VirtualPipelines
<http://TinyURL.com/VirtualPipelines> -- BHDCSDimockArchive
<http://bit.ly/BHDCSDimockArchive>
*Please support my work! -- *TinyURL.com/DonateToBillHuston
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20200814/07fc6574/attachment-0001.html>


More information about the Pd-list mailing list