[sel] with changeable arguments?

Brian H.'s icon

Looking for something like this-- Do I need to make it, or am I missing some functionality somewhere? Just looking to be able to use something like a 'set' msg to replace the arguments in [sel].

Thanks,
Brian

elmiller's icon

If you give sel only one initial argument, you can send a message in the right inlet to replace it. It does not work with multiple arguments, though.

Brian H.'s icon

Right, so there's no elegant way to bend some similar object to do that? I thought on it some & seems like a simple thing, but I couldn't think of a way that didn't involve making something...Thanks!

brendan mccloskey's icon

Depending on the range of variables, [if] might be suitable here.

Brendan

bkshepard's icon
Max Patch
Copy patch and select New From Clipboard in Max.

It's a bit kludgy, but a string of [sel] objects might do what you want.

Brian H.'s icon

Thanks...I invented something similar, but I figured as long as it was going to be kludgy, I might as well make it as functional as I could. I'll share it when it gets a little more tidy!

seejayjames's icon

[zl] can do it, you can have a list whose values can be changed, and incoming values can be compared to the list elements. good object to spend some time with anyways...