From fd04ec570134e0271c7bc8c0ff05fcb9b36a09c1 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 19 Nov 2010 17:20:29 +0000 Subject: object to play back soundfile with a speed based on a specified pitch value svn path=/trunk/externals/framesync/; revision=14447 --- tabpitcher~-help.pd | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 tabpitcher~-help.pd (limited to 'tabpitcher~-help.pd') diff --git a/tabpitcher~-help.pd b/tabpitcher~-help.pd new file mode 100644 index 0000000..a51defc --- /dev/null +++ b/tabpitcher~-help.pd @@ -0,0 +1,40 @@ +#N canvas 516 233 641 433 10; +#X text 140 227 frame; +#X text 71 265 audio out; +#X text 96 216 array; +#X text 96 227 name; +#X text 141 216 start; +#X obj 377 279 soundfiler; +#X obj 377 232 symbol \$0-array; +#N canvas 0 22 450 300 (subpatch) 0; +#X array \$0-array 20756 float 2; +#X coords 0 1 20756 -1 200 140 1; +#X restore 376 50 graph; +#X obj 94 113 frameclock 400; +#X obj 76 322 output~; +#X msg 108 82 78; +#X msg 77 82 55; +#X text 134 80 <-- try jumping to a frame; +#X obj 377 211 loadbang; +#X obj 436 214 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X msg 377 254 read -resize corkpop.wav \$1; +#X obj 95 244 tabpitcher~ \$0-array 10 60; +#X text 13 17 Plays a sound til it ends \, synced up to the frame clock +\, with a set pitch \, based on a root pitch. The root pitch defaults +to 69 (A above middle C \, 440Hz). It stays in sync when randomly accessing +different frame numbers.; +#X text 231 216 root; +#X text 230 227 pitch; +#X text 186 227 pitch; +#X text 184 216 play; +#X text 177 308 arguments: arrayname startframe# play_pitch root_pitch +; +#X connect 6 0 15 0; +#X connect 10 0 8 0; +#X connect 11 0 8 0; +#X connect 13 0 6 0; +#X connect 14 0 6 0; +#X connect 15 0 5 0; +#X connect 16 0 9 0; +#X connect 16 0 9 1; -- cgit v1.2.1