param-help.pd 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662
  1. #N canvas 1 53 403 396 10;
  2. #N canvas 429 334 525 231 /id 0;
  3. #X text 26 42 Abstraction /id:;
  4. #X text 63 67 If an abstraction's arguments contains the "/id" keyword
  5. \, the symbol following the "/id" keyword \, instead of the abstraction's
  6. name \, will be used to build the path.;
  7. #X restore 327 340 pd /id;
  8. #N canvas 90 56 933 657 /name 0;
  9. #X floatatom 459 165 5 0 0 0 - - -;
  10. #X floatatom 459 215 5 0 0 0 - - -;
  11. #X obj 503 168 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  12. -1 -1;
  13. #X obj 454 19 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  14. 0;
  15. #X text 450 543 nbx: creates a numberbox;
  16. #X text 450 561 slider min max: creates a slider with the indicated
  17. minimum and maximum;
  18. #X text 450 592 bng: creates a bang;
  19. #X text 450 610 tgl: creates a toggle;
  20. #X floatatom 452 510 5 0 0 0 - - -;
  21. #X text 449 526 /g options:;
  22. #X text 453 43 A param automatically ouputs its value when it is created.
  23. You can disable this behavior with the "/nlb" (no loadbang) keyword.
  24. ;
  25. #X text 457 20 /nlb keyword: No loadbang;
  26. #X obj 453 118 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  27. 0;
  28. #X text 455 119 /wfb keyword: Wait for bang;
  29. #X obj 454 248 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  30. 0;
  31. #X text 456 248 /ns keyword: No save;
  32. #X obj 453 405 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  33. 0;
  34. #X text 455 405 /g keyword: GUI options;
  35. #X obj 455 328 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  36. 0;
  37. #X text 457 329 /nps keyword: No preset save;
  38. #X text 449 268 The param will never be saved.;
  39. #X text 451 353 The param will never be saved in a preset file.;
  40. #X text 456 142 The param will only output its contents on a bang.
  41. ;
  42. #X obj 452 484 tof/param /number 30 /g nbx;
  43. #X obj 460 192 tof/param /waiting 50 /wfb;
  44. #X obj 11 285 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  45. 0;
  46. #X text 13 286 arguments;
  47. #X text 10 345 argument 1 symbol: name (must start with a slash);
  48. #X text 11 362 argument 2 variable: optionnal default value (can be
  49. anything and of any length);
  50. #X text 11 393 other arguments: special keywords and options;
  51. #X text 10 42 A param object creates a storage area for anything. This
  52. data can be accessed and modified through a unique path.;
  53. #X obj 12 18 cnv 15 300 20 empty empty empty 20 12 0 14 -257985 -66577
  54. 0;
  55. #X obj 13 321 tof/param /name default;
  56. #X text 12 417 The path to a param starts at the root patch and includes
  57. the name of each abstraction that was taversed to reach the object.
  58. The path of the param above is: /name;
  59. #X text 95 514 <- open me;
  60. #X obj 536 86 tof/param /not_lb 50 /nlb;
  61. #X obj 453 293 tof/param /not_saving 50 /ns;
  62. #X obj 455 377 tof/param /no_presets 67 /nps;
  63. #X obj 16 548 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  64. 0;
  65. #X text 18 549 keywords;
  66. #X text 19 572 You can use many keywords to configure your params.
  67. Each keyword starts with a /. You can use as many keywords as you want
  68. as long at they are not the first argument (that is reserved for the
  69. name).;
  70. #X text 452 434 When you create a param \, you can use the "/g" keyword
  71. to flag the param with gui options that are used by [param gui] to
  72. automatically build GUIs.;
  73. #X text 450 628 symbolatom or sym : creates a symbol box;
  74. #X obj 15 79 cnv 15 300 20 empty empty empty 20 12 0 14 -260097 -66577
  75. 0;
  76. #X text 17 80 inlets/outlets;
  77. #X text 14 104 inlet 1 bang: outputs the value of the param.;
  78. #X text 14 121 inlet 1 anything: stores the value received and outputs
  79. it.;
  80. #X text 13 138 inlet 2 anything: stores the value received.;
  81. #X text 13 157 outlet 2 anything: the stored value.;
  82. #X text 11 477 The path to the param "/carrier" in the middle of the
  83. following abstraction is: /test-param/carrier;
  84. #X text 14 18 param /name;
  85. #X obj 16 516 ./test-param;
  86. #X obj 16 185 cnv 15 300 20 empty empty empty 20 12 0 14 -4032 -66577
  87. 0;
  88. #X text 18 186 default value;
  89. #X connect 0 0 24 0;
  90. #X connect 2 0 24 0;
  91. #X connect 23 0 8 0;
  92. #X connect 24 0 1 0;
  93. #X restore -16 187 pd /name;
  94. #N canvas 141 64 837 442 custom 0;
  95. #X obj 17 211 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  96. 0;
  97. #X text 19 212 arguments;
  98. #X obj 18 19 cnv 15 300 20 empty empty empty 20 12 0 14 -257985 -66577
  99. 0;
  100. #X text 20 43 Saves and restores any type and quantity of data in a
  101. param file.;
  102. #X text 16 235 argument 1 symbol: the name. Must start with a '/'.
  103. ;
  104. #X obj 18 282 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  105. 0;
  106. #X text 20 283 keywords;
  107. #X text 16 307 There is only one keyword: /nps;
  108. #X obj 17 335 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  109. 0;
  110. #X text 19 336 /nps keyword: No preset save;
  111. #X text 13 360 The param will never be saved in a preset file.;
  112. #X obj 17 384 tof/param custom /yogourt /nps;
  113. #X obj 18 83 cnv 15 300 20 empty empty empty 20 12 0 14 -260097 -66577
  114. 0;
  115. #X text 23 83 inlets/outlets;
  116. #X text 18 109 inlet 1 anything: data to be saved (can be multiple
  117. messages).;
  118. #X obj 495 212 list prepend;
  119. #X text 576 211 Prepend the key to the value;
  120. #X obj 444 110 t b b;
  121. #X msg 541 90 clear;
  122. #X msg 444 139 dump;
  123. #X text 434 46 In the following example \, [param custom] will save
  124. and restore the contents of the [cyclone/coll].;
  125. #X obj 495 185 cyclone/coll;
  126. #C restore;
  127. #X text 427 243 When a param save is called \, the [t b b] is banged.
  128. The message "clear" is stored and "dump" is sent to [cyclone/coll].
  129. The list builds a "key data" pair out of the dumped data. This pair
  130. is then also stored.;
  131. #X text 426 305 When a param load is called \, the stored "clear" message
  132. is sent to [cyclone/coll] \, clearing its contents. Afterwards. each
  133. of the stored data pairs is then sent to [cyclone/coll] restoring the
  134. previous data.;
  135. #X obj 541 115 param custom /coll;
  136. #X text 17 160 outlet 2: the data to be restored by a param load.;
  137. #X text 18 141 outlet 1 bang: bangs when a param save is called.;
  138. #X text 16 256 other arguments: keywords (see below).;
  139. #X text 20 19 param custom;
  140. #X connect 15 0 24 0;
  141. #X connect 17 0 19 0;
  142. #X connect 17 1 18 0;
  143. #X connect 18 0 24 0;
  144. #X connect 19 0 21 0;
  145. #X connect 21 0 15 0;
  146. #X connect 21 1 15 1;
  147. #X connect 24 0 17 0;
  148. #X connect 24 1 21 0;
  149. #X restore -16 208 pd custom;
  150. #N canvas 222 499 637 424 path 0;
  151. #X obj 373 67 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  152. -1;
  153. #X obj 373 115 print;
  154. #X obj 41 190 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  155. 0;
  156. #X text 43 191 arguments;
  157. #X obj 40 58 cnv 15 300 20 empty empty empty 20 12 0 14 -257985 -66577
  158. 0;
  159. #X obj 40 112 cnv 15 300 20 empty empty empty 20 12 0 14 -260097 -66577
  160. 0;
  161. #X text 45 112 inlets/outlets;
  162. #X text 41 82 Outputs the current param path.;
  163. #X obj 375 180 ./test-param-2;
  164. #X obj 373 91 tof/param path;
  165. #X obj 375 152 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  166. -1 -1;
  167. #X text 392 64 1) Click here;
  168. #X text 396 150 2) Click here;
  169. #X text 40 138 inlet 1 bang: outputs the param path.;
  170. #X text 40 160 outlet 1 symbol: the param path.;
  171. #X text 40 214 none.;
  172. #X text 42 58 param path;
  173. #X connect 0 0 9 0;
  174. #X connect 9 0 1 0;
  175. #X connect 10 0 8 0;
  176. #X restore -16 229 pd path;
  177. #N canvas 70 415 866 433 dump 0;
  178. #X obj 420 258 print;
  179. #X obj 421 78 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  180. -1;
  181. #X msg 464 150 guis;
  182. #X text 444 79 A bang will output all the params and their values.
  183. ;
  184. #X msg 445 109 symbol /FM_MOD;
  185. #X text 541 107 A symbol will dump only the params that start with
  186. that path.;
  187. #X text 501 147 Guis will output all the optional /g values.;
  188. #X obj 421 224 tof/param dump;
  189. #X msg 501 175 guis /FM_MOD;
  190. #X obj 33 257 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  191. 0;
  192. #X text 35 258 arguments;
  193. #X obj 33 45 cnv 15 300 20 empty empty empty 20 12 0 14 -257985 -66577
  194. 0;
  195. #X obj 33 109 cnv 15 300 20 empty empty empty 20 12 0 14 -260097 -66577
  196. 0;
  197. #X text 38 109 inlets/outlets;
  198. #X text 32 281 none.;
  199. #X text 32 68 Outputs the params and their values or the params and
  200. their GUI options.;
  201. #X text 33 135 inlet 1 bang: outputs the all the params and their values.
  202. ;
  203. #X text 33 152 inlet 1 symbol: outputs the params and their values
  204. if their names start with this symbol.;
  205. #X text 33 182 inlet 1 guis: outputs the params and their GUI options
  206. if their names start with this symbol.;
  207. #X text 32 216 inlet 1 guis symbol: outputs the params and their GUI
  208. options if their names start with this symbol.;
  209. #X text 35 45 param dump;
  210. #X connect 1 0 7 0;
  211. #X connect 2 0 7 0;
  212. #X connect 4 0 7 0;
  213. #X connect 7 0 0 0;
  214. #X connect 8 0 7 0;
  215. #X restore -16 250 pd dump;
  216. #N canvas 20 346 838 409 file 0;
  217. #X obj 489 38 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -262144 -1
  218. -1 0;
  219. #X obj 547 151 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -262144
  220. -1 -1 0;
  221. #X obj 464 17 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  222. -1;
  223. #X obj 521 127 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  224. -1 -1;
  225. #X floatatom 489 62 5 0 0 0 - - -;
  226. #X floatatom 547 173 5 0 0 0 - - -;
  227. #X obj 464 198 param file;
  228. #X obj 24 321 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  229. 0;
  230. #X text 26 322 arguments;
  231. #X obj 24 19 cnv 15 300 20 empty empty empty 20 12 0 14 -257985 -66577
  232. 0;
  233. #X obj 24 183 cnv 15 300 20 empty empty empty 20 12 0 14 -260097 -66577
  234. 0;
  235. #X text 29 183 inlets/outlets;
  236. #X text 23 345 none.;
  237. #X text 26 40 Saves/restores params in a param file.;
  238. #X text 25 98 All params that do not have the "/ns" keyword are saved
  239. in the "main" param file.;
  240. #X text 24 133 All params that do not have the "/ns" or "/nps" keywords
  241. are saved in the "preset" param files.;
  242. #X text 25 61 There are two types of param file. A "main" param file
  243. and up to 1000 "preset" param files.;
  244. #X text 529 60 Save to "preset" file n.;
  245. #X text 585 172 Restore for "preset" file n.;
  246. #X text 543 125 Restore from "main" param file.;
  247. #X text 486 13 Save to "main" param file.;
  248. #X text 24 209 inlet 1 bang: save to "main" param file.;
  249. #X text 24 263 inlet 2 bang: restore from "main" param file.;
  250. #X obj 442 247 cnv 15 300 20 empty empty empty 20 12 0 14 -4032 -66577
  251. 0;
  252. #X text 444 248 param file names;
  253. #X text 441 271 All param files are always stored and searched for
  254. in the same folder as the root patch's folder.;
  255. #X text 443 305 The "main" param file is named as follows:;
  256. #X text 622 323 "name of root patch.param";
  257. #X text 26 280 inlet 2 float: restore from "preset" file n where n
  258. is a number between 0 and 999;
  259. #X text 26 228 inlet 1 float: save to "preset" file n where n is a
  260. number between 0 and 999;
  261. #X text 581 374 "name of root patch-nnnn.param";
  262. #X text 444 341 The "preset" param files are named as follows \, where
  263. nnnn is always four digits:;
  264. #X text 26 19 param file;
  265. #X connect 0 0 4 0;
  266. #X connect 1 0 5 0;
  267. #X connect 2 0 6 0;
  268. #X connect 3 0 6 1;
  269. #X connect 4 0 6 0;
  270. #X connect 5 0 6 1;
  271. #X restore -16 271 pd file;
  272. #N canvas 17 441 981 371 route 0;
  273. #X obj 33 203 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  274. 0;
  275. #X text 35 204 arguments;
  276. #X obj 33 31 cnv 15 300 20 empty empty empty 20 12 0 14 -257985 -66577
  277. 0;
  278. #X obj 33 85 cnv 15 300 20 empty empty empty 20 12 0 14 -260097 -66577
  279. 0;
  280. #X text 38 85 inlets/outlets;
  281. #X text 35 228 none.;
  282. #X text 38 53 Routes messages to params.;
  283. #X text 35 31 param route;
  284. #X text 35 112 inlet 1 anything: the first element of the anything
  285. determines the target. The rest of the elements of the anything are
  286. sent the target.;
  287. #X obj 36 257 cnv 15 300 20 empty empty empty 20 12 0 14 -4032 -66577
  288. 0;
  289. #X text 38 258 targets;
  290. #X text 35 160 outlet 1 anything: messages that do not have a valid
  291. target name or whose target was not found.;
  292. #X text 34 282 [param route] prepends its own path to the target name.
  293. This allows the targeting of params with a relative path. Even if the
  294. paths are relative \, they still need to start with a '/'.;
  295. #X obj 412 225 ./test-param /id routing;
  296. #X floatatom 482 292 5 0 0 0 - - -;
  297. #X floatatom 553 261 5 0 0 0 - - -;
  298. #X text 566 221 <-There is a [param route] connected to the first inlet
  299. of this abstraction.;
  300. #X text 594 259 <-This is connected to a [param /b] inside the abstraction.
  301. ;
  302. #X text 518 293 <-This is connected to a [param /a] inside the abstraction.
  303. ;
  304. #X msg 470 187 /b \$1;
  305. #X msg 418 161 /a \$1;
  306. #X floatatom 417 137 5 0 0 0 - - -;
  307. #X floatatom 474 159 5 0 0 0 - - -;
  308. #X connect 13 1 14 0;
  309. #X connect 13 2 15 0;
  310. #X connect 19 0 13 0;
  311. #X connect 20 0 13 0;
  312. #X connect 21 0 20 0;
  313. #X connect 22 0 19 0;
  314. #X restore -16 292 pd route;
  315. #N canvas 18 136 986 455 gui 0;
  316. #X obj 431 21 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  317. -1;
  318. #X obj 506 75 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  319. -1;
  320. #X obj 431 110 tof/param gui;
  321. #X obj 11 292 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
  322. 0;
  323. #X text 13 293 arguments;
  324. #X obj 5 7 cnv 15 300 20 empty empty empty 20 12 0 14 -257985 -66577
  325. 0;
  326. #X obj 9 114 cnv 15 300 20 empty empty empty 20 12 0 14 -260097 -66577
  327. 0;
  328. #X text 14 114 inlets/outlets;
  329. #X text 13 317 none.;
  330. #X text 7 7 param gui;
  331. #X floatatom 383 288 5 0 0 0 - - -;
  332. #X obj 375 415 dac~;
  333. #X obj 423 334 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
  334. -1 -1 0 1;
  335. #X msg 383 310 /modulation/index \$1;
  336. #X msg 420 355 /volume \$1;
  337. #X obj 594 260 cnv 15 200 20 empty empty /FM_MOD/ 2 12 0 8 -258401
  338. -262144 0;
  339. #X obj 594 283 nbx 5 14 -1e+37 1e+37 0 0 /FM_MOD/modulation/freq /FM_MOD/modulation/freq_
  340. modulation/freq 50 8 0 8 -1 -262144 -1 3 256;
  341. #X obj 594 301 nbx 5 14 -1e+37 1e+37 0 0 /FM_MOD/modulation/index /FM_MOD/modulation/index_
  342. modulation/index 50 8 0 8 -1 -262144 -1 20 256;
  343. #X obj 594 319 hsl 100 15 0 1 0 0 /FM_MOD/volume /FM_MOD/volume_ volume
  344. 105 7 0 8 -1 -262144 -1 0 1;
  345. #X obj 594 337 hsl 100 15 200 2000 0 0 /FM_MOD/carrier /FM_MOD/carrier_
  346. carrier 105 7 0 8 -1 -262144 -1 3300 1;
  347. #X obj 383 380 ./test-param /id FM_MOD /carrier 600;
  348. #X text 8 32 Automatically builds a gui for params. The values of the
  349. GUI elements are always up to date.;
  350. #X text 618 378 <-Click this abstraction's properties menu. The [iemguts/propertybang]
  351. bangs the [param gui] that creates the GUI window.;
  352. #X obj 430 209 tof/param gui;
  353. #X text 531 73 Destroy the created GUI (the only way to force its recreation).
  354. ;
  355. #X text 453 10 Builds the gui for all params that are in the current
  356. patch or in any children patches of this patch.;
  357. #X text 9 65 GUIs will only be built for params that have GUI options
  358. set with the /g keyword.;
  359. #X msg 531 171 symbol /FM_MOD/modulation;
  360. #X text 7 228 inlet 2 bang: destroy the previously created window (the
  361. only way to force its recreation if the path does not change).;
  362. #X text 9 140 inlet 1 bang: creates the GUIs one (or until the target
  363. path changes) for all params in the current patch or lower and displays
  364. the window.;
  365. #X text 8 184 inlet 1 symbol: creates the GUIs one (or until the target
  366. path changes) for all params that match the indicated path and displays
  367. the window.;
  368. #X msg 430 171 symbol /FM_MOD;
  369. #X text 525 194 Only display the GUIs for params in the indicated path.
  370. ;
  371. #X text 526 207 Each time the path changes \, the GUIs are rebuilt
  372. and this can slow down Pure Data.;
  373. #X connect 0 0 2 0;
  374. #X connect 1 0 2 1;
  375. #X connect 10 0 13 0;
  376. #X connect 12 0 14 0;
  377. #X connect 13 0 20 0;
  378. #X connect 14 0 20 0;
  379. #X connect 20 0 11 0;
  380. #X connect 20 0 11 1;
  381. #X connect 27 0 23 0;
  382. #X connect 31 0 23 0;
  383. #X restore -16 313 pd gui;
  384. #X text 45 183 Defines a parameter to save/restore/route/display.;
  385. #X text 48 205 Can save/restore any number of things in a param file.
  386. ;
  387. #X text 48 226 Outputs the current param path.;
  388. #X text 48 247 Outputs information about the params.;
  389. #X text 48 268 Saves/restores params in a param file.;
  390. #X text 47 289 Routes messages to params.;
  391. #X text 48 310 Automatically builds a gui for params.;
  392. #X text -17 151 Open the folowing subpatches for more information on
  393. each class.;
  394. #X text -17 112 [param] contains multiple classes. The class is selected
  395. by the value of the first argument.;
  396. #N canvas 360 337 548 560 anim 0;
  397. #X obj 172 493 s \$0c;
  398. #N canvas 393 451 450 300 rgbToNum 0;
  399. #X obj 241 358 +;
  400. #X obj 177 430 +;
  401. #X obj 90 313 * -65536;
  402. #X obj 196 319 * -256;
  403. #X obj 310 327 * -1;
  404. #X obj 177 461 - 1;
  405. #X obj 184 496 outlet;
  406. #X obj 85 281 int 0;
  407. #X obj 196 270 int 0;
  408. #X obj 343 272 int 0;
  409. #X obj 166 126 unpack f f f;
  410. #X obj 66 233 clip 0 255;
  411. #X obj 228 230 clip 0 255;
  412. #X obj 329 230 clip 0 255;
  413. #X obj 165 87 inlet;
  414. #X connect 0 0 1 1;
  415. #X connect 1 0 5 0;
  416. #X connect 2 0 1 0;
  417. #X connect 3 0 0 0;
  418. #X connect 4 0 0 1;
  419. #X connect 5 0 6 0;
  420. #X connect 7 0 2 0;
  421. #X connect 8 0 3 0;
  422. #X connect 9 0 4 0;
  423. #X connect 10 0 11 0;
  424. #X connect 10 1 12 0;
  425. #X connect 10 2 13 0;
  426. #X connect 11 0 7 0;
  427. #X connect 12 0 8 0;
  428. #X connect 13 0 9 0;
  429. #X connect 14 0 10 0;
  430. #X restore 171 434 pd rgbToNum;
  431. #X msg 171 462 color \$1;
  432. #X obj 137 65 t b b b;
  433. #X obj 345 14 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  434. -1;
  435. #N canvas 0 22 680 639 hsvToRgb 0;
  436. #X obj 197 94 route 0;
  437. #X msg 197 66 \$2 \$3 \$1;
  438. #X obj 241 121 unpack 0 0 0;
  439. #X text 260 81 svh;
  440. #X obj 197 38 inlet hsv;
  441. #X obj 191 676 outlet rgb;
  442. #X obj 411 159 * 6;
  443. #X obj 390 206 % 6;
  444. #X obj 360 183 t f f;
  445. #X msg 360 159 0;
  446. #X text 416 206 i;
  447. #X obj 360 229 -;
  448. #X obj 241 227 *;
  449. #X obj 241 188 - 1;
  450. #X obj 241 208 * -1;
  451. #X obj 273 340 *;
  452. #X obj 273 301 - 1;
  453. #X obj 273 321 * -1;
  454. #X obj 273 279 *;
  455. #X obj 360 250 t f f;
  456. #X obj 390 272 - 1;
  457. #X obj 390 293 * -1;
  458. #X obj 312 366 *;
  459. #X obj 312 327 - 1;
  460. #X obj 312 347 * -1;
  461. #X obj 312 305 *;
  462. #X obj 241 161 t f f f;
  463. #X obj 248 421 pack 0 0 0 0;
  464. #N canvas 388 287 646 315 select 0;
  465. #X obj 290 37 inlet;
  466. #X obj 16 247 outlet;
  467. #X obj 92 104 t b l;
  468. #X obj 125 128 unpack 0 0 0 0;
  469. #X obj 89 43 inlet p q t v;
  470. #X obj 92 128 i;
  471. #X obj 92 151 select 0 1 2 3 4 5;
  472. #X obj 16 223 pack 0 0 0;
  473. #X obj 16 203 f;
  474. #X obj 96 223 pack 0 0 0;
  475. #X obj 96 203 f;
  476. #X obj 176 223 pack 0 0 0;
  477. #X obj 176 203 f;
  478. #X obj 256 223 pack 0 0 0;
  479. #X obj 256 203 f;
  480. #X obj 336 223 pack 0 0 0;
  481. #X obj 336 203 f;
  482. #X obj 416 223 pack 0 0 0;
  483. #X obj 416 203 f;
  484. #X connect 0 0 5 1;
  485. #X connect 2 0 5 0;
  486. #X connect 2 1 3 0;
  487. #X connect 3 0 7 2;
  488. #X connect 3 0 9 2;
  489. #X connect 3 0 12 1;
  490. #X connect 3 0 14 1;
  491. #X connect 3 0 15 1;
  492. #X connect 3 0 17 1;
  493. #X connect 3 1 10 1;
  494. #X connect 3 1 13 1;
  495. #X connect 3 1 17 2;
  496. #X connect 3 2 7 1;
  497. #X connect 3 2 11 2;
  498. #X connect 3 2 16 1;
  499. #X connect 3 3 8 1;
  500. #X connect 3 3 9 1;
  501. #X connect 3 3 11 1;
  502. #X connect 3 3 13 2;
  503. #X connect 3 3 15 2;
  504. #X connect 3 3 18 1;
  505. #X connect 4 0 2 0;
  506. #X connect 5 0 6 0;
  507. #X connect 6 0 8 0;
  508. #X connect 6 1 10 0;
  509. #X connect 6 2 12 0;
  510. #X connect 6 3 14 0;
  511. #X connect 6 4 16 0;
  512. #X connect 6 5 18 0;
  513. #X connect 7 0 1 0;
  514. #X connect 8 0 7 0;
  515. #X connect 9 0 1 0;
  516. #X connect 10 0 9 0;
  517. #X connect 11 0 1 0;
  518. #X connect 12 0 11 0;
  519. #X connect 13 0 1 0;
  520. #X connect 14 0 13 0;
  521. #X connect 15 0 1 0;
  522. #X connect 16 0 15 0;
  523. #X connect 17 0 1 0;
  524. #X connect 18 0 17 0;
  525. #X restore 253 466 pd select;
  526. #X msg 197 488 \$1 \$1 \$1;
  527. #X obj 136 447 clip 0 1;
  528. #X obj 241 141 clip 0 1;
  529. #X obj 280 183 clip 0 1;
  530. #X obj 360 119 clip 0 1;
  531. #X obj 360 139 select 1;
  532. #X msg 149 367 \$1;
  533. #X obj 199 383 abs;
  534. #X obj 238 362 abs;
  535. #X obj 281 396 abs;
  536. #X obj 194 546 unpack f f f;
  537. #X obj 191 577 * 255;
  538. #X obj 239 576 * 255;
  539. #X obj 306 577 * 255;
  540. #X obj 235 630 pack f f f;
  541. #X obj 196 604 int;
  542. #X obj 244 603 int;
  543. #X obj 296 608 int;
  544. #X connect 0 0 35 0;
  545. #X connect 0 1 2 0;
  546. #X connect 1 0 0 0;
  547. #X connect 2 0 31 0;
  548. #X connect 2 1 32 0;
  549. #X connect 2 2 33 0;
  550. #X connect 4 0 1 0;
  551. #X connect 6 0 8 0;
  552. #X connect 7 0 11 1;
  553. #X connect 7 0 28 1;
  554. #X connect 8 0 11 0;
  555. #X connect 8 1 7 0;
  556. #X connect 9 0 8 0;
  557. #X connect 11 0 19 0;
  558. #X connect 12 0 36 0;
  559. #X connect 13 0 14 0;
  560. #X connect 14 0 12 0;
  561. #X connect 15 0 37 0;
  562. #X connect 16 0 17 0;
  563. #X connect 17 0 15 0;
  564. #X connect 18 0 16 0;
  565. #X connect 19 0 18 1;
  566. #X connect 19 1 20 0;
  567. #X connect 20 0 21 0;
  568. #X connect 21 0 25 1;
  569. #X connect 22 0 38 0;
  570. #X connect 23 0 24 0;
  571. #X connect 24 0 22 0;
  572. #X connect 25 0 23 0;
  573. #X connect 26 0 13 0;
  574. #X connect 26 1 18 0;
  575. #X connect 26 2 25 0;
  576. #X connect 27 0 28 0;
  577. #X connect 28 0 39 0;
  578. #X connect 29 0 39 0;
  579. #X connect 30 0 29 0;
  580. #X connect 31 0 26 0;
  581. #X connect 32 0 12 1;
  582. #X connect 32 0 27 3;
  583. #X connect 32 0 15 1;
  584. #X connect 32 0 22 1;
  585. #X connect 33 0 34 0;
  586. #X connect 34 0 9 0;
  587. #X connect 34 1 6 0;
  588. #X connect 35 0 30 0;
  589. #X connect 36 0 27 0;
  590. #X connect 37 0 27 1;
  591. #X connect 38 0 27 2;
  592. #X connect 39 0 40 0;
  593. #X connect 39 1 41 0;
  594. #X connect 39 2 42 0;
  595. #X connect 40 0 44 0;
  596. #X connect 41 0 45 0;
  597. #X connect 42 0 46 0;
  598. #X connect 43 0 5 0;
  599. #X connect 44 0 43 0;
  600. #X connect 45 0 43 1;
  601. #X connect 46 0 43 2;
  602. #X restore 172 413 pd hsvToRgb;
  603. #X obj 35 132 random 1024;
  604. #X obj 35 170 / 1024;
  605. #X obj 315 185 / 1024;
  606. #X obj 314 131 random 512;
  607. #X obj 313 158 + 512;
  608. #X obj 147 209 / 1024;
  609. #X obj 145 182 + 512;
  610. #X obj 145 154 random 512;
  611. #X obj 197 46 metro 5000;
  612. #X obj 177 12 loadbang;
  613. #X msg 46 226 \$1 5000;
  614. #X msg 146 235 \$1 5000;
  615. #X msg 320 254 \$1 5000;
  616. #X obj 239 361 pack 0.4423 0.87 0.67;
  617. #X obj 50 258 line 0.44 150;
  618. #X obj 148 269 line 0.87 150;
  619. #X obj 320 291 line 0.67 150;
  620. #X connect 1 0 2 0;
  621. #X connect 2 0 0 0;
  622. #X connect 3 0 6 0;
  623. #X connect 3 1 13 0;
  624. #X connect 3 2 9 0;
  625. #X connect 4 0 14 0;
  626. #X connect 5 0 1 0;
  627. #X connect 6 0 7 0;
  628. #X connect 7 0 16 0;
  629. #X connect 8 0 18 0;
  630. #X connect 9 0 10 0;
  631. #X connect 10 0 8 0;
  632. #X connect 11 0 17 0;
  633. #X connect 12 0 11 0;
  634. #X connect 13 0 12 0;
  635. #X connect 14 0 3 0;
  636. #X connect 15 0 14 0;
  637. #X connect 16 0 20 0;
  638. #X connect 17 0 21 0;
  639. #X connect 18 0 22 0;
  640. #X connect 19 0 5 0;
  641. #X connect 20 0 19 0;
  642. #X connect 21 0 19 1;
  643. #X connect 22 0 19 2;
  644. #X restore 325 80 pd anim;
  645. #X obj -23 2 cnv 15 400 100 empty \$0c empty 20 12 0 14 -104978 -262144
  646. 0;
  647. #X text -18 54 author: mrtoftrash@gmail.com;
  648. #X text -19 33 tags: state routing;
  649. #X text -17 1 description: [param] is a state saving and message routing
  650. system.;
  651. #X text -19 75 version: 2009-10-27 (de localized release);
  652. #X text -20 341 Keyword for defining the param path inside abstractions:
  653. ;
  654. #N canvas 276 205 494 344 META 0;
  655. #X text 12 85 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  656. Wilkes for Pd version 0.42.;
  657. #X text 12 45 LICENSE GPL v2;
  658. #X text 12 65 AUTHOR Thomas Ouellet Fredericks;
  659. #X text 12 25 DESCRIPTION state saving and message routing system;
  660. #X text 12 5 KEYWORDS control needs_work (xlets);
  661. #X restore 320 370 pd META;