Forums > MaxMSP

wiimote question

March 18, 2008 | 8:21 am

I expect a brutal flaming, so I’ll just be honest. I have very little experience with Max/MSP. I would have more experience if my midi interface hadn’t crapped out just before i bought Max. And as I’m sure you know, you can’t get very far through the tutorials without a midi controller.

Anyway, I want have something set up so that I have two (or more) mac books with max/msp open where whatever sound is going through can be manipulated by motion of wii remotes. I guess the "manipulation" could entail a simple pitch shift or something to that effect (the manipulation of the sound isn’t too important right now). Anyway, since my knowledge is clearly limited, I was just wondering if anybody here could give me any pointers as to how I could start in getting this going when I do finally get a new midi interface.

What I mean is, what kinds of objects should I be looking at a bit more closely? Ideally, it would be set up so that when a key is hit on the midi controller, it goes through some kind of patch on max/msp and you can move the wii remote to alter whatever sound is coming out. I understand that it’s kind of silly to be asking for technical advice about an idea/program that i wouldn’t understand the logic of, but I had been hoping to have this going sooner before my hardware problems.

Thanks for any help.


March 18, 2008 | 9:27 am

If you already have a wii remote, google and download OSCulator, which
will turn your remote into a midi device (for which you _won’t need a
midi interface). You could then do the tutorials with the wii.
>

Or use this (select text, copy, New from Clipboard in Max) …

max v2;
#N vpatcher 531 246 1253 657;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P hidden newex 617 111 20 196617 t b;
#P hidden newex 616 165 32 196617 sel 0;
#P hidden newex 616 137 66 196617 mousestate;
#P hidden newex 598 43 48 196617 loadbang;
#P hidden message 598 67 20 196617 64;
#P user multiSlider 570 58 12 82 0. 127. 1 2665 47 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P newex 570 212 44 196617 bendout;
#P number 499 130 35 9 0 127 67 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 477 172 54 196617 pack i 7 1;
#P newex 477 212 40 196617 ctlout;
#P user multiSlider 477 58 12 82 0. 127. 1 2665 47 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P number 371 96 35 9 1 16 67 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 279 137 48 196617 loadbang;
#P user ubumenu 226 165 100 196617 0 1 1 0;
#X add "AU DLS Synth 1";
#X add "Pro10IO (0882) Plug 1";
#X add "from MaxMSP 1";
#X add "from MaxMSP 2";
#X add "IAC Driver Bus 1";
#X prefix_set 0 0 0;
#P newex 226 139 46 196617 midiinfo;
#P newex 23 137 94 196617 makenote 100 500;
#P newex 24 162 57 196617 pack i i 1;
#P newex 24 212 43 196617 noteout;
#P user kslider 23 58 54 0 36 48 31 12 0 128 128 128 128 128 128 255
255 255 0 0 0 0 0 0;
#P comment 367 75 67 196617 midi channel;
#P window linecount 4;
#P comment 179 196 253 196617 set to IAC bus (or Windows equivalent)
In the patch you want to learn from , double click on the notein
objects , and select IAC bus.;
#P window linecount 2;
#P comment 18 262 188 196617 You’ll need to have the IAC bus installed
on Mac , or an equivalent on Windows.;
#P window linecount 1;
#P comment 500 116 29 196617 ctl #;
#P comment 462 44 46 196617 ctrller;
#P comment 556 43 34 196617 pbend;
#P connect 6 0 9 0;
#P connect 9 0 8 0;
#P fasten 11 1 7 0 276 187 29 187;
#P connect 8 0 7 0;
#P fasten 9 1 8 1 112 157 52 157;
#P fasten 6 1 9 1 355 124 70 124;
#P fasten 13 0 8 2 376 129 135 129 135 160 75 160;
#P fasten 12 0 10 0 284 158 275 158 275 134 231 134;
#P connect 10 0 11 0;
#P connect 14 0 16 0;
#P fasten 11 1 15 0 276 193 482 193;
#P connect 16 0 15 0;
#P connect 17 0 16 1;
#P fasten 13 0 16 2 376 158 526 158;
#P hidden fasten 20 0 19 0 603 93 591 93 591 56 575 56;
#P connect 19 0 18 0;
#P fasten 11 1 18 0 276 193 575 193;
#P hidden fasten 23 0 20 0 621 193 603 193;
#P hidden connect 21 0 20 0;
#P fasten 13 0 18 1 376 158 609 158;
#P hidden connect 24 0 22 0;
#P hidden connect 22 0 23 0;
#P hidden fasten 19 0 24 0 575 149 606 149 606 104 622 104;
#P pop;


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