ev_base.pd 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. #N canvas 395 50 630 530 10;
  2. #N canvas 458 191 445 318 init 0;
  3. #X obj 81 -186 loadbang;
  4. #X obj 81 -162 list append \$1;
  5. #X obj 60 -184 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  6. -1 -1;
  7. #X msg 81 -135 \; /ev/base/\$1/state 1 \; /ev/base/\$1/parameter/1
  8. 0 \; /ev/base/\$1/parameter/2 0 \; /ev/base/\$1/parameter/3 0 \; /ev/base/\$1/parameter/4
  9. 0 \; /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 -244 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 323 27 pd init;
  17. #N canvas 45 192 841 403 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 212 27 pd storage_&_osc;
  51. #X obj 11 66 cnv 15 358 65 empty empty empty 20 12 0 14 -13381 -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 7900 1;
  55. #X obj 131 71 nbx 5 12 0 1 0 0 /ev/base/\$1/parameter/1 /ev/base/\$1/parameter/1
  56. 1 58 7 0 10 -262144 -1 -4034 1 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 7900 1;
  59. #X obj 131 86 nbx 5 12 0 1 0 0 /ev/base/\$1/parameter/2 /ev/base/\$1/parameter/2
  60. 2 58 7 0 10 -262144 -1 -4034 1 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 7900 1;
  63. #X obj 131 101 nbx 5 12 0 1 0 0 /ev/base/\$1/parameter/3 /ev/base/\$1/parameter/3
  64. 3 58 7 0 10 -262144 -1 -4034 1 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. 4 58 7 0 10 -262144 -1 -4034 1 256;
  69. #X obj 215 72 hsl 80 10 0 1 0 0 /ev/base/\$1/parameter/5 /ev/base/\$1/parameter/5
  70. empty -2 -8 0 10 -262144 -258113 -1 0 1;
  71. #X obj 301 71 nbx 5 12 0 1 0 0 /ev/base/\$1/parameter/5 /ev/base/\$1/parameter/5
  72. 5 58 7 0 10 -262144 -1 -4034 0 256;
  73. #X obj 215 87 hsl 80 10 0 1 0 0 /ev/base/\$1/parameter/6 /ev/base/\$1/parameter/6
  74. empty -2 -8 0 10 -262144 -258113 -1 0 1;
  75. #X obj 301 86 nbx 5 12 0 1 0 0 /ev/base/\$1/parameter/6 /ev/base/\$1/parameter/6
  76. 6 58 7 0 10 -262144 -1 -4034 0 256;
  77. #X obj 215 102 hsl 80 10 0 1 0 0 /ev/base/\$1/parameter/7 /ev/base/\$1/parameter/7
  78. empty -2 -8 0 10 -262144 -258113 -1 0 1;
  79. #X obj 301 101 nbx 5 12 0 1 0 0 /ev/base/\$1/parameter/7 /ev/base/\$1/parameter/7
  80. 7 58 7 0 10 -262144 -1 -4034 0 256;
  81. #X obj 215 117 hsl 80 10 0 1 0 0 /ev/base/\$1/parameter/8 /ev/base/\$1/parameter/8
  82. empty -2 -8 0 10 -262144 -258113 -1 0 1;
  83. #X obj 301 116 nbx 5 12 0 1 0 0 /ev/base/\$1/parameter/8 /ev/base/\$1/parameter/8
  84. 8 58 7 0 10 -262144 -1 -4034 0 256;
  85. #X obj 18 72 tgl 15 0 /ev/base/\$1/state /ev/base/\$1/state O/1 0 23
  86. 0 10 -4034 -1 -262144 1 1;
  87. #X obj 375 7 cnv 15 235 110 empty empty how_to: 3 8 0 12 -233017 -66577
  88. 0;
  89. #X text 375 94 all controls are normalised from 0 to 1;
  90. #X text 375 48 this container \, save it under another \; name and
  91. enjoy instant storage and \; transition-features of EVT :);
  92. #X obj 375 127 cnv 15 235 360 empty empty send_n_recieves_for_controller-values
  93. 3 8 0 10 -203904 -66577 0;
  94. #X obj 396 163 r /ev/base/\$1/parameter/2;
  95. #X obj 406 183 r /ev/base/\$1/parameter/3;
  96. #X obj 416 203 r /ev/base/\$1/parameter/4;
  97. #X obj 426 223 r /ev/base/\$1/parameter/5;
  98. #X obj 436 243 r /ev/base/\$1/parameter/6;
  99. #X obj 446 263 r /ev/base/\$1/parameter/7;
  100. #X obj 456 283 r /ev/base/\$1/parameter/8;
  101. #X obj 456 320 s /ev/base/\$1/parameter/1;
  102. #X obj 446 340 s /ev/base/\$1/parameter/2;
  103. #X obj 436 360 s /ev/base/\$1/parameter/3;
  104. #X obj 426 380 s /ev/base/\$1/parameter/4;
  105. #X obj 416 400 s /ev/base/\$1/parameter/5;
  106. #X obj 406 420 s /ev/base/\$1/parameter/6;
  107. #X obj 396 440 s /ev/base/\$1/parameter/7;
  108. #X obj 386 460 s /ev/base/\$1/parameter/8;
  109. #X obj 386 143 r /ev/base/\$1/parameter/1;
  110. #X obj 124 176 r /ev/base/\$1/state;
  111. #X obj 10 -17 cnv 15 600 18 empty empty EXTENDED_VIEW_MODULE-BASE 3
  112. 10 0 14 -99865 -262144 0;
  113. #X text 92 453 (c)2012 Peter Venus & Marian Weger \; /part of EXTENDED
  114. VIEW toolkit/ gpl v3;
  115. #X text 11 6 to be used as template for own EVT addons;
  116. #X text 385 297 ____________________________________;
  117. #X obj 91 201 spigot;
  118. #X text 141 201 (bypass);
  119. #X text 376 35 Build new compatible modules around;
  120. #X text 100 302 (put some processing here);
  121. #X obj 91 154 inlet gemlist;
  122. #X obj 91 420 outlet outlet;
  123. #X connect 40 0 45 1;
  124. #X connect 45 0 50 0;
  125. #X connect 49 0 45 0;
  126. #X coords 0 -1 1 1 360 85 1 10 50;