From 691da5e0079e92d4f6b4760f0d3818b2840a9db5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 22 Nov 2010 04:19:36 +0000 Subject: added soundfile in examples folder for things to play with svn path=/trunk/externals/framesync/; revision=14468 --- examples/sdf.wav | Bin 0 -> 109708 bytes filelooper~-help.pd | 2 +- fsreadsf~-help.pd | 19 ++++++++++--------- fstabplay~-help.pd | 2 +- tablooper~-help.pd | 2 +- tabpitcher~-help.pd | 2 +- tabstretcher~-help.pd | 2 +- 7 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 examples/sdf.wav diff --git a/examples/sdf.wav b/examples/sdf.wav new file mode 100644 index 0000000..eb48c25 Binary files /dev/null and b/examples/sdf.wav differ diff --git a/filelooper~-help.pd b/filelooper~-help.pd index cd1d9c2..5d2bfdc 100644 --- a/filelooper~-help.pd +++ b/filelooper~-help.pd @@ -12,7 +12,7 @@ #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 obj 54 216 filelooper~ examples/sdf.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:; diff --git a/fsreadsf~-help.pd b/fsreadsf~-help.pd index 5f743d6..5ad19ac 100644 --- a/fsreadsf~-help.pd +++ b/fsreadsf~-help.pd @@ -1,6 +1,5 @@ #N canvas 198 116 438 400 10; #X text 272 227 frame; -#X text 313 263 bang when done; #X text 71 265 audio out; #X text 25 20 Plays a sound file til it ends \, synced up to the frame clock. Should stay in sync when randomly accessing different frame @@ -9,16 +8,18 @@ numbers.; #X text 271 216 start; #X obj 95 112 frameclock 400; #X obj 76 322 output~; -#X obj 296 264 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 --1 -1; #X msg 108 82 78; #X msg 77 82 55; #X text 134 80 <-- try jumping to a frame; -#X obj 95 243 fsreadsf~ ../../sound/voice.wav 40; -#X text 177 308 arguments: soundfile startframe#; +#X obj 95 243 fsreadsf~ examples/sdf.wav 40; +#X text 177 328 arguments: soundfile startframe#; #X text 96 216 file; -#X connect 9 0 6 0; +#X obj 269 263 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 +-1 -1 0 1; +#X floatatom 265 281 5 0 0 0 - - -; +#X connect 7 0 5 0; +#X connect 8 0 5 0; #X connect 10 0 6 0; -#X connect 12 0 7 0; -#X connect 12 0 7 1; -#X connect 12 1 8 0; +#X connect 10 0 6 1; +#X connect 10 1 13 0; +#X connect 13 0 14 0; diff --git a/fstabplay~-help.pd b/fstabplay~-help.pd index 96af6cd..940c697 100644 --- a/fstabplay~-help.pd +++ b/fstabplay~-help.pd @@ -15,7 +15,7 @@ numbers.; #X array \$0-array 62079 float 2; #X coords 0 1 62079 -1 200 140 1; #X restore 376 50 graph; -#X msg 377 254 read ../../sound/voice.wav \$1; +#X msg 377 254 read examples/sdf.wav \$1; #X obj 95 112 frameclock 400; #X obj 76 322 output~; #X obj 95 243 fstabplay~ \$0-array 40; diff --git a/tablooper~-help.pd b/tablooper~-help.pd index a160faa..603dcb4 100644 --- a/tablooper~-help.pd +++ b/tablooper~-help.pd @@ -33,7 +33,7 @@ will generate a line with 0 at the start and 1 at the end; #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 402 142 read examples/sdf.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; diff --git a/tabpitcher~-help.pd b/tabpitcher~-help.pd index e712ab8..2747aa7 100644 --- a/tabpitcher~-help.pd +++ b/tabpitcher~-help.pd @@ -27,7 +27,7 @@ different frame numbers.; #X text 184 216 play; #X text 177 308 arguments: arrayname startframe# play_pitch root_pitch ; -#X msg 377 254 read -resize ../../sound/voice.wav \$1; +#X msg 377 254 read -resize examples/sdf.wav \$1; #X connect 6 0 21 0; #X connect 10 0 8 0; #X connect 11 0 8 0; diff --git a/tabstretcher~-help.pd b/tabstretcher~-help.pd index 1f650c2..5031064 100644 --- a/tabstretcher~-help.pd +++ b/tabstretcher~-help.pd @@ -18,7 +18,7 @@ #X obj 357 211 loadbang; #X obj 95 243 tabstretcher~ \$0-array 10 44; #X text 176 316 arguments: arrayname startframe# endframe#; -#X msg 357 254 read -resize ../../sound/voice.wav \$1; +#X msg 357 254 read -resize examples/sdf.wav \$1; #X text 246 227 frame; #X text 252 216 end; #X text 5 20 Plays a complete sound file til it ends \, synced up to -- cgit v1.2.1