phasorshot~-help.pd 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #N canvas 1 53 676 617 10;
  2. #X obj 63 566 nbx 10 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
  3. -1 -262144 -1 0 256;
  4. #X obj 224 460 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  5. -1 -1;
  6. #X obj 177 287 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
  7. 1;
  8. #X msg 58 144 0.1;
  9. #X msg 89 146 -0.1;
  10. #X msg 128 146 -0.5;
  11. #X msg 134 240 0.9;
  12. #X msg 166 237 0;
  13. #X msg 25 144 1;
  14. #X obj 151 376 print UPPER;
  15. #X obj 149 398 print LOWER;
  16. #X obj 209 507 *~;
  17. #X obj 207 572 dac~;
  18. #X obj 208 536 tabread4~ \$0table;
  19. #X msg 169 146 0.5;
  20. #X msg 201 239 0.5;
  21. #X text 33 111 Inlet 1: frequency;
  22. #X text 212 287 Inlet 3: loop off/on;
  23. #X msg 183 171 0;
  24. #X obj 61 328 tof/phasorshot~;
  25. #X text 48 11 Description: A feature rich phasor~.;
  26. #X text 48 33 phasorshot~ is like a phasor with more options:;
  27. #X text 76 55 + The looping of the generated signal can be disabled.
  28. ;
  29. #X text 76 69 + A bang is outputed when the upper or lower bounds of
  30. the generated signal are reached.;
  31. #X text 159 217 Inlet 2: phase;
  32. #X text 166 326 Argument: float: loop off/on (0/1);
  33. #N canvas 0 22 396 311 load 0;
  34. #X obj 116 170 soundfiler;
  35. #X msg 116 132 read -resize \$1 \$2;
  36. #X obj 116 101 list append \$0table;
  37. #X obj 116 68 openpanel;
  38. #X obj 126 23 inlet;
  39. #X obj 115 210 outlet;
  40. #X obj 226 24 table \$0table;
  41. #X connect 0 0 5 0;
  42. #X connect 1 0 0 0;
  43. #X connect 2 0 1 0;
  44. #X connect 3 0 2 0;
  45. #X connect 4 0 3 0;
  46. #X restore 223 481 pd load sound file;
  47. #X obj 62 543 cyclone/Snapshot~ 100;
  48. #X text 232 377 Outlets 2 and 3 bang when the upper or lower bound
  49. is reached.;
  50. #N canvas 441 211 494 344 META 0;
  51. #X text 12 205 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  52. Wilkes for Pd version 0.42.;
  53. #X text 12 45 LICENSE GPL v2;
  54. #X text 12 185 AUTHOR Thomas Ouellet Fredericks;
  55. #X text 12 125 OUTLET_0 symbol;
  56. #X text 12 25 DESCRIPTION a feature rich phasor~;
  57. #X text 12 5 KEYWORDS signal;
  58. #X text 12 65 INLET_0 signal;
  59. #X text 12 85 INLET_1 float;
  60. #X text 12 105 INLET_2 float;
  61. #X text 12 145 OUTLET_1 bang;
  62. #X text 12 165 OUTLET_2 bang;
  63. #X restore 599 570 pd META;
  64. #X connect 1 0 26 0;
  65. #X connect 2 0 19 2;
  66. #X connect 3 0 19 0;
  67. #X connect 4 0 19 0;
  68. #X connect 5 0 19 0;
  69. #X connect 6 0 19 1;
  70. #X connect 7 0 19 1;
  71. #X connect 8 0 19 0;
  72. #X connect 11 0 13 0;
  73. #X connect 13 0 12 0;
  74. #X connect 13 0 12 1;
  75. #X connect 14 0 19 0;
  76. #X connect 15 0 19 1;
  77. #X connect 18 0 19 0;
  78. #X connect 19 0 11 0;
  79. #X connect 19 0 27 0;
  80. #X connect 19 1 10 0;
  81. #X connect 19 2 9 0;
  82. #X connect 26 0 11 1;
  83. #X connect 27 0 0 0;