Forums > MaxMSP

MIDI Setup

May 3, 2006 | 7:29 pm

…or upset.;-)
I’m new here, but been fooling around with max for a while, so i HAVE tried to solve this – obiviously without sucess.
I made a lo-tech user interface for bcf2000 using ctlin/out and with max/msp 4.5.7 my patch can’t seem to recognize "bcf2000 out 1" as default. This is very annoying. It seems the AU DLS is first priority. I wonder if there is a way to set "bcf2000 out 1" to default for ALL ctlout objects, without writing, for instance, "ctlout b 1 1", but just "ctlout 1 1" Please help.

For users of bcf2000, heres my share to this forum:
(and thanks!)

max v2;
#N vpatcher 107 50 1212 794;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P hidden newex 631 209 59 196617 ctlout 16 1;
#P hidden newex 575 209 59 196617 ctlout 15 1;
#P hidden newex 518 209 59 196617 ctlout 14 1;
#P hidden newex 462 209 59 196617 ctlout 13 1;
#P hidden newex 406 209 59 196617 ctlout 12 1;
#P hidden newex 238 209 53 196617 ctlout 9 1;
#P hidden newex 294 209 59 196617 ctlout 10 1;
#P hidden newex 350 209 59 196617 ctlout 11 1;
#P hidden newex 631 292 53 196617 ctlout 8 2;
#P hidden newex 575 292 53 196617 ctlout 7 2;
#P hidden newex 518 292 53 196617 ctlout 6 2;
#P hidden newex 462 292 53 196617 ctlout 5 2;
#P hidden newex 406 292 53 196617 ctlout 4 2;
#P hidden newex 350 292 53 196617 ctlout 3 2;
#P hidden newex 294 292 53 196617 ctlout 2 2;
#P hidden newex 238 292 53 196617 ctlout 1 2;
#P hidden newex 631 376 55 196617 ctlout 16 2;
#P hidden newex 575 376 55 196617 ctlout 15 2;
#P hidden newex 518 376 55 196617 ctlout 14 2;
#P hidden newex 462 376 55 196617 ctlout 13 2;
#P hidden newex 406 376 55 196617 ctlout 12 2;
#P hidden newex 238 376 49 196617 ctlout 9 2;
#P hidden newex 294 376 55 196617 ctlout 10 2;
#P hidden newex 350 376 55 196617 ctlout 11 2;
#P hidden newex 631 690 53 196617 ctlout 8 1;
#P hidden newex 575 690 53 196617 ctlout 7 1;
#P hidden newex 518 690 53 196617 ctlout 6 1;
#P hidden newex 462 690 53 196617 ctlout 5 1;
#P hidden newex 406 690 53 196617 ctlout 4 1;
#P hidden newex 238 690 54 196617 ctlout 1 1;
#P hidden newex 294 690 54 196617 ctlout 2 1;
#P hidden newex 350 690 53 196617 ctlout 3 1;
#P hidden newex 631 312 52 196617 ctlin 16 2;
#P hidden newex 575 312 52 196617 ctlin 15 2;
#P hidden newex 518 312 52 196617 ctlin 14 2;
#P hidden newex 462 312 52 196617 ctlin 13 2;
#P hidden newex 406 312 52 196617 ctlin 12 2;
#P hidden newex 238 312 45 196617 ctlin 9 2;
#P hidden newex 294 312 52 196617 ctlin 10 2;
#P hidden newex 350 312 52 196617 ctlin 11 2;
#P hidden newex 631 230 45 196617 ctlin 8 2;
#P hidden newex 575 230 45 196617 ctlin 7 2;
#P hidden newex 518 230 45 196617 ctlin 6 2;
#P hidden newex 462 230 45 196617 ctlin 5 2;
#P hidden newex 407 230 45 196617 ctlin 4 2;
#P hidden newex 350 230 45 196617 ctlin 3 2;
#P hidden newex 294 230 45 196617 ctlin 2 2;
#P hidden newex 238 230 45 196617 ctlin 1 2;
#P hidden number 631 670 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 575 670 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 518 670 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 462 670 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 406 670 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 350 670 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 294 670 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 238 670 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 631 144 52 196617 ctlin 16 1;
#P hidden newex 575 144 52 196617 ctlin 15 1;
#P hidden newex 518 144 52 196617 ctlin 14 1;
#P hidden newex 462 144 52 196617 ctlin 13 1;
#P hidden newex 406 144 52 196617 ctlin 12 1;
#P hidden newex 238 144 45 196617 ctlin 9 1;
#P hidden newex 294 144 52 196617 ctlin 10 1;
#P hidden newex 350 144 52 196617 ctlin 11 1;
#P hidden newex 631 396 45 196617 ctlin 8 1;
#P hidden newex 575 396 45 196617 ctlin 7 1;
#P hidden newex 518 396 45 196617 ctlin 6 1;
#P hidden newex 462 396 45 196617 ctlin 5 1;
#P hidden newex 406 396 45 196617 ctlin 4 1;
#P hidden newex 238 396 45 196617 ctlin 1 1;
#P hidden newex 294 396 45 196617 ctlin 2 1;
#P hidden newex 350 396 45 196617 ctlin 3 1;
#P toggle 741 506 40 0;
#P toggle 691 506 40 0;
#P toggle 741 622 40 0;
#P toggle 741 577 40 0;
#P toggle 691 622 40 0;
#P toggle 691 577 40 0;
#P toggle 741 312 40 0;
#P toggle 741 267 40 0;
#P toggle 691 312 40 0;
#P toggle 691 267 40 0;
#P toggle 631 333 40 0;
#P toggle 575 333 40 0;
#P toggle 518 333 40 0;
#P toggle 462 333 40 0;
#P toggle 406 333 40 0;
#P toggle 350 333 40 0;
#P toggle 294 333 40 0;
#P toggle 238 333 40 0;
#P toggle 631 250 40 0;
#P toggle 575 250 40 0;
#P toggle 518 250 40 0;
#P toggle 462 250 40 0;
#P toggle 406 250 40 0;
#P toggle 350 250 40 0;
#P toggle 294 250 40 0;
#P user dial 631 166 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 575 166 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 518 166 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 462 166 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 406 166 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 350 166 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 294 166 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 238 166 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#P toggle 238 250 40 0;
#P user uslider 294 417 40 232 128 1 0 0;
#P user uslider 631 417 40 232 128 1 0 0;
#P user uslider 575 417 40 232 128 1 0 0;
#P user uslider 518 417 40 232 128 1 0 0;
#P user uslider 462 417 40 232 128 1 0 0;
#P user uslider 350 417 40 232 128 1 0 0;
#P user uslider 406 417 40 232 128 1 0 0;
#P user uslider 238 417 40 232 128 1 0 0;
#P hidden connect 52 0 9 0;
#P hidden connect 9 0 108 0;
#P hidden connect 66 0 8 0;
#P hidden connect 8 0 98 0;
#P hidden connect 76 0 24 0;
#P hidden connect 24 0 92 0;
#P hidden connect 44 0 0 0;
#P hidden connect 0 0 58 0;
#P hidden connect 58 0 84 0;
#P hidden connect 51 0 10 0;
#P hidden connect 10 0 107 0;
#P hidden connect 67 0 17 0;
#P hidden connect 17 0 99 0;
#P hidden connect 75 0 25 0;
#P hidden connect 25 0 91 0;
#P hidden connect 43 0 7 0;
#P hidden connect 7 0 59 0;
#P hidden connect 59 0 83 0;
#P hidden connect 50 0 11 0;
#P hidden connect 11 0 106 0;
#P hidden connect 68 0 18 0;
#P hidden connect 18 0 100 0;
#P hidden connect 74 0 26 0;
#P hidden connect 26 0 90 0;
#P hidden connect 42 0 2 0;
#P hidden connect 2 0 60 0;
#P hidden connect 60 0 82 0;
#P hidden connect 53 0 12 0;
#P hidden connect 12 0 109 0;
#P hidden connect 69 0 19 0;
#P hidden connect 19 0 101 0;
#P hidden connect 77 0 27 0;
#P hidden connect 27 0 93 0;
#P hidden connect 45 0 1 0;
#P hidden connect 1 0 61 0;
#P hidden connect 61 0 85 0;
#P hidden connect 54 0 13 0;
#P hidden connect 13 0 110 0;
#P hidden connect 70 0 20 0;
#P hidden connect 20 0 102 0;
#P hidden connect 78 0 28 0;
#P hidden connect 28 0 94 0;
#P hidden connect 46 0 3 0;
#P hidden connect 3 0 62 0;
#P hidden connect 62 0 86 0;
#P hidden connect 55 0 14 0;
#P hidden connect 14 0 111 0;
#P hidden connect 71 0 21 0;
#P hidden connect 21 0 103 0;
#P hidden connect 79 0 29 0;
#P hidden connect 29 0 95 0;
#P hidden connect 47 0 4 0;
#P hidden connect 4 0 63 0;
#P hidden connect 63 0 87 0;
#P hidden connect 56 0 15 0;
#P hidden connect 15 0 112 0;
#P hidden connect 72 0 22 0;
#P hidden connect 22 0 104 0;
#P hidden connect 80 0 30 0;
#P hidden connect 30 0 96 0;
#P hidden connect 48 0 5 0;
#P hidden connect 5 0 64 0;
#P hidden connect 64 0 88 0;
#P hidden connect 57 0 16 0;
#P hidden connect 16 0 113 0;
#P hidden connect 73 0 23 0;
#P hidden connect 23 0 105 0;
#P hidden connect 81 0 31 0;
#P hidden connect 31 0 97 0;
#P hidden connect 49 0 6 0;
#P hidden connect 6 0 65 0;
#P hidden connect 65 0 89 0;
#P pop;


May 4, 2006 | 9:40 am

Added that functionality…, and to make the spaghetti mangeable, added
some sauce…

The needed info is inside the ctlout.help in a subpatcher called
outport.help

But don’t assume a different user is using the same port names as you
do… To come around that, look at my St.MidiInport/St.MidiOutport
abstractions you could ask for just a part of the name like
[St.MidiInport bfc]

Stefan

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 352 25 100 196617 choose outport;
#P newex 217 39 103 196617 loadmess controlers;
#P newex 217 61 56 196617 midiinfo;
#P user umenu 217 86 86 196647 1 64 102 0;
#X add;
#P hidden newex 30 87 151 196617 loadmess port "bfc2000 out 1";
#P newex 348 39 61 196617 loadbang;
#P newex 348 61 56 196617 midiinfo;
#P user umenu 348 86 86 196647 1 64 102 0;
#X add;
#P hidden newex 423 202 59 196617 ctlout 16 1;
#P hidden newex 367 202 59 196617 ctlout 15 1;
#P hidden newex 310 202 59 196617 ctlout 14 1;
#P hidden newex 254 202 59 196617 ctlout 13 1;
#P hidden newex 198 202 59 196617 ctlout 12 1;
#P hidden newex 30 202 53 196617 ctlout 9 1;
#P hidden newex 86 202 59 196617 ctlout 10 1;
#P hidden newex 142 202 59 196617 ctlout 11 1;
#P hidden newex 423 285 53 196617 ctlout 8 2;
#P hidden newex 367 285 53 196617 ctlout 7 2;
#P hidden newex 310 285 53 196617 ctlout 6 2;
#P hidden newex 254 285 53 196617 ctlout 5 2;
#P hidden newex 198 285 53 196617 ctlout 4 2;
#P hidden newex 142 285 53 196617 ctlout 3 2;
#P hidden newex 86 285 53 196617 ctlout 2 2;
#P hidden newex 30 285 53 196617 ctlout 1 2;
#P hidden newex 423 369 55 196617 ctlout 16 2;
#P hidden newex 367 369 55 196617 ctlout 15 2;
#P hidden newex 310 369 55 196617 ctlout 14 2;
#P hidden newex 254 369 55 196617 ctlout 13 2;
#P hidden newex 198 369 55 196617 ctlout 12 2;
#P hidden newex 30 369 49 196617 ctlout 9 2;
#P hidden newex 86 369 55 196617 ctlout 10 2;
#P hidden newex 142 369 55 196617 ctlout 11 2;
#P hidden newex 423 683 53 196617 ctlout 8 1;
#P hidden newex 367 683 53 196617 ctlout 7 1;
#P hidden newex 310 683 53 196617 ctlout 6 1;
#P hidden newex 254 683 53 196617 ctlout 5 1;
#P hidden newex 198 683 53 196617 ctlout 4 1;
#P hidden newex 30 683 54 196617 ctlout 1 1;
#P hidden newex 86 683 54 196617 ctlout 2 1;
#P hidden newex 142 683 53 196617 ctlout 3 1;
#P hidden newex 423 305 52 196617 ctlin 16 2;
#P hidden newex 367 305 52 196617 ctlin 15 2;
#P hidden newex 310 305 52 196617 ctlin 14 2;
#P hidden newex 254 305 52 196617 ctlin 13 2;
#P hidden newex 198 305 52 196617 ctlin 12 2;
#P hidden newex 30 305 45 196617 ctlin 9 2;
#P hidden newex 86 305 52 196617 ctlin 10 2;
#P hidden newex 142 305 52 196617 ctlin 11 2;
#P hidden newex 423 222 45 196617 ctlin 8 2;
#P hidden newex 367 222 45 196617 ctlin 7 2;
#P hidden newex 310 222 45 196617 ctlin 6 2;
#P hidden newex 254 222 45 196617 ctlin 5 2;
#P hidden newex 199 222 45 196617 ctlin 4 2;
#P hidden newex 142 222 45 196617 ctlin 3 2;
#P hidden newex 86 222 45 196617 ctlin 2 2;
#P hidden newex 30 222 45 196617 ctlin 1 2;
#P hidden number 423 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 367 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 310 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 254 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 198 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 142 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 86 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 30 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 423 137 52 196617 ctlin 16 1;
#P hidden newex 367 137 52 196617 ctlin 15 1;
#P hidden newex 310 137 52 196617 ctlin 14 1;
#P hidden newex 254 137 52 196617 ctlin 13 1;
#P hidden newex 198 137 52 196617 ctlin 12 1;
#P hidden newex 30 137 45 196617 ctlin 9 1;
#P hidden newex 86 137 52 196617 ctlin 10 1;
#P hidden newex 142 137 52 196617 ctlin 11 1;
#P hidden newex 423 389 45 196617 ctlin 8 1;
#P hidden newex 367 389 45 196617 ctlin 7 1;
#P hidden newex 310 389 45 196617 ctlin 6 1;
#P hidden newex 254 389 45 196617 ctlin 5 1;
#P hidden newex 198 389 45 196617 ctlin 4 1;
#P hidden newex 30 389 45 196617 ctlin 1 1;
#P hidden newex 86 389 45 196617 ctlin 2 1;
#P hidden newex 142 389 45 196617 ctlin 3 1;
#P toggle 533 499 40 0;
#P toggle 483 499 40 0;
#P toggle 533 615 40 0;
#P toggle 533 570 40 0;
#P toggle 483 615 40 0;
#P toggle 483 570 40 0;
#P toggle 533 305 40 0;
#P toggle 533 260 40 0;
#P toggle 483 305 40 0;
#P toggle 483 260 40 0;
#P toggle 423 326 40 0;
#P toggle 367 326 40 0;
#P toggle 310 326 40 0;
#P toggle 254 326 40 0;
#P toggle 198 326 40 0;
#P toggle 142 326 40 0;
#P toggle 86 326 40 0;
#P toggle 30 326 40 0;
#P toggle 423 243 40 0;
#P toggle 367 243 40 0;
#P toggle 310 243 40 0;
#P toggle 254 243 40 0;
#P toggle 198 243 40 0;
#P toggle 142 243 40 0;
#P toggle 86 243 40 0;
#P user dial 423 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 367 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 310 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 254 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 198 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 142 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 86 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 30 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P toggle 30 243 40 0;
#P user uslider 86 410 40 232 128 1 0 0;
#P user uslider 423 410 40 232 128 1 0 0;
#P user uslider 367 410 40 232 128 1 0 0;
#P user uslider 310 410 40 232 128 1 0 0;
#P user uslider 254 410 40 232 128 1 0 0;
#P user uslider 142 410 40 232 128 1 0 0;
#P user uslider 198 410 40 232 128 1 0 0;
#P user uslider 30 410 40 232 128 1 0 0;
#P comment 217 25 100 196617 choose inport;
#P hidden connect 118 0 109 0;
#P lcolor 15;
#P hidden connect 118 0 99 0;
#P lcolor 15;
#P hidden connect 118 0 93 0;
#P lcolor 15;
#P hidden connect 118 0 85 0;
#P lcolor 15;
#P hidden connect 118 0 108 0;
#P lcolor 15;
#P hidden connect 118 0 100 0;
#P lcolor 15;
#P hidden connect 118 0 92 0;
#P lcolor 15;
#P hidden connect 118 0 84 0;
#P lcolor 15;
#P hidden connect 118 0 107 0;
#P lcolor 15;
#P hidden connect 118 0 101 0;
#P lcolor 15;
#P hidden connect 118 0 91 0;
#P lcolor 15;
#P hidden connect 118 0 83 0;
#P lcolor 15;
#P hidden connect 118 0 110 0;
#P lcolor 15;
#P hidden connect 118 0 102 0;
#P lcolor 15;
#P hidden connect 118 0 94 0;
#P lcolor 15;
#P hidden connect 118 0 86 0;
#P lcolor 15;
#P hidden connect 118 0 111 0;
#P lcolor 15;
#P hidden connect 118 0 103 0;
#P lcolor 15;
#P hidden connect 118 0 95 0;
#P lcolor 15;
#P hidden connect 118 0 87 0;
#P lcolor 15;
#P hidden connect 118 0 112 0;
#P lcolor 15;
#P hidden connect 118 0 104 0;
#P lcolor 15;
#P hidden connect 118 0 96 0;
#P lcolor 15;
#P hidden connect 118 0 88 0;
#P lcolor 15;
#P hidden connect 118 0 113 0;
#P lcolor 15;
#P hidden connect 118 0 105 0;
#P lcolor 15;
#P hidden connect 118 0 97 0;
#P lcolor 15;
#P hidden connect 118 0 89 0;
#P lcolor 15;
#P hidden connect 118 0 114 0;
#P lcolor 15;
#P hidden connect 118 0 106 0;
#P lcolor 15;
#P hidden connect 118 0 98 0;
#P lcolor 15;
#P hidden connect 118 0 90 0;
#P lcolor 15;
#P connect 117 0 116 0;
#P connect 121 0 120 0;
#P hidden connect 119 1 53 0;
#P lcolor 7;
#P hidden connect 119 1 67 0;
#P lcolor 7;
#P hidden connect 119 1 77 0;
#P lcolor 7;
#P hidden connect 119 1 45 0;
#P lcolor 7;
#P hidden connect 119 1 52 0;
#P lcolor 7;
#P hidden connect 119 1 68 0;
#P lcolor 7;
#P hidden connect 119 1 76 0;
#P lcolor 7;
#P hidden connect 119 1 44 0;
#P lcolor 7;
#P hidden connect 119 1 51 0;
#P lcolor 7;
#P hidden connect 119 1 69 0;
#P lcolor 7;
#P hidden connect 119 1 75 0;
#P lcolor 7;
#P hidden connect 119 1 43 0;
#P lcolor 7;
#P hidden connect 119 1 54 0;
#P lcolor 7;
#P hidden connect 119 1 78 0;
#P lcolor 7;
#P hidden connect 119 1 46 0;
#P lcolor 7;
#P hidden connect 119 1 70 0;
#P lcolor 7;
#P hidden connect 119 1 55 0;
#P lcolor 7;
#P hidden connect 119 1 71 0;
#P lcolor 7;
#P hidden connect 119 1 79 0;
#P lcolor 7;
#P hidden connect 119 1 47 0;
#P lcolor 7;
#P hidden connect 119 1 56 0;
#P lcolor 7;
#P hidden connect 119 1 72 0;
#P lcolor 7;
#P hidden connect 119 1 80 0;
#P lcolor 7;
#P hidden connect 119 1 48 0;
#P lcolor 7;
#P hidden connect 119 1 57 0;
#P lcolor 7;
#P hidden connect 119 1 73 0;
#P lcolor 7;
#P hidden connect 119 1 81 0;
#P lcolor 7;
#P hidden connect 119 1 49 0;
#P lcolor 7;
#P hidden connect 119 1 58 0;
#P lcolor 7;
#P hidden connect 119 1 74 0;
#P lcolor 7;
#P hidden connect 119 1 82 0;
#P lcolor 7;
#P hidden connect 119 1 50 0;
#P lcolor 7;
#P hidden connect 115 1 109 0;
#P lcolor 2;
#P hidden connect 115 1 99 0;
#P lcolor 2;
#P hidden connect 115 1 93 0;
#P lcolor 2;
#P hidden connect 115 1 85 0;
#P lcolor 2;
#P hidden connect 115 1 108 0;
#P lcolor 2;
#P hidden connect 115 1 100 0;
#P lcolor 2;
#P hidden connect 115 1 92 0;
#P lcolor 2;
#P hidden connect 115 1 84 0;
#P lcolor 2;
#P hidden connect 115 1 107 0;
#P lcolor 2;
#P hidden connect 115 1 101 0;
#P lcolor 2;
#P hidden connect 115 1 91 0;
#P lcolor 2;
#P hidden connect 115 1 83 0;
#P lcolor 2;
#P hidden connect 115 1 110 0;
#P lcolor 2;
#P hidden connect 115 1 102 0;
#P lcolor 2;
#P hidden connect 115 1 94 0;
#P lcolor 2;
#P hidden connect 115 1 86 0;
#P lcolor 2;
#P hidden connect 115 1 111 0;
#P lcolor 2;
#P hidden connect 115 1 103 0;
#P lcolor 2;
#P hidden connect 115 1 95 0;
#P lcolor 2;
#P hidden connect 115 1 87 0;
#P lcolor 2;
#P hidden connect 115 1 112 0;
#P lcolor 2;
#P hidden connect 115 1 104 0;
#P lcolor 2;
#P hidden connect 115 1 96 0;
#P lcolor 2;
#P hidden connect 115 1 88 0;
#P lcolor 2;
#P hidden connect 115 1 113 0;
#P lcolor 2;
#P hidden connect 115 1 105 0;
#P lcolor 2;
#P hidden connect 115 1 97 0;
#P lcolor 2;
#P hidden connect 115 1 89 0;
#P lcolor 2;
#P hidden connect 115 1 114 0;
#P lcolor 2;
#P hidden connect 115 1 106 0;
#P lcolor 2;
#P hidden connect 115 1 98 0;
#P lcolor 2;
#P hidden connect 115 1 90 0;
#P lcolor 2;
#P hidden connect 53 0 10 0;
#P connect 120 0 119 0;
#P connect 116 0 115 0;
#P hidden connect 66 0 90 0;
#P hidden connect 7 0 66 0;
#P hidden connect 50 0 7 0;
#P hidden connect 32 0 98 0;
#P hidden connect 82 0 32 0;
#P hidden connect 24 0 106 0;
#P hidden connect 74 0 24 0;
#P hidden connect 17 0 114 0;
#P hidden connect 58 0 17 0;
#P hidden connect 65 0 89 0;
#P hidden connect 6 0 65 0;
#P hidden connect 49 0 6 0;
#P hidden connect 31 0 97 0;
#P hidden connect 81 0 31 0;
#P hidden connect 23 0 105 0;
#P hidden connect 73 0 23 0;
#P hidden connect 16 0 113 0;
#P hidden connect 57 0 16 0;
#P hidden connect 64 0 88 0;
#P hidden connect 5 0 64 0;
#P hidden connect 48 0 5 0;
#P hidden connect 30 0 96 0;
#P hidden connect 80 0 30 0;
#P hidden connect 22 0 104 0;
#P hidden connect 72 0 22 0;
#P hidden connect 15 0 112 0;
#P hidden connect 56 0 15 0;
#P hidden connect 63 0 87 0;
#P hidden connect 4 0 63 0;
#P hidden connect 47 0 4 0;
#P hidden connect 29 0 95 0;
#P hidden connect 79 0 29 0;
#P hidden connect 21 0 103 0;
#P hidden connect 71 0 21 0;
#P hidden connect 14 0 111 0;
#P hidden connect 55 0 14 0;
#P hidden connect 62 0 86 0;
#P hidden connect 2 0 62 0;
#P hidden connect 46 0 2 0;
#P hidden connect 28 0 94 0;
#P hidden connect 78 0 28 0;
#P hidden connect 20 0 102 0;
#P hidden connect 70 0 20 0;
#P hidden connect 13 0 110 0;
#P hidden connect 54 0 13 0;
#P hidden connect 61 0 83 0;
#P hidden connect 3 0 61 0;
#P hidden connect 43 0 3 0;
#P hidden connect 27 0 91 0;
#P hidden connect 75 0 27 0;
#P hidden connect 19 0 101 0;
#P hidden connect 69 0 19 0;
#P hidden connect 12 0 107 0;
#P hidden connect 51 0 12 0;
#P hidden connect 60 0 84 0;
#P hidden connect 8 0 60 0;
#P hidden connect 44 0 8 0;
#P hidden connect 26 0 92 0;
#P hidden connect 76 0 26 0;
#P hidden connect 18 0 100 0;
#P hidden connect 68 0 18 0;
#P hidden connect 11 0 108 0;
#P hidden connect 52 0 11 0;
#P hidden connect 59 0 85 0;
#P hidden connect 1 0 59 0;
#P hidden connect 45 0 1 0;
#P hidden connect 25 0 93 0;
#P hidden connect 77 0 25 0;
#P hidden connect 9 0 99 0;
#P hidden connect 67 0 9 0;
#P hidden connect 10 0 109 0;
#P window clipboard copycount 123;

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

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


May 4, 2006 | 10:44 am

>
> Added that functionality…, and to make the spaghetti mangeable, added
> some sauce…

Is it bolognese sauce?

> The needed info is inside the ctlout.help in a subpatcher called
> outport.help

Looked in the subpatch, but the specific function i’m looking for isn’t described there.
If I rephrase the question:
Why will not the only one midi-in connection chosen in the midi-setup work as a implicit default? (I have, of course, un-checked the inputs i’m not using, and set the correct input offset to 16)
If there is a possibility to rule out the other inputs, and get max to understand that i’m using only one midi input, the spagetti, with the sauce, will be unnecessary. (Even though it’s appetizing)
The strange thing is that this worked out fine in the trialversions of 4.2 and 4.3.
I know it may seem a unnecessary thing, but the patch i’m currently working in is huge and it will take hours or days to fix this – and theres allready plenty of spagetti…

BUT never the less: THANKS a lot for your help, AND the sauce!

all the best

eyvind gulbrandsen


May 4, 2006 | 11:18 am

OOPS!!!
I mean MIDI out of course!!! Its for making my bcf2000 motorized! I came to write midi in when refering to the midi setup prefs. I want it to understand only one midi OUT…
Sorry for this mess…


May 8, 2006 | 9:45 am

Eyvind Gulbrandsen wrote:
> Is it bolognese sauce?

No, I am vegetarian, its sauce napoli with a parisienne touch…

> Why will not the only one midi-in connection chosen in the midi-setup
> work as a implicit default?

Are you refering to the OS X Midisetup or the Max Midisetup? This is not
clear, for me the Max Midisetup works, though I never use it. This will
only work on your computer. To make the patch more universal and
distributable you’d need to specify the outport…

> If there is a possibility to rule out the other inputs, and get max
> to understand that i’m using only one midi input, the spagetti, with
> the sauce, will be unnecessary. (Even though it’s appetizing)

The Max Midisetup should be able to do it… (Switch off those you don’t
want)
I didn’t use it since OS 9 days though and I would not recommend it. In
my setups ports are changing all the time, to adjust each time the
Midisetup is not convenient. I prefer to patch solid…

> I know it may seem a unnecessary thing, but the patch i’m currently
> working in is huge and it will take hours or days to fix this – and
> theres allready plenty of spagetti…

You can avoid the pasta meal with send/receives… create your own
ctlout abstraction, call it bfcout for example. There you just add a
receive object [r bfcport]. Then open your patch in a texteditor (you
need to save it in textformat). replace all ctlout by bfcout and place a
single [s bfcport] into your main patch, which will set all ctlouts to
the correct port. This would work on any other computer setup as well.

Even the spaghetti solution is done pretty fast with nathanaels
MaxToolbox (otherwise I would not have sent the spaghetti with sauce my
time is limited as well ;-)

I’ve eaten all the spaghetti, bon appetit:

Stefan

save as bfcout.pat:

#P inlet 183 81 15 0;
#P inlet 142 81 15 0;
#P inlet 101 81 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 41 81 50 196617 r bfcport;
#P newex 101 114 92 196617 ctlout $1 $2 $3;
#P connect 2 0 0 0;
#P connect 1 0 0 0;
#P connect 3 0 0 1;
#P connect 4 0 0 2;
#P window clipboard copycount 5;

And the patch without spaghetti:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 345 24 100 196617 Method 2 (classic);
#P comment 217 26 114 196617 Method 1 (with St.ools);
#P hidden newex 30 109 50 196617 s bfcport;
#P comment 113 26 100 196617 choose outport;
#P hidden newex 30 87 151 196617 loadmess port "bfc2000 out 1";
#P newex 348 39 61 196617 loadbang;
#P newex 348 61 56 196617 midiinfo;
#P user umenu 348 86 86 196647 1 64 102 0;
#X add;
#P hidden newex 423 202 59 196617 bfcout 16 1;
#P hidden newex 367 202 59 196617 bfcout 15 1;
#P hidden newex 310 202 59 196617 bfcout 14 1;
#P hidden newex 254 202 59 196617 bfcout 13 1;
#P hidden newex 198 202 59 196617 bfcout 12 1;
#P hidden newex 30 202 53 196617 bfcout 9 1;
#P hidden newex 86 202 59 196617 bfcout 10 1;
#P hidden newex 142 202 59 196617 bfcout 11 1;
#P hidden newex 423 285 53 196617 bfcout 8 2;
#P hidden newex 367 285 53 196617 bfcout 7 2;
#P hidden newex 310 285 53 196617 bfcout 6 2;
#P hidden newex 254 285 53 196617 bfcout 5 2;
#P hidden newex 198 285 53 196617 bfcout 4 2;
#P hidden newex 142 285 53 196617 bfcout 3 2;
#P hidden newex 86 285 53 196617 bfcout 2 2;
#P hidden newex 30 285 53 196617 bfcout 1 2;
#P hidden newex 423 369 69 196617 bfcout 16 2;
#P hidden newex 367 369 69 196617 bfcout 15 2;
#P hidden newex 310 369 69 196617 bfcout 14 2;
#P hidden newex 254 369 69 196617 bfcout 13 2;
#P hidden newex 198 369 69 196617 bfcout 12 2;
#P hidden newex 30 369 63 196617 bfcout 9 2;
#P hidden newex 86 369 69 196617 bfcout 10 2;
#P hidden newex 142 369 69 196617 bfcout 11 2;
#P hidden newex 423 683 53 196617 bfcout 8 1;
#P hidden newex 367 683 53 196617 bfcout 7 1;
#P hidden newex 310 683 53 196617 bfcout 6 1;
#P hidden newex 254 683 53 196617 bfcout 5 1;
#P hidden newex 198 683 53 196617 bfcout 4 1;
#P hidden newex 30 683 54 196617 bfcout 1 1;
#P hidden newex 86 683 54 196617 bfcout 2 1;
#P hidden newex 142 683 53 196617 bfcout 3 1;
#P hidden newex 423 305 52 196617 ctlin 16 2;
#P hidden newex 367 305 52 196617 ctlin 15 2;
#P hidden newex 310 305 52 196617 ctlin 14 2;
#P hidden newex 254 305 52 196617 ctlin 13 2;
#P hidden newex 198 305 52 196617 ctlin 12 2;
#P hidden newex 30 305 45 196617 ctlin 9 2;
#P hidden newex 86 305 52 196617 ctlin 10 2;
#P hidden newex 142 305 52 196617 ctlin 11 2;
#P hidden newex 423 222 45 196617 ctlin 8 2;
#P hidden newex 367 222 45 196617 ctlin 7 2;
#P hidden newex 310 222 45 196617 ctlin 6 2;
#P hidden newex 254 222 45 196617 ctlin 5 2;
#P hidden newex 199 222 45 196617 ctlin 4 2;
#P hidden newex 142 222 45 196617 ctlin 3 2;
#P hidden newex 86 222 45 196617 ctlin 2 2;
#P hidden newex 30 222 45 196617 ctlin 1 2;
#P hidden number 423 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 367 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 310 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 254 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 198 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 142 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 86 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden number 30 663 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 423 137 52 196617 ctlin 16 1;
#P hidden newex 367 137 52 196617 ctlin 15 1;
#P hidden newex 310 137 52 196617 ctlin 14 1;
#P hidden newex 254 137 52 196617 ctlin 13 1;
#P hidden newex 198 137 52 196617 ctlin 12 1;
#P hidden newex 30 137 45 196617 ctlin 9 1;
#P hidden newex 86 137 52 196617 ctlin 10 1;
#P hidden newex 142 137 52 196617 ctlin 11 1;
#P hidden newex 423 389 45 196617 ctlin 8 1;
#P hidden newex 367 389 45 196617 ctlin 7 1;
#P hidden newex 310 389 45 196617 ctlin 6 1;
#P hidden newex 254 389 45 196617 ctlin 5 1;
#P hidden newex 198 389 45 196617 ctlin 4 1;
#P hidden newex 30 389 45 196617 ctlin 1 1;
#P hidden newex 86 389 45 196617 ctlin 2 1;
#P hidden newex 142 389 45 196617 ctlin 3 1;
#P toggle 533 499 40 0;
#P toggle 483 499 40 0;
#P toggle 533 615 40 0;
#P toggle 533 570 40 0;
#P toggle 483 615 40 0;
#P toggle 483 570 40 0;
#P toggle 533 305 40 0;
#P toggle 533 260 40 0;
#P toggle 483 305 40 0;
#P toggle 483 260 40 0;
#P toggle 423 326 40 0;
#P toggle 367 326 40 0;
#P toggle 310 326 40 0;
#P toggle 254 326 40 0;
#P toggle 198 326 40 0;
#P toggle 142 326 40 0;
#P toggle 86 326 40 0;
#P toggle 30 326 40 0;
#P toggle 423 243 40 0;
#P toggle 367 243 40 0;
#P toggle 310 243 40 0;
#P toggle 254 243 40 0;
#P toggle 198 243 40 0;
#P toggle 142 243 40 0;
#P toggle 86 243 40 0;
#P user dial 423 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 367 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 310 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 254 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 198 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 142 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 86 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 30 159 40 40 128 1 0 0 7 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#P toggle 30 243 40 0;
#P user uslider 86 410 40 232 128 1 0 0;
#P user uslider 423 410 40 232 128 1 0 0;
#P user uslider 367 410 40 232 128 1 0 0;
#P user uslider 310 410 40 232 128 1 0 0;
#P user uslider 254 410 40 232 128 1 0 0;
#P user uslider 142 410 40 232 128 1 0 0;
#P user uslider 198 410 40 232 128 1 0 0;
#P user uslider 30 410 40 232 128 1 0 0;
#P newex 217 61 93 196617 St.MidiOutport bfc;
#P user umenu 217 86 86 196647 1 64 102 0;
#X add;
#P hidden connect 11 0 110 0;
#P hidden fasten 0 1 121 0 298 106 35 106;
#P connect 1 0 0 0;
#P hidden fasten 116 1 121 0 429 106 35 106;
#P hidden connect 119 0 121 0;
#P hidden connect 68 0 10 0;
#P hidden connect 10 0 100 0;
#P hidden connect 78 0 26 0;
#P hidden connect 26 0 94 0;
#P hidden connect 46 0 2 0;
#P hidden connect 2 0 60 0;
#P hidden connect 60 0 86 0;
#P hidden connect 53 0 12 0;
#P hidden connect 12 0 109 0;
#P hidden connect 69 0 19 0;
#P hidden connect 19 0 101 0;
#P hidden connect 77 0 27 0;
#P hidden connect 27 0 93 0;
#P hidden connect 45 0 9 0;
#P hidden connect 9 0 61 0;
#P hidden connect 61 0 85 0;
#P hidden connect 52 0 13 0;
#P hidden connect 13 0 108 0;
#P hidden connect 70 0 20 0;
#P hidden connect 20 0 102 0;
#P hidden connect 76 0 28 0;
#P hidden connect 28 0 92 0;
#P hidden connect 44 0 4 0;
#P hidden connect 4 0 62 0;
#P hidden connect 62 0 84 0;
#P hidden connect 55 0 14 0;
#P hidden connect 14 0 111 0;
#P hidden connect 71 0 21 0;
#P hidden connect 21 0 103 0;
#P hidden connect 79 0 29 0;
#P hidden connect 29 0 95 0;
#P hidden connect 47 0 3 0;
#P hidden connect 3 0 63 0;
#P hidden connect 63 0 87 0;
#P hidden connect 56 0 15 0;
#P hidden connect 15 0 112 0;
#P hidden connect 72 0 22 0;
#P hidden connect 22 0 104 0;
#P hidden connect 80 0 30 0;
#P hidden connect 30 0 96 0;
#P hidden connect 48 0 5 0;
#P hidden connect 5 0 64 0;
#P hidden connect 64 0 88 0;
#P hidden connect 57 0 16 0;
#P hidden connect 16 0 113 0;
#P hidden connect 73 0 23 0;
#P hidden connect 23 0 105 0;
#P hidden connect 81 0 31 0;
#P hidden connect 31 0 97 0;
#P hidden connect 49 0 6 0;
#P hidden connect 6 0 65 0;
#P hidden connect 65 0 89 0;
#P hidden connect 58 0 17 0;
#P hidden connect 17 0 114 0;
#P hidden connect 74 0 24 0;
#P hidden connect 24 0 106 0;
#P hidden connect 82 0 32 0;
#P hidden connect 32 0 98 0;
#P hidden connect 50 0 7 0;
#P hidden connect 7 0 66 0;
#P hidden connect 66 0 90 0;
#P hidden connect 59 0 18 0;
#P hidden connect 18 0 115 0;
#P hidden connect 75 0 25 0;
#P hidden connect 25 0 107 0;
#P hidden connect 83 0 33 0;
#P hidden connect 33 0 99 0;
#P hidden connect 51 0 8 0;
#P hidden connect 8 0 67 0;
#P hidden connect 67 0 91 0;
#P connect 117 0 116 0;
#P hidden connect 54 0 11 0;
#P connect 118 0 117 0;
#P window clipboard copycount 124;

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

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


May 8, 2006 | 9:54 am

That was both constructive and informative! (even without being patronizing as some here tend to, when it comes to rookie questions…)! Thanks a bunch!
And thanks for the maxtool tips – I will check it out.

Have a grand day!

all the best
eyvind


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