From dc149d5df0de3e1c1c8e6c6519d23a8c7d9e021c Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 22 Nov 2010 04:10:05 +0000 Subject: removed 'fs' prefix for objects where there are no name conflicts svn path=/trunk/externals/framesync/; revision=14467 --- filelooper~-help.pd | 23 +++++++++++ filelooper~.pd | 87 +++++++++++++++++++++++++++++++++++++++++ fsfilelooper~-help.pd | 23 ----------- fsfilelooper~.pd | 87 ----------------------------------------- fstablooper~-help.pd | 58 ---------------------------- fstablooper~.pd | 104 -------------------------------------------------- tablooper~-help.pd | 58 ++++++++++++++++++++++++++++ tablooper~.pd | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 272 insertions(+), 272 deletions(-) create mode 100644 filelooper~-help.pd create mode 100644 filelooper~.pd delete mode 100644 fsfilelooper~-help.pd delete mode 100644 fsfilelooper~.pd delete mode 100644 fstablooper~-help.pd delete mode 100644 fstablooper~.pd create mode 100644 tablooper~-help.pd create mode 100644 tablooper~.pd diff --git a/filelooper~-help.pd b/filelooper~-help.pd new file mode 100644 index 0000000..cd1d9c2 --- /dev/null +++ b/filelooper~-help.pd @@ -0,0 +1,23 @@ +#N canvas 730 299 556 452 10; +#X text 23 15 loops a sound file between a startframe and endframe +; +#X text 163 188 start; +#X text 164 200 frame; +#X text 288 199 frame; +#X text 288 189 end; +#X text 27 238 audio out; +#X text 49 197 filename; +#X obj 170 57 frameclock 400; +#X obj 54 285 output~; +#X text 311 214 args: filename startframe# endframe#; +#X text 26 146 This will loop the voice.wav sound file starting at +frame 50 and ending at frame 200:; +#X obj 54 216 filelooper~ ../../sound/voice.wav 15 111; +#X text 29 341 FYI: if the time between start frame and end frame is +shorter than the sample file \, then you'll get an error message in +the Pd window:; +#X text 44 385 error: soundfiler_read: truncated to 2.249e+06 elements +; +#X text 29 401 It is safe to ignore this message \, it just means it +didn't load the entire sample into memory.; +#X connect 11 0 8 0; diff --git a/filelooper~.pd b/filelooper~.pd new file mode 100644 index 0000000..5de60e7 --- /dev/null +++ b/filelooper~.pd @@ -0,0 +1,87 @@ +#N canvas 683 441 573 321 10; +#X obj 240 21 inlet; +#X obj 155 42 loadbang; +#X obj 400 21 inlet; +#X obj 146 264 outlet~; +#X text 294 23 start frame; +#X text 445 19 end frame; +#X obj 240 96 purepd/float_argument \$2; +#X obj 400 96 purepd/float_argument \$3; +#X text 101 22 first arg is filename; +#X obj 40 21 inlet; +#X obj 40 96 purepd/symbol_argument \$1; +#X obj 155 65 trigger bang bang bang; +#X obj 40 176 table \$0-sample; +#X obj 146 197 tablooper~ \$0-sample; +#N canvas 206 494 450 300 load 0; +#X obj 22 113 pack symbol symbol; +#X obj 22 136 zexy/makesymbol %s/%s; +#X obj 22 90 ggee/getdir 2; +#X obj 22 44 symbol; +#X obj 22 10 inlet; +#X obj 92 164 symbol \$0-sample; +#X obj 22 66 trigger bang anything bang; +#X obj 22 232 soundfiler; +#X obj 163 10 inlet; +#X obj 22 188 pack symbol symbol float; +#X msg 22 209 read -resize -maxsize \$3 \$1 \$2; +#X connect 0 0 1 0; +#X connect 1 0 9 0; +#X connect 2 0 0 0; +#X connect 3 0 6 0; +#X connect 4 0 3 0; +#X connect 5 0 9 1; +#X connect 6 0 2 0; +#X connect 6 1 0 1; +#X connect 6 2 5 0; +#X connect 8 0 9 2; +#X connect 9 0 10 0; +#X connect 10 0 7 0; +#X restore 40 155 pd load \$0-sample; +#N canvas 0 22 450 300 calc 0; +#X obj 89 16 inlet; +#X obj 249 16 inlet; +#X text 143 18 start frame; +#X text 294 14 end frame; +#X obj 126 269 outlet; +#X obj 141 140 fps_ms; +#X obj 126 106 -; +#X obj 89 79 float; +#X obj 126 160 *; +#X obj 89 52 trigger bang 0 bang; +#X obj 141 203 samplerate~; +#X obj 126 182 / 1000; +#X obj 126 247 + 1000; +#X obj 126 222 *; +#X text 171 247 give it a little extra pad; +#X connect 0 0 9 0; +#X connect 1 0 7 1; +#X connect 5 0 8 1; +#X connect 6 0 8 0; +#X connect 7 0 6 0; +#X connect 8 0 11 0; +#X connect 9 0 7 0; +#X connect 9 1 6 1; +#X connect 9 2 5 0; +#X connect 9 2 10 0; +#X connect 10 0 13 1; +#X connect 11 0 13 0; +#X connect 12 0 4 0; +#X connect 13 0 12 0; +#X restore 139 135 pd calc array maxsize; +#X msg 252 45 bang; +#X connect 0 0 6 0; +#X connect 1 0 11 0; +#X connect 2 0 7 0; +#X connect 6 0 13 1; +#X connect 6 0 15 0; +#X connect 7 0 13 2; +#X connect 7 0 15 1; +#X connect 9 0 10 0; +#X connect 10 0 14 0; +#X connect 11 0 10 0; +#X connect 11 1 6 0; +#X connect 11 2 7 0; +#X connect 13 0 3 0; +#X connect 15 0 14 1; +#X connect 16 0 11 0; diff --git a/fsfilelooper~-help.pd b/fsfilelooper~-help.pd deleted file mode 100644 index 51cf8f0..0000000 --- a/fsfilelooper~-help.pd +++ /dev/null @@ -1,23 +0,0 @@ -#N canvas 730 299 556 452 10; -#X text 23 15 loops a sound file between a startframe and endframe -; -#X text 163 188 start; -#X text 164 200 frame; -#X text 288 199 frame; -#X text 288 189 end; -#X text 27 238 audio out; -#X text 49 197 filename; -#X obj 170 57 frameclock 400; -#X obj 54 285 output~; -#X text 311 214 args: filename startframe# endframe#; -#X text 26 146 This will loop the voice.wav sound file starting at -frame 50 and ending at frame 200:; -#X obj 54 216 fsfilelooper~ ../../sound/voice.wav 15 111; -#X text 29 341 FYI: if the time between start frame and end frame is -shorter than the sample file \, then you'll get an error message in -the Pd window:; -#X text 44 385 error: soundfiler_read: truncated to 2.249e+06 elements -; -#X text 29 401 It is safe to ignore this message \, it just means it -didn't load the entire sample into memory.; -#X connect 11 0 8 0; diff --git a/fsfilelooper~.pd b/fsfilelooper~.pd deleted file mode 100644 index fd9caf1..0000000 --- a/fsfilelooper~.pd +++ /dev/null @@ -1,87 +0,0 @@ -#N canvas 683 441 573 321 10; -#X obj 240 21 inlet; -#X obj 155 42 loadbang; -#X obj 400 21 inlet; -#X obj 146 264 outlet~; -#X text 294 23 start frame; -#X text 445 19 end frame; -#X obj 240 96 purepd/float_argument \$2; -#X obj 400 96 purepd/float_argument \$3; -#X text 101 22 first arg is filename; -#X obj 40 21 inlet; -#X obj 40 96 purepd/symbol_argument \$1; -#X obj 155 65 trigger bang bang bang; -#X obj 40 176 table \$0-sample; -#X obj 146 197 fstablooper~ \$0-sample; -#N canvas 206 494 450 300 load 0; -#X obj 22 113 pack symbol symbol; -#X obj 22 136 zexy/makesymbol %s/%s; -#X obj 22 90 ggee/getdir 2; -#X obj 22 44 symbol; -#X obj 22 10 inlet; -#X obj 92 164 symbol \$0-sample; -#X obj 22 66 trigger bang anything bang; -#X obj 22 232 soundfiler; -#X obj 163 10 inlet; -#X obj 22 188 pack symbol symbol float; -#X msg 22 209 read -resize -maxsize \$3 \$1 \$2; -#X connect 0 0 1 0; -#X connect 1 0 9 0; -#X connect 2 0 0 0; -#X connect 3 0 6 0; -#X connect 4 0 3 0; -#X connect 5 0 9 1; -#X connect 6 0 2 0; -#X connect 6 1 0 1; -#X connect 6 2 5 0; -#X connect 8 0 9 2; -#X connect 9 0 10 0; -#X connect 10 0 7 0; -#X restore 40 155 pd load \$0-sample; -#N canvas 0 22 450 300 calc 0; -#X obj 89 16 inlet; -#X obj 249 16 inlet; -#X text 143 18 start frame; -#X text 294 14 end frame; -#X obj 126 269 outlet; -#X obj 141 140 fps_ms; -#X obj 126 106 -; -#X obj 89 79 float; -#X obj 126 160 *; -#X obj 89 52 trigger bang 0 bang; -#X obj 141 203 samplerate~; -#X obj 126 182 / 1000; -#X obj 126 247 + 1000; -#X obj 126 222 *; -#X text 171 247 give it a little extra pad; -#X connect 0 0 9 0; -#X connect 1 0 7 1; -#X connect 5 0 8 1; -#X connect 6 0 8 0; -#X connect 7 0 6 0; -#X connect 8 0 11 0; -#X connect 9 0 7 0; -#X connect 9 1 6 1; -#X connect 9 2 5 0; -#X connect 9 2 10 0; -#X connect 10 0 13 1; -#X connect 11 0 13 0; -#X connect 12 0 4 0; -#X connect 13 0 12 0; -#X restore 139 135 pd calc array maxsize; -#X msg 252 45 bang; -#X connect 0 0 6 0; -#X connect 1 0 11 0; -#X connect 2 0 7 0; -#X connect 6 0 13 1; -#X connect 6 0 15 0; -#X connect 7 0 13 2; -#X connect 7 0 15 1; -#X connect 9 0 10 0; -#X connect 10 0 14 0; -#X connect 11 0 10 0; -#X connect 11 1 6 0; -#X connect 11 2 7 0; -#X connect 13 0 3 0; -#X connect 15 0 14 1; -#X connect 16 0 11 0; diff --git a/fstablooper~-help.pd b/fstablooper~-help.pd deleted file mode 100644 index a19a2f4..0000000 --- a/fstablooper~-help.pd +++ /dev/null @@ -1,58 +0,0 @@ -#N canvas 593 415 594 533 10; -#X text 30 7 loops a sound file between a startframe and endframe; -#X text 133 227 start; -#X text 134 239 frame; -#X text 216 239 frame; -#X text 215 229 end; -#X text 29 278 audio out; -#X obj 90 69 frameclock 400; -#X obj 56 455 output~; -#X text 31 187 This will loop the voice.wav sound file starting at -frame 50 and ending at frame 200:; -#N canvas 0 22 450 300 (subpatch) 0; -#X array \$0-array 62079 float 2; -#X coords 0 1 62079 -1 100 70 1; -#X restore 420 19 graph; -#X obj 402 121 symbol \$0-array; -#X obj 402 165 soundfiler; -#X obj 402 100 loadbang; -#X msg 460 101 bang; -#X text 238 255 args: array startframe# endframe#; -#X text 49 236 array; -#X obj 259 330 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 0 1; -#X floatatom 256 349 5 0 0 0 - - -; -#X obj 256 309 line; -#X text 149 276 right outlet outputs a message to send to a line which -will generate a line with 0 at the start and 1 at the end; -#X obj 85 431 *~; -#X obj 100 411 line~; -#X obj 85 355 osc~ 333; -#X msg 177 382 0; -#X obj 85 376 *~ 0.3; -#X obj 177 361 select 1; -#X msg 90 42 33; -#X msg 123 42 53; -#X msg 402 142 read ../../sound/voice.wav \$1; -#X msg 152 42 111; -#X obj 62 256 fstablooper~ \$0-array 20 126; -#X text 180 41 <-- try jumping to a frame; -#X connect 10 0 28 0; -#X connect 12 0 10 0; -#X connect 13 0 10 0; -#X connect 16 0 17 0; -#X connect 18 0 16 0; -#X connect 18 0 25 0; -#X connect 20 0 7 1; -#X connect 21 0 20 1; -#X connect 22 0 24 0; -#X connect 23 0 21 0; -#X connect 24 0 20 0; -#X connect 25 0 23 0; -#X connect 26 0 6 0; -#X connect 27 0 6 0; -#X connect 28 0 11 0; -#X connect 29 0 6 0; -#X connect 30 0 7 0; -#X connect 30 1 18 0; -#X connect 30 1 21 0; diff --git a/fstablooper~.pd b/fstablooper~.pd deleted file mode 100644 index c3b2b30..0000000 --- a/fstablooper~.pd +++ /dev/null @@ -1,104 +0,0 @@ -#N canvas 535 426 858 542 10; -#X obj 301 4 inlet; -#X obj 131 508 outlet~; -#X obj 301 83 purepd/symbol_argument \$1; -#X obj 224 26 loadbang; -#X obj 504 11 inlet; -#X text 544 8 frame # when to play; -#X obj 504 82 purepd/float_argument \$2; -#X obj 104 190 moses; -#X obj 131 210 moses; -#X obj 131 361 -; -#X obj 273 508 outlet; -#X obj 131 481 tabplay~ \$1; -#X msg 301 436 set \$1; -#X obj 32 101 receive framesync/frameclock; -#X text 29 84 current frame #; -#X text 342 3 array to play; -#X obj 674 11 inlet; -#X obj 674 82 purepd/float_argument \$3; -#X text 714 8 frame # when to stop; -#X obj 224 46 trigger bang bang bang bang bang; -#X msg 285 26 bang; -#X obj 208 481 bang; -#X obj 252 238 fps_ms; -#X obj 237 317 samplerate~; -#X obj 237 359 *; -#X obj 252 338 / 1000; -#X obj 131 397 *; -#X obj 131 420 %; -#X obj 224 396 arraysize; -#X msg 212 430 stop; -#N canvas 738 24 450 300 reset 0; -#X obj 191 140 delay; -#X obj 191 119 bang; -#X obj 128 210 purepd/once; -#X obj 221 119 + 1; -#X obj 205 164 receive framesync/reset; -#X obj 13 11 inlet; -#X obj 221 11 inlet; -#X obj 128 250 outlet; -#X obj 242 250 outlet; -#X obj 191 186 bang; -#X obj 91 86 float; -#X obj 91 116 -; -#X text 130 85 if we skipped a frame \, reset; -#X obj 91 137 select -1; -#X text 230 134 if the frameclock stops \, reset; -#X obj 13 50 trigger float float bang float; -#X connect 0 0 9 0; -#X connect 1 0 0 0; -#X connect 2 0 7 0; -#X connect 3 0 0 1; -#X connect 4 0 9 0; -#X connect 5 0 15 0; -#X connect 6 0 3 0; -#X connect 9 0 2 1; -#X connect 9 0 8 0; -#X connect 10 0 11 0; -#X connect 11 0 13 0; -#X connect 13 1 9 0; -#X connect 15 0 2 0; -#X connect 15 1 10 1; -#X connect 15 2 10 0; -#X connect 15 2 1 0; -#X connect 15 3 11 1; -#X restore 131 262 pd reset delay; -#X text 319 508 TODO output messages to send to line \, line~ \, vline~ -; -#X connect 0 0 2 0; -#X connect 2 0 12 0; -#X connect 2 0 28 1; -#X connect 3 0 19 0; -#X connect 4 0 6 0; -#X connect 6 0 9 1; -#X connect 6 0 7 1; -#X connect 7 1 8 0; -#X connect 8 0 30 0; -#X connect 9 0 26 0; -#X connect 11 0 1 0; -#X connect 11 1 21 0; -#X connect 12 0 11 0; -#X connect 13 0 7 0; -#X connect 16 0 17 0; -#X connect 17 0 8 1; -#X connect 19 0 23 0; -#X connect 19 0 28 0; -#X connect 19 1 22 0; -#X connect 19 2 2 0; -#X connect 19 3 6 0; -#X connect 19 4 17 0; -#X connect 20 0 19 0; -#X connect 21 0 11 0; -#X connect 22 0 25 0; -#X connect 22 0 30 1; -#X connect 23 0 24 0; -#X connect 24 0 26 1; -#X connect 25 0 24 1; -#X connect 26 0 27 0; -#X connect 27 0 11 0; -#X connect 28 0 27 1; -#X connect 29 0 11 0; -#X connect 29 0 10 0; -#X connect 30 0 9 0; -#X connect 30 1 29 0; diff --git a/tablooper~-help.pd b/tablooper~-help.pd new file mode 100644 index 0000000..a160faa --- /dev/null +++ b/tablooper~-help.pd @@ -0,0 +1,58 @@ +#N canvas 593 415 594 533 10; +#X text 30 7 loops a sound file between a startframe and endframe; +#X text 133 227 start; +#X text 134 239 frame; +#X text 216 239 frame; +#X text 215 229 end; +#X text 29 278 audio out; +#X obj 90 69 frameclock 400; +#X obj 56 455 output~; +#X text 31 187 This will loop the voice.wav sound file starting at +frame 50 and ending at frame 200:; +#N canvas 0 22 450 300 (subpatch) 0; +#X array \$0-array 62079 float 2; +#X coords 0 1 62079 -1 100 70 1; +#X restore 420 19 graph; +#X obj 402 121 symbol \$0-array; +#X obj 402 165 soundfiler; +#X obj 402 100 loadbang; +#X msg 460 101 bang; +#X text 238 255 args: array startframe# endframe#; +#X text 49 236 array; +#X obj 259 330 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 +-1 -1 0 1; +#X floatatom 256 349 5 0 0 0 - - -; +#X obj 256 309 line; +#X text 149 276 right outlet outputs a message to send to a line which +will generate a line with 0 at the start and 1 at the end; +#X obj 85 431 *~; +#X obj 100 411 line~; +#X obj 85 355 osc~ 333; +#X msg 177 382 0; +#X obj 85 376 *~ 0.3; +#X obj 177 361 select 1; +#X msg 90 42 33; +#X msg 123 42 53; +#X msg 402 142 read ../../sound/voice.wav \$1; +#X msg 152 42 111; +#X obj 62 256 tablooper~ \$0-array 20 126; +#X text 180 41 <-- try jumping to a frame; +#X connect 10 0 28 0; +#X connect 12 0 10 0; +#X connect 13 0 10 0; +#X connect 16 0 17 0; +#X connect 18 0 16 0; +#X connect 18 0 25 0; +#X connect 20 0 7 1; +#X connect 21 0 20 1; +#X connect 22 0 24 0; +#X connect 23 0 21 0; +#X connect 24 0 20 0; +#X connect 25 0 23 0; +#X connect 26 0 6 0; +#X connect 27 0 6 0; +#X connect 28 0 11 0; +#X connect 29 0 6 0; +#X connect 30 0 7 0; +#X connect 30 1 18 0; +#X connect 30 1 21 0; diff --git a/tablooper~.pd b/tablooper~.pd new file mode 100644 index 0000000..c3b2b30 --- /dev/null +++ b/tablooper~.pd @@ -0,0 +1,104 @@ +#N canvas 535 426 858 542 10; +#X obj 301 4 inlet; +#X obj 131 508 outlet~; +#X obj 301 83 purepd/symbol_argument \$1; +#X obj 224 26 loadbang; +#X obj 504 11 inlet; +#X text 544 8 frame # when to play; +#X obj 504 82 purepd/float_argument \$2; +#X obj 104 190 moses; +#X obj 131 210 moses; +#X obj 131 361 -; +#X obj 273 508 outlet; +#X obj 131 481 tabplay~ \$1; +#X msg 301 436 set \$1; +#X obj 32 101 receive framesync/frameclock; +#X text 29 84 current frame #; +#X text 342 3 array to play; +#X obj 674 11 inlet; +#X obj 674 82 purepd/float_argument \$3; +#X text 714 8 frame # when to stop; +#X obj 224 46 trigger bang bang bang bang bang; +#X msg 285 26 bang; +#X obj 208 481 bang; +#X obj 252 238 fps_ms; +#X obj 237 317 samplerate~; +#X obj 237 359 *; +#X obj 252 338 / 1000; +#X obj 131 397 *; +#X obj 131 420 %; +#X obj 224 396 arraysize; +#X msg 212 430 stop; +#N canvas 738 24 450 300 reset 0; +#X obj 191 140 delay; +#X obj 191 119 bang; +#X obj 128 210 purepd/once; +#X obj 221 119 + 1; +#X obj 205 164 receive framesync/reset; +#X obj 13 11 inlet; +#X obj 221 11 inlet; +#X obj 128 250 outlet; +#X obj 242 250 outlet; +#X obj 191 186 bang; +#X obj 91 86 float; +#X obj 91 116 -; +#X text 130 85 if we skipped a frame \, reset; +#X obj 91 137 select -1; +#X text 230 134 if the frameclock stops \, reset; +#X obj 13 50 trigger float float bang float; +#X connect 0 0 9 0; +#X connect 1 0 0 0; +#X connect 2 0 7 0; +#X connect 3 0 0 1; +#X connect 4 0 9 0; +#X connect 5 0 15 0; +#X connect 6 0 3 0; +#X connect 9 0 2 1; +#X connect 9 0 8 0; +#X connect 10 0 11 0; +#X connect 11 0 13 0; +#X connect 13 1 9 0; +#X connect 15 0 2 0; +#X connect 15 1 10 1; +#X connect 15 2 10 0; +#X connect 15 2 1 0; +#X connect 15 3 11 1; +#X restore 131 262 pd reset delay; +#X text 319 508 TODO output messages to send to line \, line~ \, vline~ +; +#X connect 0 0 2 0; +#X connect 2 0 12 0; +#X connect 2 0 28 1; +#X connect 3 0 19 0; +#X connect 4 0 6 0; +#X connect 6 0 9 1; +#X connect 6 0 7 1; +#X connect 7 1 8 0; +#X connect 8 0 30 0; +#X connect 9 0 26 0; +#X connect 11 0 1 0; +#X connect 11 1 21 0; +#X connect 12 0 11 0; +#X connect 13 0 7 0; +#X connect 16 0 17 0; +#X connect 17 0 8 1; +#X connect 19 0 23 0; +#X connect 19 0 28 0; +#X connect 19 1 22 0; +#X connect 19 2 2 0; +#X connect 19 3 6 0; +#X connect 19 4 17 0; +#X connect 20 0 19 0; +#X connect 21 0 11 0; +#X connect 22 0 25 0; +#X connect 22 0 30 1; +#X connect 23 0 24 0; +#X connect 24 0 26 1; +#X connect 25 0 24 1; +#X connect 26 0 27 0; +#X connect 27 0 11 0; +#X connect 28 0 27 1; +#X connect 29 0 11 0; +#X connect 29 0 10 0; +#X connect 30 0 9 0; +#X connect 30 1 29 0; -- cgit v1.2.1