Permalink
Browse files

Fixed on/off switch and master volume

  • Loading branch information...
1 parent 63751c6 commit f4c55ae25f8ac3019d4e2a6cd5f2e24a46873cb4 @fluxama committed Aug 17, 2012
Showing with 16,654 additions and 1,382 deletions.
  1. +2 −2 DoctorOm/AppDelegate.m
  2. BIN DoctorOm/InstrumentImages/Drom-ipad.png
  3. BIN DoctorOm/InstrumentImages/Drom2-ipad.png
  4. BIN DoctorOm/InstrumentImages/Drom3-ipad.png
  5. BIN DoctorOm/InstrumentImages/DromWithPresets-ipad.png
  6. BIN DoctorOm/InstrumentImages/DromWithPresets2-ipad.png
  7. BIN DoctorOm/InstrumentImages/DromWithPresets2.png
  8. BIN DoctorOm/InstrumentImages/DromWithPresets2Menu-ipad.png
  9. BIN DoctorOm/InstrumentImages/DromWithPresets2Menu.png
  10. BIN DoctorOm/InstrumentImages/DromWithPresets2MenuSelected-ipad.png
  11. BIN DoctorOm/InstrumentImages/DromWithPresets2MenuSelected.png
  12. BIN DoctorOm/InstrumentImages/DromWithPresets3-ipad.png
  13. BIN DoctorOm/InstrumentImages/DromWithPresets3.png
  14. BIN DoctorOm/InstrumentImages/DromWithPresets3Menu-ipad.png
  15. BIN DoctorOm/InstrumentImages/DromWithPresets3Menu.png
  16. BIN DoctorOm/InstrumentImages/DromWithPresets3MenuSelected-ipad.png
  17. BIN DoctorOm/InstrumentImages/DromWithPresets3MenuSelected.png
  18. BIN DoctorOm/InstrumentImages/DromWithPresetsMenu-ipad.png
  19. BIN DoctorOm/InstrumentImages/DromWithPresetsMenu.png
  20. BIN DoctorOm/InstrumentImages/DromWithPresetsMenuSelected-ipad.png
  21. BIN DoctorOm/InstrumentImages/DromWithPresetsMenuSelected.png
  22. BIN DoctorOm/InstrumentImages/LedGlow2-ipad.png
  23. BIN DoctorOm/InstrumentImages/LedGlow2.png
  24. BIN DoctorOm/InstrumentImages/MenuBackground-ipad.png
  25. +2,613 −0 DoctorOm/InstrumentPatches/pd-drom-orig.pd
  26. +34 −30 DoctorOm/InstrumentPatches/pd-drom.pd
  27. +1,639 −0 DoctorOm/InstrumentPatches/unused externals/coll.c
  28. +575 −0 DoctorOm/InstrumentPatches/unused externals/file.c
  29. +33 −0 DoctorOm/InstrumentPatches/unused externals/file.h
  30. +108 −0 DoctorOm/InstrumentPatches/unused externals/forky.c
  31. +32 −0 DoctorOm/InstrumentPatches/unused externals/forky.h
  32. +179 −0 DoctorOm/InstrumentPatches/unused externals/funnel.c
  33. +105 −0 DoctorOm/InstrumentPatches/unused externals/grow.c
  34. +17 −0 DoctorOm/InstrumentPatches/unused externals/grow.h
  35. +446 −0 DoctorOm/InstrumentPatches/unused externals/loud.c
  36. +54 −0 DoctorOm/InstrumentPatches/unused externals/loud.h
  37. +12 −0 DoctorOm/InstrumentPatches/unused externals/mapping.txt
  38. +334 −0 DoctorOm/InstrumentPatches/unused externals/os.c
  39. +28 −0 DoctorOm/InstrumentPatches/unused externals/os.h
  40. +2,751 −0 DoctorOm/InstrumentPatches/unused externals/pd-drom copy.pd
  41. +4 −0 DoctorOm/InstrumentPatches/unused externals/scales.txt
  42. +11 −0 DoctorOm/InstrumentPatches/unused externals/shared.c
  43. +189 −0 DoctorOm/InstrumentPatches/unused externals/shared.h
  44. +12 −12 DoctorOm/InstrumentPlists/Drom.plist
  45. +13 −13 DoctorOm/InstrumentPlists/Drom2.plist
  46. +5 −5 DoctorOm/InstrumentPlists/Drom3.plist
  47. +907 −0 DoctorOm/InstrumentPlists/DromWithPresets.plist
  48. +907 −0 DoctorOm/InstrumentPlists/DromWithPresets2.plist
  49. +907 −0 DoctorOm/InstrumentPlists/DromWithPresets3.plist
  50. +34 −28 DoctorOm/InstrumentPlists/savedState.plist
  51. +2 −0 DoctorOm/Prefix.pch
  52. BIN DoctorOm/Resources/Icon-72.png
  53. BIN DoctorOm/Resources/Icon-72@2x.png
  54. +20 −1 DoctorOm/Resources/Info.plist
  55. BIN DoctorOm/SynthBuilder/ControlImages/RingWhiteNoDot.png
  56. +2 −0 DoctorOm/SynthBuilder/Controls/Control.h
  57. +2 −0 DoctorOm/SynthBuilder/Controls/Control.m
  58. +21 −0 DoctorOm/SynthBuilder/Controls/LEDButton.h
  59. +51 −0 DoctorOm/SynthBuilder/Controls/LEDButton.m
  60. +6 −2 DoctorOm/SynthBuilder/Controls/Pot.m
  61. +32 −8 DoctorOm/SynthBuilder/Controls/TwoPosSwitch.m
  62. +20 −0 DoctorOm/SynthBuilder/Scenes/Instrument.m
  63. +8 −0 DoctorOm/SynthBuilder/Scenes/InstrumentScene.h
  64. +94 −23 DoctorOm/SynthBuilder/Scenes/InstrumentScene.m
  65. +128 −62 Drom.xcodeproj/project.pbxproj
  66. BIN Drom.xcodeproj/project.xcworkspace/xcuserdata/swallace.xcuserdatad/UserInterfaceState.xcuserstate
  67. +4 −5 Drom.xcodeproj/xcuserdata/swallace.xcuserdatad/xcschemes/DoctorOm.xcscheme
  68. BIN Icon-72@2x.png
  69. +1,460 −0 pd-drom-older.pd
  70. +2,853 −1,191 pd-drom.pd
View
4 DoctorOm/AppDelegate.m
@@ -28,7 +28,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
SCREEN_CENTER_Y = 384;
BUTTON_Y = 60;
ABOUT_IMAGE_WIDTH = 1000;
- HELP_SCREEN_H = 1512;
+ HELP_SCREEN_H = 1394;
INFO_ICON_H = 181;
} else {
THUMBW = 360;
@@ -38,7 +38,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
SCREEN_CENTER_Y = 160;
BUTTON_Y = 30;
ABOUT_IMAGE_WIDTH = 1000;
- HELP_SCREEN_H = 709;
+ HELP_SCREEN_H = 654;
INFO_ICON_H = 86;
}
View
BIN DoctorOm/InstrumentImages/Drom-ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/Drom2-ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/Drom3-ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresets-ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresets2-ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresets2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresets2Menu-ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresets2Menu.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresets2MenuSelected-ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresets2MenuSelected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresets3-ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresets3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresets3Menu-ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresets3Menu.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresets3MenuSelected-ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresets3MenuSelected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresetsMenu-ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresetsMenu.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresetsMenuSelected-ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/DromWithPresetsMenuSelected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/LedGlow2-ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/LedGlow2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN DoctorOm/InstrumentImages/MenuBackground-ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2,613 DoctorOm/InstrumentPatches/pd-drom-orig.pd
@@ -0,0 +1,2613 @@
+#N canvas 0 22 1395 816 10;
+#X obj 636 500 dac~;
+#X obj 257 336 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 636 446 clip~ -1 1;
+#X obj 636 411 hip~ 1;
+#X floatatom 268 -227 5 0 0 0 - - -;
+#X msg 268 -266 1;
+#X msg 298 -266 2;
+#X msg 328 -266 3;
+#X obj 189 -267 r kit_number;
+#X floatatom 50 -76 5 0 0 0 - - -;
+#X msg 79 -113 0;
+#X msg 50 -113 1;
+#X floatatom 111 -76 5 0 0 0 - - -;
+#X msg 140 -113 0;
+#X msg 111 -113 1;
+#X floatatom 172 -76 5 0 0 0 - - -;
+#X msg 201 -113 0;
+#X msg 172 -113 1;
+#X obj 50 -49 s dsp1;
+#X obj 111 -49 s dsp2;
+#X obj 172 -49 s dsp3;
+#X obj 257 315 r dsp1;
+#X msg 359 -266 0;
+#X obj 199 -181 select 1 2 3 0;
+#N canvas 220 30 1335 800 voice1_________________________________ 0
+;
+#X floatatom 206 -40 5 0 0 0 - - -;
+#X obj 206 -68 line;
+#X obj 206 -96 pack f 200;
+#X obj 40 -175 inlet;
+#X obj 79 -175 inlet;
+#X obj 206 -144 inlet;
+#X obj 343 -173 inlet;
+#X obj 393 -144 inlet;
+#X obj 40 571 outlet~;
+#X floatatom 79 -40 5 0 0 0 - - -;
+#X obj 79 -99 + 0.001;
+#X floatatom 741 -42 5 0 0 0 - - -;
+#X floatatom 947 -11 5 0 0 0 - - -;
+#X obj 1049 -130 line;
+#X obj 1049 -159 pack f 200;
+#X obj 741 -130 line;
+#X obj 741 -159 pack f 200;
+#X obj 641 -159 pack f 200;
+#X obj 846 -159 pack f 200;
+#X obj 947 -130 line;
+#X obj 947 -159 pack f 200;
+#X floatatom 1050 -18 5 0 0 0 - - -;
+#X obj 41 469 *~ 0.4;
+#X obj 641 -187 inlet;
+#X obj 741 -187 inlet;
+#X obj 846 -187 inlet;
+#X obj 947 -187 inlet;
+#X obj 1049 -187 inlet;
+#X obj 41 97 *~ 0.7;
+#X obj 104 101 *~ 0.5;
+#X obj 1165 -181 inlet;
+#X obj 1165 -101 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1
+0 1;
+#X obj 1194 38 vline~;
+#X obj 1165 -71 select 1;
+#X msg 1165 7 1;
+#X floatatom 1281 87 5 0 0 0 - - -;
+#X obj 1281 110 select 0;
+#X msg 1281 138 0;
+#X obj 1211 117 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 1281 60 line;
+#X msg 1194 6 0 500;
+#X obj 1165 180 switch~;
+#X floatatom 1165 150 5 0 0 0 - - -;
+#X msg 1237 6 1 500;
+#X msg 1331 7 1 500;
+#X obj 1165 -27 t b b b;
+#X obj 1222 -28 t b b b;
+#X msg 1283 7 0 1500;
+#X obj 40 498 *~;
+#N canvas 0 22 687 515 crossfade 0;
+#X obj 158 33 inlet~;
+#X obj 202 33 inlet;
+#X obj 161 255 *~;
+#X text 203 14 crossfade;
+#X obj 70 33 inlet~;
+#X obj 73 255 *~;
+#X obj 146 284 +~;
+#X obj 146 313 outlet~;
+#X obj 177 187 sin;
+#X obj 84 185 cos;
+#X text 68 15 1;
+#X text 159 14 2;
+#X obj 202 58 * 2;
+#X obj 202 80 - 1;
+#X obj 202 102 + 1;
+#X obj 202 124 / 4;
+#X obj 202 146 * 3.14159;
+#X floatatom 202 168 5 0 0 0 - - -;
+#X msg 176 208 \$1 60;
+#X obj 176 230 line~;
+#X msg 84 208 \$1 60;
+#X obj 85 232 line~;
+#X text 77 367 adapted from http://puredata.hurleur.com/sujet-5326-stereo-crossfader-adjustable-curve
+(as used by 76synth);
+#X connect 0 0 2 0;
+#X connect 1 0 12 0;
+#X connect 2 0 6 1;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 8 0 18 0;
+#X connect 9 0 20 0;
+#X connect 12 0 13 0;
+#X connect 13 0 14 0;
+#X connect 14 0 15 0;
+#X connect 15 0 16 0;
+#X connect 16 0 17 0;
+#X connect 17 0 8 0;
+#X connect 17 0 9 0;
+#X connect 18 0 19 0;
+#X connect 19 0 2 1;
+#X connect 20 0 21 0;
+#X connect 21 0 5 1;
+#X restore 41 261 pd crossfade;
+#X obj 41 163 +~;
+#N canvas 394 175 839 516 schroederReverb 0;
+#X obj 82 91 +~;
+#X obj 82 18 inlet~;
+#X obj 142 91 +~;
+#X obj 127 18 delread~ drom1A 101;
+#X obj 327 213 +~;
+#X obj 327 254 +~;
+#X obj 327 293 *~ 0.4;
+#X obj 87 341 delwrite~ drom1A 1000;
+#X obj 359 213 -~;
+#X obj 250 18 delread~ drom1B 143;
+#X obj 222 341 delwrite~ drom1B 1000;
+#X obj 376 293 *~ 0.37;
+#X obj 359 254 +~;
+#X obj 82 247 outlet~;
+#X obj 142 247 outlet~;
+#X obj 373 18 delread~ drom1C 165;
+#X obj 496 18 delread~ drom1D 177;
+#X obj 357 341 delwrite~ drom1C 1000;
+#X obj 492 341 delwrite~ drom1D 1000;
+#X obj 390 213 +~;
+#X obj 420 213 -~;
+#X obj 390 254 -~;
+#X obj 421 254 -~;
+#X obj 431 294 *~ 0.333;
+#X obj 492 294 *~ 0.3;
+#X text 427 454 Schroeder reverb \, source: Andy Farnell's Designing
+Sound \, page 234 \, Claude Heiland-Allen credited;
+#X connect 0 0 4 0;
+#X connect 0 0 13 0;
+#X connect 0 0 8 0;
+#X connect 1 0 0 0;
+#X connect 1 0 2 0;
+#X connect 2 0 14 0;
+#X connect 2 0 8 1;
+#X connect 2 0 4 1;
+#X connect 3 0 0 1;
+#X connect 4 0 5 0;
+#X connect 4 0 21 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 8 0 12 0;
+#X connect 8 0 22 0;
+#X connect 9 0 2 1;
+#X connect 11 0 10 0;
+#X connect 12 0 11 0;
+#X connect 15 0 19 0;
+#X connect 15 0 20 0;
+#X connect 16 0 19 1;
+#X connect 16 0 20 1;
+#X connect 19 0 21 1;
+#X connect 19 0 5 1;
+#X connect 20 0 22 1;
+#X connect 20 0 12 1;
+#X connect 21 0 23 0;
+#X connect 22 0 24 0;
+#X connect 23 0 17 0;
+#X connect 24 0 18 0;
+#X restore 41 297 pd schroederReverb;
+#X obj 142 570 outlet~;
+#X obj 143 466 *~ 0.4;
+#X obj 142 495 *~;
+#N canvas 404 50 889 639 OmGen 0;
+#X obj 250 596 outlet~;
+#X obj 101 22 inlet;
+#X obj 101 127 phasor~ 100;
+#X obj 101 149 -~ 0.5;
+#X obj 101 171 cos~;
+#X obj 101 193 +~ 1;
+#X obj 101 215 *~ 0.5;
+#X obj 101 237 *~;
+#X obj 206 137 sig~;
+#X obj 206 159 lop~ 10;
+#X obj 191 190 *~;
+#X obj 191 212 cos~;
+#X floatatom 101 76 5 0 0 1 frequency - -;
+#X floatatom 206 117 5 0 0 1 ripple - -;
+#X obj 101 299 *~;
+#X floatatom 355 155 5 0 0 1 width - -;
+#X obj 101 352 *~;
+#X obj 101 374 +~ 1;
+#X obj 37 447 /~;
+#X obj 37 374 sig~ 1;
+#X obj 40 504 hip~ 1;
+#X obj 205 21 inlet;
+#X obj 355 21 inlet;
+#X connect 1 0 12 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 0 10 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 14 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 1;
+#X connect 10 0 11 0;
+#X connect 11 0 7 1;
+#X connect 12 0 2 0;
+#X connect 13 0 8 0;
+#X connect 14 0 16 0;
+#X connect 14 0 16 1;
+#X connect 15 0 14 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 1;
+#X connect 18 0 20 0;
+#X connect 19 0 18 0;
+#X connect 20 0 0 0;
+#X connect 21 0 13 0;
+#X connect 22 0 15 0;
+#X restore 41 52 pd OmGen;
+#X floatatom 22 -26 5 0 0 0 - - -;
+#X obj 20 -99 + 80;
+#N canvas 404 50 889 639 OmGen 0;
+#X obj 250 596 outlet~;
+#X obj 101 22 inlet;
+#X obj 101 127 phasor~ 100;
+#X obj 101 149 -~ 0.5;
+#X obj 101 171 cos~;
+#X obj 101 193 +~ 1;
+#X obj 101 215 *~ 0.5;
+#X obj 101 237 *~;
+#X obj 206 137 sig~;
+#X obj 206 159 lop~ 10;
+#X obj 191 190 *~;
+#X obj 191 212 cos~;
+#X floatatom 101 76 5 0 0 1 frequency - -;
+#X floatatom 206 117 5 0 0 1 ripple - -;
+#X obj 101 299 *~;
+#X floatatom 355 155 5 0 0 1 width - -;
+#X obj 101 352 *~;
+#X obj 101 374 +~ 1;
+#X obj 37 447 /~;
+#X obj 37 374 sig~ 1;
+#X obj 40 504 hip~ 1;
+#X obj 205 21 inlet;
+#X obj 355 21 inlet;
+#X connect 1 0 12 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 0 10 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 14 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 1;
+#X connect 10 0 11 0;
+#X connect 11 0 7 1;
+#X connect 12 0 2 0;
+#X connect 13 0 8 0;
+#X connect 14 0 16 0;
+#X connect 14 0 16 1;
+#X connect 15 0 14 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 1;
+#X connect 18 0 20 0;
+#X connect 19 0 18 0;
+#X connect 20 0 0 0;
+#X connect 21 0 13 0;
+#X connect 22 0 15 0;
+#X restore 104 53 pd OmGen;
+#X obj 741 66 s OmGen1_width;
+#X text 738 85 a.k.a. depth;
+#X obj 149 9 r OmGen1_width;
+#X floatatom 641 -41 5 0 0 0 - - -;
+#X obj 641 -129 line;
+#X text 638 -15 a.k.a. speed;
+#X obj 243 9 r OmGen1_ripple;
+#X obj 741 -71 + 5;
+#X floatatom 846 -42 5 0 0 0 - - -;
+#X obj 846 -130 line;
+#X obj 846 -14 s OmGen1_ripple;
+#X obj 846 -101 * 10;
+#X obj 846 -71 + 2;
+#X text 843 5 a.k.a. freq;
+#X floatatom 393 -40 5 0 0 0 - - -;
+#X obj 393 -68 + 0.001;
+#X obj 354 101 *~ 0.7;
+#X obj 417 101 *~ 0.5;
+#X obj 354 167 +~;
+#N canvas 404 50 889 639 OmGen 0;
+#X obj 250 596 outlet~;
+#X obj 101 22 inlet;
+#X obj 101 127 phasor~ 100;
+#X obj 101 149 -~ 0.5;
+#X obj 101 171 cos~;
+#X obj 101 193 +~ 1;
+#X obj 101 215 *~ 0.5;
+#X obj 101 237 *~;
+#X obj 206 137 sig~;
+#X obj 206 159 lop~ 10;
+#X obj 191 190 *~;
+#X obj 191 212 cos~;
+#X floatatom 101 76 5 0 0 1 frequency - -;
+#X floatatom 206 117 5 0 0 1 ripple - -;
+#X obj 101 299 *~;
+#X floatatom 355 155 5 0 0 1 width - -;
+#X obj 101 352 *~;
+#X obj 101 374 +~ 1;
+#X obj 37 447 /~;
+#X obj 37 374 sig~ 1;
+#X obj 40 504 hip~ 1;
+#X obj 205 21 inlet;
+#X obj 355 21 inlet;
+#X connect 1 0 12 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 0 10 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 14 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 1;
+#X connect 10 0 11 0;
+#X connect 11 0 7 1;
+#X connect 12 0 2 0;
+#X connect 13 0 8 0;
+#X connect 14 0 16 0;
+#X connect 14 0 16 1;
+#X connect 15 0 14 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 1;
+#X connect 18 0 20 0;
+#X connect 19 0 18 0;
+#X connect 20 0 0 0;
+#X connect 21 0 13 0;
+#X connect 22 0 15 0;
+#X restore 354 56 pd OmGen;
+#X floatatom 354 -40 5 0 0 0 - - -;
+#X obj 343 -113 + 80;
+#N canvas 404 50 889 639 OmGen 0;
+#X obj 250 596 outlet~;
+#X obj 101 22 inlet;
+#X obj 101 127 phasor~ 100;
+#X obj 101 149 -~ 0.5;
+#X obj 101 171 cos~;
+#X obj 101 193 +~ 1;
+#X obj 101 215 *~ 0.5;
+#X obj 101 237 *~;
+#X obj 206 137 sig~;
+#X obj 206 159 lop~ 10;
+#X obj 191 190 *~;
+#X obj 191 212 cos~;
+#X floatatom 101 76 5 0 0 1 frequency - -;
+#X floatatom 206 117 5 0 0 1 ripple - -;
+#X obj 101 299 *~;
+#X floatatom 355 155 5 0 0 1 width - -;
+#X obj 101 352 *~;
+#X obj 101 374 +~ 1;
+#X obj 37 447 /~;
+#X obj 37 374 sig~ 1;
+#X obj 72 525 hip~ 1;
+#X obj 205 21 inlet;
+#X obj 355 21 inlet;
+#X connect 1 0 12 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 0 10 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 14 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 1;
+#X connect 10 0 11 0;
+#X connect 11 0 7 1;
+#X connect 12 0 2 0;
+#X connect 13 0 8 0;
+#X connect 14 0 16 0;
+#X connect 14 0 16 1;
+#X connect 15 0 14 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 1;
+#X connect 18 0 20 0;
+#X connect 19 0 18 0;
+#X connect 20 0 0 0;
+#X connect 21 0 13 0;
+#X connect 22 0 15 0;
+#X restore 417 57 pd OmGen;
+#X obj 462 9 r OmGen1_width;
+#X obj 555 9 r OmGen1_ripple;
+#X obj 104 8 * 2;
+#X obj 741 -101 * 20;
+#N canvas 0 22 703 423 filter 0;
+#X obj 186 210 moog~;
+#X floatatom 226 163 5 0 0 0 - - -;
+#X floatatom 605 120 5 0 0 0 - - -;
+#X msg 182 163 reset;
+#X obj 538 121 +~ 1;
+#X floatatom 538 79 5 0 0 0 - - -;
+#X floatatom 602 144 5 0 0 0 - - -;
+#X obj 538 162 +~ 100;
+#X obj 538 100 osc~ 0.25;
+#X obj 538 141 *~ 2000;
+#X obj 226 182 sig~ 3;
+#X text 272 163 Q (1-4);
+#X obj 68 49 inlet~;
+#X obj 196 319 outlet~;
+#X obj 538 39 inlet;
+#X obj 597 39 inlet;
+#X connect 0 0 13 0;
+#X connect 1 0 10 0;
+#X connect 2 0 9 1;
+#X connect 3 0 0 0;
+#X connect 4 0 9 0;
+#X connect 5 0 8 0;
+#X connect 6 0 7 1;
+#X connect 7 0 0 1;
+#X connect 8 0 4 0;
+#X connect 9 0 7 0;
+#X connect 10 0 0 2;
+#X connect 12 0 0 0;
+#X connect 14 0 5 0;
+#X connect 15 0 1 0;
+#X restore 41 216 pd filter;
+#N canvas 475 228 703 423 filter 0;
+#X obj 186 210 moog~;
+#X floatatom 226 163 5 0 0 0 - - -;
+#X floatatom 605 120 5 0 0 0 - - -;
+#X msg 182 163 reset;
+#X obj 538 121 +~ 1;
+#X floatatom 538 79 5 0 0 0 - - -;
+#X floatatom 602 144 5 0 0 0 - - -;
+#X obj 538 162 +~ 100;
+#X obj 538 100 osc~ 0.25;
+#X obj 538 141 *~ 2000;
+#X obj 226 182 sig~ 3;
+#X text 272 163 Q (1-4);
+#X obj 68 49 inlet~;
+#X obj 196 319 outlet~;
+#X obj 538 39 inlet;
+#X obj 597 39 inlet;
+#X connect 0 0 13 0;
+#X connect 1 0 10 0;
+#X connect 2 0 9 1;
+#X connect 3 0 0 0;
+#X connect 4 0 9 0;
+#X connect 5 0 8 0;
+#X connect 6 0 7 1;
+#X connect 7 0 0 1;
+#X connect 8 0 4 0;
+#X connect 9 0 7 0;
+#X connect 10 0 0 2;
+#X connect 12 0 0 0;
+#X connect 14 0 5 0;
+#X connect 15 0 1 0;
+#X restore 354 216 pd filter;
+#X obj 947 13 s OmGen1_res;
+#X obj 92 193 r OmGen1_res;
+#X obj 405 193 r OmGen1_res;
+#X text 946 41 a.k.a resonance;
+#X obj 947 -73 * 3.5;
+#X obj 947 -41 clip 1 3.5;
+#N canvas 149 108 906 644 rescalePitch 0;
+#X obj 27 120 ftom;
+#X obj 126 18 inlet;
+#X floatatom 27 62 5 0 0 0 - - -;
+#X obj -115 146 % 12;
+#X floatatom -115 168 5 0 0 1 pitch_class - -;
+#X obj -6 146 / 12;
+#X obj -6 168 - 1;
+#X floatatom -6 190 5 0 0 1 register - -;
+#X floatatom 27 146 5 0 0 1 midi_note - -;
+#X obj 27 38 mtof;
+#X floatatom 27 18 5 0 0 0 - - -;
+#X obj -6 256 * 12;
+#X obj -21 321 +;
+#X floatatom -21 343 5 0 0 0 - - -;
+#X obj -21 362 mtof;
+#X floatatom -21 384 10 0 0 0 - - -;
+#X obj -21 442 outlet;
+#X obj 27 82 int;
+#X floatatom 27 102 5 0 0 0 - - -;
+#X obj -21 421 line;
+#X obj -6 232 int;
+#X text 330 187 based on Todd Winkler's Scale subpatch \, see p. 198
+of Composing Interactive Music \, 2001 paperback 1st ed.;
+#X obj 499 379 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X floatatom 650 335 10 0 0 1 speed - -;
+#X floatatom 650 354 10 0 0 1 flip_time - -;
+#X floatatom 650 373 10 0 0 1 interval - -;
+#X floatatom 650 316 10 0 0 1 note_in - -;
+#N canvas 751 304 509 495 arpeggio______________ 0;
+#X obj 18 102 inlet;
+#X obj 50 135 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 50 294 outlet;
+#X obj 162 272 + 3;
+#X obj 93 15 inlet;
+#X obj 175 108 inlet;
+#X floatatom 175 130 10 0 0 0 - - -;
+#X obj 265 108 inlet;
+#X floatatom 265 130 10 0 0 0 - - -;
+#X obj 117 161 metro 1000;
+#X obj 216 205 f 3;
+#X obj 290 239 * -1;
+#X obj 50 228 f 60;
+#X obj 327 108 inlet;
+#X floatatom 327 130 10 0 0 0 - - -;
+#X floatatom 14 348 5 0 0 0 - - -;
+#X floatatom 90 113 10 0 0 0 - - -;
+#X obj 50 161 metro 1000;
+#X obj 93 82 ftom;
+#X floatatom 93 39 5 0 0 0 - - -;
+#X obj 93 61 int;
+#X connect 0 0 1 0;
+#X connect 1 0 9 0;
+#X connect 1 0 17 0;
+#X connect 3 0 12 1;
+#X connect 4 0 19 0;
+#X connect 5 0 6 0;
+#X connect 6 0 17 1;
+#X connect 7 0 8 0;
+#X connect 8 0 9 1;
+#X connect 9 0 10 0;
+#X connect 10 0 11 0;
+#X connect 11 0 3 1;
+#X connect 11 0 10 1;
+#X connect 12 0 2 0;
+#X connect 12 0 3 0;
+#X connect 12 0 15 0;
+#X connect 13 0 14 0;
+#X connect 14 0 3 1;
+#X connect 14 0 10 1;
+#X connect 16 0 12 1;
+#X connect 17 0 12 0;
+#X connect 18 0 16 0;
+#X connect 19 0 20 0;
+#X connect 20 0 18 0;
+#X restore 501 421 pd arpeggio______________;
+#X text 567 461 use longer flip time than speed;
+#X obj 340 253 r arp1_on;
+#X obj 650 253 r arp1_notefreq;
+#X obj 571 253 r arp1_speed;
+#X obj 498 253 r arp1_flip;
+#X obj 401 253 r arp1_interval;
+#X msg -21 402 \$1 10;
+#X obj 246 68 sel 0 1 2 3 4 5 6 7 8 9 10 11;
+#X msg 242 121 1;
+#X msg 275 121 3;
+#X msg 308 121 6;
+#X msg 341 121 8;
+#X msg 373 121 10;
+#X text 443 20 pentatonic scale;
+#X connect 0 0 3 0;
+#X connect 0 0 3 0;
+#X connect 0 0 5 0;
+#X connect 0 0 8 0;
+#X connect 1 0 2 0;
+#X connect 2 0 17 0;
+#X connect 3 0 4 0;
+#X connect 4 0 35 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 20 0;
+#X connect 9 0 2 0;
+#X connect 10 0 9 0;
+#X connect 11 0 12 1;
+#X connect 12 0 13 0;
+#X connect 13 0 14 0;
+#X connect 14 0 15 0;
+#X connect 15 0 34 0;
+#X connect 17 0 18 0;
+#X connect 18 0 0 0;
+#X connect 19 0 16 0;
+#X connect 20 0 11 0;
+#X connect 22 0 27 0;
+#X connect 23 0 27 2;
+#X connect 24 0 27 3;
+#X connect 25 0 27 4;
+#X connect 26 0 27 1;
+#X connect 27 0 10 0;
+#X connect 29 0 22 0;
+#X connect 30 0 26 0;
+#X connect 31 0 23 0;
+#X connect 32 0 24 0;
+#X connect 33 0 25 0;
+#X connect 34 0 19 0;
+#X connect 35 0 36 0;
+#X connect 35 1 36 0;
+#X connect 35 2 36 0;
+#X connect 35 3 37 0;
+#X connect 35 4 37 0;
+#X connect 35 5 38 0;
+#X connect 35 6 38 0;
+#X connect 35 7 39 0;
+#X connect 35 8 39 0;
+#X connect 35 9 40 0;
+#X connect 35 10 40 0;
+#X connect 35 11 40 0;
+#X connect 36 0 12 0;
+#X connect 37 0 12 0;
+#X connect 38 0 12 0;
+#X connect 39 0 12 0;
+#X connect 40 0 12 0;
+#X restore 20 -68 pd rescalePitch;
+#X obj 20 -127 * 1000;
+#X obj 79 -127 * 0.55;
+#X obj 393 -96 * 0.55;
+#X obj 417 9 * 2;
+#X obj 343 -141 * 1000;
+#N canvas 442 125 906 644 rescalePitch2 0;
+#X obj 27 120 ftom;
+#X obj 126 18 inlet;
+#X floatatom 27 62 5 0 0 0 - - -;
+#X obj -115 146 % 12;
+#X floatatom -115 168 5 0 0 1 pitch_class - -;
+#X obj -6 146 / 12;
+#X obj -6 168 - 1;
+#X floatatom -6 190 5 0 0 1 register - -;
+#X floatatom 27 146 5 0 0 1 midi_note - -;
+#X obj 27 38 mtof;
+#X floatatom 27 18 5 0 0 0 - - -;
+#X obj -6 256 * 12;
+#X obj -21 321 +;
+#X floatatom -21 343 5 0 0 0 - - -;
+#X obj -21 364 mtof;
+#X floatatom -21 386 10 0 0 0 - - -;
+#X obj -21 475 outlet;
+#X obj 27 82 int;
+#X floatatom 27 102 5 0 0 0 - - -;
+#X obj -21 454 line;
+#X obj -6 232 int;
+#X obj 499 379 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X floatatom 650 335 10 0 0 1 speed - -;
+#X floatatom 650 354 10 0 0 1 flip_time - -;
+#X floatatom 650 373 10 0 0 1 interval - -;
+#X floatatom 650 316 10 0 0 1 note_in - -;
+#N canvas 807 304 509 495 arpeggio______________ 0;
+#X obj 18 102 inlet;
+#X obj 50 135 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 50 294 outlet;
+#X obj 162 272 + 3;
+#X obj 93 15 inlet;
+#X obj 175 108 inlet;
+#X floatatom 175 130 10 0 0 0 - - -;
+#X obj 265 108 inlet;
+#X floatatom 265 130 10 0 0 0 - - -;
+#X obj 117 161 metro 1000;
+#X obj 216 205 f 3;
+#X obj 290 239 * -1;
+#X obj 50 228 f 60;
+#X obj 327 108 inlet;
+#X floatatom 327 130 10 0 0 0 - - -;
+#X floatatom 14 348 5 0 0 0 - - -;
+#X floatatom 90 113 10 0 0 0 - - -;
+#X obj 50 161 metro 1000;
+#X obj 93 82 ftom;
+#X floatatom 93 39 5 0 0 0 - - -;
+#X obj 93 61 int;
+#X connect 0 0 1 0;
+#X connect 1 0 9 0;
+#X connect 1 0 17 0;
+#X connect 3 0 12 1;
+#X connect 4 0 19 0;
+#X connect 5 0 6 0;
+#X connect 6 0 17 1;
+#X connect 7 0 8 0;
+#X connect 8 0 9 1;
+#X connect 9 0 10 0;
+#X connect 10 0 11 0;
+#X connect 11 0 3 1;
+#X connect 11 0 10 1;
+#X connect 12 0 2 0;
+#X connect 12 0 3 0;
+#X connect 12 0 15 0;
+#X connect 13 0 14 0;
+#X connect 14 0 3 1;
+#X connect 14 0 10 1;
+#X connect 16 0 12 1;
+#X connect 17 0 12 0;
+#X connect 18 0 16 0;
+#X connect 19 0 20 0;
+#X connect 20 0 18 0;
+#X restore 501 421 pd arpeggio______________;
+#X text 567 461 use longer flip time than speed;
+#X obj 340 253 r arp2_on;
+#X obj 401 253 r arp2_interval;
+#X obj 498 253 r arp2_flip;
+#X obj 571 253 r arp2_speed;
+#X obj 650 253 r arp2_notefreq;
+#X msg -21 435 \$1 10;
+#X obj -21 405 + 0.75;
+#X obj 235 98 sel 0 1 2 3 4 5 6 7 8 9 10 11;
+#X msg 231 151 1;
+#X msg 264 151 3;
+#X msg 297 151 6;
+#X msg 330 151 8;
+#X msg 362 151 10;
+#X text 362 60 pentatonic scale;
+#X connect 0 0 3 0;
+#X connect 0 0 3 0;
+#X connect 0 0 5 0;
+#X connect 0 0 8 0;
+#X connect 1 0 2 0;
+#X connect 2 0 17 0;
+#X connect 3 0 4 0;
+#X connect 4 0 35 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 20 0;
+#X connect 9 0 2 0;
+#X connect 10 0 9 0;
+#X connect 11 0 12 1;
+#X connect 12 0 13 0;
+#X connect 13 0 14 0;
+#X connect 14 0 15 0;
+#X connect 15 0 34 0;
+#X connect 17 0 18 0;
+#X connect 18 0 0 0;
+#X connect 19 0 16 0;
+#X connect 20 0 11 0;
+#X connect 21 0 26 0;
+#X connect 22 0 26 2;
+#X connect 23 0 26 3;
+#X connect 24 0 26 4;
+#X connect 25 0 26 1;
+#X connect 26 0 10 0;
+#X connect 28 0 21 0;
+#X connect 29 0 24 0;
+#X connect 30 0 23 0;
+#X connect 31 0 22 0;
+#X connect 32 0 25 0;
+#X connect 33 0 19 0;
+#X connect 34 0 33 0;
+#X connect 35 0 36 0;
+#X connect 35 1 36 0;
+#X connect 35 2 36 0;
+#X connect 35 3 37 0;
+#X connect 35 4 37 0;
+#X connect 35 5 38 0;
+#X connect 35 6 38 0;
+#X connect 35 7 39 0;
+#X connect 35 8 39 0;
+#X connect 35 9 40 0;
+#X connect 35 10 40 0;
+#X connect 35 11 40 0;
+#X connect 36 0 12 0;
+#X connect 37 0 12 0;
+#X connect 38 0 12 0;
+#X connect 39 0 12 0;
+#X connect 40 0 12 0;
+#X restore 293 -78 pd rescalePitch2;
+#X connect 0 0 49 2;
+#X connect 1 0 0 0;
+#X connect 2 0 1 0;
+#X connect 3 0 95 0;
+#X connect 4 0 96 0;
+#X connect 5 0 2 0;
+#X connect 6 0 99 0;
+#X connect 7 0 97 0;
+#X connect 9 0 86 1;
+#X connect 10 0 9 0;
+#X connect 11 0 59 0;
+#X connect 12 0 88 0;
+#X connect 13 0 21 0;
+#X connect 14 0 13 0;
+#X connect 15 0 85 0;
+#X connect 16 0 15 0;
+#X connect 17 0 63 0;
+#X connect 18 0 68 0;
+#X connect 19 0 92 0;
+#X connect 20 0 19 0;
+#X connect 21 0 22 1;
+#X connect 21 0 53 1;
+#X connect 22 0 48 0;
+#X connect 23 0 17 0;
+#X connect 24 0 16 0;
+#X connect 25 0 18 0;
+#X connect 26 0 20 0;
+#X connect 27 0 14 0;
+#X connect 28 0 50 0;
+#X connect 29 0 50 1;
+#X connect 30 0 31 0;
+#X connect 31 0 33 0;
+#X connect 32 0 48 1;
+#X connect 32 0 54 1;
+#X connect 33 0 45 0;
+#X connect 33 1 46 0;
+#X connect 34 0 42 0;
+#X connect 35 0 36 0;
+#X connect 36 0 37 0;
+#X connect 36 0 38 0;
+#X connect 37 0 42 0;
+#X connect 39 0 35 0;
+#X connect 40 0 32 0;
+#X connect 40 0 39 0;
+#X connect 42 0 41 0;
+#X connect 43 0 32 0;
+#X connect 43 0 39 0;
+#X connect 44 0 39 0;
+#X connect 45 0 34 0;
+#X connect 45 1 43 0;
+#X connect 45 2 47 0;
+#X connect 46 0 40 0;
+#X connect 46 1 44 0;
+#X connect 47 0 39 0;
+#X connect 48 0 8 0;
+#X connect 49 0 51 0;
+#X connect 50 0 86 0;
+#X connect 51 0 22 0;
+#X connect 51 0 53 0;
+#X connect 53 0 54 0;
+#X connect 54 0 52 0;
+#X connect 55 0 28 0;
+#X connect 56 0 55 0;
+#X connect 56 0 84 0;
+#X connect 57 0 94 0;
+#X connect 58 0 29 0;
+#X connect 61 0 55 2;
+#X connect 61 0 58 2;
+#X connect 63 0 62 0;
+#X connect 65 0 58 1;
+#X connect 65 0 55 1;
+#X connect 66 0 11 0;
+#X connect 67 0 69 0;
+#X connect 68 0 70 0;
+#X connect 70 0 71 0;
+#X connect 71 0 67 0;
+#X connect 73 0 87 1;
+#X connect 74 0 73 0;
+#X connect 75 0 77 0;
+#X connect 76 0 77 1;
+#X connect 77 0 87 0;
+#X connect 78 0 75 0;
+#X connect 79 0 78 0;
+#X connect 79 0 98 0;
+#X connect 80 0 100 0;
+#X connect 81 0 76 0;
+#X connect 82 0 78 2;
+#X connect 82 0 81 2;
+#X connect 83 0 81 1;
+#X connect 83 0 78 1;
+#X connect 84 0 58 0;
+#X connect 85 0 66 0;
+#X connect 86 0 49 0;
+#X connect 87 0 49 1;
+#X connect 89 0 86 2;
+#X connect 90 0 87 2;
+#X connect 92 0 93 0;
+#X connect 93 0 12 0;
+#X connect 94 0 56 0;
+#X connect 95 0 57 0;
+#X connect 96 0 10 0;
+#X connect 97 0 74 0;
+#X connect 98 0 81 0;
+#X connect 99 0 80 0;
+#X connect 100 0 79 0;
+#X restore 8 362 pd voice1_________________________________;
+#N canvas 668 22 612 404 conversion-tables 0;
+#N canvas 0 22 834 524 (subpatch) 0;
+#X array mtof 130 float 1;
+#A 0 8.1758 8.66196 9.17702 9.72272 10.3009 10.9134 11.5623 12.2499
+12.9783 13.75 14.5676 15.4339 16.3516 17.3239 18.354 19.4454 20.6017
+21.8268 23.1247 24.4997 25.9565 27.5 29.1352 30.8677 32.7032 34.6478
+36.7081 38.8909 41.2034 43.6535 46.2493 48.9994 51.9131 55 58.2705
+61.7354 65.4064 69.2957 73.4162 77.7817 82.4069 87.3071 92.4986 97.9989
+103.826 110 116.541 123.471 130.813 138.591 146.832 155.563 164.814
+174.614 184.997 195.998 207.652 220 233.082 246.942 261.626 277.183
+293.665 311.127 329.628 349.228 369.994 391.995 415.305 440 466.164
+493.883 523.251 554.365 587.33 622.254 659.255 698.456 739.989 783.991
+830.609 880 932.328 987.767 1046.5 1108.73 1174.66 1244.51 1318.51
+1396.91 1479.98 1567.98 1661.22 1760 1864.66 1975.53 2093 2217.46 2349.32
+2489.02 2637.02 2793.83 2959.96 3135.96 3322.44 3520 3729.31 3951.07
+4186.01 4434.92 4698.64 4978.03 5274.04 5587.65 5919.91 6271.93 6644.88
+7040 7458.62 7902.13 8372.02 8869.84 9397.27 9956.06 10548.1 11175.3
+11839.8 12543.9 13289.8 14080;
+#X coords 0 12000 130 0 200 100 1;
+#X restore 309 225 graph;
+#X text 319 333 ------ 130 samples ------;
+#X text 518 318 0;
+#X text 520 218 12000;
+#X restore 476 -225 pd conversion-tables;
+#X obj 606 -145 s phasesynch;
+#X obj 606 -187 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 606 -225 loadbang;
+#X obj 304 -64 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 301 -91 r dc1a;
+#X obj 304 32 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 304 -15 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 301 -43 r dc2a;
+#X obj 301 4 r dc3a;
+#X obj 304 80 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 304 127 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 301 52 r dc4a;
+#X obj 301 99 r dc5a;
+#X obj 305 174 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 305 268 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 305 221 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 305 315 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 305 362 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 302 146 r dc6a;
+#X obj 302 193 r dc7a;
+#X obj 302 240 r dc8a;
+#X obj 302 287 r dc9a;
+#X obj 302 334 r dc10a;
+#X obj 736 -64 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 736 31 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 736 -16 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 736 79 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 736 126 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 737 173 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 737 267 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 737 220 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 737 314 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 737 361 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 733 -92 r dc1b;
+#X obj 733 -44 r dc2b;
+#X obj 733 3 r dc3b;
+#X obj 733 51 r dc4b;
+#X obj 733 98 r dc5b;
+#X obj 734 145 r dc6b;
+#X obj 734 192 r dc7b;
+#X obj 734 239 r dc8b;
+#X obj 734 286 r dc9b;
+#X obj 734 333 r dc10b;
+#X obj 1168 -65 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 1168 30 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 1168 -17 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 1168 78 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 1168 125 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 1169 172 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 1169 266 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 1169 219 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 1169 313 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 1169 360 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 1165 -93 r dc1c;
+#X obj 1165 -45 r dc2c;
+#X obj 1165 2 r dc3c;
+#X obj 1165 50 r dc4c;
+#X obj 1165 97 r dc5c;
+#X obj 1166 144 r dc6c;
+#X obj 1166 191 r dc7c;
+#X obj 1166 238 r dc8c;
+#X obj 1166 285 r dc9c;
+#X obj 1166 332 r dc10c;
+#X obj 689 336 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 1121 335 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1
+0 1;
+#X obj 689 314 r dsp2;
+#X obj 1121 314 r dsp3;
+#X obj 709 446 clip~ -1 1;
+#X obj 709 411 hip~ 1;
+#X obj 100 498 s arp2_on;
+#X obj 161 498 s arp2_interval;
+#X obj 258 498 s arp2_flip;
+#X obj 331 498 s arp2_speed;
+#X obj 410 498 s arp2_notefreq;
+#X obj 100 470 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X floatatom 161 473 10 0 0 0 - - -;
+#X floatatom 258 473 10 0 0 0 - - -;
+#X floatatom 331 473 10 0 0 0 - - -;
+#X floatatom 410 473 10 0 0 0 - - -;
+#X floatatom 161 418 10 0 0 0 - - -;
+#X floatatom 258 418 10 0 0 0 - - -;
+#X floatatom 331 418 10 0 0 0 - - -;
+#X obj 161 443 s arp1_interval;
+#X obj 258 443 s arp1_flip;
+#X obj 331 443 s arp1_speed;
+#X obj 100 415 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 100 443 s arp1_on;
+#X floatatom 410 418 10 0 0 0 - - -;
+#X obj 410 443 s arp1_notefreq;
+#N canvas 109 217 1335 800 voice2_________________________________
+0;
+#X floatatom 206 -40 5 0 0 0 - - -;
+#X obj 206 -68 line;
+#X obj 206 -96 pack f 200;
+#X obj 40 -175 inlet;
+#X obj 79 -175 inlet;
+#X obj 206 -144 inlet;
+#X obj 343 -173 inlet;
+#X obj 393 -144 inlet;
+#X obj 40 571 outlet~;
+#X floatatom 79 -40 5 0 0 0 - - -;
+#X obj 79 -99 + 0.001;
+#X floatatom 741 -42 5 0 0 0 - - -;
+#X floatatom 947 -11 5 0 0 0 - - -;
+#X obj 1049 -130 line;
+#X obj 1049 -159 pack f 200;
+#X obj 741 -130 line;
+#X obj 741 -159 pack f 200;
+#X obj 641 -159 pack f 200;
+#X obj 846 -159 pack f 200;
+#X obj 947 -130 line;
+#X obj 947 -159 pack f 200;
+#X floatatom 1050 -18 5 0 0 0 - - -;
+#X obj 41 469 *~ 0.4;
+#X obj 641 -187 inlet;
+#X obj 741 -187 inlet;
+#X obj 846 -187 inlet;
+#X obj 947 -187 inlet;
+#X obj 1049 -187 inlet;
+#X obj 41 97 *~ 0.7;
+#X obj 104 101 *~ 0.5;
+#X obj 1165 -181 inlet;
+#X obj 1165 -101 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1
+0 1;
+#X obj 1194 38 vline~;
+#X obj 1165 -71 select 1;
+#X msg 1165 7 1;
+#X floatatom 1281 87 5 0 0 0 - - -;
+#X obj 1281 110 select 0;
+#X msg 1281 138 0;
+#X obj 1211 117 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 1281 60 line;
+#X msg 1194 6 0 500;
+#X obj 1165 180 switch~;
+#X floatatom 1165 150 5 0 0 0 - - -;
+#X msg 1237 6 1 500;
+#X msg 1331 7 1 500;
+#X obj 1165 -27 t b b b;
+#X obj 1222 -28 t b b b;
+#X msg 1283 7 0 1500;
+#X obj 40 498 *~;
+#N canvas 0 22 687 515 crossfade 0;
+#X obj 158 33 inlet~;
+#X obj 202 33 inlet;
+#X obj 161 255 *~;
+#X text 203 14 crossfade;
+#X obj 70 33 inlet~;
+#X obj 73 255 *~;
+#X obj 146 284 +~;
+#X obj 146 313 outlet~;
+#X obj 177 187 sin;
+#X obj 84 185 cos;
+#X text 68 15 1;
+#X text 159 14 2;
+#X obj 202 58 * 2;
+#X obj 202 80 - 1;
+#X obj 202 102 + 1;
+#X obj 202 124 / 4;
+#X obj 202 146 * 3.14159;
+#X floatatom 202 168 5 0 0 0 - - -;
+#X msg 176 208 \$1 60;
+#X obj 176 230 line~;
+#X msg 84 208 \$1 60;
+#X obj 85 232 line~;
+#X text 77 367 adapted from http://puredata.hurleur.com/sujet-5326-stereo-crossfader-adjustable-curve
+(as used by 76synth);
+#X connect 0 0 2 0;
+#X connect 1 0 12 0;
+#X connect 2 0 6 1;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 8 0 18 0;
+#X connect 9 0 20 0;
+#X connect 12 0 13 0;
+#X connect 13 0 14 0;
+#X connect 14 0 15 0;
+#X connect 15 0 16 0;
+#X connect 16 0 17 0;
+#X connect 17 0 8 0;
+#X connect 17 0 9 0;
+#X connect 18 0 19 0;
+#X connect 19 0 2 1;
+#X connect 20 0 21 0;
+#X connect 21 0 5 1;
+#X restore 41 261 pd crossfade;
+#X obj 41 163 +~;
+#N canvas 394 175 839 516 schroederReverb 0;
+#X obj 82 91 +~;
+#X obj 82 18 inlet~;
+#X obj 142 91 +~;
+#X obj 327 213 +~;
+#X obj 327 254 +~;
+#X obj 327 293 *~ 0.4;
+#X obj 359 213 -~;
+#X obj 376 293 *~ 0.37;
+#X obj 359 254 +~;
+#X obj 82 247 outlet~;
+#X obj 142 247 outlet~;
+#X obj 390 213 +~;
+#X obj 420 213 -~;
+#X obj 390 254 -~;
+#X obj 421 254 -~;
+#X obj 431 294 *~ 0.333;
+#X obj 492 294 *~ 0.3;
+#X text 427 454 Schroeder reverb \, source: Andy Farnell's Designing
+Sound \, page 234 \, Claude Heiland-Allen credited;
+#X obj 87 341 delwrite~ drom2A 1000;
+#X obj 222 341 delwrite~ drom2B 1000;
+#X obj 357 341 delwrite~ drom2C 1000;
+#X obj 492 341 delwrite~ drom2D 1000;
+#X obj 127 18 delread~ drom2A 101;
+#X obj 250 18 delread~ drom2B 143;
+#X obj 373 18 delread~ drom2C 165;
+#X obj 496 18 delread~ drom2D 177;
+#X connect 0 0 3 0;
+#X connect 0 0 9 0;
+#X connect 0 0 6 0;
+#X connect 1 0 0 0;
+#X connect 1 0 2 0;
+#X connect 2 0 10 0;
+#X connect 2 0 6 1;
+#X connect 2 0 3 1;
+#X connect 3 0 4 0;
+#X connect 3 0 13 0;
+#X connect 4 0 5 0;
+#X connect 5 0 18 0;
+#X connect 6 0 8 0;
+#X connect 6 0 14 0;
+#X connect 7 0 19 0;
+#X connect 8 0 7 0;
+#X connect 11 0 13 1;
+#X connect 11 0 4 1;
+#X connect 12 0 14 1;
+#X connect 12 0 8 1;
+#X connect 13 0 15 0;
+#X connect 14 0 16 0;
+#X connect 15 0 20 0;
+#X connect 16 0 21 0;
+#X connect 22 0 0 1;
+#X connect 23 0 2 1;
+#X connect 24 0 11 0;
+#X connect 24 0 12 0;
+#X connect 25 0 11 1;
+#X connect 25 0 12 1;
+#X restore 41 297 pd schroederReverb;
+#X obj 142 570 outlet~;
+#X obj 143 466 *~ 0.4;
+#X obj 142 495 *~;
+#N canvas 404 50 889 639 OmGen 0;
+#X obj 250 596 outlet~;
+#X obj 101 22 inlet;
+#X obj 101 127 phasor~ 100;
+#X obj 101 149 -~ 0.5;
+#X obj 101 171 cos~;
+#X obj 101 193 +~ 1;
+#X obj 101 215 *~ 0.5;
+#X obj 101 237 *~;
+#X obj 206 137 sig~;
+#X obj 206 159 lop~ 10;
+#X obj 191 190 *~;
+#X obj 191 212 cos~;
+#X floatatom 101 76 5 0 0 1 frequency - -;
+#X floatatom 206 117 5 0 0 1 ripple - -;
+#X obj 101 299 *~;
+#X floatatom 355 155 5 0 0 1 width - -;
+#X obj 101 352 *~;
+#X obj 101 374 +~ 1;
+#X obj 37 447 /~;
+#X obj 37 374 sig~ 1;
+#X obj 40 504 hip~ 1;
+#X obj 205 21 inlet;
+#X obj 355 21 inlet;
+#X connect 1 0 12 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 0 10 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 14 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 1;
+#X connect 10 0 11 0;
+#X connect 11 0 7 1;
+#X connect 12 0 2 0;
+#X connect 13 0 8 0;
+#X connect 14 0 16 0;
+#X connect 14 0 16 1;
+#X connect 15 0 14 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 1;
+#X connect 18 0 20 0;
+#X connect 19 0 18 0;
+#X connect 20 0 0 0;
+#X connect 21 0 13 0;
+#X connect 22 0 15 0;
+#X restore 41 52 pd OmGen;
+#X floatatom 22 -26 5 0 0 0 - - -;
+#X obj 20 -99 + 80;
+#N canvas 404 50 889 639 OmGen 0;
+#X obj 250 596 outlet~;
+#X obj 101 22 inlet;
+#X obj 101 127 phasor~ 100;
+#X obj 101 149 -~ 0.5;
+#X obj 101 171 cos~;
+#X obj 101 193 +~ 1;
+#X obj 101 215 *~ 0.5;
+#X obj 101 237 *~;
+#X obj 206 137 sig~;
+#X obj 206 159 lop~ 10;
+#X obj 191 190 *~;
+#X obj 191 212 cos~;
+#X floatatom 101 76 5 0 0 1 frequency - -;
+#X floatatom 206 117 5 0 0 1 ripple - -;
+#X obj 101 299 *~;
+#X floatatom 355 155 5 0 0 1 width - -;
+#X obj 101 352 *~;
+#X obj 101 374 +~ 1;
+#X obj 37 447 /~;
+#X obj 37 374 sig~ 1;
+#X obj 40 504 hip~ 1;
+#X obj 205 21 inlet;
+#X obj 355 21 inlet;
+#X connect 1 0 12 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 0 10 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 14 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 1;
+#X connect 10 0 11 0;
+#X connect 11 0 7 1;
+#X connect 12 0 2 0;
+#X connect 13 0 8 0;
+#X connect 14 0 16 0;
+#X connect 14 0 16 1;
+#X connect 15 0 14 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 1;
+#X connect 18 0 20 0;
+#X connect 19 0 18 0;
+#X connect 20 0 0 0;
+#X connect 21 0 13 0;
+#X connect 22 0 15 0;
+#X restore 104 53 pd OmGen;
+#X text 738 85 a.k.a. depth;
+#X floatatom 641 -41 5 0 0 0 - - -;
+#X obj 641 -129 line;
+#X text 638 -15 a.k.a. speed;
+#X obj 741 -71 + 5;
+#X floatatom 846 -42 5 0 0 0 - - -;
+#X obj 846 -130 line;
+#X obj 846 -101 * 10;
+#X obj 846 -71 + 2;
+#X text 843 5 a.k.a. freq;
+#X floatatom 393 -40 5 0 0 0 - - -;
+#X obj 393 -68 + 0.001;
+#X obj 354 101 *~ 0.7;
+#X obj 417 101 *~ 0.5;
+#X obj 354 167 +~;
+#N canvas 404 50 889 639 OmGen 0;
+#X obj 250 596 outlet~;
+#X obj 101 22 inlet;
+#X obj 101 127 phasor~ 100;
+#X obj 101 149 -~ 0.5;
+#X obj 101 171 cos~;
+#X obj 101 193 +~ 1;
+#X obj 101 215 *~ 0.5;
+#X obj 101 237 *~;
+#X obj 206 137 sig~;
+#X obj 206 159 lop~ 10;
+#X obj 191 190 *~;
+#X obj 191 212 cos~;
+#X floatatom 101 76 5 0 0 1 frequency - -;
+#X floatatom 206 117 5 0 0 1 ripple - -;
+#X obj 101 299 *~;
+#X floatatom 355 155 5 0 0 1 width - -;
+#X obj 101 352 *~;
+#X obj 101 374 +~ 1;
+#X obj 37 447 /~;
+#X obj 37 374 sig~ 1;
+#X obj 40 504 hip~ 1;
+#X obj 205 21 inlet;
+#X obj 355 21 inlet;
+#X connect 1 0 12 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 0 10 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 14 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 1;
+#X connect 10 0 11 0;
+#X connect 11 0 7 1;
+#X connect 12 0 2 0;
+#X connect 13 0 8 0;
+#X connect 14 0 16 0;
+#X connect 14 0 16 1;
+#X connect 15 0 14 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 1;
+#X connect 18 0 20 0;
+#X connect 19 0 18 0;
+#X connect 20 0 0 0;
+#X connect 21 0 13 0;
+#X connect 22 0 15 0;
+#X restore 354 56 pd OmGen;
+#X floatatom 354 -40 5 0 0 0 - - -;
+#X obj 343 -113 + 80;
+#N canvas 404 50 889 639 OmGen 0;
+#X obj 250 596 outlet~;
+#X obj 101 22 inlet;
+#X obj 101 127 phasor~ 100;
+#X obj 101 149 -~ 0.5;
+#X obj 101 171 cos~;
+#X obj 101 193 +~ 1;
+#X obj 101 215 *~ 0.5;
+#X obj 101 237 *~;
+#X obj 206 137 sig~;
+#X obj 206 159 lop~ 10;
+#X obj 191 190 *~;
+#X obj 191 212 cos~;
+#X floatatom 101 76 5 0 0 1 frequency - -;
+#X floatatom 206 117 5 0 0 1 ripple - -;
+#X obj 101 299 *~;
+#X floatatom 355 155 5 0 0 1 width - -;
+#X obj 101 352 *~;
+#X obj 101 374 +~ 1;
+#X obj 37 447 /~;
+#X obj 37 374 sig~ 1;
+#X obj 72 525 hip~ 1;
+#X obj 205 21 inlet;
+#X obj 355 21 inlet;
+#X connect 1 0 12 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 0 10 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 14 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 1;
+#X connect 10 0 11 0;
+#X connect 11 0 7 1;
+#X connect 12 0 2 0;
+#X connect 13 0 8 0;
+#X connect 14 0 16 0;
+#X connect 14 0 16 1;
+#X connect 15 0 14 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 1;
+#X connect 18 0 20 0;
+#X connect 19 0 18 0;
+#X connect 20 0 0 0;
+#X connect 21 0 13 0;
+#X connect 22 0 15 0;
+#X restore 417 57 pd OmGen;
+#X obj 104 8 * 2;
+#X obj 741 -101 * 20;
+#N canvas 0 22 703 423 filter 0;
+#X obj 186 210 moog~;
+#X floatatom 226 163 5 0 0 0 - - -;
+#X floatatom 605 120 5 0 0 0 - - -;
+#X msg 182 163 reset;
+#X obj 538 121 +~ 1;
+#X floatatom 538 79 5 0 0 0 - - -;
+#X floatatom 602 144 5 0 0 0 - - -;
+#X obj 538 162 +~ 100;
+#X obj 538 100 osc~ 0.25;
+#X obj 538 141 *~ 2000;
+#X obj 226 182 sig~ 3;
+#X text 272 163 Q (1-4);
+#X obj 68 49 inlet~;
+#X obj 196 319 outlet~;
+#X obj 538 39 inlet;
+#X obj 597 39 inlet;
+#X connect 0 0 13 0;
+#X connect 1 0 10 0;
+#X connect 2 0 9 1;
+#X connect 3 0 0 0;
+#X connect 4 0 9 0;
+#X connect 5 0 8 0;
+#X connect 6 0 7 1;
+#X connect 7 0 0 1;
+#X connect 8 0 4 0;
+#X connect 9 0 7 0;
+#X connect 10 0 0 2;
+#X connect 12 0 0 0;
+#X connect 14 0 5 0;
+#X connect 15 0 1 0;
+#X restore 41 216 pd filter;
+#N canvas 475 228 703 423 filter 0;
+#X obj 186 210 moog~;
+#X floatatom 226 163 5 0 0 0 - - -;
+#X floatatom 605 120 5 0 0 0 - - -;
+#X msg 182 163 reset;
+#X obj 538 121 +~ 1;
+#X floatatom 538 79 5 0 0 0 - - -;
+#X floatatom 602 144 5 0 0 0 - - -;
+#X obj 538 162 +~ 100;
+#X obj 538 100 osc~ 0.25;
+#X obj 538 141 *~ 2000;
+#X obj 226 182 sig~ 3;
+#X text 272 163 Q (1-4);
+#X obj 68 49 inlet~;
+#X obj 196 319 outlet~;
+#X obj 538 39 inlet;
+#X obj 597 39 inlet;
+#X connect 0 0 13 0;
+#X connect 1 0 10 0;
+#X connect 2 0 9 1;
+#X connect 3 0 0 0;
+#X connect 4 0 9 0;
+#X connect 5 0 8 0;
+#X connect 6 0 7 1;
+#X connect 7 0 0 1;
+#X connect 8 0 4 0;
+#X connect 9 0 7 0;
+#X connect 10 0 0 2;
+#X connect 12 0 0 0;
+#X connect 14 0 5 0;
+#X connect 15 0 1 0;
+#X restore 354 216 pd filter;
+#X obj 92 193 r OmGen1_res;
+#X obj 405 193 r OmGen1_res;
+#X text 946 41 a.k.a resonance;
+#X obj 947 -73 * 3.5;
+#X obj 947 -41 clip 1 3.5;
+#N canvas 583 22 906 644 rescalePitch 0;
+#X obj 27 120 ftom;
+#X obj 126 18 inlet;
+#X floatatom 27 62 5 0 0 0 - - -;
+#X obj -115 146 % 12;
+#X floatatom -115 168 5 0 0 1 pitch_class - -;
+#X obj -6 146 / 12;
+#X obj -6 168 - 1;
+#X floatatom -6 190 5 0 0 1 register - -;
+#X floatatom 27 146 5 0 0 1 midi_note - -;
+#X obj 27 38 mtof;
+#X floatatom 27 18 5 0 0 0 - - -;
+#X obj -6 256 * 12;
+#X floatatom 154 250 5 0 0 1 mapped_pitch - -;
+#X obj -21 321 +;
+#X floatatom -21 343 5 0 0 0 - - -;
+#X obj -21 362 mtof;
+#X floatatom -21 384 10 0 0 0 - - -;
+#X obj -21 442 outlet;
+#X obj 27 82 int;
+#X floatatom 27 102 5 0 0 0 - - -;
+#X obj -21 421 line;
+#X obj -6 232 int;
+#X text 330 187 based on Todd Winkler's Scale subpatch \, see p. 198
+of Composing Interactive Music \, 2001 paperback 1st ed.;
+#X msg -21 402 \$1 10;
+#X obj 204 47 sel 0 1 2 3 4 5 6 7 8 9 10 11;
+#X text 331 9 c minor scale;
+#X msg 200 100 0;
+#X msg 233 100 2;
+#X msg 266 100 3;
+#X msg 299 100 5;
+#X msg 331 100 7;
+#X msg 364 100 8;
+#X msg 397 100 8;
+#X connect 0 0 3 0;
+#X connect 0 0 3 0;
+#X connect 0 0 5 0;
+#X connect 0 0 8 0;
+#X connect 1 0 2 0;
+#X connect 2 0 18 0;
+#X connect 3 0 4 0;
+#X connect 4 0 24 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 21 0;
+#X connect 9 0 2 0;
+#X connect 10 0 9 0;
+#X connect 11 0 13 1;
+#X connect 12 0 13 0;
+#X connect 13 0 14 0;
+#X connect 14 0 15 0;
+#X connect 15 0 16 0;
+#X connect 16 0 23 0;
+#X connect 18 0 19 0;
+#X connect 19 0 0 0;
+#X connect 20 0 17 0;
+#X connect 21 0 11 0;
+#X connect 23 0 20 0;
+#X connect 24 0 26 0;
+#X connect 24 1 26 0;
+#X connect 24 2 27 0;
+#X connect 24 3 28 0;
+#X connect 24 4 28 0;
+#X connect 24 5 29 0;
+#X connect 24 6 29 0;
+#X connect 24 7 30 0;
+#X connect 24 8 30 0;
+#X connect 24 9 31 0;
+#X connect 24 10 31 0;
+#X connect 24 11 32 0;
+#X connect 26 0 12 0;
+#X connect 27 0 12 0;
+#X connect 28 0 12 0;
+#X connect 29 0 12 0;
+#X connect 30 0 12 0;
+#X connect 31 0 12 0;
+#X connect 32 0 12 0;
+#X restore 20 -68 pd rescalePitch;
+#X obj 20 -127 * 1000;
+#X obj 79 -127 * 0.55;
+#X obj 393 -96 * 0.55;
+#X obj 417 9 * 2;
+#X obj 343 -141 * 1000;
+#N canvas 442 125 906 644 rescalePitch2 0;
+#X obj 27 120 ftom;
+#X obj 126 18 inlet;
+#X floatatom 27 62 5 0 0 0 - - -;
+#X obj -115 146 % 12;
+#X floatatom -115 168 5 0 0 1 pitch_class - -;
+#X obj -6 146 / 12;
+#X obj -6 168 - 1;
+#X floatatom -6 190 5 0 0 1 register - -;
+#X floatatom 27 146 5 0 0 1 midi_note - -;
+#X obj 27 38 mtof;
+#X floatatom 27 18 5 0 0 0 - - -;
+#X obj -6 256 * 12;
+#X obj -21 321 +;
+#X floatatom -21 343 5 0 0 0 - - -;
+#X obj -21 364 mtof;
+#X floatatom -21 386 10 0 0 0 - - -;
+#X obj -21 475 outlet;
+#X obj 27 82 int;
+#X floatatom 27 102 5 0 0 0 - - -;
+#X obj -21 454 line;
+#X obj -6 232 int;
+#X msg -21 435 \$1 10;
+#X obj -21 405 + 0.75;
+#X floatatom 154 250 5 0 0 1 mapped_pitch - -;
+#X obj 204 47 sel 0 1 2 3 4 5 6 7 8 9 10 11;
+#X msg 200 100 0;
+#X msg 233 100 2;
+#X msg 266 100 3;
+#X msg 299 100 5;
+#X msg 331 100 7;
+#X msg 364 100 8;
+#X msg 397 100 8;
+#X text 330 187 based on Todd Winkler's Scale subpatch \, see p. 198
+of Composing Interactive Music \, 2001 paperback 1st ed.;
+#X connect 0 0 3 0;
+#X connect 0 0 3 0;
+#X connect 0 0 5 0;
+#X connect 0 0 8 0;
+#X connect 1 0 2 0;
+#X connect 2 0 17 0;
+#X connect 3 0 4 0;
+#X connect 4 0 24 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 20 0;
+#X connect 9 0 2 0;
+#X connect 10 0 9 0;
+#X connect 11 0 12 1;
+#X connect 12 0 13 0;
+#X connect 13 0 14 0;
+#X connect 14 0 15 0;
+#X connect 15 0 22 0;
+#X connect 17 0 18 0;
+#X connect 18 0 0 0;
+#X connect 19 0 16 0;
+#X connect 20 0 11 0;
+#X connect 21 0 19 0;
+#X connect 22 0 21 0;
+#X connect 23 0 12 0;
+#X connect 24 0 25 0;
+#X connect 24 1 25 0;
+#X connect 24 2 26 0;
+#X connect 24 3 27 0;
+#X connect 24 4 27 0;
+#X connect 24 5 28 0;
+#X connect 24 6 28 0;
+#X connect 24 7 29 0;
+#X connect 24 8 29 0;
+#X connect 24 9 30 0;
+#X connect 24 10 30 0;
+#X connect 24 11 31 0;
+#X connect 25 0 23 0;
+#X connect 26 0 23 0;
+#X connect 27 0 23 0;
+#X connect 28 0 23 0;
+#X connect 29 0 23 0;
+#X connect 30 0 23 0;
+#X connect 31 0 23 0;
+#X restore 293 -78 pd rescalePitch2;
+#X obj 149 9 r OmGen2_width;
+#X obj 243 9 r OmGen2_ripple;
+#X obj 462 9 r OmGen2_width;
+#X obj 555 9 r OmGen2_ripple;
+#X obj 741 66 s OmGen2_width;
+#X obj 846 -14 s OmGen2_ripple;
+#X obj 947 13 s OmGen2_res;
+#X connect 0 0 49 2;
+#X connect 1 0 0 0;
+#X connect 2 0 1 0;
+#X connect 3 0 88 0;
+#X connect 4 0 89 0;
+#X connect 5 0 2 0;
+#X connect 6 0 92 0;
+#X connect 7 0 90 0;
+#X connect 9 0 80 1;
+#X connect 10 0 9 0;
+#X connect 11 0 98 0;
+#X connect 12 0 100 0;
+#X connect 13 0 21 0;
+#X connect 14 0 13 0;
+#X connect 15 0 79 0;
+#X connect 16 0 15 0;
+#X connect 17 0 61 0;
+#X connect 18 0 65 0;
+#X connect 19 0 85 0;
+#X connect 20 0 19 0;
+#X connect 21 0 22 1;
+#X connect 21 0 53 1;
+#X connect 22 0 48 0;
+#X connect 23 0 17 0;
+#X connect 24 0 16 0;
+#X connect 25 0 18 0;
+#X connect 26 0 20 0;
+#X connect 27 0 14 0;
+#X connect 28 0 50 0;
+#X connect 29 0 50 1;
+#X connect 30 0 31 0;
+#X connect 31 0 33 0;
+#X connect 32 0 48 1;
+#X connect 32 0 54 1;
+#X connect 33 0 45 0;
+#X connect 33 1 46 0;
+#X connect 34 0 42 0;
+#X connect 35 0 36 0;
+#X connect 36 0 37 0;
+#X connect 36 0 38 0;
+#X connect 37 0 42 0;
+#X connect 39 0 35 0;
+#X connect 40 0 32 0;
+#X connect 40 0 39 0;
+#X connect 42 0 41 0;
+#X connect 43 0 32 0;
+#X connect 43 0 39 0;
+#X connect 44 0 39 0;
+#X connect 45 0 34 0;
+#X connect 45 1 43 0;
+#X connect 45 2 47 0;
+#X connect 46 0 40 0;
+#X connect 46 1 44 0;
+#X connect 47 0 39 0;
+#X connect 48 0 8 0;
+#X connect 49 0 51 0;
+#X connect 50 0 80 0;
+#X connect 51 0 22 0;
+#X connect 51 0 53 0;
+#X connect 53 0 54 0;
+#X connect 54 0 52 0;
+#X connect 55 0 28 0;
+#X connect 56 0 55 0;
+#X connect 56 0 78 0;
+#X connect 57 0 87 0;
+#X connect 58 0 29 0;
+#X connect 61 0 60 0;
+#X connect 63 0 11 0;
+#X connect 64 0 99 0;
+#X connect 65 0 66 0;
+#X connect 66 0 67 0;
+#X connect 67 0 64 0;
+#X connect 69 0 81 1;
+#X connect 70 0 69 0;
+#X connect 71 0 73 0;
+#X connect 72 0 73 1;
+#X connect 73 0 81 0;
+#X connect 74 0 71 0;
+#X connect 75 0 74 0;
+#X connect 75 0 91 0;
+#X connect 76 0 93 0;
+#X connect 77 0 72 0;
+#X connect 78 0 58 0;
+#X connect 79 0 63 0;
+#X connect 80 0 49 0;
+#X connect 81 0 49 1;
+#X connect 82 0 80 2;
+#X connect 83 0 81 2;
+#X connect 85 0 86 0;
+#X connect 86 0 12 0;
+#X connect 87 0 56 0;
+#X connect 88 0 57 0;
+#X connect 89 0 10 0;
+#X connect 90 0 70 0;
+#X connect 91 0 77 0;
+#X connect 92 0 76 0;
+#X connect 93 0 75 0;
+#X connect 94 0 55 2;
+#X connect 94 0 58 2;
+#X connect 95 0 58 1;
+#X connect 95 0 55 1;
+#X connect 96 0 74 2;
+#X connect 96 0 77 2;
+#X connect 97 0 77 1;
+#X connect 97 0 74 1;
+#X restore 440 362 pd voice2_________________________________;
+#N canvas 187 108 1335 800 voice3_________________________________
+0;
+#X floatatom 206 -40 5 0 0 0 - - -;
+#X obj 206 -68 line;
+#X obj 206 -96 pack f 200;
+#X obj 40 -175 inlet;
+#X obj 79 -175 inlet;
+#X obj 206 -144 inlet;
+#X obj 343 -173 inlet;
+#X obj 393 -144 inlet;
+#X obj 40 571 outlet~;
+#X floatatom 79 -40 5 0 0 0 - - -;
+#X obj 79 -99 + 0.001;
+#X floatatom 741 -42 5 0 0 0 - - -;
+#X floatatom 947 -11 5 0 0 0 - - -;
+#X obj 1049 -130 line;
+#X obj 1049 -159 pack f 200;
+#X obj 741 -130 line;
+#X obj 741 -159 pack f 200;
+#X obj 641 -159 pack f 200;
+#X obj 846 -159 pack f 200;
+#X obj 947 -130 line;
+#X obj 947 -159 pack f 200;
+#X floatatom 1050 -18 5 0 0 0 - - -;
+#X obj 41 469 *~ 0.4;
+#X obj 641 -187 inlet;
+#X obj 741 -187 inlet;
+#X obj 846 -187 inlet;
+#X obj 947 -187 inlet;
+#X obj 1049 -187 inlet;
+#X obj 41 97 *~ 0.7;
+#X obj 104 101 *~ 0.5;
+#X obj 1165 -181 inlet;
+#X obj 1165 -101 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1
+0 1;
+#X obj 1194 38 vline~;
+#X obj 1165 -71 select 1;
+#X msg 1165 7 1;
+#X floatatom 1281 87 5 0 0 0 - - -;
+#X obj 1281 110 select 0;
+#X msg 1281 138 0;
+#X obj 1211 117 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 1281 60 line;
+#X msg 1194 6 0 500;
+#X obj 1165 180 switch~;
+#X floatatom 1165 150 5 0 0 0 - - -;
+#X msg 1237 6 1 500;
+#X msg 1331 7 1 500;
+#X obj 1165 -27 t b b b;
+#X obj 1222 -28 t b b b;
+#X msg 1283 7 0 1500;
+#X obj 40 498 *~;
+#N canvas 0 22 687 515 crossfade 0;
+#X obj 158 33 inlet~;
+#X obj 202 33 inlet;
+#X obj 161 255 *~;
+#X text 203 14 crossfade;
+#X obj 70 33 inlet~;
+#X obj 73 255 *~;
+#X obj 146 284 +~;
+#X obj 146 313 outlet~;
+#X obj 177 187 sin;
+#X obj 84 185 cos;
+#X text 68 15 1;
+#X text 159 14 2;
+#X obj 202 58 * 2;
+#X obj 202 80 - 1;
+#X obj 202 102 + 1;
+#X obj 202 124 / 4;
+#X obj 202 146 * 3.14159;
+#X floatatom 202 168 5 0 0 0 - - -;
+#X msg 176 208 \$1 60;
+#X obj 176 230 line~;
+#X msg 84 208 \$1 60;
+#X obj 85 232 line~;
+#X text 77 367 adapted from http://puredata.hurleur.com/sujet-5326-stereo-crossfader-adjustable-curve
+(as used by 76synth);
+#X connect 0 0 2 0;
+#X connect 1 0 12 0;
+#X connect 2 0 6 1;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 8 0 18 0;
+#X connect 9 0 20 0;
+#X connect 12 0 13 0;
+#X connect 13 0 14 0;
+#X connect 14 0 15 0;
+#X connect 15 0 16 0;
+#X connect 16 0 17 0;
+#X connect 17 0 8 0;
+#X connect 17 0 9 0;
+#X connect 18 0 19 0;
+#X connect 19 0 2 1;
+#X connect 20 0 21 0;
+#X connect 21 0 5 1;
+#X restore 41 261 pd crossfade;
+#X obj 41 163 +~;
+#N canvas 394 175 839 516 schroederReverb 0;
+#X obj 82 91 +~;
+#X obj 82 18 inlet~;
+#X obj 142 91 +~;
+#X obj 327 213 +~;
+#X obj 327 254 +~;
+#X obj 327 293 *~ 0.4;
+#X obj 359 213 -~;
+#X obj 376 293 *~ 0.37;
+#X obj 359 254 +~;
+#X obj 82 247 outlet~;
+#X obj 142 247 outlet~;
+#X obj 390 213 +~;
+#X obj 420 213 -~;
+#X obj 390 254 -~;
+#X obj 421 254 -~;
+#X obj 431 294 *~ 0.333;
+#X obj 492 294 *~ 0.3;
+#X text 427 454 Schroeder reverb \, source: Andy Farnell's Designing
+Sound \, page 234 \, Claude Heiland-Allen credited;
+#X obj 127 18 delread~ drom3A 101;
+#X obj 250 18 delread~ drom3B 143;
+#X obj 373 18 delread~ drom3C 165;
+#X obj 496 18 delread~ drom3D 177;
+#X obj 492 341 delwrite~ drom3D 1000;
+#X obj 357 341 delwrite~ drom3C 1000;
+#X obj 222 341 delwrite~ drom3B 1000;
+#X obj 87 341 delwrite~ drom3A 1000;
+#X connect 0 0 3 0;
+#X connect 0 0 9 0;
+#X connect 0 0 6 0;
+#X connect 1 0 0 0;
+#X connect 1 0 2 0;
+#X connect 2 0 10 0;
+#X connect 2 0 6 1;
+#X connect 2 0 3 1;
+#X connect 3 0 4 0;
+#X connect 3 0 13 0;
+#X connect 4 0 5 0;
+#X connect 5 0 25 0;
+#X connect 6 0 8 0;
+#X connect 6 0 14 0;
+#X connect 7 0 24 0;
+#X connect 8 0 7 0;
+#X connect 11 0 13 1;
+#X connect 11 0 4 1;
+#X connect 12 0 14 1;
+#X connect 12 0 8 1;
+#X connect 13 0 15 0;
+#X connect 14 0 16 0;
+#X connect 15 0 23 0;
+#X connect 16 0 22 0;
+#X connect 18 0 0 1;
+#X connect 19 0 2 1;
+#X connect 20 0 11 0;
+#X connect 20 0 12 0;
+#X connect 21 0 11 1;
+#X connect 21 0 12 1;
+#X restore 41 297 pd schroederReverb;
+#X obj 142 570 outlet~;
+#X obj 143 466 *~ 0.4;
+#X obj 142 495 *~;
+#N canvas 404 50 889 639 OmGen 0;
+#X obj 250 596 outlet~;
+#X obj 101 22 inlet;
+#X obj 101 127 phasor~ 100;
+#X obj 101 149 -~ 0.5;
+#X obj 101 171 cos~;
+#X obj 101 193 +~ 1;
+#X obj 101 215 *~ 0.5;
+#X obj 101 237 *~;
+#X obj 206 137 sig~;
+#X obj 206 159 lop~ 10;
+#X obj 191 190 *~;
+#X obj 191 212 cos~;
+#X floatatom 101 76 5 0 0 1 frequency - -;
+#X floatatom 206 117 5 0 0 1 ripple - -;
+#X obj 101 299 *~;
+#X floatatom 355 155 5 0 0 1 width - -;
+#X obj 101 352 *~;
+#X obj 101 374 +~ 1;
+#X obj 37 447 /~;
+#X obj 37 374 sig~ 1;
+#X obj 40 504 hip~ 1;
+#X obj 205 21 inlet;
+#X obj 355 21 inlet;
+#X connect 1 0 12 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 0 10 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 14 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 1;
+#X connect 10 0 11 0;
+#X connect 11 0 7 1;
+#X connect 12 0 2 0;
+#X connect 13 0 8 0;
+#X connect 14 0 16 0;
+#X connect 14 0 16 1;
+#X connect 15 0 14 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 1;
+#X connect 18 0 20 0;
+#X connect 19 0 18 0;
+#X connect 20 0 0 0;
+#X connect 21 0 13 0;
+#X connect 22 0 15 0;
+#X restore 41 52 pd OmGen;
+#X floatatom 22 -26 5 0 0 0 - - -;
+#X obj 20 -99 + 80;
+#N canvas 404 50 889 639 OmGen 0;
+#X obj 250 596 outlet~;
+#X obj 101 22 inlet;
+#X obj 101 127 phasor~ 100;
+#X obj 101 149 -~ 0.5;
+#X obj 101 171 cos~;
+#X obj 101 193 +~ 1;
+#X obj 101 215 *~ 0.5;
+#X obj 101 237 *~;
+#X obj 206 137 sig~;
+#X obj 206 159 lop~ 10;
+#X obj 191 190 *~;
+#X obj 191 212 cos~;
+#X floatatom 101 76 5 0 0 1 frequency - -;
+#X floatatom 206 117 5 0 0 1 ripple - -;
+#X obj 101 299 *~;
+#X floatatom 355 155 5 0 0 1 width - -;
+#X obj 101 352 *~;
+#X obj 101 374 +~ 1;
+#X obj 37 447 /~;
+#X obj 37 374 sig~ 1;
+#X obj 40 504 hip~ 1;
+#X obj 205 21 inlet;
+#X obj 355 21 inlet;
+#X connect 1 0 12 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 0 10 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 14 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 1;
+#X connect 10 0 11 0;
+#X connect 11 0 7 1;
+#X connect 12 0 2 0;
+#X connect 13 0 8 0;
+#X connect 14 0 16 0;
+#X connect 14 0 16 1;
+#X connect 15 0 14 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 1;
+#X connect 18 0 20 0;
+#X connect 19 0 18 0;
+#X connect 20 0 0 0;
+#X connect 21 0 13 0;
+#X connect 22 0 15 0;
+#X restore 104 53 pd OmGen;
+#X text 738 85 a.k.a. depth;
+#X floatatom 641 -41 5 0 0 0 - - -;
+#X obj 641 -129 line;
+#X text 638 -15 a.k.a. speed;
+#X obj 741 -71 + 5;
+#X floatatom 846 -42 5 0 0 0 - - -;
+#X obj 846 -130 line;
+#X obj 846 -101 * 10;
+#X obj 846 -71 + 2;
+#X text 843 5 a.k.a. freq;
+#X floatatom 393 -40 5 0 0 0 - - -;
+#X obj 393 -68 + 0.001;
+#X obj 354 101 *~ 0.7;
+#X obj 417 101 *~ 0.5;
+#X obj 354 167 +~;
+#N canvas 404 50 889 639 OmGen 0;
+#X obj 250 596 outlet~;
+#X obj 101 22 inlet;
+#X obj 101 127 phasor~ 100;
+#X obj 101 149 -~ 0.5;
+#X obj 101 171 cos~;
+#X obj 101 193 +~ 1;
+#X obj 101 215 *~ 0.5;
+#X obj 101 237 *~;
+#X obj 206 137 sig~;
+#X obj 206 159 lop~ 10;
+#X obj 191 190 *~;
+#X obj 191 212 cos~;
+#X floatatom 101 76 5 0 0 1 frequency - -;
+#X floatatom 206 117 5 0 0 1 ripple - -;
+#X obj 101 299 *~;
+#X floatatom 355 155 5 0 0 1 width - -;
+#X obj 101 352 *~;
+#X obj 101 374 +~ 1;
+#X obj 37 447 /~;
+#X obj 37 374 sig~ 1;
+#X obj 40 504 hip~ 1;
+#X obj 205 21 inlet;
+#X obj 355 21 inlet;
+#X connect 1 0 12 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 0 10 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 14 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 1;
+#X connect 10 0 11 0;
+#X connect 11 0 7 1;
+#X connect 12 0 2 0;
+#X connect 13 0 8 0;
+#X connect 14 0 16 0;
+#X connect 14 0 16 1;
+#X connect 15 0 14 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 1;
+#X connect 18 0 20 0;
+#X connect 19 0 18 0;
+#X connect 20 0 0 0;
+#X connect 21 0 13 0;
+#X connect 22 0 15 0;
+#X restore 354 56 pd OmGen;
+#X floatatom 354 -40 5 0 0 0 - - -;
+#X obj 343 -113 + 80;
+#N canvas 404 50 889 639 OmGen 0;
+#X obj 250 596 outlet~;
+#X obj 101 22 inlet;
+#X obj 101 127 phasor~ 100;
+#X obj 101 149 -~ 0.5;
+#X obj 101 171 cos~;
+#X obj 101 193 +~ 1;
+#X obj 101 215 *~ 0.5;
+#X obj 101 237 *~;
+#X obj 206 137 sig~;
+#X obj 206 159 lop~ 10;
+#X obj 191 190 *~;
+#X obj 191 212 cos~;
+#X floatatom 101 76 5 0 0 1 frequency - -;
+#X floatatom 206 117 5 0 0 1 ripple - -;
+#X obj 101 299 *~;
+#X floatatom 355 155 5 0 0 1 width - -;
+#X obj 101 352 *~;
+#X obj 101 374 +~ 1;
+#X obj 37 447 /~;
+#X obj 37 374 sig~ 1;
+#X obj 72 525 hip~ 1;
+#X obj 205 21 inlet;
+#X obj 355 21 inlet;
+#X connect 1 0 12 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 0 10 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 14 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 1;
+#X connect 10 0 11 0;
+#X connect 11 0 7 1;
+#X connect 12 0 2 0;
+#X connect 13 0 8 0;
+#X connect 14 0 16 0;
+#X connect 14 0 16 1;
+#X connect 15 0 14 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 1;
+#X connect 18 0 20 0;
+#X connect 19 0 18 0;
+#X connect 20 0 0 0;
+#X connect 21 0 13 0;
+#X connect 22 0 15 0;
+#X restore 417 57 pd OmGen;
+#X obj 104 8 * 2;
+#X obj 741 -101 * 20;
+#N canvas 0 22 703 423 filter 0;
+#X obj 186 210 moog~;
+#X floatatom 226 163 5 0 0 0 - - -;
+#X floatatom 605 120 5 0 0 0 - - -;
+#X msg 182 163 reset;
+#X obj 538 121 +~ 1;
+#X floatatom 538 79 5 0 0 0 - - -;
+#X floatatom 602 144 5 0 0 0 - - -;
+#X obj 538 162 +~ 100;
+#X obj 538 100 osc~ 0.25;
+#X obj 538 141 *~ 2000;
+#X obj 226 182 sig~ 3;
+#X text 272 163 Q (1-4);
+#X obj 68 49 inlet~;
+#X obj 196 319 outlet~;
+#X obj 538 39 inlet;
+#X obj 597 39 inlet;
+#X connect 0 0 13 0;
+#X connect 1 0 10 0;
+#X connect 2 0 9 1;
+#X connect 3 0 0 0;
+#X connect 4 0 9 0;
+#X connect 5 0 8 0;
+#X connect 6 0 7 1;
+#X connect 7 0 0 1;
+#X connect 8 0 4 0;
+#X connect 9 0 7 0;
+#X connect 10 0 0 2;
+#X connect 12 0 0 0;
+#X connect 14 0 5 0;
+#X connect 15 0 1 0;
+#X restore 41 216 pd filter;
+#N canvas 475 228 703 423 filter 0;
+#X obj 186 210 moog~;
+#X floatatom 226 163 5 0 0 0 - - -;
+#X floatatom 605 120 5 0 0 0 - - -;
+#X msg 182 163 reset;
+#X obj 538 121 +~ 1;
+#X floatatom 538 79 5 0 0 0 - - -;
+#X floatatom 602 144 5 0 0 0 - - -;
+#X obj 538 162 +~ 100;
+#X obj 538 100 osc~ 0.25;
+#X obj 538 141 *~ 2000;
+#X obj 226 182 sig~ 3;
+#X text 272 163 Q (1-4);
+#X obj 68 49 inlet~;
+#X obj 196 319 outlet~;
+#X obj 538 39 inlet;
+#X obj 597 39 inlet;
+#X connect 0 0 13 0;
+#X connect 1 0 10 0;
+#X connect 2 0 9 1;
+#X connect 3 0 0 0;
+#X connect 4 0 9 0;
+#X connect 5 0 8 0;
+#X connect 6 0 7 1;
+#X connect 7 0 0 1;
+#X connect 8 0 4 0;
+#X connect 9 0 7 0;
+#X connect 10 0 0 2;
+#X connect 12 0 0 0;
+#X connect 14 0 5 0;
+#X connect 15 0 1 0;
+#X restore 354 216 pd filter;
+#X obj 92 193 r OmGen1_res;
+#X obj 405 193 r OmGen1_res;
+#X text 946 41 a.k.a resonance;
+#X obj 947 -73 * 3.5;
+#X obj 947 -41 clip 1 3.5;
+#N canvas 306 22 906 644 rescalePitch 0;
+#X obj 27 120 ftom;
+#X obj 126 18 inlet;
+#X floatatom 27 62 5 0 0 0 - - -;
+#X obj -115 146 % 12;
+#X floatatom -115 168 5 0 0 1 pitch_class - -;
+#X obj -6 146 / 12;
+#X obj -6 168 - 1;
+#X floatatom -6 190 5 0 0 1 register - -;
+#X floatatom 27 146 5 0 0 1 midi_note - -;
+#X obj 27 38 mtof;
+#X floatatom 27 18 5 0 0 0 - - -;
+#X obj -6 256 * 12;
+#X obj -21 321 +;
+#X floatatom -21 343 5 0 0 0 - - -;
+#X obj -21 362 mtof;
+#X floatatom -21 384 10 0 0 0 - - -;
+#X obj -21 442 outlet;
+#X obj 27 82 int;
+#X floatatom 27 102 5 0 0 0 - - -;
+#X obj -21 421 line;
+#X obj -6 232 int;
+#X msg -21 402 \$1 10;
+#X floatatom 147 331 5 0 0 1 mapped_pitch - -;
+#X obj 297 85 sel 0 1 2 3 4 5 6 7 8 9 10 11;
+#X msg 193 181 0;
+#X text 323 268 based on Todd Winkler's Scale subpatch \, see p. 198
+of Composing Interactive Music \, 2001 paperback 1st ed.;
+#X msg 226 181 1;
+#X msg 259 181 2;
+#X msg 292 181 3;
+#X msg 324 181 4;
+#X msg 357 181 5;
+#X msg 390 181 6;
+#X msg 422 181 7;
+#X msg 455 181 8;
+#X msg 488 181 9;
+#X msg 521 181 10;
+#X msg 553 181 11;
+#X text 385 584 comment;
+#X text 467 41 chromatic scale;
+#X connect 0 0 3 0;
+#X connect 0 0 3 0;
+#X connect 0 0 5 0;
+#X connect 0 0 8 0;
+#X connect 1 0 2 0;
+#X connect 2 0 17 0;
+#X connect 3 0 4 0;
+#X connect 4 0 23 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 20 0;
+#X connect 9 0 2 0;
+#X connect 10 0 9 0;
+#X connect 11 0 12 1;
+#X connect 12 0 13 0;
+#X connect 13 0 14 0;
+#X connect 14 0 15 0;
+#X connect 15 0 21 0;
+#X connect 17 0 18 0;
+#X connect 18 0 0 0;
+#X connect 19 0 16 0;
+#X connect 20 0 11 0;
+#X connect 21 0 19 0;
+#X connect 22 0 12 0;
+#X connect 23 0 24 0;
+#X connect 23 1 26 0;
+#X connect 23 2 27 0;
+#X connect 23 3 28 0;
+#X connect 23 4 29 0;
+#X connect 23 5 30 0;
+#X connect 23 6 31 0;
+#X connect 23 7 32 0;
+#X connect 23 8 33 0;
+#X connect 23 9 34 0;
+#X connect 23 10 35 0;
+#X connect 23 11 36 0;
+#X connect 24 0 22 0;
+#X connect 26 0 22 0;
+#X connect 27 0 22 0;
+#X connect 28 0 22 0;
+#X connect 29 0 22 0;
+#X connect 30 0 22 0;
+#X connect 31 0 22 0;
+#X connect 32 0 22 0;
+#X connect 33 0 22 0;
+#X connect 34 0 22 0;
+#X connect 35 0 22 0;
+#X connect 36 0 22 0;
+#X restore 20 -68 pd rescalePitch;
+#X obj 20 -127 * 1000;
+#X obj 79 -127 * 0.55;
+#X obj 393 -96 * 0.55;
+#X obj 417 9 * 2;
+#X obj 343 -141 * 1000;
+#N canvas 442 125 906 644 rescalePitch2 0;
+#X obj 27 120 ftom;
+#X obj 126 18 inlet;
+#X floatatom 27 62 5 0 0 0 - - -;
+#X obj -115 146 % 12;
+#X floatatom -115 168 5 0 0 1 pitch_class - -;
+#X obj -6 146 / 12;
+#X obj -6 168 - 1;
+#X floatatom -6 190 5 0 0 1 register - -;
+#X floatatom 27 146 5 0 0 1 midi_note - -;
+#X obj 27 38 mtof;
+#X floatatom 27 18 5 0 0 0 - - -;
+#X obj -6 256 * 12;
+#X obj -21 321 +;
+#X floatatom -21 343 5 0 0 0 - - -;
+#X obj -21 364 mtof;
+#X floatatom -21 386 10 0 0 0 - - -;
+#X obj -21 475 outlet;
+#X obj 27 82 int;
+#X floatatom 27 102 5 0 0 0 - - -;
+#X obj -21 454 line;
+#X obj -6 232 int;
+#X msg -21 435 \$1 10;
+#X obj -21 405 + 0.75;
+#X floatatom 147 331 5 0 0 1 mapped_pitch - -;
+#X obj 297 85 sel 0 1 2 3 4 5 6 7 8 9 10 11;
+#X msg 193 181 0;
+#X text 323 268 based on Todd Winkler's Scale subpatch \, see p. 198
+of Composing Interactive Music \, 2001 paperback 1st ed.;
+#X msg 226 181 1;
+#X msg 259 181 2;
+#X msg 292 181 3;
+#X msg 324 181 4;
+#X msg 357 181 5;
+#X msg 390 181 6;
+#X msg 422 181 7;
+#X msg 455 181 8;
+#X msg 488 181 9;
+#X msg 521 181 10;
+#X msg 553 181 11;
+#X text 467 41 chromatic scale;
+#X connect 0 0 3 0;
+#X connect 0 0 3 0;
+#X connect 0 0 5 0;
+#X connect 0 0 8 0;
+#X connect 1 0 2 0;
+#X connect 2 0 17 0;
+#X connect 3 0 4 0;
+#X connect 4 0 24 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 20 0;
+#X connect 9 0 2 0;
+#X connect 10 0 9 0;
+#X connect 11 0 12 1;
+#X connect 12 0 13 0;
+#X connect 13 0 14 0;
+#X connect 14 0 15 0;
+#X connect 15 0 22 0;
+#X connect 17 0 18 0;
+#X connect 18 0 0 0;
+#X connect 19 0 16 0;
+#X connect 20 0 11 0;
+#X connect 21 0 19 0;
+#X connect 22 0 21 0;
+#X connect 23 0 12 0;
+#X connect 24 0 25 0;
+#X connect 24 1 27 0;
+#X connect 24 2 28 0;
+#X connect 24 3 29 0;
+#X connect 24 4 30 0;
+#X connect 24 5 31 0;
+#X connect 24 6 32 0;
+#X connect 24 7 33 0;
+#X connect 24 8 34 0;
+#X connect 24 9 35 0;
+#X connect 24 10 36 0;
+#X connect 24 11 37 0;
+#X connect 25 0 23 0;
+#X connect 27 0 23 0;
+#X connect 28 0 23 0;
+#X connect 29 0 23 0;
+#X connect 30 0 23 0;
+#X connect 31 0 23 0;
+#X connect 32 0 23 0;
+#X connect 33 0 23 0;
+#X connect 34 0 23 0;
+#X connect 35 0 23 0;
+#X connect 36 0 23 0;
+#X connect 37 0 23 0;
+#X restore 293 -78 pd rescalePitch2;
+#X obj 149 9 r OmGen3_width;
+#X obj 243 9 r OmGen3_ripple;
+#X obj 462 9 r OmGen3_width;
+#X obj 555 9 r OmGen3_ripple;
+#X obj 741 66 s OmGen3_width;
+#X obj 846 -14 s OmGen3_ripple;
+#X obj 947 13 s OmGen3_res;
+#X connect 0 0 49 2;
+#X connect 1 0 0 0;
+#X connect 2 0 1 0;
+#X connect 3 0 88 0;
+#X connect 4 0 89 0;
+#X connect 5 0 2 0;
+#X connect 6 0 92 0;
+#X connect 7 0 90 0;
+#X connect 9 0 80 1;
+#X connect 10 0 9 0;
+#X connect 11 0 98 0;
+#X connect 12 0 100 0;
+#X connect 13 0 21 0;
+#X connect 14 0 13 0;
+#X connect 15 0 79 0;
+#X connect 16 0 15 0;
+#X connect 17 0 61 0;
+#X connect 18 0 65 0;
+#X connect 19 0 85 0;
+#X connect 20 0 19 0;
+#X connect 21 0 22 1;
+#X connect 21 0 53 1;
+#X connect 22 0 48 0;
+#X connect 23 0 17 0;
+#X connect 24 0 16 0;
+#X connect 25 0 18 0;
+#X connect 26 0 20 0;
+#X connect 27 0 14 0;
+#X connect 28 0 50 0;
+#X connect 29 0 50 1;
+#X connect 30 0 31 0;
+#X connect 31 0 33 0;
+#X connect 32 0 48 1;
+#X connect 32 0 54 1;
+#X connect 33 0 45 0;
+#X connect 33 1 46 0;
+#X connect 34 0 42 0;
+#X connect 35 0 36 0;
+#X connect 36 0 37 0;
+#X connect 36 0 38 0;
+#X connect 37 0 42 0;
+#X connect 39 0 35 0;
+#X connect 40 0 32 0;
+#X connect 40 0 39 0;
+#X connect 42 0 41 0;
+#X connect 43 0 32 0;
+#X connect 43 0 39 0;
+#X connect 44 0 39 0;
+#X connect 45 0 34 0;
+#X connect 45 1 43 0;
+#X connect 45 2 47 0;
+#X connect 46 0 40 0;
+#X connect 46 1 44 0;
+#X connect 47 0 39 0;
+#X connect 48 0 8 0;
+#X connect 49 0 51 0;
+#X connect 50 0 80 0;
+#X connect 51 0 22 0;
+#X connect 51 0 53 0;
+#X connect 53 0 54 0;
+#X connect 54 0 52 0;
+#X connect 55 0 28 0;
+#X connect 56 0 55 0;
+#X connect 56 0 78 0;
+#X connect 57 0 87 0;
+#X connect 58 0 29 0;
+#X connect 61 0 60 0;
+#X connect 63 0 11 0;
+#X connect 64 0 99 0;
+#X connect 65 0 66 0;
+#X connect 66 0 67 0;
+#X connect 67 0 64 0;
+#X connect 69 0 81 1;
+#X connect 70 0 69 0;
+#X connect 71 0 73 0;
+#X connect 72 0 73 1;
+#X connect 73 0 81 0;
+#X connect 74 0 71 0;
+#X connect 75 0 74 0;
+#X connect 75 0 91 0;
+#X connect 76 0 93 0;
+#X connect 77 0 72 0;
+#X connect 78 0 58 0;
+#X connect 79 0 63 0;
+#X connect 80 0 49 0;
+#X connect 81 0 49 1;
+#X connect 82 0 80 2;
+#X connect 83 0 81 2;
+#X connect 85 0 86 0;
+#X connect 86 0 12 0;
+#X connect 87 0 56 0;
+#X connect 88 0 57 0;
+#X connect 89 0 10 0;
+#X connect 90 0 70 0;
+#X connect 91 0 77 0;
+#X connect 92 0 76 0;
+#X connect 93 0 75 0;