From 0fc326ae5afe186ed7600ce753d486be7d8c4714 Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Sat, 29 May 2010 18:51:29 +0000 Subject: some sample_ abstractions where not loading their sample correctly svn path=/trunk/externals/tof/; revision=13576 --- tof/sample_play~.pd | 1 + tof/sample_record~-help.pd | 23 +++++++++++------------ tof/sample_record~.pd | 11 +++++++---- tof/sample_shifft~-help.pd | 2 +- tof/sample_shifft~.pd | 1 + 5 files changed, 21 insertions(+), 17 deletions(-) diff --git a/tof/sample_play~.pd b/tof/sample_play~.pd index b0e60b4..e427175 100644 --- a/tof/sample_play~.pd +++ b/tof/sample_play~.pd @@ -174,6 +174,7 @@ #X connect 11 0 1 0; #X connect 11 1 6 1; #X connect 11 1 7 1; +#X connect 11 2 12 0; #X connect 12 0 18 0; #X connect 12 1 14 0; #X connect 12 3 8 1; diff --git a/tof/sample_record~-help.pd b/tof/sample_record~-help.pd index 1793e97..f536dc2 100644 --- a/tof/sample_record~-help.pd +++ b/tof/sample_record~-help.pd @@ -1,4 +1,4 @@ -#N canvas 1392 171 658 474 10; +#N canvas 1134 242 766 482 10; #X text 227 253 Argument 1 \, symbol: the name of the sample to record to; #X text 44 4 Description: Records into samples; @@ -8,8 +8,6 @@ to; 1; #X text 239 44 A 10 second mono sample (at a samplerate of 44100); #X obj 239 65 tof/sample recording 441000 1; -#X obj 65 253 sample_record~ recording; -#X obj 74 374 tof/sample_play~ recording; #X obj 75 331 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 74 416 dac~; @@ -21,12 +19,13 @@ to; #X text 332 213 Inlet 3 \, sample symbol: set the sample; #X text 231 171 Inlet 3 \, float: turn recording on/off. The maximum recording length is limited by the size of the sample; -#X text 70 310 You can play the recorded sample with [tof/sample_play~] -; -#X connect 3 0 7 0; -#X connect 4 0 7 2; -#X connect 8 0 10 0; -#X connect 8 1 10 1; -#X connect 9 0 8 0; -#X connect 11 0 8 0; -#X connect 12 0 7 2; +#X obj 74 374 tof/sample_play~ recording; +#X obj 65 253 sample_record~ recording; +#X text 130 329 Play or loop the recording; +#X connect 3 0 16 0; +#X connect 4 0 16 2; +#X connect 7 0 15 0; +#X connect 9 0 15 0; +#X connect 10 0 16 2; +#X connect 15 0 8 0; +#X connect 15 1 8 1; diff --git a/tof/sample_record~.pd b/tof/sample_record~.pd index 404c60e..f738aa8 100644 --- a/tof/sample_record~.pd +++ b/tof/sample_record~.pd @@ -12,14 +12,15 @@ #X msg 553 286 set 1-\$1; #X obj 122 436 snapshot~; #X obj 438 511 f; -#X obj 241 256 sel 0; -#X obj 259 165 t f f; +#X obj 258 178 sel 0; +#X obj 239 142 t f f; #X obj 123 464 sel -1; #X obj 249 398 cyclone/record~; #X obj 295 644 tof/sample_packel; #X msg 300 596 start 0 \, end \$1; #X obj 305 65 route sample; #X obj 480 158 tof/sample_unpack; +#X obj 285 203 b; #X connect 0 0 6 0; #X connect 1 0 16 0; #X connect 2 0 19 0; @@ -35,8 +36,9 @@ #X connect 11 0 15 0; #X connect 12 0 18 0; #X connect 13 0 11 0; -#X connect 14 0 13 0; -#X connect 14 1 6 0; +#X connect 13 1 21 0; +#X connect 14 0 6 0; +#X connect 14 1 13 0; #X connect 15 0 12 0; #X connect 15 1 18 0; #X connect 18 0 17 0; @@ -47,3 +49,4 @@ #X connect 20 2 10 0; #X connect 20 3 8 0; #X connect 20 6 12 1; +#X connect 21 0 4 0; diff --git a/tof/sample_shifft~-help.pd b/tof/sample_shifft~-help.pd index 8532e64..ef6fbd9 100644 --- a/tof/sample_shifft~-help.pd +++ b/tof/sample_shifft~-help.pd @@ -1,4 +1,4 @@ -#N canvas 1219 290 679 377 10; +#N canvas 101 260 679 377 10; #X obj 87 331 dac~; #X obj 28 158 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; diff --git a/tof/sample_shifft~.pd b/tof/sample_shifft~.pd index 964ceb6..1767e1f 100644 --- a/tof/sample_shifft~.pd +++ b/tof/sample_shifft~.pd @@ -702,3 +702,4 @@ shifts the signal to the left or right depending on its argument.) #X connect 15 0 12 0; #X connect 15 1 3 1; #X connect 15 1 4 1; +#X connect 15 2 13 0; -- cgit v1.2.1