usability feature request

Mar 26, 2006 at 4:44pm

usability feature request

hello, I would like to request one additional function:

“when connecting a cable and holding a modifier key [CTRL], connect all
inputs and outputs the two objects from port connected, from left to
right, starting at port connection made. End the ‘automatic making of
connections’ when either object has exeded its number of ports.”

To illustrate how this would work, please see my screen shots:

http://www.chedal.org/files/autocon.jpg

I don’t believe this feature has already been added.
Thank you for your time,

With kind,

S. Chedal

#25071
Mar 26, 2006 at 5:46pm

Quote: schedal wrote on Sun, 26 March 2006 09:44
—————————————————-
> >
> I don’t believe this feature has already been added.
> —————————————————-

it hasn’t been really implemented, but have you checked out max toolbox?
i recently started using it and it’s quite nice, you can hack it a bit to your own taste if you want, pretty impressive js stuff…

#73343
Mar 26, 2006 at 6:04pm

If I may add to my own request, it would also be extremely helpful if in
addition to the below functionality, one could also hold CTRL+SHIFT to
connect the selected port to all ports on second object [ie "one to many
automatic cabling"]; same logic: left to right, but only the destination
object’s target port moves left to right until it has no more ports left
to connect to the single connected source port. If this is not clear, I
will make a new jpg for us… just ask.

Thank you,

With kind,

S. Chedal

#73344
Mar 26, 2006 at 7:12pm

definitively check Max Toolbox. Don’t have the link in mind right
now, but you may find it in the recent threads archives. For sure it
provides a lot of such wiring options (one to many, many to one, row
to row, etc).

Julien.

#73345
Mar 26, 2006 at 11:21pm

Fantastic! I’m so glad I mentioned this – sorry it already existed;
:P
This tool box will shave weeks of my development time! THANKS!!!!
:D

S.Chedal

#73346
Mar 27, 2006 at 12:06am

> This tool box will shave weeks of my development time! THANKS!!!!

Also if you are looking to connect multiple outlets of an object to multiple inlets of another object check the connect_single_to_single function in the JS code. It works but is not exposed to the user yet. It will in the next release.

Nat

#73347
Mar 27, 2006 at 8:03am

#73348
Mar 27, 2006 at 9:26am

Nat: on the subject of the very excellent Toolbox, a wee error in the .help patch – the row-to-single and single-to-row keystrokes are reversed, ie. W does single-to-row and S does row-to-single,
cheers
Roger

#73349
Mar 27, 2006 at 9:31am

inforazor wrote:
> This tool box will shave weeks of my development time!

Obviously inforazor would not want to let grow beards on Max patches -;)

Stefan

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09

#73350
Mar 27, 2006 at 1:58pm

> the row-to-single and single-to-row keystrokes are reversed, ie. W does single-to-row and S does row-to-single

Thanks for noting Roger, I thought this was fixed in the latest version (b7) do you have this version or an earlier one ?

Thanks,

Nat

#73351
Mar 27, 2006 at 2:08pm

The latest (b7)
cheers
Roger

#73352
Mar 27, 2006 at 2:25pm

> example1: “press ‘C’ three times to connect all 3 outlets to all 3
inlets of all objects in a cascade.”

Thanks for the comments, due to some limitations in the scripting API (I don’t have access to the number of inlets and outlets an object has and wether it’s connected or not) some connection scenarios are more tricky than others. Please have a look at this thread for the single to single function :

http://www.cycling74.com/forums/index.php?t=msg&goto=657 64#msg_65831

If it doesn’t work just mail me and we’ll continue in french,

Thanks,

Nat

#73353
Mar 28, 2006 at 10:20am

Hi Nathan! Thanks for the help finding the code.

Maybe I am a bit of a brute, but for now I just hacked and hard coded a
new shortcut key in 5 min to make 128 connections single-to-single in
one go, works brilliantly – and the next step is to just suppress the
expected error output so my max monitoring window can chill out. It
works just fine, connects all the ports it can and then gives up. So
with just 1 key press I can do it now, youpie! Another key press could
be mapped to reverse [the AR4 parameter 0 1 field]

Using this brutish ‘suppress errors’ method, it should be possible to
bypass the need to know how many ports an object has and achieve your
more complicated connection scenarios with just a few simple key presses
and minor code changes, example: user presses C twice to connect ports 1
and 2 in cascade: js simply “tries” to connect ports 2 to 2 if a user
presses C twice – if it doesn’t have 2 ports, then sure, it would make
an error [i presume the js can do an error check as an indirect method
of determining whether a conn is possible?]; but thats ok – if the shoe
fits…
;)

I’m sure many of the purist coders will be aghast at me accepting code
that works by outputting errors…
:)

Thanks again,

Seb.

#73354
Mar 28, 2006 at 3:54pm

I’m glad it works for you !

The main problem is that there is no simple way to avoid error messages. You can print a bunch of blank lines to “clean” the window but it’s not very convenient…

The next version of the toolbox will have a simple mechanism where before connecting you specify how many connections you want to make using the keyboard, in the same way you now specify which outlet or inlet to connect.

#73355

You must be logged in to reply to this topic.