max v2; #N vpatcher 74 33 885 683; #P origin 396 -13; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P hidden message 643 194 28 9109513 1023; #P window setfont "Sans Serif" 12.; #P comment 645 394 30 9109516 Max; #P comment 599 394 29 9109516 Min; #P number 643 368 42 12 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P number 599 368 35 12 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P hidden newex 550 401 120 9109516 zmap 0 1023 0 1023; #P user uslider 643 216 18 128 1024 1 0 0; #P user uslider 599 217 18 128 512 1 0 0; #P window setfont "Sans Serif" 9.; #P hidden newex 197 75 30 9109513 r port; #P hidden newex 396 151 32 9109513 s port; #P hidden newex 319 74 144 9109513 route 0 1 2 3 4 5 6 7 8 9; #P hidden message 549 114 32 9109513 port k; #P hidden message 517 114 29 9109513 port i; #P hidden message 483 114 32 9109513 port h; #P hidden message 450 114 32 9109513 port g; #P user umenu 319 50 100 9109543 1 64 66 1; #X add COM 1; #X add COM 2; #X add COM 3; #X add COM 4; #X add COM 5; #X add COM 6; #X add COM 7; #X add COM 8; #X add COM 9; #X add COM 10; #P hidden message 412 114 36 9109513 port f; #P hidden message 374 114 37 9109513 port e; #P hidden message 340 114 32 9109513 port d; #P hidden message 307 114 32 9109513 port c; #P hidden message 274 114 32 9109513 port b; #P hidden message 240 114 32 9109513 port a; #P hidden message 159 76 35 9109513 print; #P window setfont "Sans Serif" 12.; #P comment 630 619 62 9109516 GSR data; #P user multiSlider 550 431 224 185 0. 1023. 1 3433 15 0 0 2 0 0 0; #M frgb 0 62 248; #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 window setfont "Sans Serif" 9.; #P hidden message 428 190 18 9109513 70; #P hidden message 183 162 21 9109513 0.1; #P hidden newex 120 161 45 9109513 loadbang; #P hidden message 120 191 23 9109513 511; #P window setfont "Sans Serif" 12.; #P hidden message 88 22 15 9109516 0; #P toggle 113 71 15 0; #P toggle 67 72 15 0; #P button 21 72 15 0; #N vpatcher 66 102 952 678; #P origin -34 0; #P inlet 629 147 15 0; #P button 511 172 15 0; #P button 526 101 15 0; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 478 194 44 9109513 r to-wmd; #P newex 532 221 58 9109513 s from-wmd; #P newex 270 433 46 9109513 s to-wmd; #P newex 272 360 56 9109513 r from-wmd; #P message 526 125 14 9109513 1; #P newex 526 75 45 9109513 loadbang; #P message 581 147 41 9109513 dtr 1; #P newex 525 146 54 9109513 metro 1; #P newex 532 195 109 9109513 serial f 115200 8 1 0; #B color 5; #P outlet 190 509 15 0; #P window setfont "Sans Serif" 12.; #P newex 186 70 62 9109516 select 1 0; #P message 170 180 33 9109516 2 off; #P message 135 124 33 9109516 1 off; #P newex 119 71 62 9109516 select 1 0; #P newex 189 240 47 9109516 delay 5; #P window setfont "Sans Serif" 9.; #P window linecount 5; #P comment 358 154 100 9109513 connect input 2 to icube outlet 2 \, set the resolution to 10-bit \, scale to 0-1023 \, turn sampling on for input 2; #P button 189 215 15 0; #P inlet 186 46 15 0; #P inlet 119 47 15 0; #P window setfont "Sans Serif" 12.; #P window linecount 1; #P newex 660 523 48 9109516 s icube; #P newex 150 357 43 9109516 r icube; #P window setfont "Sans Serif" 9.; #P comment 314 329 126 9109513 set sample interval to 20 ms; #P comment 315 300 126 9109513 set sample interval to 4 ms; #P window setfont "Sans Serif" 12.; #P message 189 298 67 9109516 0 interval 4; #P message 149 155 206 9109516 2 connect 2 2 res 1 2 max 1023 2 on; #P message 119 99 209 9109516 1 connect 1 1 res 1 1 max 1023 1 on; #P user uslider 117 391 18 128 1023 1 0 0; #P button 35 75 15 0; #P inlet 35 47 15 0; #P outlet 150 508 15 0; #P number 190 436 35 12 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P number 150 436 35 12 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P message 723 458 72 9109516 2 max 1023; #P message 670 320 72 9109516 1 max 1023; #P message 708 433 46 9109516 2 res 1; #P message 658 295 46 9109516 1 res 1; #P message 738 482 32 9109516 2 on; #P message 684 343 32 9109516 1 on; #P message 694 409 71 9109516 2 connect 2; #P message 643 272 71 9109516 1 connect 1; #P message 189 270 117 9109516 240 125 0 3 0 2 247; #P message 190 325 74 9109516 0 interval 20; #P message 63 131 46 9109516 0 reset; #P message 35 100 74 9109516 0 hostmode; #P newex 150 393 132 9109516 iCube 2; #P window setfont "Sans Serif" 9.; #P comment 314 273 126 9109513 set sample interval to 2 ms; #P window linecount 4; #P comment 334 97 122 9109513 connect input 1 to icube outlet 1 \, set the resolution to 10-bit \, scale to 0-1023 \, turn sampling on for input 1; #P connect 18 0 19 0; #P connect 19 0 3 0; #P connect 2 0 20 0; #P connect 28 0 33 0; #P connect 33 0 21 0; #P connect 33 1 34 0; #P connect 36 0 22 0; #P connect 22 0 2 0; #P connect 35 0 2 0; #P connect 34 0 2 0; #P connect 26 0 2 0; #P connect 23 0 2 0; #P connect 4 0 2 0; #P connect 5 0 2 0; #P connect 3 0 2 0; #P connect 21 0 2 0; #P connect 2 0 15 0; #P connect 2 0 17 0; #P connect 36 1 35 0; #P connect 29 0 36 0; #P connect 22 0 30 0; #P connect 21 0 30 0; #P connect 30 0 32 0; #P connect 32 0 6 0; #P connect 2 1 16 0; #P connect 2 1 37 0; #P connect 6 0 44 0; #P connect 2 3 44 0; #P connect 43 0 2 1; #P connect 39 0 48 0; #P connect 42 0 39 0; #P connect 41 0 47 0; #P connect 47 0 42 0; #P connect 49 0 38 0; #P connect 46 0 38 0; #P connect 40 0 38 0; #P connect 39 0 38 0; #P connect 38 0 45 0; #P connect 47 0 40 0; #P connect 13 0 27 0; #P connect 11 0 27 0; #P connect 9 0 27 0; #P connect 7 0 27 0; #P connect 14 0 27 0; #P connect 12 0 27 0; #P connect 10 0 27 0; #P connect 8 0 27 0; #P pop; #P hidden newobj 21 103 148 9109516 p icubex; #P flonum 183 190 35 12 0. 1. 3 139 0 0 0 221 221 221 222 222 222 0 0 0; #P hidden newex 21 189 91 9109516 f0.smooth 0.08; #P hidden newex 21 161 34 9109516 abs; #P hidden newex 21 132 35 9109516 - 512; #P comment 427 395 69 9109516 Start audio; #P comment 122 397 30 9109516 Max; #P comment 76 397 29 9109516 Min; #P comment 11 47 41 9109516 Reset; #P user multiSlider 23 431 518 185 110. 880. 1 3433 15 0 0 2 0 0 0; #M frgb 0 62 248; #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 user gain~ 428 216 24 100 158 0 1.071519 7.94321 10.; #P hidden newex 182 374 68 9109516 cycle~ 440; #P user ezdac~ 428 354 472 387 0; #P number 120 371 35 12 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P number 76 371 35 12 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P hidden newex 27 404 121 9109516 zmap 0 511 110 880; #P user uslider 182 218 214 127 880 1 110 12; #P user uslider 120 219 18 128 512 1 0 0; #P user uslider 76 220 18 128 512 1 0 0; #P user uslider 21 220 18 128 512 1 0 0; #P comment 231 190 153 9109516 Set smoothing value [0 ..1]; #P comment 61 47 35 9109516 EMG; #P comment 106 47 90 9109516 GSR (only v1.0); #P window setfont "Sans Serif" 9.; #P window linecount 7; #P comment 602 85 143 9109513 To run this patch you must install the iCube and f0.smooth objects in your externals folder. Download the iCube object from www.icubex.com and the f0 objects from www.fredrikolofsson.com.; #P window setfont "Sans Serif" 12.; #P window linecount 1; #P comment 160 397 257 9109516 set Min and Max to zoom in on range of signal; #P comment 457 218 70 9109516 Set volume; #P window setfont "Sans Serif" 14.; #P comment 598 55 151 9109518 BioFlex test patch v1.1; #P window setfont "Sans Serif" 12.; #P comment 190 620 62 9109516 EMG data; #P window linecount 2; #P comment 303 74 146 9109516 Select the COM port that's used for the Wi-microDig; #P hidden connect 29 0 28 0; #P hidden connect 28 0 24 0; #P hidden connect 24 0 25 0; #P hidden connect 25 0 26 0; #P hidden connect 26 0 9 0; #P hidden connect 13 0 19 0; #P hidden connect 9 0 13 0; #P hidden connect 14 0 13 1; #P hidden connect 32 0 30 0; #P hidden connect 30 0 28 1; #P hidden connect 10 0 14 0; #P hidden connect 15 0 13 2; #P hidden connect 29 0 32 0; #P hidden connect 27 0 26 1; #P hidden connect 32 0 31 0; #P hidden connect 31 0 28 2; #P hidden connect 34 0 33 0; #P hidden connect 33 0 11 0; #P hidden connect 11 0 15 0; #P hidden connect 34 0 39 0; #P hidden connect 53 0 28 3; #P hidden connect 39 0 28 3; #P hidden connect 13 0 12 0; #P hidden connect 12 0 17 0; #P hidden connect 34 0 35 0; #P hidden connect 35 0 27 0; #P hidden connect 51 0 40 0; #P hidden connect 51 1 41 0; #P hidden connect 51 2 42 0; #P hidden connect 46 0 51 0; #P hidden connect 51 3 43 0; #P hidden connect 51 4 44 0; #P hidden connect 40 0 52 0; #P hidden connect 45 0 52 0; #P hidden connect 50 0 52 0; #P hidden connect 49 0 52 0; #P hidden connect 48 0 52 0; #P hidden connect 47 0 52 0; #P hidden connect 44 0 52 0; #P hidden connect 43 0 52 0; #P hidden connect 42 0 52 0; #P hidden connect 41 0 52 0; #P hidden connect 51 5 45 0; #P hidden connect 34 0 36 0; #P hidden connect 17 0 18 0; #P hidden connect 36 0 18 0; #P hidden connect 18 0 16 0; #P hidden connect 51 6 47 0; #P hidden connect 51 7 48 0; #P hidden connect 51 8 49 0; #P hidden connect 51 9 50 0; #P hidden connect 28 1 56 0; #P hidden connect 56 0 37 0; #P hidden connect 57 0 56 1; #P hidden connect 54 0 57 0; #P hidden connect 58 0 56 2; #P hidden connect 34 0 61 0; #P hidden connect 61 0 55 0; #P hidden connect 55 0 58 0; #P pop;