Sample drifts when scratching with vinyl
Posted: Thu Aug 21, 2008 3:03 pm
I've taken the FileScratchPatch_MPTCFS.mxb and added a buffer and a groove (to the far right of the patch) with the idea that I can sample a line input and then have this sample available for scratching. However, when I begin scratching with and/or spin back the vinyl the sample drifts, rendering any kind of technical ability I may have utterly useless. Any ideas?
As you will notice I'm at the beginning of something so any advice would be great. The patch below...
max v2;
#N vpatcher 4 44 1440 900;
#P origin 5 -255;
#P window setfont "Sans Serif" 9.;
#P flonum 1617 509 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 1617 487 74 196617 snapshot~ 100;
#P window linecount 6;
#P comment 1692 463 100 196617 sync output ramps from 0 at beginning of loop portion of sample (according to current min and max) to 1 at the end;
#P toggle 1605 345 15 0;
#P window linecount 1;
#P message 1605 370 41 196617 loop \$1;
#P comment 1628 346 75 196617 • loop on/off;
#P user number~ 1332 377 1376 392 9 3 2 2 -10. 10. 35 1. 20 0. 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 1332 348 29 196617 sig~;
#P flonum 1792 708 57 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 2;
#P comment 1792 728 58 196617 total buffer time (ms);
#P button 1384 640 15 0;
#P comment 1724 728 62 196617 release loop end (ms);
#P comment 1656 728 62 196617 release loop start (ms);
#P comment 1588 727 62 196617 sustain loop end (ms);
#P flonum 1724 708 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1656 708 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1588 708 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1520 708 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1384 709 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 1384 682 105 196617 info~ pinky.buf;
#B color 5;
#P window linecount 2;
#P comment 1383 729 68 196617 sampling rate of the file;
#P comment 1520 727 62 196617 sustain loop start (ms);
#P window linecount 3;
#P comment 1461 702 37 196617 pitch info as a list;
#P window linecount 1;
#P newex 1387 605 124 196617 buffer~ pinky.buf 5000 2;
#P newex 1425 556 31 196617 dac~;
#P user ezdac~ 1421 506 1465 539 0;
#P newex 1451 402 127 196617 groove~ pinky.buf 5000 2;
#P toggle 1411 341 15 0;
#P newex 1443 363 99 196617 record~ pinky.buf 2;
#P newex 1397 305 222 196617 adc~ 1 2 3 4;
#N comlet clock signal;
#P inlet 869 45 15 0;
#P newex 374 196 122 196617 prepend compare_string;
#P newex 59 202 124 196617 js my_string_compare.js;
#P button 561 846 15 0;
#P newex 248 824 50 196617 + 0.01;
#P toggle 158 433 13 0;
#P objectname velocity_warp_toggle;
#P message 271 461 24 196617 99;
#P button 175 433 13 0;
#P user hint 14 446 158 462 "Velocity Warp (Pinky Pitch): Applies a warping factor to the velocity (pitch) values calculated by the vinyl/CD control tracker. Warp = 1.0000 turns warping OFF. Warp > 1.0000 makes scratching faster Warp < 1.0000 makes it slower." 1000 100 0 65535 65535 52428 9 3 0 1 0 0 0;
#P newex 81 501 82 196617 prepend set;
#P newex 81 481 50 196617 * 100.;
#P newex 12 478 50 196617 * 0.01;
#P user hslider 13 445 18 128 300 1 1 0;
#P objectname velocity_warp_slider;
#P newex 138 483 119 196617 prepend velocity_warp;
#P flonum 158 447 48 9 0.01 3. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname velocity_warp_numbox;
#P newex 891 841 22 196617 t 3;
#P newex 791 841 22 196617 t 0;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P hidden message 59 115 13 196617 1;
#P hidden message 24 115 13 196617 0;
#P hidden newex 24 135 50 196617 gate;
#P hidden message 126 72 13 196617 0;
#P hidden message 91 73 13 196617 1;
#P hidden newex 91 93 73 196617 gate;
#P newex 24 93 45 196617 select 0;
#P newex 91 50 45 196617 select 0;
#P newex 24 157 197 196617 select 0;
#N comlet Note Number Input;
#P inlet 154 29 15 0;
#N comlet Note Channel Input;
#P inlet 91 29 15 0;
#N comlet Note Velocity Input;
#P inlet 24 29 15 0;
#N comlet Channel Select;
#P inlet 126 29 15 0;
#N comlet Note Select Input;
#P inlet 211 28 18 0;
#N comlet Note Output;
#P outlet 24 179 15 0;
#P connect 3 0 8 0;
#P connect 8 0 13 0;
#P hidden connect 14 0 12 0;
#P hidden connect 13 0 12 0;
#P connect 12 0 6 0;
#P connect 6 0 0 0;
#P connect 8 1 14 0;
#P connect 9 0 12 1;
#P connect 4 0 7 0;
#P connect 7 0 10 0;
#P hidden connect 11 0 9 0;
#P hidden connect 10 0 9 0;
#P connect 2 0 7 1;
#P connect 7 1 11 0;
#P connect 5 0 9 1;
#P connect 1 0 6 1;
#P pop;
#P newobj 891 820 95 196617 p Note_Select_Gate;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P hidden message 59 115 13 196617 1;
#P hidden message 24 115 13 196617 0;
#P hidden newex 24 135 50 196617 gate;
#P hidden message 126 72 13 196617 0;
#P hidden message 91 73 13 196617 1;
#P hidden newex 91 93 73 196617 gate;
#P newex 24 93 45 196617 select 0;
#P newex 91 50 45 196617 select 0;
#P newex 24 157 197 196617 select 0;
#N comlet Note Number Input;
#P inlet 154 29 15 0;
#N comlet Note Channel Input;
#P inlet 91 29 15 0;
#N comlet Note Velocity Input;
#P inlet 24 29 15 0;
#N comlet Channel Select;
#P inlet 126 29 15 0;
#N comlet Note Select Input;
#P inlet 211 28 18 0;
#N comlet Note Output;
#P outlet 24 179 15 0;
#P connect 3 0 8 0;
#P connect 8 0 13 0;
#P hidden connect 13 0 12 0;
#P hidden connect 14 0 12 0;
#P connect 12 0 6 0;
#P connect 6 0 0 0;
#P connect 8 1 14 0;
#P connect 9 0 12 1;
#P connect 4 0 7 0;
#P connect 7 0 10 0;
#P hidden connect 10 0 9 0;
#P hidden connect 11 0 9 0;
#P connect 2 0 7 1;
#P connect 7 1 11 0;
#P connect 5 0 9 1;
#P connect 1 0 6 1;
#P pop;
#P newobj 791 820 95 196617 p Note_Select_Gate;
#P number 177 678 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Velocity_Fader_Note_Chan[2];
#P number 139 678 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Velocity_Fader_Note_Num[2];
#P number 177 664 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Vinyl_Control_Note_Channel;
#P number 139 664 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Vinyl_Control_Note_Number;
#P message 455 698 50 196617 enable \$1;
#P message 67 700 50 196617 enable \$1;
#P newex 121 722 50 196617 t i i i i;
#P newex 455 738 85 196617 t i i i i i i;
#P newex 656 737 93 196617 t i i i i i i;
#P newex 542 739 86 196617 t i i i i i i;
#P toggle 226 632 15 0;
#P objectname MIDI_Enable_Toggle;
#N vpatcher 430 249 1030 649;
#P window setfont "Sans Serif" 9.;
#P newex 24 147 40 196617 * 112;
#P newex 24 174 50 196617 / 127;
#N comlet Note Select;
#P inlet 59 27 15 0;
#P hidden message 59 73 13 196617 0;
#P hidden message 24 73 13 196617 1;
#P hidden newex 24 120 50 196617 gate;
#P hidden message 126 72 13 196617 0;
#P hidden message 91 73 13 196617 1;
#P hidden newex 91 93 73 196617 gate;
#P newex 24 51 45 196617 select 0;
#P newex 91 50 45 196617 select 0;
#N comlet Note Velocity Input;
#P inlet 154 27 15 0;
#N comlet Note Channel Input;
#P inlet 91 27 15 0;
#N comlet Note Number Input;
#P inlet 24 27 15 0;
#N comlet Channel Select;
#P inlet 126 27 15 0;
#N comlet Note Output;
#P outlet 24 207 15 0;
#P connect 2 0 6 0;
#P connect 6 0 11 0;
#P hidden connect 11 0 10 0;
#P hidden connect 12 0 10 0;
#P connect 10 0 15 0;
#P connect 15 0 14 0;
#P connect 14 0 0 0;
#P connect 13 0 6 1;
#P connect 6 1 12 0;
#P connect 7 0 10 1;
#P connect 3 0 5 0;
#P connect 5 0 8 0;
#P hidden connect 8 0 7 0;
#P hidden connect 9 0 7 0;
#P connect 1 0 5 1;
#P connect 5 1 9 0;
#P connect 4 0 7 1;
#P pop;
#P newobj 665 820 119 196617 p Velocity_Select_Gate;
#P number 177 650 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Velocity_Fader_Note_Chan;
#P number 139 650 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Velocity_Fader_Note_Num;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P hidden message 59 115 13 196617 1;
#P hidden message 24 115 13 196617 0;
#P hidden newex 24 135 50 196617 gate;
#P hidden message 126 72 13 196617 0;
#P hidden message 91 73 13 196617 1;
#P hidden newex 91 93 73 196617 gate;
#P newex 24 93 45 196617 select 0;
#P newex 91 50 45 196617 select 0;
#P newex 24 157 197 196617 select 0;
#N comlet Note Number Input;
#P inlet 154 29 15 0;
#N comlet Note Channel Input;
#P inlet 91 29 15 0;
#N comlet Note Velocity Input;
#P inlet 24 29 15 0;
#N comlet Channel Select;
#P inlet 126 29 15 0;
#N comlet Note Select Input;
#P inlet 211 28 18 0;
#N comlet Note Output;
#P outlet 24 179 15 0;
#P connect 3 0 8 0;
#P connect 8 0 13 0;
#P hidden connect 13 0 12 0;
#P hidden connect 14 0 12 0;
#P connect 12 0 6 0;
#P connect 6 0 0 0;
#P connect 8 1 14 0;
#P connect 9 0 12 1;
#P connect 4 0 7 0;
#P connect 7 0 10 0;
#P hidden connect 10 0 9 0;
#P hidden connect 11 0 9 0;
#P connect 2 0 7 1;
#P connect 7 1 11 0;
#P connect 5 0 9 1;
#P connect 1 0 6 1;
#P pop;
#P newobj 461 822 95 196617 p Note_Select_Gate;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P hidden message 59 115 13 196617 1;
#P hidden message 24 115 13 196617 0;
#P hidden newex 24 135 50 196617 gate;
#P hidden message 126 72 13 196617 0;
#P hidden message 91 73 13 196617 1;
#P hidden newex 91 93 73 196617 gate;
#P newex 24 93 45 196617 select 0;
#P newex 91 50 45 196617 select 0;
#P newex 24 157 197 196617 select 0;
#N comlet Note Number Input;
#P inlet 154 29 15 0;
#N comlet Note Channel Input;
#P inlet 91 29 15 0;
#N comlet Note Velocity Input;
#P inlet 24 29 15 0;
#N comlet Channel Select;
#P inlet 126 29 15 0;
#N comlet Note Select Input;
#P inlet 211 28 18 0;
#N comlet Note Output;
#P outlet 24 179 15 0;
#P connect 3 0 8 0;
#P connect 8 0 13 0;
#P hidden connect 14 0 12 0;
#P hidden connect 13 0 12 0;
#P connect 12 0 6 0;
#P connect 6 0 0 0;
#P connect 8 1 14 0;
#P connect 9 0 12 1;
#P connect 4 0 7 0;
#P connect 7 0 10 0;
#P hidden connect 11 0 9 0;
#P hidden connect 10 0 9 0;
#P connect 2 0 7 1;
#P connect 7 1 11 0;
#P connect 5 0 9 1;
#P connect 1 0 6 1;
#P pop;
#P newobj 561 822 95 196617 p Note_Select_Gate;
#N vpatcher 523 164 1123 564;
#P window setfont "Sans Serif" 9.;
#P hidden newex 50 95 77 196617 gate;
#P hidden message 90 71 13 196617 0;
#P hidden message 50 71 13 196617 1;
#P hidden newex 50 50 50 196617 select 0;
#P hidden message 185 113 13 196617 0;
#P hidden message 145 114 13 196617 1;
#P hidden newex 145 93 50 196617 select 0;
#P hidden newex 145 133 50 196617 gate;
#N comlet controller number;
#P inlet 50 30 15 0;
#N comlet control value input;
#P inlet 117 29 15 0;
#N comlet control channel input;
#P inlet 145 28 15 0;
#N comlet controller number select;
#P inlet 90 30 15 0;
#N comlet control channel select;
#P inlet 185 29 15 0;
#N comlet control value output;
#P outlet 145 155 15 0;
#P connect 5 0 10 0;
#P connect 10 0 11 0;
#P connect 12 0 13 0;
#P connect 11 0 13 0;
#P connect 2 0 10 1;
#P connect 10 1 12 0;
#P connect 4 0 13 1;
#P connect 3 0 7 0;
#P hidden connect 7 0 8 0;
#P hidden connect 8 0 6 0;
#P hidden connect 9 0 6 0;
#P connect 6 0 0 0;
#P connect 1 0 7 1;
#P hidden connect 7 1 9 0;
#P connect 13 0 6 1;
#P pop;
#P newobj 248 777 85 196617 p CC_select_gate;
#N vpatcher 523 164 1123 564;
#P window setfont "Sans Serif" 9.;
#P hidden newex 50 95 77 196617 gate;
#P hidden message 90 71 13 196617 0;
#P hidden message 50 71 13 196617 1;
#P hidden newex 50 50 50 196617 select 0;
#P hidden message 185 113 13 196617 0;
#P hidden message 145 114 13 196617 1;
#P hidden newex 145 93 50 196617 select 0;
#P hidden newex 145 133 50 196617 gate;
#N comlet controller number;
#P inlet 50 30 15 0;
#N comlet control value input;
#P inlet 117 29 15 0;
#N comlet control channel input;
#P inlet 145 28 15 0;
#N comlet controller number select;
#P inlet 90 30 15 0;
#N comlet control channel select;
#P inlet 185 29 15 0;
#N comlet control value output;
#P outlet 145 155 15 0;
#P connect 5 0 10 0;
#P connect 10 0 11 0;
#P connect 11 0 13 0;
#P connect 12 0 13 0;
#P connect 2 0 10 1;
#P connect 10 1 12 0;
#P connect 4 0 13 1;
#P connect 3 0 7 0;
#P hidden connect 7 0 8 0;
#P hidden connect 9 0 6 0;
#P hidden connect 8 0 6 0;
#P connect 6 0 0 0;
#P connect 1 0 7 1;
#P hidden connect 7 1 9 0;
#P connect 13 0 6 1;
#P pop;
#P newobj 155 777 85 196617 p CC_select_gate;
#N vpatcher 523 164 1123 564;
#P window setfont "Sans Serif" 9.;
#P hidden newex 50 95 77 196617 gate;
#P hidden message 90 71 13 196617 0;
#P hidden message 50 71 13 196617 1;
#P hidden newex 50 50 50 196617 select 0;
#P hidden message 185 113 13 196617 0;
#P hidden message 145 114 13 196617 1;
#P hidden newex 145 93 50 196617 select 0;
#P hidden newex 145 133 50 196617 gate;
#N comlet controller number;
#P inlet 50 30 15 0;
#N comlet control value input;
#P inlet 117 29 15 0;
#N comlet control channel input;
#P inlet 145 28 15 0;
#N comlet controller number select;
#P inlet 90 30 15 0;
#N comlet control channel select;
#P inlet 185 29 15 0;
#N comlet control value output;
#P outlet 145 155 15 0;
#P connect 5 0 10 0;
#P connect 10 0 11 0;
#P connect 12 0 13 0;
#P connect 11 0 13 0;
#P connect 2 0 10 1;
#P connect 10 1 12 0;
#P connect 4 0 13 1;
#P connect 3 0 7 0;
#P hidden connect 7 0 8 0;
#P hidden connect 8 0 6 0;
#P hidden connect 9 0 6 0;
#P connect 6 0 0 0;
#P connect 1 0 7 1;
#P hidden connect 7 1 9 0;
#P connect 13 0 6 1;
#P pop;
#P newobj 113 808 85 196617 p CC_select_gate;
#P newex 248 800 99 196617 * 0.023622;
#P number 177 594 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Pitch_Channel_Num;
#P number 139 594 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Pitch_Control_Num;
#P comment 9 595 129 196617 Pinky Pitch Warp (control):;
#P number 177 636 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname File_Play_Chan_Num;
#P number 139 636 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname File_Play_Note_Num;
#P comment 33 637 105 196617 File Play/Stop (note):;
#P number 177 622 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Pink_Pitch_Channel;
#P number 139 622 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Pinky_Pitch_Note;
#P comment 13 623 124 196617 Pinky Pitch On/Off (note):;
#P button 362 849 15 0;
#P number 177 608 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname EQ_Toggle_Chan_Num;
#P number 139 608 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname EQ_Toggle_Note_Num;
#P newex 455 718 184 196617 notein;
#P number 183 535 30 9 0 128 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 212 535 30 9 0 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 186 523 26 196617 note;
#P comment 209 523 41 196617 channel;
#P number 177 580 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Play_Volume_Control_Chan;
#P number 139 580 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Play_Volume_Control_Num;
#P comment 10 581 128 196617 Playback Volume (control):;
#P number 177 566 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Filter_Q_Channel_Num;
#P number 139 566 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Filter_Q_Control_Num;
#P comment 12 567 126 196617 Filter Resonance (control):;
#P number 177 552 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Filter_Cutoff_Channel_Num;
#P number 112 535 35 9 0 128 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 146 535 32 9 0 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 121 700 50 196617 ctlin;
#P newex 7 778 50 196617 t b i;
#P hidden newex 47 819 27 196617 + 1.;
#P hidden message 7 816 29 196617 10.;
#P hidden newex 7 840 50 196617 pow;
#P hidden newex 113 832 58 196617 * 0.07874;
#P hidden newex 47 799 62 196617 * 0.023623;
#P number 139 552 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Filter_Cutoff_Control_Num;
#P message 273 615 74 196617 set_offset 0 0;
#P newex 278 573 33 196617 t b 0;
#P window linecount 2;
#P message 221 663 31 196617 go back..;
#P window linecount 1;
#P message 279 522 93 196617 set_offset 0 -499;
#P newex 261 483 33 196617 t b 0;
#P message 209 450 47 196617 MIDI map;
#P newex 237 219 112 196617 route waveformoffset;
#P message 274 107 35 196617 set \$1;
#P message 317 107 35 196617 set \$1;
#P hidden number 822 46 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Blue;
#P hidden number 774 46 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Green;
#P hidden number 726 46 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Red;
#P window setfont Osaka 9.;
#P hidden newex 726 77 106 1073741833 bgcolor 255 255 255;
#P window setfont "Sans Serif" 9.;
#P user number~ 610 564 649 579 9 3 2 2 0. 0. 0 0. 20 0. 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet vinyl velocity out;
#P outlet 598 665 15 0;
#P message 627 96 50 196617 color 0;
#N vpatcher 83 280 912 712;
#P window setfont "Sans Serif" 9.;
#P newex 620 140 87 196617 mousefilter;
#P newex 503 140 87 196617 mousefilter;
#N comlet to filtergraph;
#P outlet 503 220 15 0;
#P newex 620 107 105 196617 prepend set_waveform_color;
#P newex 620 86 84 196617 pack 0 0 0;
#P number 694 67 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Waveform_Blue;
#P number 657 67 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Waveform_Green;
#P number 620 67 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Waveform_Red;
#P newex 503 107 107 196617 prepend set_background_color;
#P newex 503 86 84 196617 pack 0 0 0;
#P number 577 67 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Waveform_Blue;
#P number 540 67 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Waveform_Green;
#P number 503 67 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Waveform_Red;
#N comlet to filtergraph;
#P outlet 259 221 15 0;
#P newex 376 108 99 196617 prepend frgb;
#P newex 376 87 84 196617 pack 0 0 0;
#P number 450 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Filter_Blue;
#P number 413 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Filter_Green;
#P number 376 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Filter_Red;
#P newex 259 108 99 196617 prepend brgb;
#P newex 259 87 84 196617 pack 0 0 0;
#P number 333 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Filter_Blue;
#P number 296 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Filter_Green;
#P number 259 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Filter_Red;
#N comlet output to panels;
#P outlet 20 221 15 0;
#P newex 201 32 50 196617 autopattr;
#X prestore BG_Box_Blue 1 0 202;
#X prestore BG_Box_Border 1 0 1;
#X prestore BG_Box_Green 1 0 88;
#X prestore BG_Box_Red 1 0 131;
#X prestore BG_Box_Rounded 1 0 42;
#X prestore BG_Box_Shadow 1 0 3;
#X prestore BG_Filter_Blue 1 0 210;
#X prestore BG_Filter_Green 1 0 139;
#X prestore BG_Filter_Red 1 0 208;
#X prestore BG_Waveform_Blue 1 0 0;
#X prestore BG_Waveform_Green 1 0 0;
#X prestore BG_Waveform_Red 1 0 0;
#X prestore FG_Box_Blue 1 0 129;
#X prestore FG_Box_Green 1 0 76;
#X prestore FG_Box_Red 1 0 207;
#X prestore FG_Filter_Blue 1 0 109;
#X prestore FG_Filter_Green 1 0 111;
#X prestore FG_Filter_Red 1 0 133;
#X prestore FG_Waveform_Blue 1 0 0;
#X prestore FG_Waveform_Green 1 0 0;
#X prestore FG_Waveform_Red 1 0 0;
#P objectname u036000001;
#P newex 137 108 99 196617 prepend frgb;
#P newex 137 87 84 196617 pack 0 0 0;
#P number 211 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Box_Blue;
#P number 174 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Box_Green;
#P number 137 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Box_Red;
#P newex 20 108 99 196617 prepend brgb;
#P newex 20 87 84 196617 pack 0 0 0;
#P number 94 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Box_Blue;
#P number 57 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Box_Green;
#P number 20 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Box_Red;
#P number 135 32 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Box_Shadow;
#P message 135 50 55 196617 shadow \$1;
#P number 74 32 35 9 0 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Box_Rounded;
#P message 74 50 58 196617 rounded \$1;
#P message 19 50 53 196617 border \$1;
#P number 19 33 35 9 0 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Box_Border;
#P connect 0 0 1 0;
#P connect 6 0 9 0;
#P connect 9 0 10 0;
#P connect 10 0 17 0;
#P connect 15 0 17 0;
#P connect 1 0 17 0;
#P connect 2 0 17 0;
#P connect 4 0 17 0;
#P connect 7 0 9 1;
#P connect 3 0 2 0;
#P connect 8 0 9 2;
#P connect 5 0 4 0;
#P connect 11 0 14 0;
#P connect 14 0 15 0;
#P connect 12 0 14 1;
#P connect 13 0 14 2;
#P connect 18 0 21 0;
#P connect 21 0 22 0;
#P connect 22 0 28 0;
#P connect 27 0 28 0;
#P connect 19 0 21 1;
#P connect 20 0 21 2;
#P connect 23 0 26 0;
#P connect 26 0 27 0;
#P connect 24 0 26 1;
#P connect 25 0 26 2;
#P connect 29 0 32 0;
#P connect 32 0 33 0;
#P connect 33 0 40 0;
#P connect 41 0 39 0;
#P connect 40 0 39 0;
#P connect 30 0 32 1;
#P connect 31 0 32 2;
#P connect 34 0 37 0;
#P connect 37 0 38 0;
#P connect 38 0 41 0;
#P connect 35 0 37 1;
#P connect 36 0 37 2;
#P pop;
#P newobj 279 43 113 196617 patcher color_selection;
#P objectname color_selection;
#P number 555 625 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname Output_Channel_Pair_Select;
#P number 486 312 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname Input_Channel_Pair_Select;
#P flonum 317 127 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname Filter_Q;
#P flonum 274 127 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname Filter_Cutoff;
#P newex 25 275 59 196617 route text;
#P newex 93 275 50 196617 tosymbol;
#P newex 24 202 33 196617 t b s;
#P newex 24 221 83 196617 prepend set;
#P user textedit 25 241 344 271 32905 3 9;
#P objectname FileNameAndPath_Text;
#P newex 272 196 98 196617 route read;
#P message 294 439 74 196617 set_offset 0 0;
#P message 318 482 93 196617 set_offset 0 -274;
#P newex 295 650 103 196617 js patcher_offset.js;
#P user hint 64 362 208 378 "Cutoff Sharpness: sets how quickly the dropout occurs when signal falls below the Sig Power Thresh setting. A value of approx. 1.0000 provides reasonably smooth sounding dropout when record speed is very low." 1000 100 0 65535 65535 52428 9 3 0 1 0 0 0;
#P hidden newex 209 362 32 196617 / 20.;
#P user hint 62 332 206 348 "Sig Power Thresh (dB): adjust according to the level of the signal from your turntable. Above a certain point notice how playback volume drops. Set this control to about 6 dB below the level at which dropout occurs." 1000 100 0 65535 65535 52428 9 3 0 1 0 0 0;
#P user hslider 63 361 18 128 100 1 1 0;
#P objectname cutoff_sharpness_slider;
#P flonum 208 362 43 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user hslider 63 332 18 128 61 1 -60 0;
#P objectname signal_power_thresh_slider;
#P flonum 208 334 43 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user ubumenu 54 394 126 196617 0 1 1 0;
#X add vinyl demodulator off;
#X add relative mode vinyl;
#X add absolute mode vinyl;
#X prefix_set 0 0 <none> 0;
#X pattrmode 1;
#P objectname vinyl_demod_settings_menu;
#P comment 57 381 179 196617 Position Stamp Demodulator Settings:;
#P user ubumenu 183 394 64 196617 0 1 1 0;
#X add gen1 vinyl;
#X add gen2 vinyl;
#X add gen3 vinyl;
#X add gen4 vinyl;
#X add gen5 CD;
#X prefix_set 0 0 <none> 0;
#X pattrmode 1;
#P objectname vinyl_generation_menu;
#P flonum 124 413 57 9 0 0 32 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont "Sans Serif" 12.;
#P comment 32 323 14 196620 R;
#P user meter~ 32 340 45 426 100 0 168 0 0 0 0 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P user meter~ 16 340 29 426 100 0 168 0 0 0 0 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P window setfont "Sans Serif" 9.;
#P window linecount 2;
#P comment 16 301 31 196617 signal level;
#P window setfont "Sans Serif" 12.;
#P window linecount 1;
#P comment 14 323 14 196620 L;
#P window setfont "Sans Serif" 9.;
#P user textedit 180 77 242 95 32945 3 9 0 0 0 0;
#P user textedit 118 77 179 95 32945 3 9;
#P user textedit 57 77 117 95 32945 3 9;
#P user textedit 10 77 56 95 32945 3 9;
#P message 561 132 65 196617 gainmode 0;
#P user textedit 10 58 242 76 98449 3 9;
#P newex 469 50 188 196617 autopattr FileScratchPatch_Autopattr;
#X prestore BG_Blue 1 0 0;
#X prestore BG_Green 1 0 0;
#X prestore BG_Red 1 0 0;
#X prestore EQ_Toggle_Chan_Num 1 0 0;
#X prestore EQ_Toggle_Note_Num 1 0 0;
#X prestore EQ_toggle 1 0 0;
#X prestore EQ_type_menu 1 0 0;
#X prestore File_Play_Chan_Num 1 0 0;
#X prestore File_Play_Note_Num 1 0 0;
#X prestore Filter_Cutoff 1 0 18.190851;
#X prestore Filter_Cutoff_Channel_Num 1 0 0;
#X prestore Filter_Cutoff_Control_Num 1 0 0;
#X prestore Filter_Q 1 0 9.4488;
#X prestore Filter_Q_Channel_Num 1 0 0;
#X prestore Filter_Q_Control_Num 1 0 0;
#X prestore Input_Channel_Pair_Select 1 0 0;
#X prestore MIDI_Enable_Toggle 1 0 0;
#X prestore Output_Channel_Pair_Select 1 0 0;
#X prestore Pink_Pitch_Channel 1 0 0;
#X prestore Pinky_Pitch_Note 1 0 0;
#X prestore Pitch_Channel_Num 1 0 0;
#X prestore Pitch_Control_Num 1 0 0;
#X prestore Play_Volume_Control_Chan 1 0 0;
#X prestore Play_Volume_Control_Num 1 0 0;
#X prestore Velocity_Fader_Note_Chan 1 0 0;
#X prestore Velocity_Fader_Note_Chan[2] 1 0 0;
#X prestore Velocity_Fader_Note_Num 1 0 0;
#X prestore Velocity_Fader_Note_Num[2] 1 0 0;
#X prestore Vinyl_Control_Note_Channel 1 0 0;
#X prestore Vinyl_Control_Note_Number 1 0 0;
#X prestore cutoff_sharpness_slider 1 0 38;
#X prestore pitch_float_num 1 0 0.;
#X prestore signal_power_thresh_slider 1 0 40;
#X prestore velocity_warp_numbox 1 0 1.02;
#X prestore velocity_warp_slider 1 0 102;
#X prestore velocity_warp_toggle 1 0 0;
#X prestore vinyl_demod_settings_menu 1 0 "absolute mode vinyl";
#X prestore vinyl_generation_menu 1 0 "gen4 vinyl";
#X prestore volume_slider 1 0 101;
#P objectname FileScratchPatch_Autopattr;
#P message 1080 303 96 196617 waveform_filename;
#P newex 672 553 50 196617 t l l;
#P newex 1014 132 50 196617 t s s;
#P newex 845 712 50 196617 t l l;
#P newex 1069 601 50 196617 t l l;
#P newex 957 648 50 196617 t l l;
#N comlet to other waveform displays;
#P outlet 845 748 15 0;
#P message 1014 110 70 196617 clear_display;
#P newex 992 86 55 196617 t b b b;
#P newex 992 63 50 196617 select -1;
#P newex 1181 559 65 196617 unpack 0. 0;
#P newex 957 629 144 196617 prepend waveform_calculated;
#P user meter~ 115 138 213 153 100 0 168 0 0 0 0 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P user umenu 43 138 70 196646 1 64 154 1;
#X add lowpass;
#X add highpass;
#X add bandpass;
#X add bandstop;
#X add peaknotch;
#X add lowshelf;
#X add highshelf;
#P objectname EQ_type_menu;
#P newex 672 526 122 196617 prepend update_indicator;
#P message 1093 282 105 196617 waveform_calculated;
#P message 583 113 84 196617 use_waveform 1;
#P newex 1069 581 184 196617 prepend percent_waveform_calculated;
#P newex 845 670 140 196617 prepend open_waveform_file;
#P newex 845 537 458 196617 route waveform_filename waveform_calculated percent_waveform_calculated waveformcalc;
#P user jsui 9 154 248 39 0 0 0 Pinky_waveform.js;
#P toggle 27 138 15 0;
#P objectname EQ_toggle;
#P newex 825 425 61 196617 prepend set;
#N vpatcher 104 90 1236 740;
#P window setfont "Sans Serif" 9.;
#P message 520 402 81 196617 fat_resample \$1;
#P message 450 402 58 196617 reverse \$1;
#P newex 58 160 67 196617 autopattr;
#X prestore audio_thru_check 1 0 0;
#X prestore fat_resample_check 1 0 0;
#X prestore loop_play_check 1 0 0;
#X prestore pitch_lock_check 1 0 0;
#X prestore reverse_play_check 1 0 0;
#X prestore vinyl_ctrl_check 1 0 1;
#P objectname u492000004;
#P message 460 266 29 196617 5 \$1;
#P message 370 266 29 196617 4 \$1;
#P message 280 264 29 196617 3 \$1;
#P message 190 264 31 196617 2 \$1;
#P message 100 264 28 196617 1 \$1;
#P message 10 264 31 196617 0 \$1;
#P message 614 402 71 196617 pitch_lock \$1;
#P button 460 214 15 0;
#P toggle 460 236 15 0;
#P objectname pitch_lock_check;
#P message 298 402 71 196617 audio_thru \$1;
#N comlet to input of ubumenu;
#P outlet 10 542 15 0;
#P message 384 402 51 196617 looped \$1;
#N comlet output to gate on pitch values;
#P outlet 136 542 15 0;
#P message 186 417 14 196617 1;
#P message 136 418 14 196617 0;
#P newex 167 396 29 196617 t b b;
#P message 167 440 85 196617 vinyl_control 1;
#P message 117 464 89 196617 vinyl_control 0;
#P newex 117 396 29 196617 t b b;
#P newex 118 376 108 196617 sel 0 1;
#N comlet output to MPTCFS~ input;
#P outlet 424 542 15 0;
#N comlet from control ubumenu left outlet;
#P inlet 10 158 15 0;
#P button 370 214 15 0;
#P toggle 370 238 15 0;
#P objectname fat_resample_check;
#P button 280 214 15 0;
#P button 190 214 15 0;
#P button 100 214 15 0;
#P button 10 214 15 0;
#P newex 10 374 92 196617 prepend checkitem;
#P toggle 280 235 15 0;
#P objectname reverse_play_check;
#P toggle 190 237 15 0;
#P objectname loop_play_check;
#P toggle 100 236 15 0;
#P objectname audio_thru_check;
#P newex 10 193 550 196617 select 0 1 2 3 4 5;
#P toggle 10 238 15 0;
#P objectname vinyl_ctrl_check;
#P comment 28 543 83 196617 to ubumenu input;
#P comment 442 543 100 196617 to MPTCFS~ input;
#P comment 154 543 100 196617 to ratio gate;
#P connect 15 0 4 0;
#P connect 4 0 9 0;
#P connect 9 0 3 0;
#P connect 3 0 31 0;
#P connect 36 0 8 0;
#P connect 35 0 8 0;
#P connect 34 0 8 0;
#P connect 33 0 8 0;
#P connect 32 0 8 0;
#P connect 31 0 8 0;
#P connect 8 0 26 0;
#P connect 4 1 10 0;
#P connect 10 0 5 0;
#P connect 5 0 32 0;
#P connect 17 0 18 0;
#P connect 18 0 19 0;
#P connect 3 0 17 0;
#P connect 18 1 22 0;
#P connect 23 0 24 0;
#P connect 22 0 24 0;
#P connect 17 1 21 0;
#P connect 21 0 20 0;
#P connect 21 1 23 0;
#P connect 4 2 11 0;
#P connect 11 0 6 0;
#P connect 6 0 33 0;
#P connect 4 3 12 0;
#P connect 12 0 7 0;
#P connect 7 0 34 0;
#P connect 5 0 27 0;
#P connect 4 4 14 0;
#P connect 14 0 13 0;
#P connect 13 0 35 0;
#P connect 6 0 25 0;
#P connect 30 0 16 0;
#P connect 39 0 16 0;
#P connect 38 0 16 0;
#P connect 25 0 16 0;
#P connect 27 0 16 0;
#P connect 19 0 16 0;
#P connect 20 0 16 0;
#P connect 7 0 38 0;
#P connect 4 5 29 0;
#P connect 29 0 28 0;
#P connect 28 0 36 0;
#P connect 13 0 39 0;
#P connect 28 0 30 0;
#P pop;
#P newobj 296 158 105 196617 patcher control_menu;
#P objectname control_menu;
#P user ubumenu 117 41 73 196617 0 1 1 0;
#X add vnyl ctrl;
#X add audio thru;
#X add file loop;
#X add file reverse;
#X add fat resample;
#X add pitch lock;
#X prefix_set 0 0 <none> 0;
#X pattrmode 1;
#P message 132 27 31 196617 stop;
#B color 14;
#N vpatcher 183 229 857 723;
#N comlet clock signal;
#P inlet 289 35 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 270 223 29 196617 gate;
#P newex 104 145 88 196617 prepend play_file;
#P newex 264 375 75 196617 prepend query;
#P window linecount 1;
#P message 270 302 55 196617 remainder;
#P message 310 349 55 196617 msec_time;
#P newex 270 277 51 196617 t b b b;
#P message 290 325 50 196617 file_time;
#N comlet video out;
#P outlet 171 441 15 0;
#P window linecount 0;
#N vpatcher 724 166 1124 466;
#P inlet 188 40 15 0;
#P outlet 181 162 15 0;
#P outlet 146 162 15 0;
#P inlet 128 40 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 128 63 28 196617 t b b;
#N counter 1 2;
#X flags 0 0;
#P newobj 146 119 66 196617 counter 1 2;
#P newex 146 141 45 196617 gate 2 1;
#P connect 3 0 2 0;
#P connect 2 1 1 0;
#P connect 1 0 0 0;
#P connect 0 0 4 0;
#P connect 2 0 0 1;
#P connect 0 1 5 0;
#P connect 6 0 1 3;
#P pop;
#P newobj 106 78 55 196617 p altbang2;
#P newex 151 245 69 196617 prepend color;
#P newex 151 225 34 196617 t 126;
#P newex 74 223 21 196617 t 6;
#P newex 74 246 69 196617 prepend color;
#P message 187 56 14 196617 1;
#N comlet full;
#P inlet 187 35 15 0;
#N comlet to button;
#P outlet 81 441 15 0;
#P inlet 106 35 15 0;
#P button 106 57 15 0;
#P objectname Play_Button_Bang;
#P newex 151 102 40 196617 t b b 1;
#P newex 74 103 40 196617 t b b 0;
#P message 89 189 45 196617 set play;
#B color 9;
#P message 166 194 45 196617 set stop;
#B color 9;
#P connect 7 0 2 0;
#P connect 13 0 2 0;
#P connect 2 0 10 0;
#P connect 10 0 9 0;
#P connect 9 0 6 0;
#P connect 12 0 6 0;
#P connect 0 0 6 0;
#P connect 1 0 6 0;
#P connect 2 1 1 0;
#P connect 2 2 20 0;
#P connect 3 2 20 0;
#P connect 5 0 4 0;
#P connect 4 0 13 0;
#P connect 8 0 13 1;
#P connect 13 1 3 0;
#P connect 3 0 11 0;
#P connect 11 0 12 0;
#P connect 3 1 0 0;
#P connect 20 0 14 0;
#P connect 19 0 14 0;
#P connect 7 0 8 0;
#P connect 17 0 19 0;
#P connect 15 0 19 0;
#P connect 18 0 19 0;
#P connect 3 2 21 0;
#P connect 2 2 21 0;
#P connect 21 0 16 0;
#P connect 16 0 18 0;
#P connect 22 0 21 1;
#P connect 16 1 15 0;
#P connect 16 2 17 0;
#P pop;
#P hidden newobj 779 232 64 196617 p playbutton;
#P objectname playbutton;
#P newex 382 417 58 196617 qmetro 100;
#P message 382 440 95 196617 query vinyl_metric;
#P message 513 152 101 196617 control_generation 3;
#P message 485 171 107 196617 position_wrap_mode 1;
#P newex 437 494 27 196617 gate;
#P newex 486 374 128 196617 mptcfs_sa~ 44100;
#P flonum 191 42 51 9 -10. 10. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname pitch_float_num;
#P message 495 102 14 196617 0;
#P newex 883 314 81 196617 prepend query;
#P newex 370 321 72 196617 prepend query;
#P message 370 284 55 196617 msec_time;
#P message 316 284 50 196617 file_time;
#P newex 355 258 40 196617 t b b f;
#P newex 672 462 60 196617 mousefilter;
#P newex 385 301 61 196617 prepend cue;
#P comment 202 28 29 196617 pitch;
#P user number~ 519 442 563 457 9 3 2 2 -10. 10. 35 1. 20 0. 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 295 417 33 196617 t b 0;
#P newex 318 460 43 196617 t b b;
#P newex 621 400 683 196617 route file_time msec_time duration msec_duration remainder msec_remainder percent_played nchans fsample file_type bitrate vinyl_metric read;
#P newex 1131 449 62 196617 append kbps;
#P newex 1131 427 42 196617 / 1000;
#P message 1145 210 39 196617 bitrate;
#P newex 1131 470 61 196617 prepend set;
#P newex 1066 427 61 196617 prepend set;
#P message 1106 264 49 196617 file_type;
#P flonum 774 496 70 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 1080 169 92 196617 t b b b b b b s;
#P message 1119 246 45 196617 duration;
#P newex 723 427 61 196617 prepend set;
#P newex 672 495 58 196617 / 1.;
#P message 1132 228 74 196617 msec_duration;
#P number 214 138 28 9 -70 10 163 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 669 252 61 196617 prepend set;
#P newex 648 232 61 196617 prepend set;
#P newex 627 213 61 196617 prepend set;
#P newex 606 194 61 196617 prepend set;
#P newex 146 275 65 196617 prepend read;
#P newex 1158 190 61 196617 prepend set;
#P newex 606 168 74 196617 unpack 0 0 0 0;
#P hidden newex 385 76 255 196617 t b b b b b b b b b b b b;
#P message 117 27 16 196617 |<;
#P message 162 27 28 196617 more;
#P message 209 436 47 196617 go back...;
#P comment 90 25 24 196617 cnts;
#P comment 65 25 21 196617 sec;
#P comment 39 25 19 196617 mn;
#P window setfont "Sans Serif" 12.;
#P number 90 38 26 12 0 99 35 3 12 0 17 221 221 221 222 222 222 0 0 0;
#P number 63 38 26 12 0 59 35 3 0 0 17 221 221 221 222 222 222 0 0 0;
#P number 36 38 26 12 0 59 35 3 8 0 17 221 221 221 222 222 222 0 0 0;
#P number 10 38 25 12 0 99 35 3 8 0 17 221 221 221 222 222 222 0 0 0;
#P window setfont "Sans Serif" 9.;
#P comment 14 25 16 196617 hr;
#P user uslider 243 35 14 102 127 1 0 0;
#P objectname volume_slider;
#P hidden newex 402 50 62 196617 loadbang;
#P comment 10 140 17 196617 EQ;
#P comment 239 25 17 196617 dB;
#N comlet input to MPTCFS~;
#P inlet 272 174 15 0;
#P newex 509 550 33 196617 sig~;
#P newex 508 570 62 196617 onepole~ 10.;
#N vpatcher 9 46 983 639;
#P origin 0 -140;
#P window setfont "Sans Serif" 9.;
#P message 401 366 38 196617 set 14;
#P message 387 347 38 196617 set 12;
#P message 219 227 36 196617 set 13;
#P message 187 246 38 196617 set 11;
#P newex 467 125 52 196617 t b b b b;
#P newex 412 125 52 196617 t b b b b;
#P message 373 330 38 196617 set 10;
#P message 167 264 32 196617 set 9;
#P newex 359 125 50 196617 t b b b b;
#P message 12 265 50 196617 start;
#P message 224 278 50 196617 stop;
#P newex 313 125 43 196617 t b b b b;
#P newex 260 125 49 196617 t b b b b;
#P newex 210 125 48 196617 t b b b b;
#P newex 160 125 48 196617 t b b b b;
#P message 356 313 31 196617 set 8;
#P message 336 294 29 196617 set 6;
#P message 309 276 31 196617 set 4;
#P message 280 257 30 196617 set 2;
#P message 140 282 35 196617 set 7;
#P message 112 301 35 196617 set 5;
#P message 88 320 33 196617 set 3;
#P message 62 339 35 196617 set 1;
#N comlet to dac~R;
#P inlet 78 47 15 0;
#N comlet to dac~L;
#P inlet 18 49 15 0;
#P message 167 50 34 196617 0;
#P newex 167 26 45 196617 loadbang;
#P newex 76 401 194 196617 dac~;
#P newex 160 100 347 196617 sel 0 1 2 3 4 5 6;
#N comlet from input menu;
#P inlet 129 51 15 0;
#P connect 25 0 20 0;
#P connect 24 0 20 0;
#P connect 18 0 20 0;
#P connect 17 0 20 0;
#P connect 16 0 20 0;
#P connect 15 0 20 0;
#P connect 21 0 20 0;
#P connect 15 1 7 0;
#P connect 5 0 2 0;
#P connect 20 0 2 0;
#P connect 7 0 2 0;
#P connect 8 0 2 0;
#P connect 9 0 2 0;
#P connect 10 0 2 0;
#P connect 19 0 2 0;
#P connect 22 0 2 0;
#P connect 16 1 8 0;
#P connect 17 1 9 0;
#P connect 18 1 10 0;
#P connect 4 0 1 0;
#P connect 0 0 1 0;
#P connect 1 0 15 0;
#P connect 3 0 4 0;
#P connect 21 1 22 0;
#P connect 24 1 26 0;
#P connect 1 1 16 0;
#P connect 25 1 27 0;
#P connect 25 3 19 0;
#P connect 24 3 19 0;
#P connect 18 3 19 0;
#P connect 17 3 19 0;
#P connect 16 3 19 0;
#P connect 15 3 19 0;
#P connect 21 3 19 0;
#P connect 1 2 17 0;
#P connect 29 0 2 1;
#P connect 28 0 2 1;
#P connect 6 0 2 1;
#P connect 11 0 2 1;
#P connect 12 0 2 1;
#P connect 13 0 2 1;
#P connect 14 0 2 1;
#P connect 23 0 2 1;
#P connect 15 2 11 0;
#P connect 16 2 12 0;
#P connect 1 3 18 0;
#P connect 17 2 13 0;
#P connect 18 2 14 0;
#P connect 1 4 21 0;
#P connect 21 2 23 0;
#P connect 24 2 28 0;
#P connect 25 2 29 0;
#P connect 1 5 24 0;
#P connect 1 6 25 0;
#P pop;
#P newobj 485 659 80 196617 p select output;
#N vpatcher 20 111 808 617;
#P origin 0 -140;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P message 112 83 55 196617 newadc \$1;
#P newex 112 113 147 196617 js scriptnewadc.js;
#N comlet Right Signal Outlet;
#P outlet 187 352 15 0;
#P objectname "Right Signal Outlet";
#N comlet Left Signal Outlet;
#P outlet 147 352 15 0;
#P objectname "Left Signal Outlet";
#N comlet from input menu;
#P inlet 112 55 15 0;
#P window linecount 2;
#P newex 150 300 49 196617 adc~ 1 2;
#P connect 1 0 5 0;
#P connect 5 0 4 0;
#P connect 0 0 2 0;
#P connect 0 1 3 0;
#P pop;
#P newobj 486 332 68 196617 p select input;
#N comlet vinyl position out;
#P outlet 631 665 15 0;
#P button 355 219 15 0;
#P objectname RTZ_Bang;
#P hidden message 355 238 23 196617 0.;
#P newex 450 599 22 196617 *~;
#P newex 496 599 22 196617 *~;
#N vpatcher 40 55 440 355;
#P window setfont "Sans Serif" 9.;
#P newex 25 112 50 196617 t f f;
#N comlet dB value out;
#P outlet 167 170 15 0;
#P newex 25 92 50 196617 - 60.;
#P newex 25 71 50 196617 * 70.;
#P newex 25 50 50 196617 / 127.;
#P newex 25 147 121 196617 expr pow(10.\\\,$f1/20.);
#N comlet linear value out;
#P outlet 25 171 15 0;
#P inlet 25 30 15 0;
#P comment 33 133 120 196617 dB to linear conversion;
#P comment 122 38 224 196617 convert slider range [0.. 127] to -60 to + 10 dB;
#P connect 2 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 9 0;
#P connect 9 0 4 0;
#P connect 4 0 3 0;
#P connect 9 1 8 0;
#P pop;
#P newobj 509 523 44 196617 p dBtolin;
#N vpatcher 577 279 1094 682;
#P origin 29 0;
#P window setfont "Sans Serif" 9.;
#P message 42 75 30 196617 1;
#P newex 14 50 53 196617 t b b b b;
#P message 42 179 64 196617 gainmode \$1;
#P message 429 92 14 196617 2;
#P newex 409 57 50 196617 sel 0 1;
#N comlet bypass button;
#P inlet 409 38 15 0;
#P newex 296 129 50 196617 gate~ 2;
#P newex 161 129 50 196617 gate~ 2;
#P message 5 107 45 196617 color 14;
#P message 56 93 30 196617 1;
#P message 56 113 73 196617 numdisplay \$1;
#N comlet signal out R;
#P outlet 296 222 15 0;
#N comlet audio in R;
#P inlet 336 38 15 0;
#P newex 336 172 79 196617 biquad~;
#N comlet signal out L;
#P outlet 161 222 15 0;
#N comlet filter coefficients;
#P inlet 269 38 15 0;
#N comlet audio in L;
#P inlet 201 38 15 0;
#P newex 201 175 79 196617 biquad~;
#N comlet moodmachine;
#P outlet 5 220 15 0;
#P newex 14 29 50 196617 loadbang;
#P message 161 99 14 196617 1;
#P connect 19 1 12 0;
#P connect 18 0 2 0;
#P connect 12 0 2 0;
#P connect 10 0 2 0;
#P connect 1 0 19 0;
#P connect 19 2 20 0;
#P connect 20 0 18 0;
#P connect 19 3 11 0;
#P connect 11 0 10 0;
#P connect 19 0 0 0;
#P connect 16 0 0 0;
#P connect 0 0 13 0;
#P connect 17 0 13 0;
#P connect 3 0 6 0;
#P connect 13 0 6 0;
#P connect 4 0 13 1;
#P connect 13 1 3 0;
#P connect 5 0 3 1;
#P connect 17 0 14 0;
#P connect 0 0 14 0;
#P connect 7 0 9 0;
#P connect 14 0 9 0;
#P connect 8 0 14 1;
#P connect 14 1 7 0;
#P connect 5 0 7 1;
#P connect 15 0 16 0;
#P connect 16 1 17 0;
#P pop;
#P newobj 450 624 81 196617 p filterpatch;
#N vpatcher 341 157 1228 609;
#P origin 96 -298;
#P window setfont "Sans Serif" 9.;
#P newex 41 204 50 196617 + 1;
#P newex 41 280 133 196617 prepend control_generation;
#P inlet 134 31 15 0;
#P inlet 41 30 15 0;
#P message 291 259 73 196617 vinyl_demod 1;
#P message 134 194 72 196617 vinyl_demod 0;
#P window setfont Monaco 9.;
#P newex 252 211 50 262153 t b b;
#P newex 193 211 50 262153 t b b;
#N comlet setting choice to MPTC;
#P outlet 55 426 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 134 174 188 196617 sel 0 1 2;
#P message 193 233 125 196617 absolute_mode_control 0;
#P message 252 279 136 196617 absolute_mode_control 1;
#P connect 8 0 11 0;
#P connect 11 0 10 0;
#P connect 7 0 3 0;
#P connect 6 0 3 0;
#P connect 0 0 3 0;
#P connect 1 0 3 0;
#P connect 10 0 3 0;
#P connect 9 0 2 0;
#P connect 2 0 6 0;
#P connect 2 1 4 0;
#P connect 4 0 1 0;
#P connect 2 2 5 0;
#P connect 5 0 0 0;
#P connect 5 1 7 0;
#P connect 4 1 7 0;
#P pop;
#P newobj 286 388 121 196617 p additional settings;
#P objectname "additional settings";
#P comment 518 506 29 196617 Gain;
#P window linecount 2;
#P comment 569 682 204 196617 output vinyl velocity and position values for use by other patchers;
#P window setfont Monaco 9.;
#P user filtergraph~ 10 96 232 41 4 9 0. 22050. 0.0625 16. 0 1 1 0 0 1 1;
#X frgb 133 111 109;
#X brgb 208 139 210;
#X rgb2 0 0 0;
#X rgb3 215 51 133;
#X rgb4 0 0 0;
#X rgb5 76 108 172;
#X rgb6 210 74 54;
#X rgb7 255 22 22;
#X linmarkers 5512.5 11025. 16537.5;
#X logmarkers 50. 500. 5000.;
#X nfilters 1;
#X setfilter 0 1 0 0 0 18.190851 1. 9.4488 0. 22050. 0.0001 16. 0.5 25.;
#X done;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 72 319 125 196617 Signal Power Thresh (dB):;
#P comment 97 350 88 196617 Cutoff Sharpness:;
#P comment 54 413 67 196617 Error Metric:;
#P window setfont "Sans Serif" 12.;
#P comment 57 300 150 196620 Vinyl Tracker Settings;
#B frgb 5 12 6;
#P user panel 2 22 262 177;
#X brgb 131 88 202;
#X frgb 207 76 129;
#X border 1;
#X rounded 42;
#X shadow 3;
#X done;
#P background;
#P user dropfile 1 22 263 199 0;
#P window setfont "Sans Serif" 9.;
#P comment 108 523 38 196617 control;
#P comment 145 523 41 196617 channel;
#P comment 29 553 109 196617 Filter Cutoff (control):;
#P window setfont "Sans Serif" 14.;
#P comment 8 527 104 196622 MIDI Mappings;
#B frgb 5 12 6;
#P window setfont "Sans Serif" 9.;
#P comment 21 609 117 196617 EQ On/Off Toggle (note):;
#N vpatcher 523 164 1123 564;
#P window setfont "Sans Serif" 9.;
#P hidden newex 50 95 77 196617 gate;
#P hidden message 90 71 13 196617 0;
#P hidden message 50 71 13 196617 1;
#P hidden newex 50 50 50 196617 select 0;
#P hidden message 185 113 13 196617 0;
#P hidden message 145 114 13 196617 1;
#P hidden newex 145 93 50 196617 select 0;
#P hidden newex 145 133 50 196617 gate;
#N comlet controller number;
#P inlet 50 30 15 0;
#N comlet control value input;
#P inlet 117 29 15 0;
#N comlet control channel input;
#P inlet 145 28 15 0;
#N comlet controller number select;
#P inlet 90 30 15 0;
#N comlet control channel select;
#P inlet 185 29 15 0;
#N comlet control value output;
#P outlet 145 155 15 0;
#P connect 5 0 10 0;
#P connect 10 0 11 0;
#P connect 11 0 13 0;
#P connect 12 0 13 0;
#P connect 2 0 10 1;
#P connect 10 1 12 0;
#P connect 4 0 13 1;
#P connect 3 0 7 0;
#P hidden connect 7 0 8 0;
#P hidden connect 9 0 6 0;
#P hidden connect 8 0 6 0;
#P connect 6 0 0 0;
#P connect 1 0 7 1;
#P hidden connect 7 1 9 0;
#P connect 13 0 6 1;
#P pop;
#P newobj 7 758 85 196617 p CC_select_gate;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P hidden message 59 115 13 196617 1;
#P hidden message 24 115 13 196617 0;
#P hidden newex 24 135 50 196617 gate;
#P hidden message 126 72 13 196617 0;
#P hidden message 91 73 13 196617 1;
#P hidden newex 91 93 73 196617 gate;
#P newex 24 93 45 196617 select 0;
#P newex 91 50 45 196617 select 0;
#P newex 24 157 197 196617 select 0;
#N comlet Note Number Input;
#P inlet 154 29 15 0;
#N comlet Note Channel Input;
#P inlet 91 29 15 0;
#N comlet Note Velocity Input;
#P inlet 24 29 15 0;
#N comlet Channel Select;
#P inlet 126 29 15 0;
#N comlet Note Select Input;
#P inlet 211 28 18 0;
#N comlet Note Output;
#P outlet 24 179 15 0;
#P connect 3 0 8 0;
#P connect 8 0 13 0;
#P hidden connect 13 0 12 0;
#P hidden connect 14 0 12 0;
#P connect 12 0 6 0;
#P connect 6 0 0 0;
#P connect 8 1 14 0;
#P connect 9 0 12 1;
#P connect 4 0 7 0;
#P connect 7 0 10 0;
#P hidden connect 10 0 9 0;
#P hidden connect 11 0 9 0;
#P connect 2 0 7 1;
#P connect 7 1 11 0;
#P connect 5 0 9 1;
#P connect 1 0 6 1;
#P pop;
#P newobj 362 822 95 196617 p Note_Select_Gate;
#P comment 35 652 103 196617 Velocity fader (note):;
#P window linecount 2;
#P comment 220 607 33 196617 MIDI Enable;
#P user hint 9 524 253 552 "Move a MIDI control or play a note. See Control Number & Channel (upper right). Enter Number & Channel below to map." 1000 100 0 65535 65535 52428 9 3 0 1 0 0 0;
#P window linecount 1;
#P comment 6 667 133 196617 Vinyl Control On/Off (note):;
#P comment 38 681 100 196617 Reverse Play (note):;
#P comment 17 431 135 196617 Velocity Warp (Pinky Pitch):;
#P comment 187 433 20 196617 1.;
#P user panel 2 521 262 177;
#X brgb 131 88 202;
#X frgb 207 76 129;
#X border 1;
#X rounded 42;
#X shadow 3;
#X done;
#P background;
#P user panel 2 296 262 177;
#X brgb 131 88 202;
#X frgb 207 76 129;
#X border 1;
#X rounded 42;
#X shadow 3;
#X done;
#P background;
#P hidden connect 157 0 17 0;
#P hidden connect 157 0 0 0;
#P hidden connect 157 0 1 0;
#P hidden connect 181 1 10 0;
#P connect 10 0 180 0;
#P connect 180 0 178 0;
#P hidden connect 178 0 177 0;
#P hidden connect 157 2 100 0;
#P hidden connect 118 1 100 0;
#P hidden connect 119 0 100 0;
#P hidden connect 116 1 100 0;
#P hidden connect 115 1 100 0;
#P hidden connect 117 1 100 0;
#P hidden connect 57 0 43 0;
#P hidden connect 55 0 122 0;
#P hidden connect 69 0 124 0;
#P hidden connect 123 0 22 0;
#P hidden connect 26 0 22 0;
#P hidden connect 107 1 22 0;
#P hidden connect 157 1 22 0;
#P hidden connect 234 0 235 0;
#P hidden connect 237 0 234 0;
#P hidden connect 240 0 234 0;
#P hidden connect 33 0 130 0;
#P connect 244 0 150 0;
#P hidden connect 16 0 150 0;
#P connect 150 1 149 0;
#P connect 149 0 148 0;
#P connect 150 0 148 0;
#P connect 148 0 152 0;
#P hidden connect 174 0 10 1;
#P hidden connect 198 0 99 0;
#P hidden connect 33 1 131 0;
#P hidden connect 58 0 44 0;
#P connect 221 0 10 2;
#P connect 180 1 175 0;
#P hidden connect 175 0 179 0;
#P hidden connect 179 0 177 1;
#P hidden connect 70 0 125 0;
#P connect 245 0 244 0;
#P hidden connect 181 2 10 3;
#P hidden connect 59 0 45 0;
#P hidden connect 217 0 222 0;
#P hidden connect 184 0 10 4;
#P hidden connect 232 0 236 0;
#P connect 236 0 237 0;
#P hidden connect 60 0 46 0;
#P connect 152 0 151 0;
#P hidden connect 181 1 183 0;
#P hidden connect 181 1 209 0;
#P connect 209 0 176 0;
#P hidden connect 26 1 108 0;
#P hidden connect 158 0 52 0;
#P hidden connect 97 0 96 0;
#P hidden connect 64 0 126 0;
#P connect 222 0 181 0;
#P connect 181 0 221 0;
#P hidden connect 74 11 133 0;
#P hidden connect 186 0 209 1;
#P hidden connect 94 0 95 0;
#P hidden connect 232 0 233 0;
#P hidden connect 241 0 233 0;
#P connect 151 0 56 0;
#P hidden connect 181 2 182 0;
#P connect 221 1 209 2;
#P hidden connect 181 1 210 0;
#P hidden connect 243 0 241 0;
#P hidden connect 242 0 232 0;
#P hidden connect 235 0 232 0;
#P hidden connect 153 0 22 5;
#P hidden connect 181 2 209 3;
#P hidden connect 189 0 210 1;
#P hidden connect 98 0 127 0;
#P hidden connect 195 0 194 0;
#P hidden connect 187 0 209 4;
#P hidden connect 89 0 87 0;
#P connect 221 2 210 2;
#P hidden connect 138 0 137 0;
#P hidden connect 142 0 139 0;
#P hidden connect 140 0 142 0;
#P hidden connect 181 2 210 3;
#P hidden connect 195 2 193 0;
#P hidden connect 27 1 61 0;
#P hidden connect 154 0 22 7;
#P hidden connect 190 0 210 4;
#P hidden connect 210 0 41 0;
#P hidden connect 216 0 41 0;
#P hidden connect 181 1 211 0;
#P connect 211 0 208 0;
#P connect 208 0 242 0;
#P hidden connect 168 0 169 0;
#P hidden connect 206 0 211 1;
#P hidden connect 239 0 240 0;
#P connect 37 0 147 0;
#P connect 172 0 173 0;
#P hidden connect 22 1 166 0;
#P connect 166 0 153 0;
#P hidden connect 177 0 153 0;
#P hidden connect 171 0 172 0;
#P connect 169 0 170 0;
#P connect 221 3 211 2;
#P hidden connect 134 0 25 0;
#P connect 76 0 146 0;
#P hidden connect 50 0 76 0;
#P connect 173 0 144 0;
#P connect 170 0 144 0;
#P connect 145 0 144 0;
#P connect 146 0 144 0;
#P hidden connect 96 0 97 0;
#P connect 230 0 97 0;
#P connect 231 0 97 0;
#P hidden connect 181 2 211 3;
#P connect 81 0 82 0;
#P hidden connect 22 3 165 0;
#P connect 165 0 154 0;
#P hidden connect 176 0 154 0;
#P hidden connect 51 0 75 0;
#P connect 75 0 145 0;
#P hidden connect 207 0 211 4;
#P hidden connect 52 0 31 0;
#P hidden connect 31 0 30 0;
#P connect 30 0 81 0;
#P connect 218 0 9 0;
#P connect 9 0 198 0;
#P connect 81 1 83 0;
#P connect 82 0 84 0;
#P connect 83 0 84 0;
#P connect 147 0 245 0;
#P connect 75 1 93 0;
#P connect 76 1 93 0;
#P connect 169 1 93 0;
#P connect 172 1 93 0;
#P connect 93 0 92 0;
#P connect 219 0 9 1;
#P hidden connect 40 0 53 0;
#P connect 81 2 79 0;
#P hidden connect 136 0 25 1;
#P hidden connect 197 0 9 2;
#P connect 220 0 9 3;
#P connect 97 1 89 0;
#P hidden connect 196 0 9 4;
#P connect 88 0 29 0;
#P connect 29 0 26 0;
#P connect 77 1 89 1;
#P hidden connect 217 0 223 0;
#P connect 223 0 195 0;
#P connect 195 0 220 0;
#P connect 218 1 213 0;
#P connect 35 0 29 1;
#P hidden connect 22 0 26 1;
#P connect 219 1 213 1;
#P connect 53 6 90 0;
#P connect 26 1 34 0;
#P connect 155 0 33 0;
#P connect 247 0 88 0;
#P connect 147 1 88 0;
#P hidden connect 233 0 88 0;
#P hidden connect 167 1 88 0;
#P hidden connect 25 0 88 0;
#P connect 104 0 88 0;
#P connect 97 2 88 0;
#P connect 91 0 88 0;
#P connect 90 0 88 0;
#P hidden connect 56 0 88 0;
#P connect 79 0 88 0;
#P connect 84 0 88 0;
#P connect 92 0 88 0;
#P connect 85 0 88 0;
#P connect 94 1 88 0;
#P connect 33 0 88 0;
#P connect 53 5 86 0;
#P connect 88 1 28 0;
#P connect 28 0 26 2;
#P hidden connect 204 0 213 2;
#P connect 247 1 88 1;
#P connect 33 1 88 1;
#P connect 36 0 35 0;
#P connect 35 0 28 1;
#P hidden connect 41 0 27 0;
#P connect 27 0 36 0;
#P connect 53 7 91 0;
#P connect 88 2 77 0;
#P hidden connect 99 0 26 3;
#P connect 26 2 34 1;
#P hidden connect 137 0 88 2;
#P connect 220 1 213 3;
#P connect 195 1 218 0;
#P hidden connect 139 0 88 3;
#P hidden connect 203 0 213 4;
#P connect 156 0 34 2;
#P connect 53 8 123 0;
#P connect 218 2 212 0;
#P connect 212 0 243 0;
#P hidden connect 87 0 88 4;
#P connect 219 2 212 1;
#P connect 53 9 104 0;
#P connect 77 1 159 0;
#P hidden connect 201 0 212 2;
#P connect 74 0 54 0;
#P connect 54 0 57 0;
#P connect 88 4 160 0;
#P connect 88 5 74 0;
#P connect 220 2 212 3;
#P connect 53 11 158 0;
#P connect 54 1 58 0;
#P connect 160 1 32 0;
#P hidden connect 200 0 212 4;
#P connect 54 2 59 0;
#P connect 195 2 219 0;
#P connect 220 3 216 0;
#P connect 54 3 60 0;
#P connect 74 1 80 0;
#P connect 80 0 63 0;
#P connect 63 0 106 0;
#P connect 106 0 119 0;
#P hidden connect 214 0 216 1;
#P connect 219 3 216 2;
#P connect 67 0 63 1;
#P connect 74 2 64 0;
#P hidden connect 162 0 161 0;
#P hidden connect 215 0 216 3;
#P connect 218 3 216 4;
#P hidden connect 163 0 161 1;
#P connect 74 3 67 0;
#P hidden connect 95 0 94 0;
#P connect 213 0 94 0;
#P connect 218 4 228 0;
#P connect 228 0 230 0;
#P connect 112 0 94 1;
#P connect 53 10 94 1;
#P connect 219 4 228 1;
#P hidden connect 164 0 161 2;
#P connect 74 4 98 0;
#P connect 246 0 94 2;
#P hidden connect 225 0 228 2;
#P connect 74 13 101 0;
#P connect 101 0 102 0;
#P connect 102 0 117 0;
#P connect 118 0 114 0;
#P connect 119 1 114 0;
#P connect 116 0 114 0;
#P connect 115 0 114 0;
#P connect 117 0 114 0;
#P connect 220 4 228 3;
#P hidden connect 224 0 228 4;
#P connect 105 0 85 0;
#P connect 68 0 85 0;
#P connect 65 0 85 0;
#P connect 62 0 85 0;
#P connect 71 0 85 0;
#P connect 120 0 85 0;
#P connect 218 5 229 0;
#P connect 229 0 231 0;
#P connect 219 5 229 1;
#P hidden connect 227 0 229 2;
#P connect 220 5 229 3;
#P connect 110 1 109 0;
#P connect 101 1 109 0;
#P connect 109 0 115 0;
#P hidden connect 226 0 229 4;
#P connect 74 12 111 0;
#P connect 111 0 112 0;
#P connect 112 1 113 0;
#P connect 113 0 118 0;
#P connect 74 9 69 0;
#P connect 110 0 103 0;
#P connect 101 2 103 0;
#P connect 103 0 116 0;
#P connect 112 2 66 0;
#P connect 111 1 66 0;
#P connect 66 0 120 0;
#P connect 66 1 105 0;
#P connect 66 2 68 0;
#P connect 66 3 65 0;
#P connect 74 10 72 0;
#P connect 72 0 73 0;
#P connect 73 0 70 0;
#P connect 66 4 62 0;
#P connect 66 5 71 0;
#P connect 66 6 55 0;
#P connect 101 3 110 0;
#P connect 77 1 269 0;
#P connect 269 0 270 0;
#P connect 266 0 257 0;
#P connect 253 1 257 0;
#P connect 257 0 258 0;
#P connect 250 0 251 0;
#P connect 247 2 248 0;
#P connect 249 0 248 0;
#P connect 269 0 250 0;
#P connect 272 0 250 0;
#P connect 250 1 251 1;
#P connect 247 3 248 1;
#P connect 257 2 259 0;
#P connect 257 3 260 0;
#P connect 273 0 272 0;
#P connect 250 1 275 0;
#P connect 275 0 276 0;
#P connect 257 4 261 0;
#P connect 257 5 262 0;
#P connect 257 6 268 0;
#P pop;
As you will notice I'm at the beginning of something so any advice would be great. The patch below...
max v2;
#N vpatcher 4 44 1440 900;
#P origin 5 -255;
#P window setfont "Sans Serif" 9.;
#P flonum 1617 509 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 1617 487 74 196617 snapshot~ 100;
#P window linecount 6;
#P comment 1692 463 100 196617 sync output ramps from 0 at beginning of loop portion of sample (according to current min and max) to 1 at the end;
#P toggle 1605 345 15 0;
#P window linecount 1;
#P message 1605 370 41 196617 loop \$1;
#P comment 1628 346 75 196617 • loop on/off;
#P user number~ 1332 377 1376 392 9 3 2 2 -10. 10. 35 1. 20 0. 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 1332 348 29 196617 sig~;
#P flonum 1792 708 57 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 2;
#P comment 1792 728 58 196617 total buffer time (ms);
#P button 1384 640 15 0;
#P comment 1724 728 62 196617 release loop end (ms);
#P comment 1656 728 62 196617 release loop start (ms);
#P comment 1588 727 62 196617 sustain loop end (ms);
#P flonum 1724 708 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1656 708 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1588 708 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1520 708 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1384 709 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 1384 682 105 196617 info~ pinky.buf;
#B color 5;
#P window linecount 2;
#P comment 1383 729 68 196617 sampling rate of the file;
#P comment 1520 727 62 196617 sustain loop start (ms);
#P window linecount 3;
#P comment 1461 702 37 196617 pitch info as a list;
#P window linecount 1;
#P newex 1387 605 124 196617 buffer~ pinky.buf 5000 2;
#P newex 1425 556 31 196617 dac~;
#P user ezdac~ 1421 506 1465 539 0;
#P newex 1451 402 127 196617 groove~ pinky.buf 5000 2;
#P toggle 1411 341 15 0;
#P newex 1443 363 99 196617 record~ pinky.buf 2;
#P newex 1397 305 222 196617 adc~ 1 2 3 4;
#N comlet clock signal;
#P inlet 869 45 15 0;
#P newex 374 196 122 196617 prepend compare_string;
#P newex 59 202 124 196617 js my_string_compare.js;
#P button 561 846 15 0;
#P newex 248 824 50 196617 + 0.01;
#P toggle 158 433 13 0;
#P objectname velocity_warp_toggle;
#P message 271 461 24 196617 99;
#P button 175 433 13 0;
#P user hint 14 446 158 462 "Velocity Warp (Pinky Pitch): Applies a warping factor to the velocity (pitch) values calculated by the vinyl/CD control tracker. Warp = 1.0000 turns warping OFF. Warp > 1.0000 makes scratching faster Warp < 1.0000 makes it slower." 1000 100 0 65535 65535 52428 9 3 0 1 0 0 0;
#P newex 81 501 82 196617 prepend set;
#P newex 81 481 50 196617 * 100.;
#P newex 12 478 50 196617 * 0.01;
#P user hslider 13 445 18 128 300 1 1 0;
#P objectname velocity_warp_slider;
#P newex 138 483 119 196617 prepend velocity_warp;
#P flonum 158 447 48 9 0.01 3. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname velocity_warp_numbox;
#P newex 891 841 22 196617 t 3;
#P newex 791 841 22 196617 t 0;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P hidden message 59 115 13 196617 1;
#P hidden message 24 115 13 196617 0;
#P hidden newex 24 135 50 196617 gate;
#P hidden message 126 72 13 196617 0;
#P hidden message 91 73 13 196617 1;
#P hidden newex 91 93 73 196617 gate;
#P newex 24 93 45 196617 select 0;
#P newex 91 50 45 196617 select 0;
#P newex 24 157 197 196617 select 0;
#N comlet Note Number Input;
#P inlet 154 29 15 0;
#N comlet Note Channel Input;
#P inlet 91 29 15 0;
#N comlet Note Velocity Input;
#P inlet 24 29 15 0;
#N comlet Channel Select;
#P inlet 126 29 15 0;
#N comlet Note Select Input;
#P inlet 211 28 18 0;
#N comlet Note Output;
#P outlet 24 179 15 0;
#P connect 3 0 8 0;
#P connect 8 0 13 0;
#P hidden connect 14 0 12 0;
#P hidden connect 13 0 12 0;
#P connect 12 0 6 0;
#P connect 6 0 0 0;
#P connect 8 1 14 0;
#P connect 9 0 12 1;
#P connect 4 0 7 0;
#P connect 7 0 10 0;
#P hidden connect 11 0 9 0;
#P hidden connect 10 0 9 0;
#P connect 2 0 7 1;
#P connect 7 1 11 0;
#P connect 5 0 9 1;
#P connect 1 0 6 1;
#P pop;
#P newobj 891 820 95 196617 p Note_Select_Gate;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P hidden message 59 115 13 196617 1;
#P hidden message 24 115 13 196617 0;
#P hidden newex 24 135 50 196617 gate;
#P hidden message 126 72 13 196617 0;
#P hidden message 91 73 13 196617 1;
#P hidden newex 91 93 73 196617 gate;
#P newex 24 93 45 196617 select 0;
#P newex 91 50 45 196617 select 0;
#P newex 24 157 197 196617 select 0;
#N comlet Note Number Input;
#P inlet 154 29 15 0;
#N comlet Note Channel Input;
#P inlet 91 29 15 0;
#N comlet Note Velocity Input;
#P inlet 24 29 15 0;
#N comlet Channel Select;
#P inlet 126 29 15 0;
#N comlet Note Select Input;
#P inlet 211 28 18 0;
#N comlet Note Output;
#P outlet 24 179 15 0;
#P connect 3 0 8 0;
#P connect 8 0 13 0;
#P hidden connect 13 0 12 0;
#P hidden connect 14 0 12 0;
#P connect 12 0 6 0;
#P connect 6 0 0 0;
#P connect 8 1 14 0;
#P connect 9 0 12 1;
#P connect 4 0 7 0;
#P connect 7 0 10 0;
#P hidden connect 10 0 9 0;
#P hidden connect 11 0 9 0;
#P connect 2 0 7 1;
#P connect 7 1 11 0;
#P connect 5 0 9 1;
#P connect 1 0 6 1;
#P pop;
#P newobj 791 820 95 196617 p Note_Select_Gate;
#P number 177 678 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Velocity_Fader_Note_Chan[2];
#P number 139 678 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Velocity_Fader_Note_Num[2];
#P number 177 664 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Vinyl_Control_Note_Channel;
#P number 139 664 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Vinyl_Control_Note_Number;
#P message 455 698 50 196617 enable \$1;
#P message 67 700 50 196617 enable \$1;
#P newex 121 722 50 196617 t i i i i;
#P newex 455 738 85 196617 t i i i i i i;
#P newex 656 737 93 196617 t i i i i i i;
#P newex 542 739 86 196617 t i i i i i i;
#P toggle 226 632 15 0;
#P objectname MIDI_Enable_Toggle;
#N vpatcher 430 249 1030 649;
#P window setfont "Sans Serif" 9.;
#P newex 24 147 40 196617 * 112;
#P newex 24 174 50 196617 / 127;
#N comlet Note Select;
#P inlet 59 27 15 0;
#P hidden message 59 73 13 196617 0;
#P hidden message 24 73 13 196617 1;
#P hidden newex 24 120 50 196617 gate;
#P hidden message 126 72 13 196617 0;
#P hidden message 91 73 13 196617 1;
#P hidden newex 91 93 73 196617 gate;
#P newex 24 51 45 196617 select 0;
#P newex 91 50 45 196617 select 0;
#N comlet Note Velocity Input;
#P inlet 154 27 15 0;
#N comlet Note Channel Input;
#P inlet 91 27 15 0;
#N comlet Note Number Input;
#P inlet 24 27 15 0;
#N comlet Channel Select;
#P inlet 126 27 15 0;
#N comlet Note Output;
#P outlet 24 207 15 0;
#P connect 2 0 6 0;
#P connect 6 0 11 0;
#P hidden connect 11 0 10 0;
#P hidden connect 12 0 10 0;
#P connect 10 0 15 0;
#P connect 15 0 14 0;
#P connect 14 0 0 0;
#P connect 13 0 6 1;
#P connect 6 1 12 0;
#P connect 7 0 10 1;
#P connect 3 0 5 0;
#P connect 5 0 8 0;
#P hidden connect 8 0 7 0;
#P hidden connect 9 0 7 0;
#P connect 1 0 5 1;
#P connect 5 1 9 0;
#P connect 4 0 7 1;
#P pop;
#P newobj 665 820 119 196617 p Velocity_Select_Gate;
#P number 177 650 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Velocity_Fader_Note_Chan;
#P number 139 650 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Velocity_Fader_Note_Num;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P hidden message 59 115 13 196617 1;
#P hidden message 24 115 13 196617 0;
#P hidden newex 24 135 50 196617 gate;
#P hidden message 126 72 13 196617 0;
#P hidden message 91 73 13 196617 1;
#P hidden newex 91 93 73 196617 gate;
#P newex 24 93 45 196617 select 0;
#P newex 91 50 45 196617 select 0;
#P newex 24 157 197 196617 select 0;
#N comlet Note Number Input;
#P inlet 154 29 15 0;
#N comlet Note Channel Input;
#P inlet 91 29 15 0;
#N comlet Note Velocity Input;
#P inlet 24 29 15 0;
#N comlet Channel Select;
#P inlet 126 29 15 0;
#N comlet Note Select Input;
#P inlet 211 28 18 0;
#N comlet Note Output;
#P outlet 24 179 15 0;
#P connect 3 0 8 0;
#P connect 8 0 13 0;
#P hidden connect 13 0 12 0;
#P hidden connect 14 0 12 0;
#P connect 12 0 6 0;
#P connect 6 0 0 0;
#P connect 8 1 14 0;
#P connect 9 0 12 1;
#P connect 4 0 7 0;
#P connect 7 0 10 0;
#P hidden connect 10 0 9 0;
#P hidden connect 11 0 9 0;
#P connect 2 0 7 1;
#P connect 7 1 11 0;
#P connect 5 0 9 1;
#P connect 1 0 6 1;
#P pop;
#P newobj 461 822 95 196617 p Note_Select_Gate;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P hidden message 59 115 13 196617 1;
#P hidden message 24 115 13 196617 0;
#P hidden newex 24 135 50 196617 gate;
#P hidden message 126 72 13 196617 0;
#P hidden message 91 73 13 196617 1;
#P hidden newex 91 93 73 196617 gate;
#P newex 24 93 45 196617 select 0;
#P newex 91 50 45 196617 select 0;
#P newex 24 157 197 196617 select 0;
#N comlet Note Number Input;
#P inlet 154 29 15 0;
#N comlet Note Channel Input;
#P inlet 91 29 15 0;
#N comlet Note Velocity Input;
#P inlet 24 29 15 0;
#N comlet Channel Select;
#P inlet 126 29 15 0;
#N comlet Note Select Input;
#P inlet 211 28 18 0;
#N comlet Note Output;
#P outlet 24 179 15 0;
#P connect 3 0 8 0;
#P connect 8 0 13 0;
#P hidden connect 14 0 12 0;
#P hidden connect 13 0 12 0;
#P connect 12 0 6 0;
#P connect 6 0 0 0;
#P connect 8 1 14 0;
#P connect 9 0 12 1;
#P connect 4 0 7 0;
#P connect 7 0 10 0;
#P hidden connect 11 0 9 0;
#P hidden connect 10 0 9 0;
#P connect 2 0 7 1;
#P connect 7 1 11 0;
#P connect 5 0 9 1;
#P connect 1 0 6 1;
#P pop;
#P newobj 561 822 95 196617 p Note_Select_Gate;
#N vpatcher 523 164 1123 564;
#P window setfont "Sans Serif" 9.;
#P hidden newex 50 95 77 196617 gate;
#P hidden message 90 71 13 196617 0;
#P hidden message 50 71 13 196617 1;
#P hidden newex 50 50 50 196617 select 0;
#P hidden message 185 113 13 196617 0;
#P hidden message 145 114 13 196617 1;
#P hidden newex 145 93 50 196617 select 0;
#P hidden newex 145 133 50 196617 gate;
#N comlet controller number;
#P inlet 50 30 15 0;
#N comlet control value input;
#P inlet 117 29 15 0;
#N comlet control channel input;
#P inlet 145 28 15 0;
#N comlet controller number select;
#P inlet 90 30 15 0;
#N comlet control channel select;
#P inlet 185 29 15 0;
#N comlet control value output;
#P outlet 145 155 15 0;
#P connect 5 0 10 0;
#P connect 10 0 11 0;
#P connect 12 0 13 0;
#P connect 11 0 13 0;
#P connect 2 0 10 1;
#P connect 10 1 12 0;
#P connect 4 0 13 1;
#P connect 3 0 7 0;
#P hidden connect 7 0 8 0;
#P hidden connect 8 0 6 0;
#P hidden connect 9 0 6 0;
#P connect 6 0 0 0;
#P connect 1 0 7 1;
#P hidden connect 7 1 9 0;
#P connect 13 0 6 1;
#P pop;
#P newobj 248 777 85 196617 p CC_select_gate;
#N vpatcher 523 164 1123 564;
#P window setfont "Sans Serif" 9.;
#P hidden newex 50 95 77 196617 gate;
#P hidden message 90 71 13 196617 0;
#P hidden message 50 71 13 196617 1;
#P hidden newex 50 50 50 196617 select 0;
#P hidden message 185 113 13 196617 0;
#P hidden message 145 114 13 196617 1;
#P hidden newex 145 93 50 196617 select 0;
#P hidden newex 145 133 50 196617 gate;
#N comlet controller number;
#P inlet 50 30 15 0;
#N comlet control value input;
#P inlet 117 29 15 0;
#N comlet control channel input;
#P inlet 145 28 15 0;
#N comlet controller number select;
#P inlet 90 30 15 0;
#N comlet control channel select;
#P inlet 185 29 15 0;
#N comlet control value output;
#P outlet 145 155 15 0;
#P connect 5 0 10 0;
#P connect 10 0 11 0;
#P connect 11 0 13 0;
#P connect 12 0 13 0;
#P connect 2 0 10 1;
#P connect 10 1 12 0;
#P connect 4 0 13 1;
#P connect 3 0 7 0;
#P hidden connect 7 0 8 0;
#P hidden connect 9 0 6 0;
#P hidden connect 8 0 6 0;
#P connect 6 0 0 0;
#P connect 1 0 7 1;
#P hidden connect 7 1 9 0;
#P connect 13 0 6 1;
#P pop;
#P newobj 155 777 85 196617 p CC_select_gate;
#N vpatcher 523 164 1123 564;
#P window setfont "Sans Serif" 9.;
#P hidden newex 50 95 77 196617 gate;
#P hidden message 90 71 13 196617 0;
#P hidden message 50 71 13 196617 1;
#P hidden newex 50 50 50 196617 select 0;
#P hidden message 185 113 13 196617 0;
#P hidden message 145 114 13 196617 1;
#P hidden newex 145 93 50 196617 select 0;
#P hidden newex 145 133 50 196617 gate;
#N comlet controller number;
#P inlet 50 30 15 0;
#N comlet control value input;
#P inlet 117 29 15 0;
#N comlet control channel input;
#P inlet 145 28 15 0;
#N comlet controller number select;
#P inlet 90 30 15 0;
#N comlet control channel select;
#P inlet 185 29 15 0;
#N comlet control value output;
#P outlet 145 155 15 0;
#P connect 5 0 10 0;
#P connect 10 0 11 0;
#P connect 12 0 13 0;
#P connect 11 0 13 0;
#P connect 2 0 10 1;
#P connect 10 1 12 0;
#P connect 4 0 13 1;
#P connect 3 0 7 0;
#P hidden connect 7 0 8 0;
#P hidden connect 8 0 6 0;
#P hidden connect 9 0 6 0;
#P connect 6 0 0 0;
#P connect 1 0 7 1;
#P hidden connect 7 1 9 0;
#P connect 13 0 6 1;
#P pop;
#P newobj 113 808 85 196617 p CC_select_gate;
#P newex 248 800 99 196617 * 0.023622;
#P number 177 594 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Pitch_Channel_Num;
#P number 139 594 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Pitch_Control_Num;
#P comment 9 595 129 196617 Pinky Pitch Warp (control):;
#P number 177 636 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname File_Play_Chan_Num;
#P number 139 636 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname File_Play_Note_Num;
#P comment 33 637 105 196617 File Play/Stop (note):;
#P number 177 622 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Pink_Pitch_Channel;
#P number 139 622 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Pinky_Pitch_Note;
#P comment 13 623 124 196617 Pinky Pitch On/Off (note):;
#P button 362 849 15 0;
#P number 177 608 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname EQ_Toggle_Chan_Num;
#P number 139 608 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname EQ_Toggle_Note_Num;
#P newex 455 718 184 196617 notein;
#P number 183 535 30 9 0 128 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 212 535 30 9 0 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 186 523 26 196617 note;
#P comment 209 523 41 196617 channel;
#P number 177 580 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Play_Volume_Control_Chan;
#P number 139 580 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Play_Volume_Control_Num;
#P comment 10 581 128 196617 Playback Volume (control):;
#P number 177 566 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Filter_Q_Channel_Num;
#P number 139 566 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Filter_Q_Control_Num;
#P comment 12 567 126 196617 Filter Resonance (control):;
#P number 177 552 40 9 0 16 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Filter_Cutoff_Channel_Num;
#P number 112 535 35 9 0 128 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 146 535 32 9 0 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 121 700 50 196617 ctlin;
#P newex 7 778 50 196617 t b i;
#P hidden newex 47 819 27 196617 + 1.;
#P hidden message 7 816 29 196617 10.;
#P hidden newex 7 840 50 196617 pow;
#P hidden newex 113 832 58 196617 * 0.07874;
#P hidden newex 47 799 62 196617 * 0.023623;
#P number 139 552 39 9 0 128 35 3 0 0 0 255 91 238 222 222 222 0 0 0;
#P objectname Filter_Cutoff_Control_Num;
#P message 273 615 74 196617 set_offset 0 0;
#P newex 278 573 33 196617 t b 0;
#P window linecount 2;
#P message 221 663 31 196617 go back..;
#P window linecount 1;
#P message 279 522 93 196617 set_offset 0 -499;
#P newex 261 483 33 196617 t b 0;
#P message 209 450 47 196617 MIDI map;
#P newex 237 219 112 196617 route waveformoffset;
#P message 274 107 35 196617 set \$1;
#P message 317 107 35 196617 set \$1;
#P hidden number 822 46 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Blue;
#P hidden number 774 46 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Green;
#P hidden number 726 46 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Red;
#P window setfont Osaka 9.;
#P hidden newex 726 77 106 1073741833 bgcolor 255 255 255;
#P window setfont "Sans Serif" 9.;
#P user number~ 610 564 649 579 9 3 2 2 0. 0. 0 0. 20 0. 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet vinyl velocity out;
#P outlet 598 665 15 0;
#P message 627 96 50 196617 color 0;
#N vpatcher 83 280 912 712;
#P window setfont "Sans Serif" 9.;
#P newex 620 140 87 196617 mousefilter;
#P newex 503 140 87 196617 mousefilter;
#N comlet to filtergraph;
#P outlet 503 220 15 0;
#P newex 620 107 105 196617 prepend set_waveform_color;
#P newex 620 86 84 196617 pack 0 0 0;
#P number 694 67 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Waveform_Blue;
#P number 657 67 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Waveform_Green;
#P number 620 67 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Waveform_Red;
#P newex 503 107 107 196617 prepend set_background_color;
#P newex 503 86 84 196617 pack 0 0 0;
#P number 577 67 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Waveform_Blue;
#P number 540 67 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Waveform_Green;
#P number 503 67 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Waveform_Red;
#N comlet to filtergraph;
#P outlet 259 221 15 0;
#P newex 376 108 99 196617 prepend frgb;
#P newex 376 87 84 196617 pack 0 0 0;
#P number 450 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Filter_Blue;
#P number 413 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Filter_Green;
#P number 376 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Filter_Red;
#P newex 259 108 99 196617 prepend brgb;
#P newex 259 87 84 196617 pack 0 0 0;
#P number 333 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Filter_Blue;
#P number 296 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Filter_Green;
#P number 259 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Filter_Red;
#N comlet output to panels;
#P outlet 20 221 15 0;
#P newex 201 32 50 196617 autopattr;
#X prestore BG_Box_Blue 1 0 202;
#X prestore BG_Box_Border 1 0 1;
#X prestore BG_Box_Green 1 0 88;
#X prestore BG_Box_Red 1 0 131;
#X prestore BG_Box_Rounded 1 0 42;
#X prestore BG_Box_Shadow 1 0 3;
#X prestore BG_Filter_Blue 1 0 210;
#X prestore BG_Filter_Green 1 0 139;
#X prestore BG_Filter_Red 1 0 208;
#X prestore BG_Waveform_Blue 1 0 0;
#X prestore BG_Waveform_Green 1 0 0;
#X prestore BG_Waveform_Red 1 0 0;
#X prestore FG_Box_Blue 1 0 129;
#X prestore FG_Box_Green 1 0 76;
#X prestore FG_Box_Red 1 0 207;
#X prestore FG_Filter_Blue 1 0 109;
#X prestore FG_Filter_Green 1 0 111;
#X prestore FG_Filter_Red 1 0 133;
#X prestore FG_Waveform_Blue 1 0 0;
#X prestore FG_Waveform_Green 1 0 0;
#X prestore FG_Waveform_Red 1 0 0;
#P objectname u036000001;
#P newex 137 108 99 196617 prepend frgb;
#P newex 137 87 84 196617 pack 0 0 0;
#P number 211 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Box_Blue;
#P number 174 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Box_Green;
#P number 137 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname FG_Box_Red;
#P newex 20 108 99 196617 prepend brgb;
#P newex 20 87 84 196617 pack 0 0 0;
#P number 94 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Box_Blue;
#P number 57 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Box_Green;
#P number 20 68 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Box_Red;
#P number 135 32 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Box_Shadow;
#P message 135 50 55 196617 shadow \$1;
#P number 74 32 35 9 0 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Box_Rounded;
#P message 74 50 58 196617 rounded \$1;
#P message 19 50 53 196617 border \$1;
#P number 19 33 35 9 0 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname BG_Box_Border;
#P connect 0 0 1 0;
#P connect 6 0 9 0;
#P connect 9 0 10 0;
#P connect 10 0 17 0;
#P connect 15 0 17 0;
#P connect 1 0 17 0;
#P connect 2 0 17 0;
#P connect 4 0 17 0;
#P connect 7 0 9 1;
#P connect 3 0 2 0;
#P connect 8 0 9 2;
#P connect 5 0 4 0;
#P connect 11 0 14 0;
#P connect 14 0 15 0;
#P connect 12 0 14 1;
#P connect 13 0 14 2;
#P connect 18 0 21 0;
#P connect 21 0 22 0;
#P connect 22 0 28 0;
#P connect 27 0 28 0;
#P connect 19 0 21 1;
#P connect 20 0 21 2;
#P connect 23 0 26 0;
#P connect 26 0 27 0;
#P connect 24 0 26 1;
#P connect 25 0 26 2;
#P connect 29 0 32 0;
#P connect 32 0 33 0;
#P connect 33 0 40 0;
#P connect 41 0 39 0;
#P connect 40 0 39 0;
#P connect 30 0 32 1;
#P connect 31 0 32 2;
#P connect 34 0 37 0;
#P connect 37 0 38 0;
#P connect 38 0 41 0;
#P connect 35 0 37 1;
#P connect 36 0 37 2;
#P pop;
#P newobj 279 43 113 196617 patcher color_selection;
#P objectname color_selection;
#P number 555 625 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname Output_Channel_Pair_Select;
#P number 486 312 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname Input_Channel_Pair_Select;
#P flonum 317 127 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname Filter_Q;
#P flonum 274 127 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname Filter_Cutoff;
#P newex 25 275 59 196617 route text;
#P newex 93 275 50 196617 tosymbol;
#P newex 24 202 33 196617 t b s;
#P newex 24 221 83 196617 prepend set;
#P user textedit 25 241 344 271 32905 3 9;
#P objectname FileNameAndPath_Text;
#P newex 272 196 98 196617 route read;
#P message 294 439 74 196617 set_offset 0 0;
#P message 318 482 93 196617 set_offset 0 -274;
#P newex 295 650 103 196617 js patcher_offset.js;
#P user hint 64 362 208 378 "Cutoff Sharpness: sets how quickly the dropout occurs when signal falls below the Sig Power Thresh setting. A value of approx. 1.0000 provides reasonably smooth sounding dropout when record speed is very low." 1000 100 0 65535 65535 52428 9 3 0 1 0 0 0;
#P hidden newex 209 362 32 196617 / 20.;
#P user hint 62 332 206 348 "Sig Power Thresh (dB): adjust according to the level of the signal from your turntable. Above a certain point notice how playback volume drops. Set this control to about 6 dB below the level at which dropout occurs." 1000 100 0 65535 65535 52428 9 3 0 1 0 0 0;
#P user hslider 63 361 18 128 100 1 1 0;
#P objectname cutoff_sharpness_slider;
#P flonum 208 362 43 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user hslider 63 332 18 128 61 1 -60 0;
#P objectname signal_power_thresh_slider;
#P flonum 208 334 43 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user ubumenu 54 394 126 196617 0 1 1 0;
#X add vinyl demodulator off;
#X add relative mode vinyl;
#X add absolute mode vinyl;
#X prefix_set 0 0 <none> 0;
#X pattrmode 1;
#P objectname vinyl_demod_settings_menu;
#P comment 57 381 179 196617 Position Stamp Demodulator Settings:;
#P user ubumenu 183 394 64 196617 0 1 1 0;
#X add gen1 vinyl;
#X add gen2 vinyl;
#X add gen3 vinyl;
#X add gen4 vinyl;
#X add gen5 CD;
#X prefix_set 0 0 <none> 0;
#X pattrmode 1;
#P objectname vinyl_generation_menu;
#P flonum 124 413 57 9 0 0 32 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont "Sans Serif" 12.;
#P comment 32 323 14 196620 R;
#P user meter~ 32 340 45 426 100 0 168 0 0 0 0 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P user meter~ 16 340 29 426 100 0 168 0 0 0 0 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P window setfont "Sans Serif" 9.;
#P window linecount 2;
#P comment 16 301 31 196617 signal level;
#P window setfont "Sans Serif" 12.;
#P window linecount 1;
#P comment 14 323 14 196620 L;
#P window setfont "Sans Serif" 9.;
#P user textedit 180 77 242 95 32945 3 9 0 0 0 0;
#P user textedit 118 77 179 95 32945 3 9;
#P user textedit 57 77 117 95 32945 3 9;
#P user textedit 10 77 56 95 32945 3 9;
#P message 561 132 65 196617 gainmode 0;
#P user textedit 10 58 242 76 98449 3 9;
#P newex 469 50 188 196617 autopattr FileScratchPatch_Autopattr;
#X prestore BG_Blue 1 0 0;
#X prestore BG_Green 1 0 0;
#X prestore BG_Red 1 0 0;
#X prestore EQ_Toggle_Chan_Num 1 0 0;
#X prestore EQ_Toggle_Note_Num 1 0 0;
#X prestore EQ_toggle 1 0 0;
#X prestore EQ_type_menu 1 0 0;
#X prestore File_Play_Chan_Num 1 0 0;
#X prestore File_Play_Note_Num 1 0 0;
#X prestore Filter_Cutoff 1 0 18.190851;
#X prestore Filter_Cutoff_Channel_Num 1 0 0;
#X prestore Filter_Cutoff_Control_Num 1 0 0;
#X prestore Filter_Q 1 0 9.4488;
#X prestore Filter_Q_Channel_Num 1 0 0;
#X prestore Filter_Q_Control_Num 1 0 0;
#X prestore Input_Channel_Pair_Select 1 0 0;
#X prestore MIDI_Enable_Toggle 1 0 0;
#X prestore Output_Channel_Pair_Select 1 0 0;
#X prestore Pink_Pitch_Channel 1 0 0;
#X prestore Pinky_Pitch_Note 1 0 0;
#X prestore Pitch_Channel_Num 1 0 0;
#X prestore Pitch_Control_Num 1 0 0;
#X prestore Play_Volume_Control_Chan 1 0 0;
#X prestore Play_Volume_Control_Num 1 0 0;
#X prestore Velocity_Fader_Note_Chan 1 0 0;
#X prestore Velocity_Fader_Note_Chan[2] 1 0 0;
#X prestore Velocity_Fader_Note_Num 1 0 0;
#X prestore Velocity_Fader_Note_Num[2] 1 0 0;
#X prestore Vinyl_Control_Note_Channel 1 0 0;
#X prestore Vinyl_Control_Note_Number 1 0 0;
#X prestore cutoff_sharpness_slider 1 0 38;
#X prestore pitch_float_num 1 0 0.;
#X prestore signal_power_thresh_slider 1 0 40;
#X prestore velocity_warp_numbox 1 0 1.02;
#X prestore velocity_warp_slider 1 0 102;
#X prestore velocity_warp_toggle 1 0 0;
#X prestore vinyl_demod_settings_menu 1 0 "absolute mode vinyl";
#X prestore vinyl_generation_menu 1 0 "gen4 vinyl";
#X prestore volume_slider 1 0 101;
#P objectname FileScratchPatch_Autopattr;
#P message 1080 303 96 196617 waveform_filename;
#P newex 672 553 50 196617 t l l;
#P newex 1014 132 50 196617 t s s;
#P newex 845 712 50 196617 t l l;
#P newex 1069 601 50 196617 t l l;
#P newex 957 648 50 196617 t l l;
#N comlet to other waveform displays;
#P outlet 845 748 15 0;
#P message 1014 110 70 196617 clear_display;
#P newex 992 86 55 196617 t b b b;
#P newex 992 63 50 196617 select -1;
#P newex 1181 559 65 196617 unpack 0. 0;
#P newex 957 629 144 196617 prepend waveform_calculated;
#P user meter~ 115 138 213 153 100 0 168 0 0 0 0 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P user umenu 43 138 70 196646 1 64 154 1;
#X add lowpass;
#X add highpass;
#X add bandpass;
#X add bandstop;
#X add peaknotch;
#X add lowshelf;
#X add highshelf;
#P objectname EQ_type_menu;
#P newex 672 526 122 196617 prepend update_indicator;
#P message 1093 282 105 196617 waveform_calculated;
#P message 583 113 84 196617 use_waveform 1;
#P newex 1069 581 184 196617 prepend percent_waveform_calculated;
#P newex 845 670 140 196617 prepend open_waveform_file;
#P newex 845 537 458 196617 route waveform_filename waveform_calculated percent_waveform_calculated waveformcalc;
#P user jsui 9 154 248 39 0 0 0 Pinky_waveform.js;
#P toggle 27 138 15 0;
#P objectname EQ_toggle;
#P newex 825 425 61 196617 prepend set;
#N vpatcher 104 90 1236 740;
#P window setfont "Sans Serif" 9.;
#P message 520 402 81 196617 fat_resample \$1;
#P message 450 402 58 196617 reverse \$1;
#P newex 58 160 67 196617 autopattr;
#X prestore audio_thru_check 1 0 0;
#X prestore fat_resample_check 1 0 0;
#X prestore loop_play_check 1 0 0;
#X prestore pitch_lock_check 1 0 0;
#X prestore reverse_play_check 1 0 0;
#X prestore vinyl_ctrl_check 1 0 1;
#P objectname u492000004;
#P message 460 266 29 196617 5 \$1;
#P message 370 266 29 196617 4 \$1;
#P message 280 264 29 196617 3 \$1;
#P message 190 264 31 196617 2 \$1;
#P message 100 264 28 196617 1 \$1;
#P message 10 264 31 196617 0 \$1;
#P message 614 402 71 196617 pitch_lock \$1;
#P button 460 214 15 0;
#P toggle 460 236 15 0;
#P objectname pitch_lock_check;
#P message 298 402 71 196617 audio_thru \$1;
#N comlet to input of ubumenu;
#P outlet 10 542 15 0;
#P message 384 402 51 196617 looped \$1;
#N comlet output to gate on pitch values;
#P outlet 136 542 15 0;
#P message 186 417 14 196617 1;
#P message 136 418 14 196617 0;
#P newex 167 396 29 196617 t b b;
#P message 167 440 85 196617 vinyl_control 1;
#P message 117 464 89 196617 vinyl_control 0;
#P newex 117 396 29 196617 t b b;
#P newex 118 376 108 196617 sel 0 1;
#N comlet output to MPTCFS~ input;
#P outlet 424 542 15 0;
#N comlet from control ubumenu left outlet;
#P inlet 10 158 15 0;
#P button 370 214 15 0;
#P toggle 370 238 15 0;
#P objectname fat_resample_check;
#P button 280 214 15 0;
#P button 190 214 15 0;
#P button 100 214 15 0;
#P button 10 214 15 0;
#P newex 10 374 92 196617 prepend checkitem;
#P toggle 280 235 15 0;
#P objectname reverse_play_check;
#P toggle 190 237 15 0;
#P objectname loop_play_check;
#P toggle 100 236 15 0;
#P objectname audio_thru_check;
#P newex 10 193 550 196617 select 0 1 2 3 4 5;
#P toggle 10 238 15 0;
#P objectname vinyl_ctrl_check;
#P comment 28 543 83 196617 to ubumenu input;
#P comment 442 543 100 196617 to MPTCFS~ input;
#P comment 154 543 100 196617 to ratio gate;
#P connect 15 0 4 0;
#P connect 4 0 9 0;
#P connect 9 0 3 0;
#P connect 3 0 31 0;
#P connect 36 0 8 0;
#P connect 35 0 8 0;
#P connect 34 0 8 0;
#P connect 33 0 8 0;
#P connect 32 0 8 0;
#P connect 31 0 8 0;
#P connect 8 0 26 0;
#P connect 4 1 10 0;
#P connect 10 0 5 0;
#P connect 5 0 32 0;
#P connect 17 0 18 0;
#P connect 18 0 19 0;
#P connect 3 0 17 0;
#P connect 18 1 22 0;
#P connect 23 0 24 0;
#P connect 22 0 24 0;
#P connect 17 1 21 0;
#P connect 21 0 20 0;
#P connect 21 1 23 0;
#P connect 4 2 11 0;
#P connect 11 0 6 0;
#P connect 6 0 33 0;
#P connect 4 3 12 0;
#P connect 12 0 7 0;
#P connect 7 0 34 0;
#P connect 5 0 27 0;
#P connect 4 4 14 0;
#P connect 14 0 13 0;
#P connect 13 0 35 0;
#P connect 6 0 25 0;
#P connect 30 0 16 0;
#P connect 39 0 16 0;
#P connect 38 0 16 0;
#P connect 25 0 16 0;
#P connect 27 0 16 0;
#P connect 19 0 16 0;
#P connect 20 0 16 0;
#P connect 7 0 38 0;
#P connect 4 5 29 0;
#P connect 29 0 28 0;
#P connect 28 0 36 0;
#P connect 13 0 39 0;
#P connect 28 0 30 0;
#P pop;
#P newobj 296 158 105 196617 patcher control_menu;
#P objectname control_menu;
#P user ubumenu 117 41 73 196617 0 1 1 0;
#X add vnyl ctrl;
#X add audio thru;
#X add file loop;
#X add file reverse;
#X add fat resample;
#X add pitch lock;
#X prefix_set 0 0 <none> 0;
#X pattrmode 1;
#P message 132 27 31 196617 stop;
#B color 14;
#N vpatcher 183 229 857 723;
#N comlet clock signal;
#P inlet 289 35 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 270 223 29 196617 gate;
#P newex 104 145 88 196617 prepend play_file;
#P newex 264 375 75 196617 prepend query;
#P window linecount 1;
#P message 270 302 55 196617 remainder;
#P message 310 349 55 196617 msec_time;
#P newex 270 277 51 196617 t b b b;
#P message 290 325 50 196617 file_time;
#N comlet video out;
#P outlet 171 441 15 0;
#P window linecount 0;
#N vpatcher 724 166 1124 466;
#P inlet 188 40 15 0;
#P outlet 181 162 15 0;
#P outlet 146 162 15 0;
#P inlet 128 40 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 128 63 28 196617 t b b;
#N counter 1 2;
#X flags 0 0;
#P newobj 146 119 66 196617 counter 1 2;
#P newex 146 141 45 196617 gate 2 1;
#P connect 3 0 2 0;
#P connect 2 1 1 0;
#P connect 1 0 0 0;
#P connect 0 0 4 0;
#P connect 2 0 0 1;
#P connect 0 1 5 0;
#P connect 6 0 1 3;
#P pop;
#P newobj 106 78 55 196617 p altbang2;
#P newex 151 245 69 196617 prepend color;
#P newex 151 225 34 196617 t 126;
#P newex 74 223 21 196617 t 6;
#P newex 74 246 69 196617 prepend color;
#P message 187 56 14 196617 1;
#N comlet full;
#P inlet 187 35 15 0;
#N comlet to button;
#P outlet 81 441 15 0;
#P inlet 106 35 15 0;
#P button 106 57 15 0;
#P objectname Play_Button_Bang;
#P newex 151 102 40 196617 t b b 1;
#P newex 74 103 40 196617 t b b 0;
#P message 89 189 45 196617 set play;
#B color 9;
#P message 166 194 45 196617 set stop;
#B color 9;
#P connect 7 0 2 0;
#P connect 13 0 2 0;
#P connect 2 0 10 0;
#P connect 10 0 9 0;
#P connect 9 0 6 0;
#P connect 12 0 6 0;
#P connect 0 0 6 0;
#P connect 1 0 6 0;
#P connect 2 1 1 0;
#P connect 2 2 20 0;
#P connect 3 2 20 0;
#P connect 5 0 4 0;
#P connect 4 0 13 0;
#P connect 8 0 13 1;
#P connect 13 1 3 0;
#P connect 3 0 11 0;
#P connect 11 0 12 0;
#P connect 3 1 0 0;
#P connect 20 0 14 0;
#P connect 19 0 14 0;
#P connect 7 0 8 0;
#P connect 17 0 19 0;
#P connect 15 0 19 0;
#P connect 18 0 19 0;
#P connect 3 2 21 0;
#P connect 2 2 21 0;
#P connect 21 0 16 0;
#P connect 16 0 18 0;
#P connect 22 0 21 1;
#P connect 16 1 15 0;
#P connect 16 2 17 0;
#P pop;
#P hidden newobj 779 232 64 196617 p playbutton;
#P objectname playbutton;
#P newex 382 417 58 196617 qmetro 100;
#P message 382 440 95 196617 query vinyl_metric;
#P message 513 152 101 196617 control_generation 3;
#P message 485 171 107 196617 position_wrap_mode 1;
#P newex 437 494 27 196617 gate;
#P newex 486 374 128 196617 mptcfs_sa~ 44100;
#P flonum 191 42 51 9 -10. 10. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname pitch_float_num;
#P message 495 102 14 196617 0;
#P newex 883 314 81 196617 prepend query;
#P newex 370 321 72 196617 prepend query;
#P message 370 284 55 196617 msec_time;
#P message 316 284 50 196617 file_time;
#P newex 355 258 40 196617 t b b f;
#P newex 672 462 60 196617 mousefilter;
#P newex 385 301 61 196617 prepend cue;
#P comment 202 28 29 196617 pitch;
#P user number~ 519 442 563 457 9 3 2 2 -10. 10. 35 1. 20 0. 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 295 417 33 196617 t b 0;
#P newex 318 460 43 196617 t b b;
#P newex 621 400 683 196617 route file_time msec_time duration msec_duration remainder msec_remainder percent_played nchans fsample file_type bitrate vinyl_metric read;
#P newex 1131 449 62 196617 append kbps;
#P newex 1131 427 42 196617 / 1000;
#P message 1145 210 39 196617 bitrate;
#P newex 1131 470 61 196617 prepend set;
#P newex 1066 427 61 196617 prepend set;
#P message 1106 264 49 196617 file_type;
#P flonum 774 496 70 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 1080 169 92 196617 t b b b b b b s;
#P message 1119 246 45 196617 duration;
#P newex 723 427 61 196617 prepend set;
#P newex 672 495 58 196617 / 1.;
#P message 1132 228 74 196617 msec_duration;
#P number 214 138 28 9 -70 10 163 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 669 252 61 196617 prepend set;
#P newex 648 232 61 196617 prepend set;
#P newex 627 213 61 196617 prepend set;
#P newex 606 194 61 196617 prepend set;
#P newex 146 275 65 196617 prepend read;
#P newex 1158 190 61 196617 prepend set;
#P newex 606 168 74 196617 unpack 0 0 0 0;
#P hidden newex 385 76 255 196617 t b b b b b b b b b b b b;
#P message 117 27 16 196617 |<;
#P message 162 27 28 196617 more;
#P message 209 436 47 196617 go back...;
#P comment 90 25 24 196617 cnts;
#P comment 65 25 21 196617 sec;
#P comment 39 25 19 196617 mn;
#P window setfont "Sans Serif" 12.;
#P number 90 38 26 12 0 99 35 3 12 0 17 221 221 221 222 222 222 0 0 0;
#P number 63 38 26 12 0 59 35 3 0 0 17 221 221 221 222 222 222 0 0 0;
#P number 36 38 26 12 0 59 35 3 8 0 17 221 221 221 222 222 222 0 0 0;
#P number 10 38 25 12 0 99 35 3 8 0 17 221 221 221 222 222 222 0 0 0;
#P window setfont "Sans Serif" 9.;
#P comment 14 25 16 196617 hr;
#P user uslider 243 35 14 102 127 1 0 0;
#P objectname volume_slider;
#P hidden newex 402 50 62 196617 loadbang;
#P comment 10 140 17 196617 EQ;
#P comment 239 25 17 196617 dB;
#N comlet input to MPTCFS~;
#P inlet 272 174 15 0;
#P newex 509 550 33 196617 sig~;
#P newex 508 570 62 196617 onepole~ 10.;
#N vpatcher 9 46 983 639;
#P origin 0 -140;
#P window setfont "Sans Serif" 9.;
#P message 401 366 38 196617 set 14;
#P message 387 347 38 196617 set 12;
#P message 219 227 36 196617 set 13;
#P message 187 246 38 196617 set 11;
#P newex 467 125 52 196617 t b b b b;
#P newex 412 125 52 196617 t b b b b;
#P message 373 330 38 196617 set 10;
#P message 167 264 32 196617 set 9;
#P newex 359 125 50 196617 t b b b b;
#P message 12 265 50 196617 start;
#P message 224 278 50 196617 stop;
#P newex 313 125 43 196617 t b b b b;
#P newex 260 125 49 196617 t b b b b;
#P newex 210 125 48 196617 t b b b b;
#P newex 160 125 48 196617 t b b b b;
#P message 356 313 31 196617 set 8;
#P message 336 294 29 196617 set 6;
#P message 309 276 31 196617 set 4;
#P message 280 257 30 196617 set 2;
#P message 140 282 35 196617 set 7;
#P message 112 301 35 196617 set 5;
#P message 88 320 33 196617 set 3;
#P message 62 339 35 196617 set 1;
#N comlet to dac~R;
#P inlet 78 47 15 0;
#N comlet to dac~L;
#P inlet 18 49 15 0;
#P message 167 50 34 196617 0;
#P newex 167 26 45 196617 loadbang;
#P newex 76 401 194 196617 dac~;
#P newex 160 100 347 196617 sel 0 1 2 3 4 5 6;
#N comlet from input menu;
#P inlet 129 51 15 0;
#P connect 25 0 20 0;
#P connect 24 0 20 0;
#P connect 18 0 20 0;
#P connect 17 0 20 0;
#P connect 16 0 20 0;
#P connect 15 0 20 0;
#P connect 21 0 20 0;
#P connect 15 1 7 0;
#P connect 5 0 2 0;
#P connect 20 0 2 0;
#P connect 7 0 2 0;
#P connect 8 0 2 0;
#P connect 9 0 2 0;
#P connect 10 0 2 0;
#P connect 19 0 2 0;
#P connect 22 0 2 0;
#P connect 16 1 8 0;
#P connect 17 1 9 0;
#P connect 18 1 10 0;
#P connect 4 0 1 0;
#P connect 0 0 1 0;
#P connect 1 0 15 0;
#P connect 3 0 4 0;
#P connect 21 1 22 0;
#P connect 24 1 26 0;
#P connect 1 1 16 0;
#P connect 25 1 27 0;
#P connect 25 3 19 0;
#P connect 24 3 19 0;
#P connect 18 3 19 0;
#P connect 17 3 19 0;
#P connect 16 3 19 0;
#P connect 15 3 19 0;
#P connect 21 3 19 0;
#P connect 1 2 17 0;
#P connect 29 0 2 1;
#P connect 28 0 2 1;
#P connect 6 0 2 1;
#P connect 11 0 2 1;
#P connect 12 0 2 1;
#P connect 13 0 2 1;
#P connect 14 0 2 1;
#P connect 23 0 2 1;
#P connect 15 2 11 0;
#P connect 16 2 12 0;
#P connect 1 3 18 0;
#P connect 17 2 13 0;
#P connect 18 2 14 0;
#P connect 1 4 21 0;
#P connect 21 2 23 0;
#P connect 24 2 28 0;
#P connect 25 2 29 0;
#P connect 1 5 24 0;
#P connect 1 6 25 0;
#P pop;
#P newobj 485 659 80 196617 p select output;
#N vpatcher 20 111 808 617;
#P origin 0 -140;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P message 112 83 55 196617 newadc \$1;
#P newex 112 113 147 196617 js scriptnewadc.js;
#N comlet Right Signal Outlet;
#P outlet 187 352 15 0;
#P objectname "Right Signal Outlet";
#N comlet Left Signal Outlet;
#P outlet 147 352 15 0;
#P objectname "Left Signal Outlet";
#N comlet from input menu;
#P inlet 112 55 15 0;
#P window linecount 2;
#P newex 150 300 49 196617 adc~ 1 2;
#P connect 1 0 5 0;
#P connect 5 0 4 0;
#P connect 0 0 2 0;
#P connect 0 1 3 0;
#P pop;
#P newobj 486 332 68 196617 p select input;
#N comlet vinyl position out;
#P outlet 631 665 15 0;
#P button 355 219 15 0;
#P objectname RTZ_Bang;
#P hidden message 355 238 23 196617 0.;
#P newex 450 599 22 196617 *~;
#P newex 496 599 22 196617 *~;
#N vpatcher 40 55 440 355;
#P window setfont "Sans Serif" 9.;
#P newex 25 112 50 196617 t f f;
#N comlet dB value out;
#P outlet 167 170 15 0;
#P newex 25 92 50 196617 - 60.;
#P newex 25 71 50 196617 * 70.;
#P newex 25 50 50 196617 / 127.;
#P newex 25 147 121 196617 expr pow(10.\\\,$f1/20.);
#N comlet linear value out;
#P outlet 25 171 15 0;
#P inlet 25 30 15 0;
#P comment 33 133 120 196617 dB to linear conversion;
#P comment 122 38 224 196617 convert slider range [0.. 127] to -60 to + 10 dB;
#P connect 2 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 9 0;
#P connect 9 0 4 0;
#P connect 4 0 3 0;
#P connect 9 1 8 0;
#P pop;
#P newobj 509 523 44 196617 p dBtolin;
#N vpatcher 577 279 1094 682;
#P origin 29 0;
#P window setfont "Sans Serif" 9.;
#P message 42 75 30 196617 1;
#P newex 14 50 53 196617 t b b b b;
#P message 42 179 64 196617 gainmode \$1;
#P message 429 92 14 196617 2;
#P newex 409 57 50 196617 sel 0 1;
#N comlet bypass button;
#P inlet 409 38 15 0;
#P newex 296 129 50 196617 gate~ 2;
#P newex 161 129 50 196617 gate~ 2;
#P message 5 107 45 196617 color 14;
#P message 56 93 30 196617 1;
#P message 56 113 73 196617 numdisplay \$1;
#N comlet signal out R;
#P outlet 296 222 15 0;
#N comlet audio in R;
#P inlet 336 38 15 0;
#P newex 336 172 79 196617 biquad~;
#N comlet signal out L;
#P outlet 161 222 15 0;
#N comlet filter coefficients;
#P inlet 269 38 15 0;
#N comlet audio in L;
#P inlet 201 38 15 0;
#P newex 201 175 79 196617 biquad~;
#N comlet moodmachine;
#P outlet 5 220 15 0;
#P newex 14 29 50 196617 loadbang;
#P message 161 99 14 196617 1;
#P connect 19 1 12 0;
#P connect 18 0 2 0;
#P connect 12 0 2 0;
#P connect 10 0 2 0;
#P connect 1 0 19 0;
#P connect 19 2 20 0;
#P connect 20 0 18 0;
#P connect 19 3 11 0;
#P connect 11 0 10 0;
#P connect 19 0 0 0;
#P connect 16 0 0 0;
#P connect 0 0 13 0;
#P connect 17 0 13 0;
#P connect 3 0 6 0;
#P connect 13 0 6 0;
#P connect 4 0 13 1;
#P connect 13 1 3 0;
#P connect 5 0 3 1;
#P connect 17 0 14 0;
#P connect 0 0 14 0;
#P connect 7 0 9 0;
#P connect 14 0 9 0;
#P connect 8 0 14 1;
#P connect 14 1 7 0;
#P connect 5 0 7 1;
#P connect 15 0 16 0;
#P connect 16 1 17 0;
#P pop;
#P newobj 450 624 81 196617 p filterpatch;
#N vpatcher 341 157 1228 609;
#P origin 96 -298;
#P window setfont "Sans Serif" 9.;
#P newex 41 204 50 196617 + 1;
#P newex 41 280 133 196617 prepend control_generation;
#P inlet 134 31 15 0;
#P inlet 41 30 15 0;
#P message 291 259 73 196617 vinyl_demod 1;
#P message 134 194 72 196617 vinyl_demod 0;
#P window setfont Monaco 9.;
#P newex 252 211 50 262153 t b b;
#P newex 193 211 50 262153 t b b;
#N comlet setting choice to MPTC;
#P outlet 55 426 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 134 174 188 196617 sel 0 1 2;
#P message 193 233 125 196617 absolute_mode_control 0;
#P message 252 279 136 196617 absolute_mode_control 1;
#P connect 8 0 11 0;
#P connect 11 0 10 0;
#P connect 7 0 3 0;
#P connect 6 0 3 0;
#P connect 0 0 3 0;
#P connect 1 0 3 0;
#P connect 10 0 3 0;
#P connect 9 0 2 0;
#P connect 2 0 6 0;
#P connect 2 1 4 0;
#P connect 4 0 1 0;
#P connect 2 2 5 0;
#P connect 5 0 0 0;
#P connect 5 1 7 0;
#P connect 4 1 7 0;
#P pop;
#P newobj 286 388 121 196617 p additional settings;
#P objectname "additional settings";
#P comment 518 506 29 196617 Gain;
#P window linecount 2;
#P comment 569 682 204 196617 output vinyl velocity and position values for use by other patchers;
#P window setfont Monaco 9.;
#P user filtergraph~ 10 96 232 41 4 9 0. 22050. 0.0625 16. 0 1 1 0 0 1 1;
#X frgb 133 111 109;
#X brgb 208 139 210;
#X rgb2 0 0 0;
#X rgb3 215 51 133;
#X rgb4 0 0 0;
#X rgb5 76 108 172;
#X rgb6 210 74 54;
#X rgb7 255 22 22;
#X linmarkers 5512.5 11025. 16537.5;
#X logmarkers 50. 500. 5000.;
#X nfilters 1;
#X setfilter 0 1 0 0 0 18.190851 1. 9.4488 0. 22050. 0.0001 16. 0.5 25.;
#X done;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 72 319 125 196617 Signal Power Thresh (dB):;
#P comment 97 350 88 196617 Cutoff Sharpness:;
#P comment 54 413 67 196617 Error Metric:;
#P window setfont "Sans Serif" 12.;
#P comment 57 300 150 196620 Vinyl Tracker Settings;
#B frgb 5 12 6;
#P user panel 2 22 262 177;
#X brgb 131 88 202;
#X frgb 207 76 129;
#X border 1;
#X rounded 42;
#X shadow 3;
#X done;
#P background;
#P user dropfile 1 22 263 199 0;
#P window setfont "Sans Serif" 9.;
#P comment 108 523 38 196617 control;
#P comment 145 523 41 196617 channel;
#P comment 29 553 109 196617 Filter Cutoff (control):;
#P window setfont "Sans Serif" 14.;
#P comment 8 527 104 196622 MIDI Mappings;
#B frgb 5 12 6;
#P window setfont "Sans Serif" 9.;
#P comment 21 609 117 196617 EQ On/Off Toggle (note):;
#N vpatcher 523 164 1123 564;
#P window setfont "Sans Serif" 9.;
#P hidden newex 50 95 77 196617 gate;
#P hidden message 90 71 13 196617 0;
#P hidden message 50 71 13 196617 1;
#P hidden newex 50 50 50 196617 select 0;
#P hidden message 185 113 13 196617 0;
#P hidden message 145 114 13 196617 1;
#P hidden newex 145 93 50 196617 select 0;
#P hidden newex 145 133 50 196617 gate;
#N comlet controller number;
#P inlet 50 30 15 0;
#N comlet control value input;
#P inlet 117 29 15 0;
#N comlet control channel input;
#P inlet 145 28 15 0;
#N comlet controller number select;
#P inlet 90 30 15 0;
#N comlet control channel select;
#P inlet 185 29 15 0;
#N comlet control value output;
#P outlet 145 155 15 0;
#P connect 5 0 10 0;
#P connect 10 0 11 0;
#P connect 11 0 13 0;
#P connect 12 0 13 0;
#P connect 2 0 10 1;
#P connect 10 1 12 0;
#P connect 4 0 13 1;
#P connect 3 0 7 0;
#P hidden connect 7 0 8 0;
#P hidden connect 9 0 6 0;
#P hidden connect 8 0 6 0;
#P connect 6 0 0 0;
#P connect 1 0 7 1;
#P hidden connect 7 1 9 0;
#P connect 13 0 6 1;
#P pop;
#P newobj 7 758 85 196617 p CC_select_gate;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P hidden message 59 115 13 196617 1;
#P hidden message 24 115 13 196617 0;
#P hidden newex 24 135 50 196617 gate;
#P hidden message 126 72 13 196617 0;
#P hidden message 91 73 13 196617 1;
#P hidden newex 91 93 73 196617 gate;
#P newex 24 93 45 196617 select 0;
#P newex 91 50 45 196617 select 0;
#P newex 24 157 197 196617 select 0;
#N comlet Note Number Input;
#P inlet 154 29 15 0;
#N comlet Note Channel Input;
#P inlet 91 29 15 0;
#N comlet Note Velocity Input;
#P inlet 24 29 15 0;
#N comlet Channel Select;
#P inlet 126 29 15 0;
#N comlet Note Select Input;
#P inlet 211 28 18 0;
#N comlet Note Output;
#P outlet 24 179 15 0;
#P connect 3 0 8 0;
#P connect 8 0 13 0;
#P hidden connect 13 0 12 0;
#P hidden connect 14 0 12 0;
#P connect 12 0 6 0;
#P connect 6 0 0 0;
#P connect 8 1 14 0;
#P connect 9 0 12 1;
#P connect 4 0 7 0;
#P connect 7 0 10 0;
#P hidden connect 10 0 9 0;
#P hidden connect 11 0 9 0;
#P connect 2 0 7 1;
#P connect 7 1 11 0;
#P connect 5 0 9 1;
#P connect 1 0 6 1;
#P pop;
#P newobj 362 822 95 196617 p Note_Select_Gate;
#P comment 35 652 103 196617 Velocity fader (note):;
#P window linecount 2;
#P comment 220 607 33 196617 MIDI Enable;
#P user hint 9 524 253 552 "Move a MIDI control or play a note. See Control Number & Channel (upper right). Enter Number & Channel below to map." 1000 100 0 65535 65535 52428 9 3 0 1 0 0 0;
#P window linecount 1;
#P comment 6 667 133 196617 Vinyl Control On/Off (note):;
#P comment 38 681 100 196617 Reverse Play (note):;
#P comment 17 431 135 196617 Velocity Warp (Pinky Pitch):;
#P comment 187 433 20 196617 1.;
#P user panel 2 521 262 177;
#X brgb 131 88 202;
#X frgb 207 76 129;
#X border 1;
#X rounded 42;
#X shadow 3;
#X done;
#P background;
#P user panel 2 296 262 177;
#X brgb 131 88 202;
#X frgb 207 76 129;
#X border 1;
#X rounded 42;
#X shadow 3;
#X done;
#P background;
#P hidden connect 157 0 17 0;
#P hidden connect 157 0 0 0;
#P hidden connect 157 0 1 0;
#P hidden connect 181 1 10 0;
#P connect 10 0 180 0;
#P connect 180 0 178 0;
#P hidden connect 178 0 177 0;
#P hidden connect 157 2 100 0;
#P hidden connect 118 1 100 0;
#P hidden connect 119 0 100 0;
#P hidden connect 116 1 100 0;
#P hidden connect 115 1 100 0;
#P hidden connect 117 1 100 0;
#P hidden connect 57 0 43 0;
#P hidden connect 55 0 122 0;
#P hidden connect 69 0 124 0;
#P hidden connect 123 0 22 0;
#P hidden connect 26 0 22 0;
#P hidden connect 107 1 22 0;
#P hidden connect 157 1 22 0;
#P hidden connect 234 0 235 0;
#P hidden connect 237 0 234 0;
#P hidden connect 240 0 234 0;
#P hidden connect 33 0 130 0;
#P connect 244 0 150 0;
#P hidden connect 16 0 150 0;
#P connect 150 1 149 0;
#P connect 149 0 148 0;
#P connect 150 0 148 0;
#P connect 148 0 152 0;
#P hidden connect 174 0 10 1;
#P hidden connect 198 0 99 0;
#P hidden connect 33 1 131 0;
#P hidden connect 58 0 44 0;
#P connect 221 0 10 2;
#P connect 180 1 175 0;
#P hidden connect 175 0 179 0;
#P hidden connect 179 0 177 1;
#P hidden connect 70 0 125 0;
#P connect 245 0 244 0;
#P hidden connect 181 2 10 3;
#P hidden connect 59 0 45 0;
#P hidden connect 217 0 222 0;
#P hidden connect 184 0 10 4;
#P hidden connect 232 0 236 0;
#P connect 236 0 237 0;
#P hidden connect 60 0 46 0;
#P connect 152 0 151 0;
#P hidden connect 181 1 183 0;
#P hidden connect 181 1 209 0;
#P connect 209 0 176 0;
#P hidden connect 26 1 108 0;
#P hidden connect 158 0 52 0;
#P hidden connect 97 0 96 0;
#P hidden connect 64 0 126 0;
#P connect 222 0 181 0;
#P connect 181 0 221 0;
#P hidden connect 74 11 133 0;
#P hidden connect 186 0 209 1;
#P hidden connect 94 0 95 0;
#P hidden connect 232 0 233 0;
#P hidden connect 241 0 233 0;
#P connect 151 0 56 0;
#P hidden connect 181 2 182 0;
#P connect 221 1 209 2;
#P hidden connect 181 1 210 0;
#P hidden connect 243 0 241 0;
#P hidden connect 242 0 232 0;
#P hidden connect 235 0 232 0;
#P hidden connect 153 0 22 5;
#P hidden connect 181 2 209 3;
#P hidden connect 189 0 210 1;
#P hidden connect 98 0 127 0;
#P hidden connect 195 0 194 0;
#P hidden connect 187 0 209 4;
#P hidden connect 89 0 87 0;
#P connect 221 2 210 2;
#P hidden connect 138 0 137 0;
#P hidden connect 142 0 139 0;
#P hidden connect 140 0 142 0;
#P hidden connect 181 2 210 3;
#P hidden connect 195 2 193 0;
#P hidden connect 27 1 61 0;
#P hidden connect 154 0 22 7;
#P hidden connect 190 0 210 4;
#P hidden connect 210 0 41 0;
#P hidden connect 216 0 41 0;
#P hidden connect 181 1 211 0;
#P connect 211 0 208 0;
#P connect 208 0 242 0;
#P hidden connect 168 0 169 0;
#P hidden connect 206 0 211 1;
#P hidden connect 239 0 240 0;
#P connect 37 0 147 0;
#P connect 172 0 173 0;
#P hidden connect 22 1 166 0;
#P connect 166 0 153 0;
#P hidden connect 177 0 153 0;
#P hidden connect 171 0 172 0;
#P connect 169 0 170 0;
#P connect 221 3 211 2;
#P hidden connect 134 0 25 0;
#P connect 76 0 146 0;
#P hidden connect 50 0 76 0;
#P connect 173 0 144 0;
#P connect 170 0 144 0;
#P connect 145 0 144 0;
#P connect 146 0 144 0;
#P hidden connect 96 0 97 0;
#P connect 230 0 97 0;
#P connect 231 0 97 0;
#P hidden connect 181 2 211 3;
#P connect 81 0 82 0;
#P hidden connect 22 3 165 0;
#P connect 165 0 154 0;
#P hidden connect 176 0 154 0;
#P hidden connect 51 0 75 0;
#P connect 75 0 145 0;
#P hidden connect 207 0 211 4;
#P hidden connect 52 0 31 0;
#P hidden connect 31 0 30 0;
#P connect 30 0 81 0;
#P connect 218 0 9 0;
#P connect 9 0 198 0;
#P connect 81 1 83 0;
#P connect 82 0 84 0;
#P connect 83 0 84 0;
#P connect 147 0 245 0;
#P connect 75 1 93 0;
#P connect 76 1 93 0;
#P connect 169 1 93 0;
#P connect 172 1 93 0;
#P connect 93 0 92 0;
#P connect 219 0 9 1;
#P hidden connect 40 0 53 0;
#P connect 81 2 79 0;
#P hidden connect 136 0 25 1;
#P hidden connect 197 0 9 2;
#P connect 220 0 9 3;
#P connect 97 1 89 0;
#P hidden connect 196 0 9 4;
#P connect 88 0 29 0;
#P connect 29 0 26 0;
#P connect 77 1 89 1;
#P hidden connect 217 0 223 0;
#P connect 223 0 195 0;
#P connect 195 0 220 0;
#P connect 218 1 213 0;
#P connect 35 0 29 1;
#P hidden connect 22 0 26 1;
#P connect 219 1 213 1;
#P connect 53 6 90 0;
#P connect 26 1 34 0;
#P connect 155 0 33 0;
#P connect 247 0 88 0;
#P connect 147 1 88 0;
#P hidden connect 233 0 88 0;
#P hidden connect 167 1 88 0;
#P hidden connect 25 0 88 0;
#P connect 104 0 88 0;
#P connect 97 2 88 0;
#P connect 91 0 88 0;
#P connect 90 0 88 0;
#P hidden connect 56 0 88 0;
#P connect 79 0 88 0;
#P connect 84 0 88 0;
#P connect 92 0 88 0;
#P connect 85 0 88 0;
#P connect 94 1 88 0;
#P connect 33 0 88 0;
#P connect 53 5 86 0;
#P connect 88 1 28 0;
#P connect 28 0 26 2;
#P hidden connect 204 0 213 2;
#P connect 247 1 88 1;
#P connect 33 1 88 1;
#P connect 36 0 35 0;
#P connect 35 0 28 1;
#P hidden connect 41 0 27 0;
#P connect 27 0 36 0;
#P connect 53 7 91 0;
#P connect 88 2 77 0;
#P hidden connect 99 0 26 3;
#P connect 26 2 34 1;
#P hidden connect 137 0 88 2;
#P connect 220 1 213 3;
#P connect 195 1 218 0;
#P hidden connect 139 0 88 3;
#P hidden connect 203 0 213 4;
#P connect 156 0 34 2;
#P connect 53 8 123 0;
#P connect 218 2 212 0;
#P connect 212 0 243 0;
#P hidden connect 87 0 88 4;
#P connect 219 2 212 1;
#P connect 53 9 104 0;
#P connect 77 1 159 0;
#P hidden connect 201 0 212 2;
#P connect 74 0 54 0;
#P connect 54 0 57 0;
#P connect 88 4 160 0;
#P connect 88 5 74 0;
#P connect 220 2 212 3;
#P connect 53 11 158 0;
#P connect 54 1 58 0;
#P connect 160 1 32 0;
#P hidden connect 200 0 212 4;
#P connect 54 2 59 0;
#P connect 195 2 219 0;
#P connect 220 3 216 0;
#P connect 54 3 60 0;
#P connect 74 1 80 0;
#P connect 80 0 63 0;
#P connect 63 0 106 0;
#P connect 106 0 119 0;
#P hidden connect 214 0 216 1;
#P connect 219 3 216 2;
#P connect 67 0 63 1;
#P connect 74 2 64 0;
#P hidden connect 162 0 161 0;
#P hidden connect 215 0 216 3;
#P connect 218 3 216 4;
#P hidden connect 163 0 161 1;
#P connect 74 3 67 0;
#P hidden connect 95 0 94 0;
#P connect 213 0 94 0;
#P connect 218 4 228 0;
#P connect 228 0 230 0;
#P connect 112 0 94 1;
#P connect 53 10 94 1;
#P connect 219 4 228 1;
#P hidden connect 164 0 161 2;
#P connect 74 4 98 0;
#P connect 246 0 94 2;
#P hidden connect 225 0 228 2;
#P connect 74 13 101 0;
#P connect 101 0 102 0;
#P connect 102 0 117 0;
#P connect 118 0 114 0;
#P connect 119 1 114 0;
#P connect 116 0 114 0;
#P connect 115 0 114 0;
#P connect 117 0 114 0;
#P connect 220 4 228 3;
#P hidden connect 224 0 228 4;
#P connect 105 0 85 0;
#P connect 68 0 85 0;
#P connect 65 0 85 0;
#P connect 62 0 85 0;
#P connect 71 0 85 0;
#P connect 120 0 85 0;
#P connect 218 5 229 0;
#P connect 229 0 231 0;
#P connect 219 5 229 1;
#P hidden connect 227 0 229 2;
#P connect 220 5 229 3;
#P connect 110 1 109 0;
#P connect 101 1 109 0;
#P connect 109 0 115 0;
#P hidden connect 226 0 229 4;
#P connect 74 12 111 0;
#P connect 111 0 112 0;
#P connect 112 1 113 0;
#P connect 113 0 118 0;
#P connect 74 9 69 0;
#P connect 110 0 103 0;
#P connect 101 2 103 0;
#P connect 103 0 116 0;
#P connect 112 2 66 0;
#P connect 111 1 66 0;
#P connect 66 0 120 0;
#P connect 66 1 105 0;
#P connect 66 2 68 0;
#P connect 66 3 65 0;
#P connect 74 10 72 0;
#P connect 72 0 73 0;
#P connect 73 0 70 0;
#P connect 66 4 62 0;
#P connect 66 5 71 0;
#P connect 66 6 55 0;
#P connect 101 3 110 0;
#P connect 77 1 269 0;
#P connect 269 0 270 0;
#P connect 266 0 257 0;
#P connect 253 1 257 0;
#P connect 257 0 258 0;
#P connect 250 0 251 0;
#P connect 247 2 248 0;
#P connect 249 0 248 0;
#P connect 269 0 250 0;
#P connect 272 0 250 0;
#P connect 250 1 251 1;
#P connect 247 3 248 1;
#P connect 257 2 259 0;
#P connect 257 3 260 0;
#P connect 273 0 272 0;
#P connect 250 1 275 0;
#P connect 275 0 276 0;
#P connect 257 4 261 0;
#P connect 257 5 262 0;
#P connect 257 6 268 0;
#P pop;