Revision: 10417 http://pure-data.svn.sourceforge.net/pure-data/?rev=10417&view=rev Author: eighthave Date: 2008-12-02 22:21:03 +0000 (Tue, 02 Dec 2008)
Log Message: ----------- created folder for 'framesync' library developed while working on noh-Timegarden and Terre Natale
Added Paths: ----------- trunk/externals/framesync/ trunk/externals/framesync/fsclock-help.pd trunk/externals/framesync/fsclock.pd trunk/externals/framesync/fsline-help.pd trunk/externals/framesync/fsline.pd trunk/externals/framesync/fstabplay~-help.pd trunk/externals/framesync/fstabplay~.pd
Added: trunk/externals/framesync/fsclock-help.pd =================================================================== --- trunk/externals/framesync/fsclock-help.pd (rev 0) +++ trunk/externals/framesync/fsclock-help.pd 2008-12-02 22:21:03 UTC (rev 10417) @@ -0,0 +1,16 @@ +#N canvas 496 163 487 404 10; +#X floatatom 52 241 5 0 0 0 - - -; +#X text 51 22 a GUI to generate and control the frame clock , with +a default frames-per-second (FPS) of 30 frames/second.; +#X floatatom 248 239 5 0 0 0 - - -; +#X text 49 72 the first argument/inlet sets the total number of frames +; +#X text 49 92 the second argument/inlet sets the frames-per-second +(FPS); +#X text 54 306 you can set the current frame by dragging the yellow +bar or by clicking in the frame number box , typing in a number , +and hitting enter; +#X obj 53 169 fsclock 200; +#X obj 249 167 fsclock 200 24; +#X connect 6 0 0 0; +#X connect 7 0 2 0;
Added: trunk/externals/framesync/fsclock.pd =================================================================== --- trunk/externals/framesync/fsclock.pd (rev 0) +++ trunk/externals/framesync/fsclock.pd 2008-12-02 22:21:03 UTC (rev 10417) @@ -0,0 +1,86 @@ +#N canvas 596 173 724 462 10; +#X obj 155 147 tgl 35 0 $0-tgl $0-tgl-receive run 5 7 0 14 -233017 +-33289 -33289 0 1; +#X obj 305 346 moses 0; +#X obj 163 256 float; +#X msg 160 49 0; +#X obj 120 147 bng 35 250 50 0 empty empty reset 4 17 0 10 -262144 +-4160 -258113; +#X obj 344 426 outlet; +#X obj 190 147 nbx 5 35 -1 1e+37 0 0 $0-numbox $0-numbox-receive +empty 0 -8 0 16 -233017 -33289 -33289 200 256; +#X obj 363 1 inlet; +#N canvas 524 22 450 300 color 0; +#X obj 161 16 inlet; +#X obj 165 263 outlet; +#X msg 158 214 color $1 12 12; +#X obj 159 162 select 0 1; +#X msg 192 184 76; +#X msg 157 184 10; +#X obj 89 131 loadbang; +#X connect 0 0 3 0; +#X connect 2 0 1 0; +#X connect 3 0 5 0; +#X connect 3 1 4 0; +#X connect 4 0 2 0; +#X connect 5 0 2 0; +#X connect 6 0 5 0; +#X restore 526 369 pd color; +#X obj 551 64 purepd/float_argument $2 30; +#X obj 363 64 purepd/float_argument $1 1000; +#X obj 344 366 moses; +#X obj 551 113 /; +#X msg 551 91 1 $1; +#X text 402 2 total frames; +#X obj 551 3 inlet; +#X text 593 4 frames per second; +#X obj 433 19 loadbang; +#X obj 433 39 trigger bang bang; +#X obj 155 217 metro; +#X obj 551 134 * 1000; +#X floatatom 559 164 5 0 0 0 - - -; +#X obj 123 139 hsl 154 8 0 200 0 0 $0-hsl $0-hsl-receive empty -2 +-8 0 10 -262130 -1 -1 15300 1; +#X msg 371 88 range 0 $1; +#X obj 435 337 bang; +#X msg 490 20 bang; +#X obj 263 75 + 1; +#X obj 190 50 receive $0-hsl; +#X obj 93 333 send $0-hsl-receive; +#X obj 190 97 int; +#X obj 526 346 receive $0-tgl; +#X obj 526 392 send $0-tgl-receive; +#X msg 93 310 set $1; +#X connect 0 0 19 0; +#X connect 1 1 11 0; +#X connect 2 0 1 0; +#X connect 2 0 32 0; +#X connect 3 0 29 0; +#X connect 4 0 3 0; +#X connect 6 0 2 1; +#X connect 7 0 10 0; +#X connect 8 0 31 0; +#X connect 9 0 13 0; +#X connect 10 0 11 1; +#X connect 10 0 23 0; +#X connect 11 0 5 0; +#X connect 11 0 26 0; +#X connect 11 1 24 0; +#X connect 12 0 20 0; +#X connect 13 0 12 0; +#X connect 15 0 9 0; +#X connect 17 0 18 0; +#X connect 18 0 10 0; +#X connect 18 1 9 0; +#X connect 19 0 2 0; +#X connect 20 0 19 1; +#X connect 20 0 21 0; +#X connect 23 0 22 0; +#X connect 24 0 0 0; +#X connect 25 0 18 0; +#X connect 26 0 29 0; +#X connect 27 0 29 0; +#X connect 29 0 6 0; +#X connect 30 0 8 0; +#X connect 32 0 28 0; +#X coords 0 -1 1 1 159 62 1 120 120;
Added: trunk/externals/framesync/fsline-help.pd =================================================================== --- trunk/externals/framesync/fsline-help.pd (rev 0) +++ trunk/externals/framesync/fsline-help.pd 2008-12-02 22:21:03 UTC (rev 10417) @@ -0,0 +1,29 @@ +#N canvas 501 356 588 378 10; +#X obj 80 184 fsline 10 20; +#X floatatom 80 212 9 0 0 0 - - -; +#X obj 83 239 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 +-1 -1 12700 1; +#X obj 83 68 fsclock 100; +#X floatatom 230 212 9 0 0 0 - - -; +#X obj 233 239 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 +-1 -1 12700 1; +#X obj 230 184 fsline 30 40; +#X floatatom 380 212 9 0 0 0 - - -; +#X obj 383 239 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 +-1 -1 12700 1; +#X obj 380 184 fsline 50 60; +#X text 31 275 the first inlet is for the frame clock; +#X text 31 295 the first argument/second inlet sets the start frame +; +#X text 31 315 the second argument/third inlet sets the end frame; +#X text 33 16 Generate a 0-to-1 line based on frame numbers , outputting +once per frame.; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X connect 3 0 0 0; +#X connect 3 0 6 0; +#X connect 3 0 9 0; +#X connect 4 0 5 0; +#X connect 6 0 4 0; +#X connect 7 0 8 0; +#X connect 9 0 7 0;
Added: trunk/externals/framesync/fsline.pd =================================================================== --- trunk/externals/framesync/fsline.pd (rev 0) +++ trunk/externals/framesync/fsline.pd 2008-12-02 22:21:03 UTC (rev 10417) @@ -0,0 +1,39 @@ +#N canvas 180 162 479 363 10; +#X obj 145 106 purepd/float_argument $1; +#X obj 145 31 inlet; +#X obj 180 56 loadbang; +#X obj 305 31 inlet; +#X obj 47 31 inlet; +#X text 87 31 frame #; +#X text 199 33 start frame; +#X text 350 29 end frame; +#X obj 305 106 purepd/float_argument $2; +#X obj 180 79 trigger bang bang; +#X obj 47 139 moses; +#X obj 74 173 moses; +#X obj 74 243 -; +#X msg 179 177 $2 $1; +#X obj 179 199 -; +#X obj 179 157 pack float float; +#X obj 74 278 /; +#X obj 74 325 outlet; +#X obj 101 153 + 1; +#X connect 0 0 10 1; +#X connect 0 0 12 1; +#X connect 0 0 15 0; +#X connect 1 0 0 0; +#X connect 2 0 9 0; +#X connect 3 0 8 0; +#X connect 4 0 10 0; +#X connect 8 0 15 1; +#X connect 8 0 18 0; +#X connect 9 0 0 0; +#X connect 9 1 8 0; +#X connect 10 1 11 0; +#X connect 11 0 12 0; +#X connect 12 0 16 0; +#X connect 13 0 14 0; +#X connect 14 0 16 1; +#X connect 15 0 13 0; +#X connect 16 0 17 0; +#X connect 18 0 11 1;
Added: trunk/externals/framesync/fstabplay~-help.pd =================================================================== --- trunk/externals/framesync/fstabplay~-help.pd (rev 0) +++ trunk/externals/framesync/fstabplay~-help.pd 2008-12-02 22:21:03 UTC (rev 10417) @@ -0,0 +1,15 @@ +#N canvas 313 376 504 442 10; +#X text 201 227 frame; +#X text 212 265 bang when done; +#X text 91 265 audio out; +#X text 45 20 Plays a sound file til it ends , synced up to the frame +clock. Should stay in sync when randomly accessing different frame +numbers.; +#X text 146 216 array; +#X text 146 227 name; +#X text 201 217 start; +#X text 134 311 arguments: arrayname startframe#; +#X obj 115 112 fsclock 1000; +#X text 35 232 frame clock; +#X obj 115 243 fstabplay~ $0-array; +#X connect 8 0 10 0;
Added: trunk/externals/framesync/fstabplay~.pd =================================================================== --- trunk/externals/framesync/fstabplay~.pd (rev 0) +++ trunk/externals/framesync/fstabplay~.pd 2008-12-02 22:21:03 UTC (rev 10417) @@ -0,0 +1,69 @@ +#N canvas 593 271 707 506 10; +#X obj 24 7 inlet; +#X obj 301 4 inlet; +#X obj 131 458 outlet~; +#X obj 224 325 samplerate~; +#X obj 122 76 receive TN_FPS_MS; +#X obj 204 120 / 1000; +#X obj 224 348 *; +#X obj 99 100 trigger bang float; +#X obj 131 375 *; +#X obj 131 397 pack float float; +#X obj 224 376 + 100; +#X obj 301 71 purepd/symbol_argument $1; +#X obj 309 40 loadbang; +#X text 342 3 file to play; +#X obj 504 11 inlet; +#X text 67 9 current frame number; +#X text 544 8 frame # when to play; +#X obj 538 54 loadbang; +#X obj 504 82 purepd/float_argument $2; +#X obj 104 300 moses; +#X obj 131 324 moses; +#X obj 158 231 /; +#X obj 158 251 int; +#X obj 158 271 + 1; +#X obj 131 353 -; +#X obj 158 299 +; +#X obj 194 458 outlet; +#X text 240 458 bang when done; +#X msg 64 54 33.3333; +#X text 114 52 default to 30fps; +#X obj 64 34 loadbang; +#X obj 131 431 tabplay~ $1; +#X msg 301 396 set $1; +#X obj 99 169 flatspace/arraysize; +#X connect 0 0 19 0; +#X connect 1 0 11 0; +#X connect 3 0 6 0; +#X connect 4 0 7 0; +#X connect 5 0 6 1; +#X connect 5 0 21 1; +#X connect 6 0 8 1; +#X connect 6 0 10 0; +#X connect 7 0 3 0; +#X connect 7 0 33 0; +#X connect 7 1 5 0; +#X connect 8 0 9 0; +#X connect 9 0 31 0; +#X connect 10 0 9 1; +#X connect 11 0 32 0; +#X connect 12 0 11 0; +#X connect 14 0 18 0; +#X connect 17 0 18 0; +#X connect 18 0 24 1; +#X connect 18 0 19 1; +#X connect 18 0 25 1; +#X connect 19 1 20 0; +#X connect 20 0 24 0; +#X connect 21 0 22 0; +#X connect 22 0 23 0; +#X connect 23 0 25 0; +#X connect 24 0 8 0; +#X connect 25 0 20 1; +#X connect 28 0 7 0; +#X connect 30 0 28 0; +#X connect 31 0 2 0; +#X connect 31 1 26 0; +#X connect 32 0 31 0; +#X connect 33 0 21 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.