Patching Mechanics

Linden's icon

Hello
were can i find out more about the mentioned Patching Mechanics?

thanks

Jeremy's icon

Here's some preliminary information, we'll get an expanded version of this into the standard docs in an update.

Keyboard patching enhancements (Patching Mechanics)
Max 7 has some new keyboard commands that can make it really fast to create and connect objects together. This feature is enabled by default but can be disabled via the “Enable Patching Mechanics” Max Preference. When enabled the following keyboard shortcuts are available:

With an object selected, press shift-N to create a new object, already connected to the first object. You can also push shift-B, shift-T and so on to create a button, toggle, etc. Just remember “press shift to connect”.

While typing in an object, press shift-enter to "finalize" the object, and to shift keyboard focus to a new object already connected to the first.

With a patchcord selected, push shift-N to move keyboard focus to a new object inserted along that patchcord (you can also push shift-B, shift-T and so on)

With an object selected, you can press alt-up to select a patchcord leading into the object. Alt-down moves the selection to patchcords coming from the object. Then, alt-left and alt-right rotate your selection through patchcords.

Alt-shift-drag an object to create a new object already connected to the first.

Jeremy

Linden's icon

thank you! like it very much allready!!

thetechnobear's icon

loving the patching dynamics, its a fantastic addition :)

one small feature request :)

when use use shift+n (etc) can you put the new object spaced underneath, not on top of the current object
also the same thing when you finalise with shift enter.
this would allow us to enter a whole 'string' of objects without initially thinking about layout, and still see what we are doing.

stefano's icon

super! that's gonna speed up patching! only thing... shift+n does not work for me... (retina 15" late 2013)

Spip's icon

Thanks a lot !

Pedro Santos's icon

THETECHNOBEAR, just a correction: the shift+n does not put the new object on top of the current object. It puts it where the mouse is located (which if you don't move the mouse, might have the same effect). But I agree that the main goal should be to not have to use the mouse, so ideally, the new object should be built below the current one.

Roald Baudoux's icon

Yes, you don't spare time if you have to move manually the objects created with keyboard shortcuts. Also, something like Max Toolbox's C command to connect an existing column of Max objects would be great.

Roald Baudoux's icon
Spip's icon

the new object should be built below the current one.

There is a box to check/uncheck in the preferences : Autoconnect position by mouse.

It gives the choice to create where the mouse is or just below or above the connected object.

thetechnobear's icon

>There is a box to check/uncheck in the preferences : Autoconnect position by mouse.
>It gives the choice to create where the mouse is or just below or above the connected object.

thanks...

that option is great, and its taught me quite a bit a few things about how this works
(a clarification for others)
if the option is OFF
then, the new object will be where the cursor is, if its above the object then it will connect to and first inlet, if its below, then it connects to first outlet

if the option is ON, its more intelligent :)
now the object will always be placed immediately above or below, but even better the position of the mouse relative left/right now influences which inlet is chosen to link.

in practice this means, if you put the mouse to the bottom left of the window, you can do a sequence connected to first outlet, top left, to first inlet... but you can do an inlet chain by putting it top left, nice!
( a slight nudge of the mouse, and you can do other inlet/outlets ... all very easy)

its a simple system, but very effective.

Ive one small feature request, Id actually prefer to be able to select an input from the keyboard, like you can with max toolkit...
perhaps a key combo bit like the ALT LEFT/RIGHT, e.g. if you have an object (not a patch cord!), ALT LEFT+RIGHT could cycle thru the inlet/outlet (it could even show you the inlet/outlet assistance bubble), from which shift N would then link an object.

Max Patch
Copy patch and select New From Clipboard in Max.

btw: there is small bug in alt+left/right if you have multiple inlets with 2 incoming objects
eg

if you select the patch cord, you will find the L and R do not cycle properly (it stops cycling to the 1st input)... play with it bit and you will see what i mean. you may need to move the upper objects around relative to each other to provoke the issue)

Ullstein's icon

Jeremy,
this is a great new feature, but seems not to work on all machines.I can make shift-b and shift-t working, but shift-n does not do anything. Any idea why it ignores my letter "n". But I found out that there are more letters that work, for example shift-j opens "jit.playlist".

Thanks for advice

Hans Peter

vichug's icon

hey
is there a way to reset the custom keycommands ? I have a bunch of 3rd party with custom keyxommands in package/[3rdpartypackage]/init. I tried to move those files to a source folder but the commands are still there.

McLean's icon

also having the same problem as ULLSTEIN:
shift-n does not work, though shift-b, shift-t, etc. do work.
Having this feature working properly would be a huge time saver for me.

McLean's icon

shift-n problem solved it seems!

I disabled max toolbox, restarted max, and now shift-n patching mechanics functions work. it seems there is some kind of conflict since max toolbox has an undocumented feature that uses shift-n

dhjdhjdhj's icon

Is there documentation for ALL the patching preferences anywhere? Still wondering what "Prioritize Patch Cords" and Autoconnect Positions by Mouse" do? (The others I figured out by dicking around with them)

dhjdhjdhj's icon

OK - figured out Autoconnect Positions by Mouse (and I just noticed that TECHNOBEAR had a descriptions as well)

However, along the way I discovered that shift-N does not work to create a new object connected to selected object if "Typing Edits Selected Box" is checked

to_the_sun's icon

How about that semi-transparent light blue box with the rounded corners that appears sometimes and fades, selecting any objects that are beneath it? I think it's some sort of shortcut to select a lot of objects without having to drag, but I can't figure out how to do it; it just seems to happen sometimes. I'm ASSUMING it's something new with Max 7.

to_the_sun's icon

I figured out how you do it. You just press the H key (shift + H for a bigger square). I thought it selected objects underneath it, but apparently not. I'm not sure what it does. Does anyone?

Untitled.png
png
prof_lofi's icon

Works brilliantly except for me shit b give me the [bach] object. I can't figure this out, any ideas?

Bill

J J's icon

Yeah what is that TO_THE_SUN?
H and shift-H seem undocumented. I'm starting to think it is a future feature that wasn't supposed to be in the release.

Valery_Kondakoff's icon

The answer is here.