From ba336213f76f8ccd9a72961ff661fd6b6d7b1fab Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Tue, 3 Aug 2010 13:23:04 +0000 Subject: Added segment playing to sample_play svn path=/trunk/externals/tof/; revision=13742 --- tof/sample_play~-help.pd | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) (limited to 'tof/sample_play~-help.pd') diff --git a/tof/sample_play~-help.pd b/tof/sample_play~-help.pd index 673748c..894f334 100644 --- a/tof/sample_play~-help.pd +++ b/tof/sample_play~-help.pd @@ -1,14 +1,14 @@ -#N canvas 1124 102 553 386 10; +#N canvas 2245 349 553 386 10; #X obj 61 317 dac~; -#X obj 59 96 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +#X obj 57 73 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; -#X obj 78 123 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 -1; +#X obj 71 94 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1 +; #X floatatom 133 183 5 0 0 0 - - -; #X text 13 -28 Description: Plays a sample; #X text 14 -8 Tags: Sound Table Sample; -#X text 85 94 Inlet 1 \, bang: play sample once; -#X text 95 120 Inlet 1 \, float: stop/play sample in a loop; +#X text 83 71 Inlet 1 \, bang: play sample once; +#X text 88 91 Inlet 1 \, float: stop/play sample in a loop; #X text 178 146 Inlet 1 \, sample symbol: set sample; #X msg 96 146 sample smppl; #X text 96 328 Outlet 1 \, signal: left channel audio output; @@ -23,17 +23,20 @@ #X text 227 200 set duration (in ms); #X obj 144 266 cyclone/Snapshot~ 100; #X floatatom 145 288 5 0 0 0 - - -; -#X obj 59 229 tof/sample_play~ smppl; -#X text 180 290 Outlet 3 \, signal: progress; +#X text 211 288 Outlet 3 \, signal: progress; #X text 234 245 Outlet 4 \, bang: done; -#X connect 1 0 20 0; -#X connect 2 0 20 0; -#X connect 3 0 20 1; -#X connect 9 0 20 0; +#X text 150 117 Inlet 1 \, list: play a segment of the sample; +#X obj 59 229 tof/sample_play~ smppl; +#X msg 86 119 0.25 0.5; +#X connect 1 0 23 0; +#X connect 2 0 23 0; +#X connect 3 0 23 1; +#X connect 9 0 23 0; #X connect 12 0 13 0; -#X connect 16 0 20 2; +#X connect 16 0 23 2; #X connect 18 0 19 0; -#X connect 20 0 0 0; -#X connect 20 1 0 1; -#X connect 20 2 18 0; -#X connect 20 3 14 0; +#X connect 23 0 0 0; +#X connect 23 1 0 1; +#X connect 23 2 18 0; +#X connect 23 3 14 0; +#X connect 24 0 23 0; -- cgit v1.2.1