sample_record~-help.pd 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #N canvas 1 53 766 482 10;
  2. #X text 227 253 Argument 1 \, symbol: the name of the sample to record
  3. to;
  4. #X text 44 4 Description: Records into samples;
  5. #X text 41 21 Tags: Sound Sample Record;
  6. #X obj 65 198 adc~;
  7. #X obj 206 176 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
  8. 1;
  9. #X text 239 44 A 10 second mono sample (at a samplerate of 44100);
  10. #X obj 75 331 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  11. -1;
  12. #X obj 74 416 dac~;
  13. #X obj 104 332 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
  14. 1;
  15. #X msg 225 215 sample recording;
  16. #X text 57 126 Inlet 1 \, signal: left or mono channel audio data;
  17. #X text 56 141 Inlet 2 \, signal: right channel audio data;
  18. #X text 332 213 Inlet 3 \, sample symbol: set the sample;
  19. #X text 231 171 Inlet 3 \, float: turn recording on/off. The maximum
  20. recording length is limited by the size of the sample;
  21. #X text 130 329 Play or loop the recording;
  22. #X obj 242 66 tof/sample recording 441000 1;
  23. #X obj 65 253 sample_record~ recording;
  24. #X obj 75 373 tof/sample_play~ recording;
  25. #N canvas 371 286 494 344 META 0;
  26. #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  27. Wilkes for Pd version 0.42.;
  28. #X text 12 45 LICENSE GPL v2;
  29. #X text 12 125 AUTHOR Thomas Ouellet Fredericks;
  30. #X text 12 25 DESCRIPTION record into samples;
  31. #X text 12 5 KEYWORDS control abstraction array soundfile;
  32. #X text 12 65 INLET_0 signal;
  33. #X text 12 85 INLET_1 signal;
  34. #X text 12 105 INLET_2 float sample;
  35. #X restore 705 427 pd META;
  36. #X connect 3 0 16 0;
  37. #X connect 4 0 16 2;
  38. #X connect 6 0 17 0;
  39. #X connect 8 0 17 0;
  40. #X connect 9 0 16 2;
  41. #X connect 17 0 7 0;
  42. #X connect 17 1 7 1;