Forums > MaxMSP

How to bypass an object?

December 10, 2011 | 11:43 pm

If three objects are connected in-line; A,B and C. Is there a way to remove B that will cause the patch cord to automatically join A and C together?


December 11, 2011 | 2:18 am

Put a [gate 2] between A and B. Connect one of the gate’s outlets to B and the other to C.


December 11, 2011 | 3:34 am

If you’re talking about something more permanent, you could just click on the A to B patch cord, then drag the little red diamond to the inlet of the C.


December 11, 2011 | 1:09 pm

I mean something straightforward like this:

[attachment=179040,3062]

Attachments:
  1. bridgecords.jpg


pid
December 11, 2011 | 1:24 pm

infuriatingly, no.

if you have the maxtoolbox installed there would only be one more step (between 2. and 3.).


December 11, 2011 | 1:57 pm

I can’t understand why C74 haven’t implemented a shortcut for such a frequent task. I can’t image it would be too difficult to implement.

I’ve resorted to wholesale ‘paste replace’ with flonum and number objects.


December 11, 2011 | 3:04 pm

I’ve always wanted the opposite of this. I’d like to be able to create a new object C and then drag it over a connection between A and B and have the new object C inserted in between, i.e. A would now be connected to C and then C to B.

Deleting C would cause the reconnect as described earlier in this thread..

I have many scenarios where such an operation would would be incredibly time saving


December 11, 2011 | 3:11 pm

you guys forget that there are many objects with more than one inlet and outlet, and
many situations where you connected an object to several others.

maybe it is time for you to build some custom abstractions (like [AB-patch] for instance)
so that you can "paste-replace" your most frequent stuff.

also, in case of the example in the jpg i would delete and reconnect only the objects
in the first row, then make two new copies of it. :)


December 11, 2011 | 3:11 pm

Absolutely!!


December 11, 2011 | 3:14 pm

Absolutely!! was @ dhjdhjdhj.


December 11, 2011 | 3:32 pm

Of course there can be multiple ports to choose from but that could be handled quite easily.

For example, the default would certainly be to use the first inlet and outlet (and that is most often what would be needed) but I canimagine keyboard shortcuts that would quickly move the connection from one port to the next, sequentially.

Imagine how quickly one could build (and change) math operations with this mechanism, for example.

This process is completely orthogonal to the use of abstractions and by the way, the mechanism would be very helpful when creating abstractions and modifying them in the first place.


December 11, 2011 | 3:33 pm

@ Roman Thilenius, the way Max currently handles more than one inlet/outlet with ‘paste replace’ would be perfect.


December 11, 2011 | 3:54 pm

This is so high-level it should really be a feature request.


December 11, 2011 | 4:11 pm

Conisder it so!


December 12, 2011 | 12:35 pm

thats true, the problem of many inlets also appears for paste-replace. :)

maybe if paste-replace would work with more than one object, that could be almost what you wish.


December 12, 2011 | 7:29 pm

IT DOES!!


Viewing 16 posts - 1 through 16 (of 16 total)