sample_unpack-help.pd 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #N canvas 1 53 763 458 10;
  2. #X obj 62 387 print rate;
  3. #X obj 139 388 print file;
  4. #X obj 323 386 print channels;
  5. #X msg 172 225 bang;
  6. #X obj 432 386 print end;
  7. #X obj 499 385 print start;
  8. #X msg 62 196 sample smpunpck;
  9. #X text 67 48 Tags: Sample Sound;
  10. #X text 65 29 Description: Outputs a sample's information;
  11. #X text 169 195 Inlet 1 \, sample symbol: output the sample's information
  12. ;
  13. #X text 208 223 Inlet1 \, bang: re-outputs the sample's information
  14. ;
  15. #X obj 367 151 tof/sample smpunpck;
  16. #X msg 367 124 read \$1;
  17. #X obj 367 100 openpanel;
  18. #X obj 367 80 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  19. -1;
  20. #X text 391 77 Load a sound file (wav);
  21. #X obj 62 267 tof/sample_unpack;
  22. #X obj 578 385 print size;
  23. #X obj 221 387 print basename;
  24. #N canvas 295 170 494 344 META 0;
  25. #X text 12 245 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  26. Wilkes for Pd version 0.42.;
  27. #X text 12 45 LICENSE GPL v2;
  28. #X text 12 225 AUTHOR Thomas Ouellet Fredericks;
  29. #X text 12 85 OUTLET_0 float;
  30. #X text 12 5 KEYWORDS control filesystem soundfile;
  31. #X text 12 25 DESCRIPTION output a sample's information;
  32. #X text 12 65 INLET_0 bang sample;
  33. #X text 12 105 OUTLET_1 symbol;
  34. #X text 12 125 OUTLET_2 symbol;
  35. #X text 12 145 OUTLET_3 float;
  36. #X text 12 165 OUTLET_4 float;
  37. #X text 12 185 OUTLET_5 float;
  38. #X text 12 205 OUTLET_6 float;
  39. #X restore 705 415 pd META;
  40. #X connect 3 0 16 0;
  41. #X connect 6 0 16 0;
  42. #X connect 12 0 11 0;
  43. #X connect 13 0 12 0;
  44. #X connect 14 0 13 0;
  45. #X connect 16 0 0 0;
  46. #X connect 16 1 1 0;
  47. #X connect 16 2 18 0;
  48. #X connect 16 3 2 0;
  49. #X connect 16 4 4 0;
  50. #X connect 16 5 5 0;
  51. #X connect 16 6 17 0;