Is is possible to dynamically alter the creation arguments for a route
object?
[maxlib/nroute] can do that. The only difference to [route] is that it doesn't eliminate the value that is routed. This is because it can be set to any location of the list that's coming in.
Ingo
I built a settable route abstraction using dynamic patching. It requires [initbang], which is missing in pd-vanilla, so you'll need pd-ext if you want to use it.
Let me know how it works if you try it.
-Jonathan
--- On Tue, 3/17/09, Ingo Scherzinger ingo@miamiwave.com wrote:
From: Ingo Scherzinger ingo@miamiwave.com Subject: Re: [PD] dynamic creation arguments for route To: pd-list@iem.at Date: Tuesday, March 17, 2009, 5:25 PM
Is is possible to dynamically alter the creation
arguments for a route
object?
[maxlib/nroute] can do that. The only difference to [route] is that it doesn't eliminate the value that is routed. This is because it can be set to any location of the list that's coming in.
Ingo
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hallo,
also see [sroute] which is a hidden leftover in the [list]-abs collection.
The idea is to use a one-argument [select] instead of [route]. [select] with no or one argument has an additional inlet, where you can set the thing it selects. Decorate this with some [list split 1] and [list] objects and you have a simple settable [route]. No dynamic patching or externals necessary.
Frank
Jonathan Wilkes hat gesagt: // Jonathan Wilkes wrote:
I built a settable route abstraction using dynamic patching. It requires [initbang], which is missing in pd-vanilla, so you'll need pd-ext if you want to use it.
Let me know how it works if you try it.
-Jonathan
--- On Tue, 3/17/09, Ingo Scherzinger ingo@miamiwave.com wrote:
From: Ingo Scherzinger ingo@miamiwave.com Subject: Re: [PD] dynamic creation arguments for route To: pd-list@iem.at Date: Tuesday, March 17, 2009, 5:25 PM
Is is possible to dynamically alter the creation
arguments for a route
object?
[maxlib/nroute] can do that. The only difference to [route] is that it doesn't eliminate the value that is routed. This is because it can be set to any location of the list that's coming in.
Ingo
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Dynaroute does something different than sroute-- you can send a list to its right inlet to change any or all of the creation arguments.
You could also simply change the word "route" to "select" in the guts of the abstraction and have a "dynaselect," which might be handy for quickly setting key bindings.
-Jonathan
--- On Wed, 3/18/09, Frank Barknecht fbar@footils.org wrote:
From: Frank Barknecht fbar@footils.org Subject: Re: [PD] dynamic creation arguments for route To: pd-list@iem.at Date: Wednesday, March 18, 2009, 9:27 AM Hallo,
also see [sroute] which is a hidden leftover in the [list]-abs collection.
The idea is to use a one-argument [select] instead of [route]. [select] with no or one argument has an additional inlet, where you can set the thing it selects. Decorate this with some [list split 1] and [list] objects and you have a simple settable [route]. No dynamic patching or externals necessary.
Ciao
Frank
Jonathan Wilkes hat gesagt: // Jonathan Wilkes wrote:
I built a settable route abstraction using dynamic
patching. It requires [initbang], which is missing in pd-vanilla, so you'll need pd-ext if you want to use it.
Let me know how it works if you try it.
-Jonathan
--- On Tue, 3/17/09, Ingo Scherzinger
ingo@miamiwave.com wrote:
From: Ingo Scherzinger ingo@miamiwave.com Subject: Re: [PD] dynamic creation arguments for
route
To: pd-list@iem.at Date: Tuesday, March 17, 2009, 5:25 PM
Is is possible to dynamically alter the
creation
arguments for a route
object?
[maxlib/nroute] can do that. The only difference
to [route]
is that it doesn't eliminate the value that is routed.
This is
because it can be set to any location of the list that's coming in.
Ingo
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list