max v2;
#N vpatcher 31 54 1311 815;
#P window setfont "Sans Serif" 9.;
#P flonum 207 256 67 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 500 548 64 196617 r EEG_data2;
#P newex 254 547 64 196617 r EEG_data1;
#P toggle 557 623 15 0;
#P window setfont "Sans Serif" 10.;
#P newex 588 520 100 196618 scale 0 127 0.5 3.;
#P flonum 628 587 35 10 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user hslider 588 495 18 128 128 1 0 0;
#P newex 571 598 27 196618 > 2.;
#P comment 598 475 104 196618 Seuil yeux ferms;
#P newex 355 519 96 196618 scale 0 127 0.5 2;
#P flonum 395 586 35 10 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user hslider 355 494 18 128 128 1 0 0;
#P newex 338 597 27 196618 < 1.;
#P window setfont "Sans Serif" 9.;
#P newex 275 169 64 196617 s EEG_data2;
#P flonum 145 181 25 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 258 65 83 196617 otudp read 8000;
#P newex 258 118 62 196617 fromsymbol;
#P newex 258 92 68 196617 aka.datagram;
#P comment 270 46 31 196617 alpha;
#P toggle 616 75 15 0;
#P window setfont "Sans Serif" 10.;
#P newex 609 169 27 196618 f;
#P newex 619 118 62 196618 metro 200;
#P user multiSlider 609 197 388 91 0. 2. 1 3449 15;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#N vpatcher 182 61 1210 715;
#P button 113 276 15 0;
#P window setfont "Sans Serif" 10.;
#P newex 135 138 41 196618 change;
#P newex 82 157 43 196618 sel 0 1;
#P button 81 195 15 0;
#P message 104 194 29 196618 stop;
#P newex 104 230 69 196618 metro 1000;
#P toggle 383 96 15 0;
#P newex 414 57 41 196618 change;
#P newex 435 94 43 196618 sel 0 1;
#P window setfont "Sans Serif" 9.;
#P message 618 52 73 196617 127 \, 50 1000;
#P message 546 81 73 196617 50 \, 127 1000;
#P window setfont "Sans Serif" 10.;
#P newex 650 82 40 196618 line;
#P inlet 402 31 19 0;
#P inlet 319 34 19 0;
#P flonum 867 626 35 10 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 867 597 101 196618 scale 0 100 0 127;
#P window setfont "Sans Serif" 9.;
#P number 867 574 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 867 551 85 196617 osc-route /alpha;
#P newex 867 525 88 196617 OpenSoundControl;
#P newex 882 496 105 196617 print not-too-exciting;
#P newex 867 474 83 196617 otudp read 6000;
#P comment 830 596 30 196617 alpha;
#P comment 839 186 51 196617 bouton4;
#P window setfont "Sans Serif" 10.;
#P comment 789 146 101 196618 LANCER UNE NOTE;
#P window setfont "Sans Serif" 9.;
#P newex 800 207 92 196617 scale 0 100 0 127;
#P newex 801 163 44 196617 ctlin 87;
#B color 12;
#P number 800 183 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user uslider 800 230 18 128 128 1 0 0;
#P message 800 385 104 196617 midievent 144 65 \$1;
#B color 7;
#P comment 823 240 51 196617 channel 1 \, cc 1;
#P window setfont "Sans Serif" 10.;
#P comment 679 148 40 196618 EFFET;
#P comment 539 148 33 196618 PAN;
#P comment 388 147 66 196618 VOLUME;
#P window setfont "Sans Serif" 9.;
#P newex 261 166 44 196617 ctlin 16;
#B color 12;
#P number 261 187 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user uslider 261 213 18 128 128 1 0 0;
#P message 261 381 98 196617 midievent 224 0 \$1;
#B color 7;
#P comment 298 187 51 196617 volume1;
#P newex 107 338 44 196617 ctlin 10;
#N vpatcher 690 59 1943 852;
#P origin 76 0;
#P outlet 297 519 15 0;
#P window setfont "Sans Serif" 10.;
#P number 287 481 35 10 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 259 443 55 196618 v numero;
#P message 162 380 15 196618 0;
#P window setfont "Sans Serif" 9.;
#P comment 92 532 92 196617 sends out all bangs except the first;
#P button 65 512 15 0;
#P button 16 514 15 0;
#P comment 21 532 65 196617 sends out the first bang;
#P comment 82 455 31 196617 reset;
#P button 65 455 15 0;
#P newex 16 486 59 196617 first-bang;
#P window setfont "Sans Serif" 10.;
#P number 347 685 35 10 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 347 662 27 196618 + 0;
#P button 85 303 15 0;
#P number 160 411 35 10 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 106 340 15 196618 1;
#P newex 106 361 27 196618 + 0;
#P newex 162 625 65 196618 delay 2000;
#P window setfont "Sans Serif" 9.;
#P newex 106 115 92 196617 scale 0 100 0 127;
#P newex 107 75 44 196617 ctlin 15;
#B color 12;
#P number 106 95 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user uslider 106 138 18 128 128 1 0 0;
#P comment 145 97 51 196617 bouton1;
#P window setfont "Sans Serif" 10.;
#P comment 107 56 80 196618 CHOIX DU SON;
#P connect 10 0 13 0;
#P connect 13 0 17 0;
#P connect 6 0 14 0;
#P connect 14 0 13 1;
#P connect 13 1 18 0;
#P connect 2 0 10 0;
#P connect 4 0 3 0;
#P connect 3 0 5 0;
#P connect 5 0 2 0;
#P connect 10 0 8 0;
#P connect 8 0 7 0;
#P connect 9 0 7 1;
#P connect 7 0 9 0;
#P connect 20 0 9 0;
#P connect 14 0 20 0;
#P connect 17 0 6 0;
#P connect 9 0 21 0;
#P connect 14 0 21 0;
#P connect 21 0 22 0;
#P connect 22 0 23 0;
#P connect 6 0 11 0;
#P connect 11 0 12 0;
#P connect 9 0 11 1;
#P pop;
#P newobj 920 386 78 196617 p Interrupteurs;
#P user ezdac~ 607 526 651 559 0;
#P user meter~ 337 567 417 580 100 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P message 374 540 26 196617 plug;
#B color 5;
#P newex 480 541 31 196617 *~ 1;
#B color 5;
#P newex 415 541 31 196617 *~ 1;
#B color 5;
#P newex 446 560 30 196617 dac~;
#B color 5;
#P message 375 522 28 196617 open;
#B color 5;
#P newex 415 520 105 196617 vst~;
#B color 5;
#P comment 493 561 100 196617 PLUGGIN VST;
#B color 5;
#P message 107 379 98 196617 midievent 209 2 \$1;
#B color 5;
#P flonum 107 360 35 9 0 0 0 3 0 0 0 255 227 23 222 222 222 0 0 0;
#P message 670 387 98 196617 midievent 180 1 \$1;
#B color 7;
#P newex 680 166 44 196617 ctlin 19;
#B color 12;
#P number 680 188 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user uslider 680 209 18 128 128 1 0 0;
#P comment 717 190 51 196617 volume4;
#P message 539 382 104 196617 midievent 178 10 \$1;
#B color 7;
#P message 404 381 98 196617 midievent 179 7 \$1;
#B color 7;
#P newex 399 167 44 196617 ctlin 17;
#B color 12;
#P number 398 187 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user uslider 398 218 18 128 128 1 0 0;
#P comment 435 188 51 196617 volume2;
#P newex 540 167 44 196617 ctlin 18;
#B color 12;
#P number 539 187 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user uslider 539 207 18 128 128 1 0 0;
#P comment 577 188 51 196617 volume3;
#P window setfont "Sans Serif" 10.;
#P comment 251 148 66 196618 PITCH BEND;
#P connect 64 0 63 0;
#P connect 65 0 64 0;
#P connect 64 1 62 0;
#P connect 63 0 61 0;
#P connect 62 0 61 0;
#P connect 28 0 16 0;
#P connect 16 0 17 0;
#P connect 61 0 66 0;
#P connect 53 0 65 0;
#P connect 33 0 32 0;
#P connect 52 0 31 0;
#P connect 32 0 31 0;
#P connect 31 0 30 0;
#P connect 22 0 25 0;
#P connect 54 0 60 0;
#P connect 8 0 7 0;
#P connect 7 0 6 0;
#P connect 6 0 9 0;
#P connect 54 0 59 0;
#P connect 38 0 19 0;
#P connect 30 0 19 0;
#P connect 15 0 19 0;
#P connect 10 0 19 0;
#P connect 9 0 19 0;
#P connect 17 0 19 0;
#P connect 20 0 19 0;
#P connect 24 0 19 0;
#P connect 27 0 19 0;
#P connect 19 0 22 0;
#P connect 59 0 58 0;
#P connect 22 0 21 0;
#P connect 23 0 21 1;
#P connect 19 1 23 0;
#P connect 4 0 3 0;
#P connect 3 0 2 0;
#P connect 2 0 10 0;
#P connect 58 1 56 0;
#P connect 58 0 57 0;
#P connect 57 0 55 0;
#P connect 56 0 55 0;
#P connect 12 0 15 0;
#P connect 55 0 13 0;
#P connect 14 0 13 0;
#P connect 13 0 12 0;
#P connect 41 0 40 0;
#P connect 40 0 42 0;
#P connect 42 0 39 0;
#P connect 39 0 38 0;
#P connect 46 0 48 0;
#P connect 48 1 49 0;
#P connect 49 0 50 0;
#P connect 50 0 51 0;
#P connect 51 0 52 0;
#P connect 46 0 47 0;
#P pop 1;
#P newobj 467 715 88 196618 p instruAbsynth;
#P window setfont "Sans Serif" 9.;
#N vpatcher 152 239 1319 897;
#P window setfont "Sans Serif" 9.;
#P newex 511 71 45 196617 select 1;
#P button 25 137 15 0;
#P newex 25 157 49 196617 bangbang;
#P user gswitch2 64 187 39 32 0 0;
#P message 93 239 14 196617 1;
#P message 64 238 14 196617 0;
#P window setfont "Sans Serif" 10.;
#P newex 493 293 106 196618 scale 0 127 0. -15.;
#P toggle 666 525 15 0;
#P window setfont "Sans Serif" 9.;
#P comment 778 570 313 196617  Clear the delay lines after a DSP overblow or to get rid of any remaining delay tailes.;
#P message 666 569 36 196617 clear;
#P comment 747 610 371 196617  First optional creation arguments sets maximum roomsize in meters. This value largely affects memomry usage and should be set as small as possible for better performance! Default is 300. Second argument is stereo spreading (0 - 100) which defaults to 15.;
#P message 666 473 42 196617 dry \$1;
#P flonum 666 454 35 9 -90. 0. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 779 455 315 196617  Dry level (dB): The level of the unreverberated signal. Values: -90 - 0 dB;
#P message 666 428 40 196617 tail \$1;
#P flonum 666 409 35 9 -90. 0. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 778 527 314 196617  Bypass signal uneffected when set to 1. Can be used to compare reverb signal with original signal and to save CPU power when gverb~ is not used.;
#P message 666 543 59 196617 bypass \$1;
#P newex 702 633 40 196617 *~ 0.8;
#B color 5;
#P flonum 666 276 35 9 0.1 360. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 666 296 64 196617 revtime \$1;
#P comment 779 276 342 196617  Reverb time (s): Reverb decay time \, in seconds. 7 is a good place to start. Values: 0.1 - 360 seconds!;
#P flonum 666 233 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 666 190 35 9 1. 300. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 667 320 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 778 500 313 196617  Print the values of all parameters to the Max window.;
#P newex 652 633 40 196617 *~ 0.8;
#B color 5;
#P newex 652 676 29 196617 dac~;
#B color 5;
#P message 666 499 38 196617 print;
#P message 666 384 46 196617 early \$1;
#P message 667 340 69 196617 bandwidth \$1;
#P message 666 251 64 196617 damping \$1;
#P message 666 208 65 196617 roomsize \$1;
#P newex 652 608 90 196617 gigaverb~ 300 15;
#B color 5;
#P comment 779 190 343 196617  The size of the room \, in meters. Excessivly large \, and excessivly small values will make it sound a bit unrealistic. Values of around 30 sound good. Values: 1 - 300 meters (or what ever was specified as maximum);
#P comment 779 234 343 196617  Damping: This controls the high frequency damping (a lowpass filter) \, values near 1 will make it sound very bright \, values near 0 will make it sound very dark. Values: 0 - 1;
#P comment 779 317 342 196617  Input bandwidth: This is like a damping control for the input \, it has a similar effect to the damping control \, but is subtly different. Values: 0 - 1;
#P comment 779 365 341 196617  Early reflection level (dB): The quantity of early reflections (scatter reflections directly from the source). Think of Lexicons ambiance patches. Values: -90 - 0 dB;
#P comment 779 410 314 196617  Tail level (dB): The level of the classic reverb tail reflections. Values: -90 - 0 dB;
#P comment 777 711 308 196617 GVerb algorithm designed and implemented by Juhana Sadeharju. Max/MSP implementation by Olaf Matthes.;
#P window setfont "Sans Serif" 10.;
#P newex 316 291 93 196618 scale 0 127 1. 0.;
#P user uslider 443 116 18 128 128 1 0 0;
#P newex 171 289 122 196618 scale 0 127 400 1100;
#P window setfont "Sans Serif" 9.;
#P message 76 346 29 196617 open;
#P flonum 171 330 40 9 1. 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 213 312 36 196617 cue;
#P number 213 328 35 9 0 2 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 40 55 440 355;
#P window setfont "Sans Serif" 9.;
#P newex 33 69 102 196617 expr 1/($f1*0.001);
#P newex 33 201 30 196617 *~ 0;
#P newex 33 167 28 196617 -~ 1;
#P newex 33 145 30 196617 *~ 2;
#P newex 33 122 35 196617 >~ 0.5;
#P newex 33 95 55 196617 phasor~ 1.;
#P outlet 33 244 15 0;
#P inlet 225 45 15 0;
#P inlet 33 45 15 0;
#P comment 74 203 176 196617 oscillate between cue number and negative cue number to retrigger cue (zero would stop the cue);
#P connect 1 0 9 0;
#P connect 9 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 8 0;
#P connect 8 0 3 0;
#P fasten 2 0 8 1 230 188 58 188;
#P pop;
#P newobj 171 349 52 196617 p loop cue;
#P comment 170 312 36 196617 ms;
#P flonum 380 317 63 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 316 317 63 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 315 335 75 196617 pack 0. 5000.;
#P newex 315 357 30 196617 line~;
#P message 77 328 82 196617 preload 1 ice.aif;
#N sfplay~  2 40320 0 ;
#P newobj 119 384 206 196617 sfplay~ 2;
#B color 5;
#P user ezdac~ 79 289 123 322 0;
#P window setfont "Sans Serif" 18.;
#P comment 16 26 192 196626 BiologicalInstrument~;
#B frgb 26 8 57;
#P window setfont "Sans Serif" 9.;
#P comment 15 52 292 196617 Julien CASTET - Multi interaction (EG + EMG);
#P user panel 9 22 400 50;
#X brgb 226 250 200;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P comment 11 74 362 196617 EG : vitesse de lecture d'un wave enregistr et mis en boucle EMG : Dclenche l'enregistrement en contractant et lance la boucle en relachant EMG: Le coeur dclenche un Kick;
#P window setfont "Sans Serif" 10.;
#P comment 198 134 100 196618 Complxit signaux;
#P connect 59 0 58 0;
#P connect 58 1 57 0;
#P connect 57 0 55 0;
#P fasten 58 0 57 1 30 180 98 180;
#P connect 57 1 56 0;
#P connect 7 0 6 0;
#P connect 13 0 6 0;
#P connect 17 0 6 0;
#P connect 19 0 18 0;
#P connect 18 0 16 0;
#P connect 16 0 13 0;
#P connect 56 0 14 0;
#P connect 55 0 14 0;
#P connect 14 0 13 1;
#P connect 10 0 9 0;
#P connect 9 0 8 0;
#P connect 8 0 6 1;
#P connect 19 0 20 0;
#P connect 20 0 10 0;
#P connect 11 0 9 1;
#P connect 19 0 54 0;
#P fasten 6 0 27 0 124 504 657 504;
#P fasten 49 0 27 0 671 494 657 494;
#P fasten 46 0 27 0 671 449 657 449;
#P fasten 40 0 27 0 671 316 657 316;
#P fasten 28 0 27 0 671 229 657 229;
#P fasten 29 0 27 0 671 271 657 271;
#P fasten 30 0 27 0 672 361 657 361;
#P fasten 31 0 27 0 671 405 657 405;
#P fasten 32 0 27 0 671 520 657 520;
#P fasten 43 0 27 0 671 564 657 564;
#P fasten 51 0 27 0 671 596 657 596;
#P connect 27 0 34 0;
#P connect 34 0 33 0;
#P connect 37 0 28 0;
#P connect 38 0 29 0;
#P connect 41 0 40 0;
#P connect 54 0 31 0;
#P connect 45 0 46 0;
#P connect 48 0 49 0;
#P connect 53 0 43 0;
#P connect 36 0 30 0;
#P fasten 42 0 33 1 707 652 676 652;
#P connect 27 1 42 0;
#P pop;
#P newobj 318 372 65 196617 p instru_Ju1;
#P newex 1015 196 58 196617 r EEG_data;
#P newex 67 215 64 196617 s EEG_data1;
#P comment 1136 276 73 196617 yeux ferms;
#P comment 1069 275 56 196617 mouvement;
#P toggle 1149 254 15 0;
#P toggle 1082 254 15 0;
#P toggle 1015 253 15 0;
#N vpatcher 384 260 1171 820;
#P window setfont "Sans Serif" 10.;
#P flonum 66 245 35 10 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P outlet 429 372 15 0;
#P outlet 254 370 15 0;
#P outlet 152 371 15 0;
#P inlet 152 48 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 374 168 27 196617 r s2;
#P newex 169 200 27 196617 r s1;
#P toggle 315 303 15 0;
#P newex 254 271 27 196617 &;
#B color 5;
#P newex 275 240 27 196617 < 0.;
#P newex 231 240 27 196617 > 0.;
#P toggle 515 301 15 0;
#P toggle 108 297 15 0;
#P flonum 368 114 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 429 243 27 196617 > 0.;
#P newex 152 241 27 196617 < 0.;
#P connect 9 0 15 0;
#P connect 0 0 3 0;
#P connect 11 0 0 0;
#P connect 0 0 12 0;
#P connect 9 0 0 1;
#P connect 11 0 5 0;
#P connect 9 0 5 1;
#P connect 5 0 7 0;
#P connect 7 0 13 0;
#P connect 6 0 7 1;
#P connect 11 0 6 0;
#P connect 10 0 6 1;
#P connect 7 0 8 0;
#P connect 11 0 2 0;
#P connect 11 0 1 0;
#P connect 1 0 14 0;
#P connect 10 0 1 1;
#P connect 1 0 4 0;
#P pop;
#P newobj 1015 223 144 196617 p decide;
#P button 821 12 15 0;
#P newex 923 93 27 196617 s s3;
#P newex 873 93 27 196617 s s2;
#P newex 821 92 27 196617 s s1;
#P comment 921 38 37 196617 seuil 3;
#P comment 871 36 37 196617 seuil 2;
#P flonum 923 56 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 873 55 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 818 59 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 12 192 67 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 67 64 83 196617 otudp read 7000;
#P newex 67 115 62 196617 fromsymbol;
#P newex 67 89 68 196617 aka.datagram;
#P comment 79 43 31 196617 alpha;
#P comment 36 389 100 196617 Entre 0 et 0.2 \; Entre 0.2 et 1 \; Entre 1 et 5 \;;
#P comment 809 36 37 196617 seuil 1;
#P comment 1004 275 35 196617 repos;
#P window setfont "Sans Serif" 10.;
#P comment 365 474 87 196618 Seuil clignement;
#P connect 6 0 8 0;
#P connect 7 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 24 0;
#P connect 34 0 36 0;
#P connect 34 0 50 0;
#P connect 35 0 33 0;
#P connect 33 0 34 0;
#P connect 34 0 37 0;
#P connect 48 0 38 0;
#P connect 39 0 41 0;
#P connect 41 0 38 1;
#P connect 41 0 40 0;
#P connect 43 0 27 1;
#P connect 43 0 47 0;
#P connect 49 0 43 0;
#P connect 44 0 46 0;
#P connect 46 0 43 1;
#P connect 29 0 30 0;
#P connect 30 0 28 0;
#P connect 31 0 29 0;
#P connect 6 0 30 1;
#P connect 46 0 45 0;
#P connect 17 0 9 0;
#P connect 9 0 14 0;
#P connect 17 0 10 0;
#P connect 10 0 15 0;
#P connect 17 0 11 0;
#P connect 11 0 16 0;
#P connect 25 0 18 0;
#P connect 18 0 19 0;
#P connect 18 1 20 0;
#P connect 18 2 21 0;
#P pop;
