if someone built abstractions with the same name, is it likely that they have different behaviour?
Some of the signal objects would have to have a different behavior because of how [inlet~] works. If [inlet~] could take an optional float arg to output a constant sig (tough because it takes symbol args as well, but not impossible), then you could have abstractions which could take creation arguments *or* signals in all inlets in one abstraction implementation. Otherwise [inlet~] promotes float messages already, but it's very buggy in canvases that have an [inlet] to the left of inlet~. With the current tools it's hard to implement some of them efficiently, too.
Other problems with abstractions would be something like "gate" -- you need [initbang] for that one, which is not in vanilla (it's otherwise very easy to make an abstraction out of) -- or [spigot] could become a multi-outlet object whose only difference from [gate] is the (proper, IMO) "right inlet controls" Pd style -- this is one of the "proper behavior" problems that has come up recently; [pow~] was another, if my memory isn't shot.
One slightly different tack would be instead of trying to bring cyclone (etc.) into vanilla, to just ensure the existence of standalone control and signal objects for all the functions and operators in the expr suite -- that would be a decent start. It would at least satisfy those who want a more complete set of mathematical tools without needing to use expr; it seems that's where most of the complaints have come of late.
Matt
Matt Barber wrote:
[inlet~] promotes float messages already, but it's very buggy in canvases that have an [inlet] to the left of inlet~.
err.. very buggy? why?
no, scratch that, actually; i don't want to know. i'm sure it will lead to wtf's.
Try moving the [inlet] and the [outlet] around in different combinations in the attached abstraction [weirdinlet] -- I included a test patch as well. See if you get freakish bugs when trying to set the [inlet~]s with floats.
Matt
On Fri, Jul 18, 2008 at 3:32 PM, Damian Stewart damian@frey.co.nz wrote:
Matt Barber wrote:
[inlet~] promotes float messages already, but it's very buggy in canvases that have an [inlet] to the left of inlet~.
err.. very buggy? why?
no, scratch that, actually; i don't want to know. i'm sure it will lead to wtf's.
Strange,
Must not have saved the [outlet] in the abstraction originally. Sorry about that -- new ones attached.
M
On Fri, Jul 18, 2008 at 3:46 PM, Matt Barber brbrofsvl@gmail.com wrote:
Try moving the [inlet] and the [outlet] around in different combinations in the attached abstraction [weirdinlet] -- I included a test patch as well. See if you get freakish bugs when trying to set the [inlet~]s with floats.
Matt
On Fri, Jul 18, 2008 at 3:32 PM, Damian Stewart damian@frey.co.nz wrote:
Matt Barber wrote:
[inlet~] promotes float messages already, but it's very buggy in canvases that have an [inlet] to the left of inlet~.
err.. very buggy? why?
no, scratch that, actually; i don't want to know. i'm sure it will lead to wtf's.