sample_granule~-help.pd 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #N canvas 1 53 716 518 10;
  2. #X obj 447 52 tof/sample smpgranu ../../doc/sound/voice.wav;
  3. #X obj 46 129 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  4. -1;
  5. #X obj 62 164 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
  6. 1;
  7. #X floatatom 116 288 5 0 0 0 - - -;
  8. #X text 66 128 Inlet 1 \, bang: Play sample once;
  9. #X text 81 161 Inlet 1 \, float: Start/stop playing looped sample;
  10. #X text 27 63 Tags: Sound Sample Play;
  11. #X obj 72 422 dac~;
  12. #X text 29 32 Description: Pitchshifts or timestretches a sample with
  13. the granular method;
  14. #X text 187 191 Inlet 1 \, grain float: Configure grain length (# of
  15. samples);
  16. #X msg 84 195 grain 360;
  17. #X msg 98 219 grain 7056;
  18. #X msg 114 243 grain 1764;
  19. #X obj 46 370 sample_granule~ smpgranu;
  20. #X obj 447 26 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  21. -1;
  22. #X floatatom 187 315 5 0 0 0 - - -;
  23. #X text 225 314 Inlet 3 \, float: Duration in milliseconds;
  24. #X obj 207 344 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  25. -1 -1;
  26. #X text 242 342 Inlet 3 \, bang: Reset to original duration;
  27. #X text 154 286 Inlet 2 \, float: Pitch (1=original pitch);
  28. #X obj 281 400 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  29. -1 -1;
  30. #X obj 218 419 cyclone/Snapshot~ 100;
  31. #X floatatom 218 441 5 0 0 0 - - -;
  32. #X text 255 442 Outlet 3 \, signal: progress;
  33. #X text 307 397 Outlet 4 \, bang: done;
  34. #N canvas 434 189 494 344 META 0;
  35. #X text 12 235 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  36. Wilkes for Pd version 0.42.;
  37. #X text 12 215 AUTHOR Thomas Ouellet Fredericks;
  38. #X text 12 55 LICENSE GPL v2;
  39. #X text 12 25 DESCRIPTION pitchshift or timestretch a sample with the
  40. granular method;
  41. #X text 12 5 KEYWORDS control abstraction soundfile;
  42. #X text 12 75 INLET_0 bang float grain;
  43. #X text 12 95 INLET_1 float;
  44. #X text 12 115 INLET_2 float bang;
  45. #X text 12 135 OUTLET_0 signal;
  46. #X text 12 155 OUTLET_1 signal;
  47. #X text 12 175 OUTLET_2 signal;
  48. #X text 12 195 OUTLET_3 bang;
  49. #X restore 656 462 pd META;
  50. #X connect 1 0 13 0;
  51. #X connect 2 0 13 0;
  52. #X connect 3 0 13 1;
  53. #X connect 10 0 13 0;
  54. #X connect 11 0 13 0;
  55. #X connect 12 0 13 0;
  56. #X connect 13 0 7 0;
  57. #X connect 13 1 7 1;
  58. #X connect 13 2 21 0;
  59. #X connect 13 3 20 0;
  60. #X connect 14 0 0 0;
  61. #X connect 15 0 13 2;
  62. #X connect 17 0 13 2;
  63. #X connect 21 0 22 0;