XML Feeds

.

[maxmsp] A patch for zooming a selected screen area with midi data.

gamuso mancuspio at hotmail.com
Wed Sep 5 11:52:16 MDT 2007


I posted this patch a couple of days ago, into another post. Here it is again for anyone that hasn?t seen it. I?m proud of it, is not bad for a `one month-old max user?. For me it,ll be so useful over the stage, as I use to dance meanwhile change parameters and efects... away from my machine.

This is what I posted:

Hello again... this aka is too much!!.

He?s got almost anything. Thanks to aka.mouse and aka.keyboard I have done a patch to zoom in on a specified screen area. 

This patch is going to be so useful to anyone over the stage that want to change some parametes on a patch or a ableton live?s efect. you can asing a zoom in over it with the same cc or note number that turns your efects on. That way you won?t have to go to your screen as a blind mudafucka.

Remember you have to use the aka objects, you can get them here:

http://www.iamas.ac.jp/~aka/max/

Here it is:


#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P hidden newex 104 404 94 196617 bgcolor 204 162 0;
#P window setfont "Sans Serif" 10.;
#P window linecount 2;
#P comment 446 332 144 196618 Triggers triggers shortcut to zoom out.;
#P comment 428 294 144 196618 Triggers shortcut to zoom in.;
#P window linecount 3;
#P comment 50 293 100 196618 Move mouse to ->>>specified screen coordenades.;
#P window setfont "Sans Serif" 9.;
#P window linecount 2;
#P message 167 295 61 196617 moveto 930 700;
#B color 6;
#P window linecount 1;
#P newex 167 367 59 196617 aka.mouse;
#B color 6;
#P window setfont "Sans Serif" 10.;
#P newex 202 250 48 196618 select 0;
#B color 6;
#P number 228 181 35 10 0 0 0 3 0 0 0 131 232 224 222 222 222 0 0 0;
#P window setfont "Sans Serif" 9.;
#P newex 202 205 40 196617 unpack;
#B color 6;
#P number 202 227 27 9 0 0 0 3 0 0 0 131 232 224 222 222 222 0 0 0;
#P number 232 227 28 9 0 0 0 3 0 0 0 131 232 224 222 222 222 0 0 0;
#P window setfont "Sans Serif" 10.;
#P newex 202 152 92 196618 midiparse;
#B color 6;
#P newex 202 120 53 196618 midiin d;
#B color 6;
#P window setfont "Sans Serif" 9.;
#P message 279 332 154 196617 keydown 58 \, key 23 \, keyup 58 \,;
#B color 6;
#P message 258 295 154 196617 keydown 58 \, key 21 \, keyup 58 \,;
#B color 6;
#P window setfont "Sans Serif" 10.;
#P newex 258 367 73 196618 aka.keyboard;
#B color 6;
#P comment 77 208 104 196618 Unpack midi note ->;
#P window linecount 2;
#P comment 6 62 269 196618 Zooms in and out over a specified screen area. Useful to watch propperly when you are away of your screen.;
#P window setfont "Sans Serif" 18.;
#P window linecount 1;
#P comment 6 27 143 196626 Zooming in&out;
#P window setfont "Sans Serif" 10.;
#P window linecount 4;
#P comment 371 26 186 196618 First of all you have to get the fantastics aka.mouse and aka.keyboard from http://www.iamas.ac.jp/~aka/max/;
#P window linecount 13;
#P comment 372 108 189 196618 Then you have to go to `system preferences? -> `universal access? -> `mouse and trackpad? -> `open preferences panel keyboard? -> `zoom?. There you tipe to `zoom in? and `out? the shortcuts you want (for this patch I use opption+5 and opption+4 to zoom in and out). Ofcourse `zoom?is got to be activated and propperly configurated. It?s easy \, try yourself the different posibilities.;
#P window linecount 3;
#P comment 6 241 189 196618 Put here the note you whant to trigger the zoom in. All others will-> zoom out.;
#P comment 267 181 62 196618 <-Use this to use cc numbers.;
#P window setfont "Sans Serif" 9.;
#P window linecount 5;
#P comment 281 29 61 196617 david fernández. madrid. mancuspio at hotmail.com;
#B frgb 255 25 144;
#P window setfont "Sans Serif" 10.;
#P window linecount 1;
#P comment 7 123 181 196618 Get midi info from your controller.;
#P window setfont Arial 10.;
#P comment 201 38 72 131137546 Thanks Aka!!.;
#P user panel -1 22 348 77;
#X brgb 127 254 230;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P fasten 20 0 22 0 207 287 172 287;
#P connect 22 0 21 0;
#P connect 14 0 15 0;
#P connect 15 0 18 0;
#P connect 18 0 17 0;
#P connect 17 0 20 0;
#P connect 15 2 19 0;
#P connect 18 1 16 0;
#P fasten 20 0 12 0 207 278 263 278;
#P connect 12 0 11 0;
#P fasten 13 0 11 0 284 357 263 357;
#P fasten 20 1 13 0 245 318 284 318;
#P window clipboard copycount 27;
--
PB 15" 1,67 Ghz. 1,5 G RAM. 
Lacie 250 Gb.
Presonus FireBox
Ableton Live 6



More information about the maxmsp mailing list