ev_pix_fx.pd 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. #N canvas 190 67 697 540 10;
  2. #N canvas 368 70 422 293 init 0;
  3. #X obj 81 -166 loadbang;
  4. #X obj 81 -142 list append \$1;
  5. #X obj 60 -164 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  6. -1 -1;
  7. #X msg 80 -115 \; /ev/base/\$1/state 1 \; /ev/base/\$1/parameter/1
  8. 1 \; /ev/base/\$1/parameter/2 1 \; /ev/base/\$1/parameter/3 1 \; /ev/base/\$1/parameter/4
  9. 1 \; /ev/base/\$1/parameter/5 0 \; /ev/base/\$1/parameter/6 0 \; /ev/base/\$1/parameter/7
  10. 0 \; /ev/base/\$1/parameter/8 0;
  11. #X text 38 -214 In here \, all parameters get initialised with a starting
  12. value. Add variables and change their init value in this list:;
  13. #X connect 0 0 1 0;
  14. #X connect 1 0 3 0;
  15. #X connect 2 0 1 0;
  16. #X restore 324 27 pd init;
  17. #N canvas 329 203 823 433 storage_&_osc 0;
  18. #X obj 43 118 ds_reg \$2 /ev/base/\$1/parameter/1;
  19. #X obj 463 118 osc_bi \$2 /ev/base/\$1/parameter/1;
  20. #X obj 43 138 ds_reg \$2 /ev/base/\$1/parameter/2;
  21. #X obj 43 158 ds_reg \$2 /ev/base/\$1/parameter/3;
  22. #X obj 43 178 ds_reg \$2 /ev/base/\$1/parameter/4;
  23. #X obj 43 198 ds_reg \$2 /ev/base/\$1/parameter/5;
  24. #X obj 43 218 ds_reg \$2 /ev/base/\$1/parameter/6;
  25. #X obj 43 238 ds_reg \$2 /ev/base/\$1/parameter/7;
  26. #X obj 43 258 ds_reg \$2 /ev/base/\$1/parameter/8;
  27. #X obj 463 138 osc_bi \$2 /ev/base/\$1/parameter/2;
  28. #X obj 463 158 osc_bi \$2 /ev/base/\$1/parameter/3;
  29. #X obj 463 178 osc_bi \$2 /ev/base/\$1/parameter/4;
  30. #X obj 463 198 osc_bi \$2 /ev/base/\$1/parameter/5;
  31. #X obj 463 218 osc_bi \$2 /ev/base/\$1/parameter/6;
  32. #X obj 463 238 osc_bi \$2 /ev/base/\$1/parameter/7;
  33. #X obj 463 258 osc_bi \$2 /ev/base/\$1/parameter/8;
  34. #X obj 463 278 osc_bi \$2 /ev/base/\$1/state;
  35. #X obj 43 358 ds_reg \$2 /ev/base/\$1/state nomorph;
  36. #X text 28 14 In this subpatch \, all parameters are registered to
  37. the preset management system and osc communication.;
  38. #X text 28 64 For every parameter that needs state saving \, a [ds_reg]
  39. abstraction must be created. See [ev_storage-help] for more information.
  40. ;
  41. #X text 27 289 As the "state" parameter of is only a toggle \, it makes
  42. no sense to fade it between two values. The "nomorph" argument disables
  43. scene morphing for this specific parameter permanently.;
  44. #X text 445 18 To enable osc comminication for a variable \, there
  45. are three [osc_...] abstractions available:;
  46. #X text 445 48 [osc_in] for receiving OSC messages;
  47. #X text 445 61 [osc_out] for sending OSC messages;
  48. #X text 445 75 [osc_bi] for bidirectional OSC communication without
  49. feedback.;
  50. #X restore 213 27 pd storage_&_osc;
  51. #X obj 11 66 cnv 15 358 65 empty empty empty 20 12 0 14 -13330 -66577
  52. 0;
  53. #X obj 45 72 hsl 80 10 0 1 0 0 /ev/base/\$1/parameter/1 /ev/base/\$1/parameter/1
  54. empty -2 -8 0 10 -262144 -258113 -1 6500 1;
  55. #X obj 131 71 nbx 5 12 0 1 0 0 /ev/base/\$1/parameter/1 /ev/base/\$1/parameter/1
  56. R 58 7 0 10 -262144 -1 -4034 0.822785 256;
  57. #X obj 45 87 hsl 80 10 0 1 0 0 /ev/base/\$1/parameter/2 /ev/base/\$1/parameter/2
  58. empty -2 -8 0 10 -262144 -258113 -1 5300 1;
  59. #X obj 131 86 nbx 5 12 0 1 0 0 /ev/base/\$1/parameter/2 /ev/base/\$1/parameter/2
  60. G 58 7 0 10 -262144 -1 -4034 0.670886 256;
  61. #X obj 45 102 hsl 80 10 0 1 0 0 /ev/base/\$1/parameter/3 /ev/base/\$1/parameter/3
  62. empty -2 -8 0 10 -262144 -258113 -1 5200 1;
  63. #X obj 131 101 nbx 5 12 0 1 0 0 /ev/base/\$1/parameter/3 /ev/base/\$1/parameter/3
  64. B 58 7 0 10 -262144 -1 -4034 0.658228 256;
  65. #X obj 45 117 hsl 80 10 0 1 0 0 /ev/base/\$1/parameter/4 /ev/base/\$1/parameter/4
  66. empty -2 -8 0 10 -262144 -258113 -1 7900 1;
  67. #X obj 131 116 nbx 5 12 0 1 0 0 /ev/base/\$1/parameter/4 /ev/base/\$1/parameter/4
  68. A 58 7 0 10 -262144 -1 -4034 1 256;
  69. #X obj 18 72 tgl 15 0 /ev/base/\$1/state /ev/base/\$1/state O/1 0 23
  70. 0 10 -4034 -1 -262144 1 1;
  71. #X obj 375 27 cnv 15 235 110 empty empty how_to: 3 8 0 12 -233017 -66577
  72. 0;
  73. #X obj 375 147 cnv 15 235 360 empty empty send_n_recieves_for_controller-values
  74. 3 8 0 10 -203904 -66577 0;
  75. #X obj 445 380 s /ev/base/\$1/parameter/1;
  76. #X obj 435 400 s /ev/base/\$1/parameter/2;
  77. #X obj 425 420 s /ev/base/\$1/parameter/3;
  78. #X obj 415 440 s /ev/base/\$1/parameter/4;
  79. #X obj 405 460 s /ev/base/\$1/parameter/5;
  80. #X obj 91 154 inlet gemlist;
  81. #X obj 91 410 outlet gemlist;
  82. #X obj 91 201 kdemux2;
  83. #X obj 130 176 r /ev/base/\$1/state;
  84. #X obj 130 251 alpha;
  85. #X obj 10 4 cnv 15 600 18 empty empty EXTENDED_VIEW_Example_for_EV_MODULE_BASE_based_PixFX
  86. 3 10 0 14 -99865 -262144 0;
  87. #X text 88 463 (c)2012 Peter Venus & Marian Weger \; /part of EXTENDED
  88. VIEW toolkit/ gpl v3;
  89. #X text 143 200 bypass-logic;
  90. #X obj 396 203 r /ev/base/\$1/parameter/1;
  91. #X obj 406 223 r /ev/base/\$1/parameter/2;
  92. #X obj 416 243 r /ev/base/\$1/parameter/3;
  93. #X obj 426 263 r /ev/base/\$1/parameter/4;
  94. #X text 375 109 all controls are normalised from 0 to 1;
  95. #X text 375 63 this container \, save it under another \; name and
  96. enjoy instant storage and \; transition-features of EVT :);
  97. #X text 376 50 Build new compatible modules around;
  98. #X obj 130 361 colorRGB 1 1 1 1;
  99. #X connect 19 0 21 0;
  100. #X connect 21 0 20 0;
  101. #X connect 21 1 23 0;
  102. #X connect 22 0 21 1;
  103. #X connect 23 0 34 0;
  104. #X connect 27 0 34 1;
  105. #X connect 28 0 34 2;
  106. #X connect 29 0 34 3;
  107. #X connect 30 0 34 4;
  108. #X connect 34 0 20 0;
  109. #X coords 0 -1 1 1 360 85 1 10 50;