vv~.pd 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #N canvas 624 170 868 548 10;
  2. #X text 125 72 uniform distribution \, [-1 \, 1];
  3. #X obj 85 72 inlet~;
  4. #X obj 359 74 inlet;
  5. #X obj 177 231 * 24000;
  6. #X obj 156 250 *~ 0;
  7. #X obj 156 269 phasor~;
  8. #X obj 156 288 *~ 4;
  9. #X obj 156 307 -~ 2;
  10. #X obj 156 326 abs~;
  11. #X obj 156 345 -~ 1;
  12. #X obj 177 212 *;
  13. #X obj 177 193 t b f;
  14. #X obj 156 364 outlet~;
  15. #X text 399 73 variance control \, [0 \, 1];
  16. #X obj 177 174 *;
  17. #X obj 177 155 t b f;
  18. #X obj 177 117 loadbang;
  19. #X obj 177 136 f \$1;
  20. #X text 153 405 Chains can make a surprisingly chaotic and unstable
  21. sounding modulation or audio source. Coefficients of consecutive [vv~]
  22. units can be independently varied for different effects \, and aren't
  23. commutative.;
  24. #X text 212 135 creation argument provides default value;
  25. #X text 247 165 0 = correlation of 1 \, no variance \, i.e. constant.
  26. 1 = maximum variance \, same correlation as input \, i.e. 0 for uniform
  27. white noise. low values are equivalent to a bounded random walk.;
  28. #X text 228 226 This is "standardized" for Fs = 48000 I don't want
  29. the behavior to be dependent on sample rate. At higher sample rates
  30. \, variance of 1 won't reach the maximum. But I think it shouldn't
  31. be audibly different than what you'd get at Fs = 48000;
  32. #X text 207 362 uniform distribution \, [-1 \, 1] with variable correlation/variance
  33. ;
  34. #X text 551 332 Contact: limina@live.com.;
  35. #X text 551 314 Scott Nordlund \, 2012;
  36. #X text 552 351 Last revised: 09.24.2012;
  37. #X text 357 94 this is taken to the fourth power for a more intuitive
  38. control law \, but I don't have any solid theoretical justification
  39. for doing this.;
  40. #X connect 1 0 4 0;
  41. #X connect 2 0 17 0;
  42. #X connect 3 0 4 1;
  43. #X connect 4 0 5 0;
  44. #X connect 5 0 6 0;
  45. #X connect 6 0 7 0;
  46. #X connect 7 0 8 0;
  47. #X connect 8 0 9 0;
  48. #X connect 9 0 12 0;
  49. #X connect 10 0 3 0;
  50. #X connect 11 0 10 0;
  51. #X connect 11 1 10 1;
  52. #X connect 14 0 11 0;
  53. #X connect 14 0 10 0;
  54. #X connect 15 0 14 0;
  55. #X connect 15 1 14 1;
  56. #X connect 16 0 17 0;
  57. #X connect 17 0 15 0;
  58. #X connect 17 0 14 0;