You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is something definitely not in the "that-would-be-nice" category as I see it. Here's a proof of concept, I am designing an output~ like abstraction for multichannel signals. I need to use [clone] just to include a simple [hip~ 3] object for all channels and I need to resize [clone] according to the number of channels and I need to get that information somehow.
I have a simple external for that right now clled [nchs~] (see picture below), it could be part of Vanilla, maybe as new [snake~] function, like [snake~ nchs] or built into [inlet~]. I like the [inlet~] idea cause it could also give us '0' for no signal connected, which also helps a lot (and it's not something I can do as an object, built in or not I guess).
like the [inlet~] idea cause it could also give us '0' for no signal connected, which also helps a lot (and it's not something I can do as an object, built in or not I guess).
Definitely not. Not every patch has an inlet~ in the first place. The signal might come from a receive~ or from an abstraction.
I think a snake~ method would be the obvious choice. (In fact, there are several outstanding snake~ methods that need discussion. I might open a dedicated ticket for that as a discussion place.)
Spacechild1
changed the title
request, get number of channels in mc connections
get number of channels in mc connections
Jun 14, 2023
Definitely not. Not every patch has an inlet~ in the first place. The signal might come from a receive~ or from an abstraction.
Fair point, another unrelated inlet functionality for stating if there's a connection or not would be then welcome as well... I got a very dirty and not elegant hack at all for doing this (and I'm using it in the new [output~] abstraction in vanilla) though, so I could potentially live with it for now (and miller might consider it a "that-would-be-nice" thing).
[snake~ nchs] it is then... I now see my [nchs~] external is blowing up Pd so I'm afraid I'm doing things wrong :(
(In fact, there are several outstanding snake~ methods that need discussion. I might open a dedicated ticket for that as a discussion place.)
We can move this there then. Anyway, I hope there's time to include this on in 0.54!
This is something definitely not in the "that-would-be-nice" category as I see it. Here's a proof of concept, I am designing an output~ like abstraction for multichannel signals. I need to use [clone] just to include a simple [hip~ 3] object for all channels and I need to resize [clone] according to the number of channels and I need to get that information somehow.
I have a simple external for that right now clled [nchs~] (see picture below), it could be part of Vanilla, maybe as new [snake~] function, like [snake~ nchs] or built into [inlet~]. I like the [inlet~] idea cause it could also give us '0' for no signal connected, which also helps a lot (and it's not something I can do as an object, built in or not I guess).
ping @millerpuckette
The text was updated successfully, but these errors were encountered: